ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/22/01:42:57

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Mon, 22 Apr 2002 09:39:17 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Alex Vinokur <alexvn AT bigfoot DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: uclock_t & gcc 3.0.4 on Windows-2000
In-Reply-To: <aa056g$6n1jt$1@ID-79865.news.dfncis.de>
Message-ID: <Pine.SUN.3.91.1020422093607.11473G-100000@is>
MIME-Version: 1.0
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

On Mon, 22 Apr 2002, Alex Vinokur wrote:

> | I can suggest two possible explanations:
> |
> |   - the C++ library has a bug when printing long long variables via
> |     cout (did you try an equivalent C program?);
> An equivalent C program usually generates  the same result (sometimes it works OK).

Which leaves us with the other alternative:

> |   - uclock tries to reprogram the system timer chip, but Windows 2000,
> |     being of the NT family, doesn't let you do so.

This doesn't really surprise me: reprogramming the timer on a 
multi-programming OS is something that needs a lot of support in the DOS 
emulator, since the OS cannot let you reprogram the _real_ timer.  And 
the DOS emulator of the NT family is known as one that implements only 
the bare minimum.  Programming the SVGA registers doesn't work for the 
same reason.

- Raw text -

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