delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/07/05/11:31:23

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: delay() in gcc 3.3
Date: Sat, 05 Jul 2003 10:05:14 CDT
Organization: Rice University, Houston, TX
Lines: 16
Message-ID: <3f06e92a.sandmann@clio.rice.edu>
References: <be6drj$dbp$1 AT newsreader1 DOT netway DOT at>
NNTP-Posting-Host: clio.rice.edu
X-Trace: joe.rice.edu 1057418046 7041 128.42.105.3 (5 Jul 2003 15:14:06 GMT)
X-Complaints-To: abuse AT rice DOT edu
NNTP-Posting-Date: Sat, 5 Jul 2003 15:14:06 +0000 (UTC)
X-NewsEditor: ED-1.5.9
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Before reverting back to 3.23 on my system
> I just wanted to mention that "delay()" seems
> to have no effect in gcc 3.3, but I am confident
> that you guys (would) have noticed that anyway.

The GCC version doesn't change the delay() behavior
at all - but the library version does.  You are
probably using V2.03 on Windows 2000 or Windows XP.
They have bugs and missing support in their interrupt
API.  delay() has been modified in the V2.04 alpha
test release to fall back to the 55ms timer tick
when the BIOS call doesn't work.  If you need delay()
to work on these platforms, you can get the current
CVS version of this file from:
http://www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/dos/dos/delay.c
and use it with V2.03.  

- Raw text -


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