[comp.sys.amiga.hardware] Installing an Interrupt Handler

mcmahan@netcom.UUCP (Dave Mc Mahan) (03/29/90)

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