Date: Thu, 20 Feb 1997 08:45:05 +0200 (IST) From: Eli Zaretskii To: Mat Hostetter cc: djgpp-workers AT delorie DOT com Subject: Re: Exact timming II In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 19 Feb 1997, Mat Hostetter wrote: > I discovered this problem when writing Executor's timer code. Windows > occasionally randomly takes over/turns off the BIOS event wait timer. Which Windows was that? I saw this on Windows 3.1 when testing the program I posted. It caused the program to hang indefinitely (because the bit it was waiting for was never set). If you are talking about Windows 3.x, then this problem is not exactly what we are looking for, since the BIOS event wait function is not used in `uclock', I just used it in the test program to know what count to expect. I never saw negative values reported by the program on Windows 3.x, only on Windows 95. This suggests that Windows 3.x at least doesn't reset the timer to mode 3.