Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!princeton!allegra!ulysses!mhuxr!mhuxn!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!hamilton From: hamilton@uiucuxc.CSO.UIUC.EDU Newsgroups: net.micro.amiga Subject: Re: Problems with the MICROHZ timer (me Message-ID: <148600123@uiucuxc> Date: Sun, 10-Aug-86 15:22:00 EDT Article-I.D.: uiucuxc.148600123 Posted: Sun Aug 10 15:22:00 1986 Date-Received: Thu, 14-Aug-86 21:58:56 EDT References: <694@psych.uq.oz> Lines: 18 Nf-ID: #R:psych.uq.oz:694:uiucuxc:148600123:000:851 Nf-From: uiucuxc.CSO.UIUC.EDU!hamilton Aug 10 14:22:00 1986 >I attempted to use the MICROHZ timer to give more accurate times. >Although the RKM doesn't mention it, it seems reasonable to be able to issue >a CMD_READ after adding a time request to get a "count down" value. reasonable or not, CMD_READ is an unimplemented command in the 1.1 timer device. check your io_Error value after GetTime() and see if it's -3 (IOERR_NOCMD). if there's any useful info to be gotten from tv_secs and tv_micros while the time request is still pending, go ahead and read them directly; the read request doesn't affect those values. wayne hamilton U of Il and US Army Corps of Engineers CERL UUCP: {ihnp4,pur-ee,convex}!uiucdcs!uiucuxc!hamilton ARPA: hamilton%uiucuxc@a.cs.uiuc.edu USMail: Box 476, Urbana, IL 61801 CSNET: hamilton%uiucuxc@uiuc.csnet Phone: (217)333-8703 CIS: [73047,544] PLink: w hamilton