INF: How to Maintain Time Independent of CPU Speed

ID Number: Q12131

3.00 4.00 5.00 5.10 6.00 6.00a 6.00ax

MS-DOS

Summary:

To pause for a specific amount of time, independent of the CPU speed,

set up a routine to handle the timer tick interrupt. This will be the

same on all machines (about 18.2 times per second with interrupts

enabled). The timer tick is interrupt 1C and can be modified for

access by your own routine.

Additional reference words: 5.10 6.00 6.00a 6.00ax