Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!sol.UVic.CA!marykuca From: marykuca@sol.uvic.ca (Brent Marykuca) Newsgroups: comp.sys.mac.programmer Subject: Need help programming SCC Message-ID: <1991Jan29.205455.26919@sol.UVic.CA> Date: 29 Jan 91 20:54:55 GMT Sender: marykuca@sol.UVic.CA (Brent Marykuca) Organization: University of Victoria, Victoria B.C. CANADA Lines: 27 Hello there, We are trying to set up a fairly high-resolution timing device based on the Time Manager's ability to run a task every millisecond. Our task simply increments a global counter and it seems to give reasonable accuracy. Our difficulty lies in trying to find an input device that we can use which will give us nearly-immediate response. We have tried using the keyboard, but the ADB manager only seems to report keypresses every 11ms or so, which is apparently not good enough. Our plan now is to wire up some sort of device to the serial port which will cause an interrupt when one of two buttons is pressed, and then have our interrupt handler read the clock for us. So, what I'm looking for is somebody who has done some low-level serial port interrupt handler stuff with the SCC, or any tips at all about how to approach this project. Can anybody help? Cheers, Brent Marykuca (marykuca@sol.uvic.ca) Apple Research Partnership Program University of Victoria, BC, Canada -- Brent Marykuca (marykuca@sol.UVic.CA) Apple Research Partnership Program Computing User Services