Article View: comp.sys.atari.st
Article #25224Re: On the subject of date/time....
From: sansom
Date: Sun, 22 Feb 1987 18:42
Date: Sun, 22 Feb 1987 18:42
18 lines
1438 bytes
1438 bytes
In article <4313@utah-cs.UUCP> sandra@utah-cs.UUCP (Sandra J Loosemore) writes:
>Is there a recommended way to get a time value with a higher resolution
>than 2 seconds, as returned by Tgettime()?
The easiest way is to get the value of the system 200 hz clock at location
$04ba. It's in a "protected" part of memory, so you'll have to access it in
supervisor mode. If you need any more help, let me know and I'll send you
a simple routine which returns the current value.
-Rich
--
__________ ______ ____ _____ ___
/_________//___ ||__|/____|/__/ Richard E. Sansom
___ ____/ / ____________ TRW Electronics & Defense Sector
/ / / /\ < | /| / One Space Park Drive, R3/1028
/ / / / \ \ | / | / Redondo Beach, CA 90278
/__/ /__/ \__\|__/ |__/ ...{decvax,ucbvax,ihnp4}!trwrb!sansom
Technical Details
Message-ID:
<1606@trwrb.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!ames!ucbcad!ucbvax!hplabs!sdcrdcf!trwrb!sansomReferences:
<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!ames!ucbcad!ucbvax!hplabs!sdcrdcf!trwrb!sansom From: sansom@trwrb.UUCP Newsgroups: comp.sys.atari.st Subject: Re: On the subject of date/time.... Message-ID: <1606@trwrb.UUCP> Date: Sun, 22-Feb-87 13:42:46 EST Article-I.D.: trwrb.1606 Posted: Sun Feb 22 13:42:46 1987 Date-Received: Mon, 23-Feb-87 05:36:16 EST References: <4313@utah-cs.UUCP> Reply-To: sansom@trwrb.UUCP (Richard Sansom) Organization: TRW EDS, Redondo Beach, CA Lines: 18 Keywords: high-resolution clock