Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!nike!ucbcad!ucbvax!shadow.Berkeley.EDU!robinson From: robinson@shadow.Berkeley.EDU (Michael Robinson) Newsgroups: net.micro.amiga Subject: Re: In quest of a MilliSecond Stopwatch (still (sigh..)) Message-ID: <14695@ucbvax.BERKELEY.EDU> Date: Wed, 2-Jul-86 22:23:32 EDT Article-I.D.: ucbvax.14695 Posted: Wed Jul 2 22:23:32 1986 Date-Received: Thu, 3-Jul-86 19:43:56 EDT References: <792@watcgl.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: robinson@shadow.Berkeley.EDU.UUCP (Michael Robinson) Distribution: net Organization: University of California, Berkeley Lines: 12 Keywords: timer, sound chips [I ain't afraid of no bugs] >If any one can help me with this problem or present a better way to get a >1 millesecond grain timer I would really appreciate it. Has anyone ever tried using the sound chips for a clock? The way I read the hardware reference, you should be able to set up a short (one byte) waveform, set the sample time, and get an interupt. The interupt handler would increment the timer value, reset the sound DMA, and return. Then, later, you would get another interupt and the process would repeat. Am I way off base?