Article View: comp.sys.atari.st
Article #25208Re: On the subject of date/time....
From: bammi
Date: Sun, 22 Feb 1987 03:31
Date: Sun, 22 Feb 1987 03:31
16 lines
1393 bytes
1393 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()? Ideally, I would like something
The preferred way is to use the Xbtimer() Xbios call, using
timer A, which is explicitly reserved for user applications. If you
just want to measure the time interval, the easier way is to read the
value of the 200Hz system timer by reading the LONG at location
0x000004BA. Remember to do it in supervisor mode, or else you'll
get bombs. If you need examples of the use of either of the two
techniques just send mail.
--
usenet: {decvax|cbatt|cbosgd}!cwruecmp!bammi jwahar r. bammi
csnet: bammi@case
arpa: bammi%case@csnet-relay
compuServe: 71515,155
Technical Details
Message-ID:
<1889@cwruecmp.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cwruecmp!bammiReferences:
<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!cbatt!cwruecmp!bammi From: bammi@cwruecmp.UUCP Newsgroups: comp.sys.atari.st Subject: Re: On the subject of date/time.... Message-ID: <1889@cwruecmp.UUCP> Date: Sat, 21-Feb-87 22:31:49 EST Article-I.D.: cwruecmp.1889 Posted: Sat Feb 21 22:31:49 1987 Date-Received: Sun, 22-Feb-87 07:49:55 EST References: <4313@utah-cs.UUCP> Reply-To: bammi@cwruecmp.UUCP (Jwahar R. Bammi) Organization: CWRU Dept. of Computer Engineering, Cleveland, Ohio Lines: 16 Keywords: high-resolution clock