you are viewing a single comment's thread
view the rest of the comments
[–] 36 points 1 year ago (5 children)

Except that wasn't a serial port, it was midi, and the reason it was on the sound card was because the input was analog.

Your joystick was just two fancy potentiometers, and your soundcard decoded the voltage on the middle legs into a position.

Soundcards handled joysticks because they had the fastest ADCs.

  • source
  • parent
  • hideshow 10 child comments
  • [–] 15 points 1 year ago (1 child)

    They didn't even use an ADC. They used 555 timers to produce a pulse. They measured the length of the pulse to determine the potentiometer position. Since there are 4 analog inputs, they typically used the 558 timer which is the quad version of the 555.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 1 year ago* (last edited 1 year ago) (1 child)

    And here I thought I had it all figured out. But it does make sense. Doing it with an analog signal introduces noise and measuring pulse widths is going to be simpler.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 1 point 1 year ago

    Except that wasn’t a serial port, it was midi, and the reason it was on the sound card was because the input was analog.

    Considering MIDI stands for Musical Instrument Digital Interface, I have no idea what you're trying to say.

  • source
  • parent