Mail Archives: djgpp/2003/02/18/04:15:14
> Now i aquired a new machine running XP home and tried to
> move my applications. The first step was update to 2.03, which solved
> most problems, but one remains: delay does not work any more. The
> function returns immediately regardless of the argument i
> provide. After a look into the source I gave up: delay.c runs:
Can you live with 55ms resolution? If so, try the following
file from the current CVS/2.04wip tree:
http://www.delorie.com/bin/cvsweb.cgi/djgpp/src/libc/dos/dos/delay.c?rev=1.2
Take this file, compile it and see if it works for you. If it does, then
insert it into your library libc.a
It has recently been suggested that we use RDTSC to get higher resolution
for uclock() and delay() - but this isn't coded or tested yet.
- Raw text -