delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/02/20/01:55:59

Date: Thu, 20 Feb 1997 08:45:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Mat Hostetter <mat AT lcs DOT mit DOT edu>
cc: djgpp-workers AT delorie DOT com
Subject: Re: Exact timming II
In-Reply-To: <qtwn2t0g1f8.fsf@kikashi.lcs.mit.edu>
Message-ID: <Pine.SUN.3.91.970220084053.25071A-100000@is>
MIME-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019