Function 00h Read System Time Counter
entry AH 00h
return CX high word of clock count
DX low word of clock count
AL 00h if clock was read or written (via AH=0,1) within the current
24-hour period. Otherwise, AL is non-zero
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
file: /Techref/int/1af/00.htm, 0KB, , updated: 1999/2/20 10:25, local time: 2024/11/28 05:37,
18.191.107.181:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/TECHREF/int/1af/00.htm"> int 1af 00</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.