Eudimorphodon
Veteran Member
Well, again, all you need is a program to read the RTC set the time of day and date through Int 1ah. You can go away after that. If the date rolls over, I think the date adjustment is handled in CLOCK$--I haven't checked, but it seems reasonable. As to what happens if the PC sits idle for two days--I think that may be a problem.
FWIW, I personally never have my XT on for more than a few hours at a time so… yeah, I don’t think I’m ever going to worry much if DOS’es built-in timekeeping starts drifting from the battery clock’s take on it, it’s going to get reset in AUTOEXEC.BAT on every reboot.
Of course the homemade DS1215 phantom clock I built itself drifts by about 5-10 minutes a month so on a whole accuracy is a relative thing. My fix is I set up the “netstart” bat file I use to initialize my Ethernet card with mTCP so it automatically syncs up the DS1215 with an NTP server. Overkill!