🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.misc
Article #1983

Re: Higher resolution timer?

#1983
From: Robert Collins
Date: Wed, 18 Jul 1990 16:06
19 lines
1284 bytes
In article <3308@astroatc.UUCP> feuling@astroatc.UUCP (Lindsay Feuling) writes:
+
+I'm trying to find out, if it's possible, to get a higher resolution
+clock out of DOS than the measley 18.2 ticks per second.  I really want
+
+P.S. Doesn't anyone document code?

I have a routine that I have written in assembler that has 838nS resolution.
The routine uses the 8254 timer chip in the PC.  The routine was originally
published in 02/87 Byte magazine (I think 02/87).  If you can't find the
article in the library, or are still frustrated, I will send you a copy of my
code.  I have adapted it for various uses, including calculating CPU speed.


-- 
"Worship the Lord your God, and serve him only."  Mat. 4:10
Robert Collins                 UUCP:  ucbvax!ucivax!icnvax!conexch!rob
HOMENET:  (408) 225-8002       UUCP:  uunet!ccicpg!conexch!rob
WORKNET:  (408) 432-6200 x4356
Technical Details
Message-ID: <42711@conexch.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ccicpg!conexch!rob
References: <3308@astroatc.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!ccicpg!conexch!rob
From: rob@conexch.UUCP (Robert Collins)
Newsgroups: comp.sys.ibm.pc.misc
Subject: Re: Higher resolution timer?
Message-ID: <42711@conexch.UUCP>
Date: 18 Jul 90 16:06:19 GMT
References: <3308@astroatc.UUCP>
Distribution: na
Organization: The Consultants' Exchange, Orange County, CA
Lines: 19