Hardware — glitch-free connections for Sinclair 1 and 2 joysticks

Modern #18
╒───·───════════════════════════════════════════════════───·───╕
│·▒█░█▒·▓█████████████████▓ ·HARDWARE· ▓█████████████████▓·▒█░█▒ │
╘───────════════════════════════════════════════════════───·───╛

(c) -=ToadeR=-

         ╓───────────────────────────────────────────┐
         ║     The right way to implement the         │
         ║       simplest Sinclair 1 and 2 joysticks ║
         ╚═══════════════════════════════════════════╛

A Sinclair 1 joystick connector is often soldered directly to the number keys 6, 7, 8, 9, and 0. There are no problems if you use only the joystick, but when you use a Sinclair joystick and the keyboard at the same time, you get glitches: keys you don’t need get pressed by themselves. And playing with two Sinclair joysticks at once is simply impossible.

This happens because on the Spectrum, when three keys are pressed simultaneously—and two keys share one address line, while two share one column (data line)—a fourth key is effectively “pressed” automatically. It lies at the intersection of the address line and column belonging to the two “opposite” keys that were actually pressed. For example, if the keys “7”, “8”, and “J” are pressed, the “K” key will also register as pressed (which makes playing Elite rather awkward).

Of course, the proper solution would be to connect each Sinclair joystick through its own chip, such as an IR22 or AP5, and build a decoding circuit for them. But I’m far too lazy to solder all that, so I came up with an extremely simple way to connect two Sinclair joysticks without glitches.

For the vast majority of computers, where the address lines are not inverted before reaching the keyboard, wire the Sinclair-1 connector as follows: connect the joystick’s common wire to the conductor joining the five number keys 6, 7, 8, 9, and 0. Solder the other five wires (left, right, up, down, fire) to those same keys (or directly to the five keyboard data columns) through isolating diodes:

     ┌──/ ───|<|───── "6"
     ├──/ ───|<|───── "7"   to the keyboard
     ├──/ ───|<|───── "8"   data columns
     ├──/ ───|<|───── "9"
     ├──/ ───|<|───── "0"
     │
     │
      to the common wire for the keys 6, 7, 8, 9, 0 (corresponds to A12)

It’s best to use diodes from the KD series; the KD B marking is shown in Modern 16.

If the address lines are inverted before reaching the keyboard (in a circuit like the one described in Modern 16), reverse the diodes. In any case, if you solder the diodes in the wrong way round, nothing fatal will happen—the joystick simply won’t work.

The Sinclair-2 joystick (number keys 1, 2, 3, 4, 5) connects using the same circuit, except its common wire is connected to the conductor joining the number keys 1, 2, 3, 4, and 5 (corresponds to A11).

The diodes can be soldered directly onto the connector. Then, with all three joysticks connected to your Spectrum (Kempston, Sinclair-1, and Sinclair-2), four of you can play at the same time—for example, the excellent racing game H.SPEED, which I’ll try to upload to several BBSes soon. I remember the hours-long battles we used to have with three players (I wouldn’t let a fourth join in—I felt sorry for the keyboard).

And one more thing: please don’t get mad at me for describing such a primitive modification in excessive detail—I’m counting on Spectrum users who know absolutely nothing about Spectrum circuitry.

If anyone has any ideas for upgrading our great Speccy, write to Toader; I’ll try to come up with something simpler.

                          -=The End=-
·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·∙·

Share your thoughts about the article