TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: WILL HONEA
from: Ian Moote
date: 1999-12-05 10:30:00
subject: Clocked!

WH> For the sake of completeness, the RTC is also sync'd by a
WH> read/write/read anytime the set clock API's are called.

Well, that goes without saying. [:)


WH> There are also several int 21 calls that force a read of the RTC and
WH> reset the internal timer to reflect the number of (computed) clock
WH> ticks since midnight.

Several? Other than GetTime and GetDate?


WH>  Some of these are in fact the source of the DOS problem
WH> of not incrementing the day if you hit the clock routines just right
WH> during the midnight roll-over.  To this day there are problems with
WH> DOS sessions playing games with time set/read at mifnight under OS/2
WH> (and NT for that matter).

Ahhhhh. (Are you reading this, Roy!? [:) This is something which has 
been noticed about DOS by some people for quite some time. Few people 
seem to have a reason for it, however. Thanks for the info.

Take care and TTYL.

---
 þþ Very good, Einstein, but next time show your work.                        

--- AdeptXBBS v1.11y (FREEWare/2)
382/92
* Origin: Moote Pointe (1:2424/140)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.