I found the answer... in a message in the pascal echo
the first word of the bios timer wraps normally each hour until
midnight when it skips forward about 10 seconds :-) your timer prog
doesn't know about this skip...
LEONARD ERIKSON to me :) in the pascal echo.
LE> But 14,318,180 Hz divided by 3, divided by 2^18, multiplied by 3600
LE> (number of seconds in an hour) is 65543 ticks per hour, *not* 2^16.
LE> The number of ticks in 24 hours (86400 seconds) is 1573042.236...
LE> 24x2^16 is 1572864. The difference is around ten seconds worth of
LE> ticks. :-)
--- EzyQwk V1.20
---------------
* Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350)
|