Function 01h Set Clock - set # of 55ms clock ticks in system time counter

entry AH 01h

CX:DX high word/low word count of timer ticks

return none

note 1) The clock ticks are incremented by timer interrupt at 18.2065 times

per second or 54.9254milliseconds/count. Therefore:

counts per second = 18 (12h)

counts per minute = 1092 (444h)

counts per hour = 65543 (10011h)

counts per day = 1573040 (1800B0h)

2) Through an incredible coincidence, the low word rolls over into the

high word once every 3599.54 seconds which is allmost exactly once an

hour (3600 seconds). So the high word is the number of hours and the

low word is the number of minutes * 1092 or seconds * 18.2.

3) counter is zeroed when system is rebooted