Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watcgl.UUCP Path: utzoo!watmath!watnot!watcgl!fdfishman From: fdfishman@watcgl.UUCP (Flynn D. Fishman) Newsgroups: net.micro.amiga Subject: In quest of a MilliSecond Stopwatch (still (sigh..)) Message-ID: <792@watcgl.UUCP> Date: Tue, 24-Jun-86 19:09:21 EDT Article-I.D.: watcgl.792 Posted: Tue Jun 24 19:09:21 1986 Date-Received: Wed, 25-Jun-86 05:29:27 EDT Distribution: net Organization: U of Waterloo, Ontario Lines: 41 Well in quest of a 1 millisecond stopwatch before going to hardware, we have decided to give the 8520(-B) chip a chance I am getting no where with it. I can not seem to get the timer to do anything. What I am doing is. I am setting up variables like so SHORT *timer_low_A (= 0xbfd400) SHORT *control_register_A (= 0xbfde000 *control_register_A = 0x71 print *timer_low_A (note that the numbers in brackets are assigned at another point in the program) The problem arises in that timer_low_A does not change at all. I have also tried playing around with PRA, and DDRA (Is that a typo in the hardware manual, I am assuming that DDRA = 0xbfd200 and DDRB = 0xbfd300) but regardless of what I do timer_low_A does not change. I would like to be able to eventually have timer B count down, and cause A to decrement on B's underflow, but if I can not even get A (or B for that matter) moving I am stuck. 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. I do not want use hardware, because then it would be harder to run the experiment simultaneously and publish our algorithms. (A recap of the problem for those who forgot or are new) I need to be able to calculate the time from when a stimulus is displayed on the screen to the point in time when the user presses a mouse button. (I am using Manx C on a 512k Dual Drive System) Thanks you very much -- FDFISHMAN (Flynn D. Fishman) UUCP : ...!{decvax|ihnp4|clyde|allegra|utzoo}!watmath!watcgl!fdfishman ARPA : fdfishman%watcgl%waterloo.csnet@csnet-relay.arpa CSNET : fdfishman%watcgl@waterloo.csnet