greg@ccwf.cc.utexas.edu (Greg Harp) (02/21/91)
What is the OS-nicest way to sample a pin on the joystick port at a given
speed (such as 10kHz)? I need to record some binary data coming in and
the speed at which I do it must be constant and fast.
One way I thought of doing it was to use Paula in non-DMA mode (where she
sends a level 4 interrupt for every word). I would then have an interrupt
server set up at level 4 to sample the port and store the status of the
input.
Am I completely off track here?
Is it possible to use the CIA timers at this high of a speed? I know
switching between PAL and NTSC presents a timing problem here, but does the
same problem exist in Paula?
I've not done anything requiring such accurate timing at such a high speed
before on an Amiga, so any help would be appreciated.
Thanks!
Greg
--
Greg Harp |"How I wish, how I wish you were here. We're just two
|lost souls swimming in a fishbowl, year after year,
greg@ccwf.cc.utexas.edu|running over the same ground. What have we found?
s609@cs.utexas.edu |The same old fears. Wish you were here." - Pink Floyd