🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #25227

Re: On the subject of date/time....

#25227
From: dyer
Date: Sun, 22 Feb 1987 19:25
13 lines
1071 bytes
> Is there a recommended way to get a time value with a higher resolution
> than 2 seconds, as returned by Tgettime()?

The system variable '_hz_200' is incremented (surprise!) two hundred
times a second.  It a longword at 0x4ba.  Finer resolution timers can
be obtained by setting up 68901 timer A at whatever frequency you
like and handling the interrupt.

-- 
-Landon Dyer, Atari Corp.	    {sun,lll-lcc,imagen}!atari!dyer

The views expressed here do not not
necessarily reflect those of Atari Corp.	Segments are for worms.
Technical Details
Message-ID: <564@atari.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!decwrl!sun!imagen!atari!dyer
References: <4313@utah-cs.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!mit-eddie!genrad!decvax!decwrl!sun!imagen!atari!dyer
From: dyer@atari.UUCP
Newsgroups: comp.sys.atari.st
Subject: Re: On the subject of date/time....
Message-ID: <564@atari.UUCP>
Date: Sun, 22-Feb-87 14:25:47 EST
Article-I.D.: atari.564
Posted: Sun Feb 22 14:25:47 1987
Date-Received: Mon, 23-Feb-87 18:40:00 EST
References: <4313@utah-cs.UUCP>
Organization: Atari Corp., Sunnyvale CA
Lines: 13
Keywords: high-resolution clock