Hi Jonathan,
Replying to a message of Jonathan de Boyne Pollard to David Noon:
Timur's driver uses Timer 0 and is named TIMER0.SYS.
JdBP> I do wonder how what Timur does interacts with the system heartbeat,
JdBP> which I assume is also driven off the same timer.
Since he uses an IDC interface to CLOCK01.SYS to switch off that timer, and so requires a CLOCK01.SYS more recent than Warp 3 GA (fixpak 17 or later, IIRC), I
expect he trashes it completely. This is a frequent design paradigm in IBM software. The major requirement is usually to restore the previous state after you're finished.
Timur documents that his driver always programs the PIT to "tick" every millisecond (actually every .999849142 milliseconds) regardless of the interval
required by the caller. If the caller requests, say, 10 millisecond updates, the caller's callback routine is only called every 10 IRQ's.
During this time, use of CLOCK01.SYS facilities is compromised.
Regards
Dave
<Team PL/I>
--- FleetStreet 1.25.1
* Origin: The man who broke the bank at Monte Carlo (2:257/609.5)