On Mon, Dec 14, 1998 at 09:22:14AM +0000, H. Peter Anvin wrote:
> Sounds like it is leaving the midnight flag on. The midnight flag is
> supposed to be cleared when it is first read out. (This of course
> means that if anything other than DOS calls the BIOS call to get the
> time, DOS loses a day. *Sigh.*)
Okay, I tried adding the following code to src/base/async/int.c, in the
INT 1A:00 section, right before it checks to see if it should set the flag.
It was the only referance I could find to a midnight flag. It doesn't
seem to help. I guess I need to figure out how the debugging stuff works
for this thing.
/* If the midnight flag is set, it must have already been read, so clear it */
if(*(u_char *) (TICK_OVERFLOW_ADDR)) {
*(u_char *) (TICK_OVERFLOW_ADDR) = 0x0;
}
--
/// Stefan Hudson <[EMAIL PROTECTED]>
__ /// Senior Network Administrator - Monterey Bay Internet
\\\/// http://www.mbay.net/ - Email: [EMAIL PROTECTED]
\XX/ Voice: 831-642-6100 Fax: 831-642-6101 Modem: 831-642-6102