Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!apple!netcom!mcmahan From: mcmahan@netcom.UUCP (Dave Mc Mahan) Newsgroups: comp.sys.amiga.hardware Subject: Installing an Interrupt Handler Summary: Hooking in Interrupt Handlers for Mouse Port #2 Message-ID: <10151@netcom.UUCP> Date: 29 Mar 90 04:42:42 GMT Organization: NetCom- The Bay Area's Public Access Unix System {408 249-0290 guest} Lines: 15 I am interested in programming my Amiga to receive an interrupt any time the fire button (or left, or right, up, down, it doesn't matter. I'm building a circuit that can use any) changes state. This means I want to have a handler that gets called every time the desired button goes from a 0 to a 1 or from 1 to 0. I would then timetag the event and put it in a queue for later processing. I expect about 5000 events per second, or I could just take the low-to-high transisitions and get 2500 events per second. Does anyone out there know how to program the amiga to do this? I wish to use the second mouse port to connect to an external circuit that provides PCM data for further processing. Any help is appreciated. -dave