www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/11/08:30:04

Message-ID: <3E48F219.8FB9B40B@yahoo.com>
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to make a Timer
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1030210075002 DOT 7932C AT is> <b29tp3$1agvkq$1 AT ID-79865 DOT news DOT dfncis DOT de> <3e489301 DOT sandmann AT clio DOT rice DOT edu> <%v22a.45175$jM5 DOT 113869 AT newsfeeds DOT bigpond DOT com>
Lines: 17
Date: Tue, 11 Feb 2003 13:28:37 GMT
NNTP-Posting-Host: 12.90.172.122
X-Complaints-To: abuse AT worldnet DOT att DOT net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1044970117 12.90.172.122 (Tue, 11 Feb 2003 13:28:37 GMT)
NNTP-Posting-Date: Tue, 11 Feb 2003 13:28:37 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ben Peddell wrote:
> 
> Why not make use of RDTSC? Just divide it by 84 for every 100MHz of CPU
> speed. (i.e. for a 1GHz [100MHz x 10] processor, divide by 840; for a
> processor with a 13.5x multiplier on a 143MHz FSB [1933MHz], divide by
> 1620.)

Please do not toppost.  RDTSC will cause a bad opcode trap on a
486, or a 386, both of which are suitable processors for the DJGPP
system.  Bad idea.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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