ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/24/05:00:26

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "Tonu Aas" <tonu AT ids DOT ee>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020424083902 DOT 4915B-100000 AT is> <aa5fju$84j07$1 AT ID-79865 DOT news DOT dfncis DOT de>
Subject: Re: uclock_t & gcc 3.0.4 on Windows-2000
Date: Wed, 24 Apr 2002 11:25:52 +0300
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: ids.ids.ee
Message-ID: <3cc66c9e$1@news.infonet.ee>
X-Trace: news.infonet.ee 1019636894 ids.ids.ee (24 Apr 2002 10:28:14 +0200)
Organization: INFONET.EE
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> C/C++ Perfometer at http://alexvn.freeservers.com/s1/perfometer.html
>    has been compiled with gpp-2.95.3  and works OK on Windows98.
>   One of get-time-function()'s is uclock().
> I compiled this program with gpp-3.0.4 (with some gpp-3.0.4-related
updates) on Windows2000.
> However, it doesn't work on Windows2000 because of uclock().

Your problem is that 8254 emulation on W9x & NT,2000 is different.

    On W9x family 8254 counter overrun and tick counter in 0x46c are
On NT family they are not ! On NT tick can occur on any 8254 counter value
But its happens every time on same counter value after NT startup :)
So, you just must find out that value and do some corrections into 8254
Not so easy and not nice at all. It's MS and anything not-GUI doesnt work


- Raw text -

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