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: 13 Dec 2006 06:43:20 -0800 Organization: http://groups.google.com Lines: 15 Message-ID: <1166021000.343442.80920@80g2000cwy.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: 195.39.60.130 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1166021006 15675 127.0.0.1 (13 Dec 2006 14:43:26 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 13 Dec 2006 14:43:26 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: 80g2000cwy.googlegroups.com; posting-host=195.39.60.130; 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 Ok, but what this have to do with Windows 98? I don't care about NT because this my program will not work under NT anyway due to IO ports access to HW. But I'd like to run it under win9x as goog as in DOS. And the fact is that delay() from 2.03 worked fine also under win9x. Maybe I can solve it this way - unpack delay.o from old libc and make a new patched libc with old delay and then rename this libraries depends on compiled project. Or if the old delay is not so complicated, I can include it to my source... Or I merge both delay codes and add some OS detection to choose proper one. BTW how do I detect WinNT presence some easy and reliable way? Once I did it by reading environment variable %systemroot% which is present on every NT (i hope).