If you own one of the original CPCs (i.e. not the Plus models), it will probably have come to your attention that, while some games have two-player options, your computer only has one joystick port. This was because, when the CPC was first released, there were joysticks for it made by Amstrad. The first one of these joysticks had a socket on the back which you could plug the second one into. Cynical marketing move by Amstrad to try and make CPCers buy their joysticks? Probably. And it might have worked, if only these sticks hadn't been complete and utter piles of steaming horse manure. Everyone bought real joysticks instead.
Luckily, it's possible to make a joystick splitter. This plugs into the joystick port and has two sockets coming out of it for your two joysticks. Hurrah!
This page will tell you what parts you need and how to wire it up. And it's not actually all that difficult. Read on! (after reading the unsettling disclaimer , of course)
If you've already read the page about the joystick port, then this bit of theory will already be familiar. But here's a brief recap: A CPC joystick is really just a set of switches - one for each direction and one for the fire button. When one of these switches is closed, it connects one of the pins of the joystick socket to the "Common" pin (it's called "common" because it's common to all the connections). As you can see from the diagram and table below, there are four direction pins and two fire pins.

| 1 | Up | 4 | Right | 7 | Fire 1 |
| 2 | Down | 5 | Spare | 8 | Common |
| 3 | Left | 6 | Fire 2 | 9 | Common 2 |
Actually, most joysticks only use one fire button. This is "Fire 2" (confusingly enough). The "Spare" pin is usually unconnected too.
Now, the first joystick has four direction switches and a fire switch. Each switch connects the relevant pin to the "Common" pin (pin 8). The second joystick works exactly the same, except that the switches have to connect to "Common 2" (pin 9) instead.
Maybe, having read that bit, inspiration will have come upon you like a lightning flash. If so, you should yell "Eureka!" and run wildly to your local electronics shop to buy the parts.
In case this has not occurred, I have included the rest of these instructions. What you are going to build will have a plug at one end for sticking into the joystick socket on your CPC. The other end will have two sockets, one for the first joystick and another for the second.
Below is a list of the parts you'll need. You can probably get them from your local Tandy store, or any half-decent shop that stocks electronic components. But if you have a Maplin Electronics store near you, they're probably your best bet. They stock quite a large range of electronic bits, and they tend to be much cheaper than Tandy. Just don't get distracted by all the wonderful gadgets they have on display, or you'll end up buying armloads of weird stuff you never knew you wanted until you saw it...
| Quantity | Part | Maplin order code |
|---|---|---|
| 1 | 9-pin subminiature D-connector (female), solder type | RK61R |
| 2 | 9-pin subminiature D-connector (male), solder type | RK60Q |
| 3 | 9-pin D-connector covers | RK62S |
| - | Some wire | - |
If you have an old broken joystick lying around somewhere (you must have, everyone does), you can cut up the lead from that for the wire. This is a good idea, firstly because it saves cash and secondly because the wire used in joysticks is usually wonderful thin stuff that's rather excellent for hardware projects. If you have to buy the wire, you'll need the thinnest cable you can find with at least 6 wires in it (try Maplin XR26D). Or if you can get some of that ribbon cable which has each wire coloured differently (Maplin XR06G or similar), I think that would work really well.
Maybe, having read the parts list, you are wondering why connectors come in "male" and "female" varieties. Well, er, how can I put this...
Male connectors are the ones that have the pins sticking out. Female connectors have holes for the pins to push into. Male connectors "mate" with female connectors (yes, really). Are you getting the idea?
All this probably tells you a lot about electrical engineers.
This is going to be the hardest bit for me to explain clearly. But I'll try.
All the pin numbers I'm going to be talking about are numbered as in this diagram:

We're now going to wire this thing up, step by step. There's a wiring diagram as well, in a pitiful attempt by me to make things clearer.
What you should have ended up with is a working joystick splitter. Now you can plug it into the CPC to test it. So grab a joystick, plug it into the splitter and give it a waggle. For the first joystick socket, you should get arrows appearing for the directions, and a cross when you press fire. The second joystick socket should give you letters and numbers instead.
If everything works perfectly, you are probably dreaming. No hardware project ever works properly first time.
If, due to your amazing prowess with a soldering iron, it really is working first time, a celebration is certainly in order! So brew up the coffee, invite another CPC nut over, and load up Silkworm, or Gauntlet, or Ikari Warriors, or whatever the heck your favourite two-player death-fest is. You can pat yourself on the back with the hand that isn't holding the joystick.
If you find that it doesn't work properly, do not despair! Hardware projects are notorious for not working first time. Well, mine are, anyway. These troubleshooting tips should help you on your way to that celebratory game of Operation Thunderbolt:
The only problem I can foresee with this project is with fitting two cables into one D-connector cover, as will be necessary for this project. This is another reason for using the thinnest cable available, or ribbon cable. If there turns out to be a problem with this, you may be able to cut away a bit of the plastic cover with a sharp knife to allow both cables to enter.
The project as it stands does not connect any wires for the second joystick button. This is not really a problem, since virtually no CPC joysticks supported a second fire button, and no CPC games needed a second button.
However, I believe that the paddle controllers supplied with the CPC Plus range had two independent fire buttons. Should you want to use one of these on a normal CPC, and should you actually find a use for its second button, then you'll have to wire up the splitter to support it. You'll need extra wires going from pin 8 of the female connector to pin 7 of each of the male connectors.
Good luck, and have fun!