Simple passive device that breaks out the joystick port on the Amstrad CPC 464 computer so that two Atari-style joysticks can be used, it is based on an article in the magazine Amstrad Action (scans available on CPCWiki). Note that because there are no active components, this will not work with joysticks that have any active electronics (commonly used by autofire circuits). A second fire button has also been added, this matches the pinout usually associated with Sega Master System gamepads (will not work with the controllers for Sega Genesis or Mega Drive).
There is an additional faceplate available for this project, this is mainly there to add the appearance of putting it all in a box without breaking out a hacksaw. This is completely optional and don't serve any purpose other than making it all look rather stylish (mostly according to me). I made it reversible so that two designs could be featured, graphics are not in my bag of tricks - so at the moment they should be considered placeholders.
Building the unit assumes you have at least minor experience soldering things together, recommended is at least a soldering station with adjustable temperature to get started - usually you'll want some 60/40 solder tin (if you can get that where you live). With the equipment sorted, now comes the shopping. So head on over to the BOM-section for some information on what you need, with ebay, AliExpress and similar sites you'll need to treat these as a starting search term and get what seems to match the gallery pictures.
The construction of this unit should be straight-forward, observe the direction of the diodes and solder those in first. Next, solder in the IDC socket, the gap should point inwards and will match the illustration on the board itself. Right-angle DB9 should be straight-forward as well, just slot them in place and solder - take care when soldering the anchors on the sides, heat quickly travels to the other side so don't hold your finger on any of the metal.
The faceplate can be reversed to match the look you want the unit to have, at some point in the far flung future I'll hopefully have some 1bit artwork suitable to put on it. If you bought the M3 nylon hex kit as suggested, you can use four of the 6mm tall standoffs on each corner of the main PCB - fix them on the bottom using M3 nuts (snip off the remaining part of the nylon screw). Place the faceplate on top, screw it into place using - well - M3 nylon screws. Use wire cutters to cut off any metal parts protruding further down than the M3 nuts, this is just so that nothing messes up your desk surface.
At this point you might be wondering about the extra holes at the back. If not, then you're almost done - skip to the cable bits. Still here? ... The idea of the holes was that they're there in case you can find some M3 brass female to female hex spacers, screw them into place from the underside to add some more weight to the back of the unit.
I've gone into extensive detail on making up the joystick cables, so for a more detailed explanation skip on over to the C64 JoyKEY documentation to see how I did it there. Essentially you just take a 2x5 pin IDC JTAG AVR cable (common ebay listing description), find the end that fits nicely into the keying on the board and cut off the other. Take a female IDC flat cable DB9 connector, match up pin 1 with the red stripe on the cable and squeeze really hard with something to lock it into place on the cable. Wrap the cable over and push the strain relief on the connector.
Given the way the Amstrad CPC was constructed, testing actually don't require any software at all - just plug it in and try messing around with the joystick. If it works you'll see characters printed on the screen, this is because the joystick is electrically linked with the keyboard so it'll register as key presses.
From a technical point of view I don't know if this was pure genius, or just a very cheap hack done in order to save money. I'm leaning toward the latter as it mostly meant that the cost-cutting measures saved them a single joystick connector as well as at most a chip or two, loosing support for common Atari-style joysticks with autofire at the same time.
As already mentioned the splitter allows the use of Atari-style joysticks with a standard pinout, but while I've tested a few - there are only a limited selection that support actually support two fire buttons. The one I've tested are as follows:
- ArcadeR (RetroRadionics)
- C64 JoyKEY
- Sega Master System gamepads
The supplied KiCad files should be sufficient as both a schematic and as a starting point for ordering PCBs (basically you could just zip the contents of the export folder and upload that on a fabrication site), the schematic is also available in PDF-format and this is what you'll need to print and work your way through this things don't work as expected after assembly.
Most parts should be easy to get a hold of from your favourite local electronic component shop, but given that I don't have access to such shops where I live so everything was based on whatever I could get cheapest from eBay/AliExpress (free shipping, but plan on waiting 3-4 weeks for delivery).
Reference | Item | Count | Order |
---|---|---|---|
PCB | Fabricate using Gerber files | 1 | PCBWay |
PCB Faceplate | Fabricate using Gerber files | (1) | PCBWay |
D1-D12 | 1n4148 diode DO-35 | 12 | |
J1,J2 | Female DB9 right-angle connector | 2 | |
J3 * | 2x5 pin male IDC socket | 1 | |
DB9 cable ** | Ribbon cable (9 wires), DB-9 female IDC and 2x5 pin female IDC | 1 | |
Mounting *** | M3x6mm nylon HEX standoff | (4) | |
Mounting *** | M3x6mm nylon hex screw | (4) | |
Mounting *** | M3 nylon nut | (4) |
*) Can use regular double row pin headers, but it is recommended to use IDC socket as it has keying.
**) You can buy the ribbon cable, DB9 female IDC connector and 2x5 pin female IDC. The easiest however is just buying something that already has the female DB9 connector attached to a ribbon cable, then just cut off the DB9 end - finally, add the 2x5 pin female IDC connector. Pictures on my C64 JoyKEY-repository as that uses the exact same cable.
***) The easiest way of ordering these is to just one of the M3 nylon standoff kits on ebay, AliExpress or any similar sites. That way you'll get more than what you need in various sizes for future projects as well.