Thread View: comp.sys.ibm.pc.programmer
1 messages
1 total messages
Started by Randy Spangler
Sun, 17 Jun 1990 05:47
Polling joystick port, low-level parallel I/O
Author: Randy Spangler
Date: Sun, 17 Jun 1990 05:47
Date: Sun, 17 Jun 1990 05:47
21 lines
1549 bytes
1549 bytes
On the current thread about sampling and sample playback, how fast can you reliably poll the joystick ports and parallel port? The joystick ports would seem to be ideal for sampling, since the two 8-bit analog inputs would either give 8-bit stereo or 16-bit mono if you could figure out how to split a signal into an upper and lower magnitude. 8-bit mono at 16KHz would be plenty good, though. I can handle wiring circuitry to clip input (so I don't burn out my game port) but I have no idea what the fastest way to poll the game port is. I'm sure it's machine dependent - I have a 16MHz 386 (for now :-). Also, is there a fast way to output data to the parallel port, which won't be caught by the MODE program (which redirects my printer output to COM1)? Explanations, references, and/or source code would all be helpful. -- -------------------------------------------------------------------------- | Randy Spangler | The less things change, the | | rspangle@jarthur.claremont.edu | more they remain the same | --------------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads