X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "Glaux" Newsgroups: comp.os.msdos.djgpp Subject: Re: delay() different bahavior under Win98 window/fullscreen in DJGPP 2.04 Date: 12 Dec 2006 13:27:50 -0800 Organization: http://groups.google.com Lines: 8 Message-ID: <1165958870.157070.320600@j44g2000cwa.googlegroups.com> References: <1165931131 DOT 768505 DOT 13330 AT 73g2000cwn DOT googlegroups DOT com> <1165953093 DOT 635481 DOT 221520 AT 16g2000cwy DOT googlegroups DOT com> NNTP-Posting-Host: 89.176.103.125 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1165958876 14537 127.0.0.1 (12 Dec 2006 21:27:56 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 12 Dec 2006 21:27:56 +0000 (UTC) In-Reply-To: <1165953093.635481.221520@16g2000cwy.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.13) Gecko/20060414,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: j44g2000cwa.googlegroups.com; posting-host=89.176.103.125; posting-account=79KgoA0AAADKuOLK3k0Y3qVqk-KGfm77 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk I did more search aroud it and found that 2.04 version of delay was degraded to use standard 55ms timer due to WinNT compatability. It would be good if the delay function (or at startup) determine host OS and then choose to call proper delay function (old good delay for DOS and Win9x and new 55ms based delay for NT). Or is possible to hack to use windows system timer from VDM? I use Sleep() function in mingw32 with 1ms resolution.