Building a reliable joystick adapter for the X68000
The Sharp X68000 uses familiar-looking 9-pin D-sub connectors for its joystick ports, which makes controller projects appear deceptively simple. A few wires, a plug, and several switches can produce a working game controller, but a careless connection can put the computer’s input circuitry or 5-volt supply at risk.
A well-designed adapter is a useful small hardware project because it combines connector identification, signal mapping, mechanical assembly, and electrical testing. It can connect an arcade-style joystick, a spare Atari-compatible controller, or a custom control panel to an X68000 without modifying the computer itself.
The safest approach is to treat the adapter as a passive wiring harness. Keep the computer-side plug correctly identified, route the directional and button signals to clearly labeled terminals, and use a multimeter before connecting the finished unit. This method also makes the project easy to repair and document later.
What the X68000 joystick port provides
The X68000 joystick interface is based on a 9-pin D-sub connector, commonly called DB9 even though “DE-9” is the technically correct connector designation. Each port carries digital direction inputs, several trigger inputs, a ground connection, and a low-voltage supply for compatible controllers.
A passive adapter does not need a microcontroller, driver, level shifter, or external firmware. The controller normally works by connecting an input signal to ground when a switch is activated. The computer detects that change as a direction or button press. This is the same general electrical principle used by many arcade controls and older digital gamepads.
The exact signal assignment should be checked against reliable X68000 documentation before soldering. Some controllers and third-party accessories use different conventions, and connector pin numbering can be confusing when viewed from the solder side. A pinout diagram viewed from the front of a plug is reversed relative to the rear of the same plug.
For a practical build, use one male DE-9 plug for the X68000 and a small terminal block, joystick harness, or second connector on the controller side. If the adapter is intended for a particular gamepad, label the destination signals according to that device rather than assuming every nine-pin controller follows the same arrangement.
Planning the wiring and enclosure
Start by deciding what the adapter should accept. An arcade stick with four microswitches and two or three push buttons is the easiest option. It allows each control to connect directly to a signal wire and shares a single ground return. A detachable design can use a second DE-9 socket, a JST-style harness, or screw terminals inside a small enclosure.
The computer-facing connector should be a male plug with a strain-relieved cable. A molded cable is convenient, but a solder-cup plug makes the wiring easier to inspect and replace. Use flexible multi-core cable rather than stiff hookup wire, especially if the controller will be moved frequently. Leave enough length inside the enclosure to prevent solder joints from being pulled when the case is closed.
Keep signal groups organized. One practical color scheme is white for directions, red for trigger inputs, black for ground, and orange for the supply line. The colors themselves are not important; consistency is. Add heat-shrink tubing to individual solder joints and a larger sleeve around the cable entry point.
The adapter should have no exposed conductive parts that could touch one another. A plastic project box is usually sufficient. If a metal enclosure is used, prevent the solder terminals from contacting the case and connect shielding only where the design calls for it. The ground conductor is a signal reference, not automatically a chassis connection.
Choosing parts and confirming the pinout
Use a quality DE-9 connector with a proper backshell. Very inexpensive connectors may have weak solder cups, loose contacts, or plastic hoods that do not grip the cable. A locking thumbscrew is useful because an accidentally detached joystick cable can interrupt a game or damage a plug if it falls against another piece of hardware.
The controls should be normally open momentary switches. Arcade microswitches are convenient because they provide separate terminals for common, normally open, and normally closed contacts. Use the common and normally open terminals for each control. Connecting the normally closed terminal by mistake can make a direction appear permanently pressed.
The following working map is commonly used for an X68000 digital joystick interface. Verify it against the documentation for the particular machine and controller before applying power, since third-party hardware may introduce variations.
| DE-9 pin | Typical X68000 function | Adapter connection |
|---|---|---|
| 1 | Up | Up switch input |
| 2 | Down | Down switch input |
| 3 | Left | Left switch input |
| 4 | Right | Right switch input |
| 5 | Controller supply | Optional +5 V connection |
| 6 | Trigger A | Button A input |
| 7 | Trigger B | Button B input |
| 8 | Ground | Common switch return |
| 9 | Trigger C or auxiliary input | Button C, if supported |
Pin 5 deserves special attention. It may be available for compatible powered accessories, but a simple arcade controller does not need it. Leaving the supply disconnected reduces the chance of an accidental short. If the adapter passes +5 V to a detachable controller, protect the connection from touching ground and confirm the controller is designed to accept that voltage.
The ground arrangement is equally important. Connect the common terminal of every switch to pin 8, then connect the individual normally open terminals to their assigned inputs. Do not join the +5 V line to the common switch terminals. A controller wired in that way may short the supply every time a button is pressed.
Soldering the adapter safely
Before soldering, make a paper wiring diagram and mark the connector orientation. Identify the pin numbers on the actual plug with a continuity meter if necessary. The small molded numbers can be difficult to see, and the solder side often presents the pins in the opposite left-to-right order from the mating face.
Tin the wire ends and solder one connection at a time. Slide heat-shrink tubing over each wire before making the joint, then move it into place after the solder has cooled. Avoid excessive heat because the plastic insulator inside a DE-9 connector can soften and allow the contacts to shift.
A useful assembly order is ground first, followed by the four directions, the buttons, and the optional supply. Keep the wires short but not tight. A small service loop inside the enclosure allows a connector to be removed later without desoldering every connection.
If the adapter includes a second connector, document both ends. The second connector does not need to copy the X68000 pinout unless it is deliberately intended as a pass-through. A custom pin arrangement can be safer if it prevents a different controller from being plugged in accidentally, but it must be labeled clearly.
The Nereid expansion project is a useful reminder that X68000 hardware benefits from careful connector planning and clear documentation. Even a small joystick adapter becomes easier to maintain when its pin functions, cable colors, and revision history are recorded inside the enclosure or in an accompanying README.
Testing before connecting the computer
Testing should begin with the adapter unplugged from the X68000. Set a multimeter to continuity mode and check every switch independently. Pressing Up should connect the Up wire to ground, while Left, Right, Down, and each trigger should behave in the same way. With no switch pressed, there should be no continuity between any input wire and ground.
Next, check for unwanted shorts. Test the +5 V wire against ground and each input wire. There should be no direct connection. Also test adjacent pins on the DE-9 plug, because a tiny solder bridge can create a fault that is difficult to see beneath a backshell.
Inspect the connector from both sides and compare it with the wiring diagram. Confirm that pin 1 on the physical plug really goes to the intended control and that the ground wire is on pin 8. A cable can be electrically neat while still being mirrored because the pin numbering was read from the wrong viewing direction.
Only after these checks should the adapter be connected to the computer. Begin with a simple input test or a game that responds clearly to each direction and button. Avoid repeatedly plugging and unplugging the connector while the machine is powered. If an input remains active, disconnect power and recheck the switch terminals rather than trying to diagnose the fault live.
Preservation work often depends on protecting the original machine from avoidable electrical mistakes. The same conservative mindset used when replacing the X68000 CMOS battery applies here: document the existing condition, use the least invasive method, and verify each step before moving forward.
Making the adapter useful with modern controls
A basic passive adapter works well with arcade buttons, but modern USB or Bluetooth controllers cannot be connected by wiring alone. Those devices send serial data and require an active converter that understands their protocol and produces the X68000’s expected digital signals. A passive DE-9 cable is suitable only for controllers with compatible electrical contacts.
Some classic controllers may use the same connector shape while assigning pins differently. Sega-style pads, Atari-family joysticks, MSX controllers, and X68000-specific pads should therefore be treated as separate designs until their pinouts are confirmed. The presence of a DE-9 plug does not guarantee compatibility.
A modular adapter can support several controller types by using interchangeable harnesses. The X68000-side wiring remains fixed, while each controller-side cable receives its own labeled connector and pin map. This reduces repeated work and makes it possible to isolate a fault to the console cable, the adapter box, or the controller.
For a more advanced build, add a small protection board with series resistors on input lines and a resettable fuse on the supply line. These additions are not required for a simple passive joystick, but they can limit damage caused by wiring errors. Any protection circuit should be tested for signal compatibility and should not distort the voltage levels expected by the X68000.
Practical recommendations for a durable build
The best adapter is one that can be understood and repaired years after it was assembled. Retrocomputing hardware is often serviced long after its original documentation has disappeared, so a short wiring note inside the case can be as valuable as the physical circuit itself.
Record the connector type, pinout source, cable colors, switch model, and date of construction. Photograph the solder side before closing the enclosure. If a future revision changes the use of pin 9 or adds a third button, update the diagram rather than relying on memory.
- Use a male DE-9 plug for the X68000-facing cable and secure it with a backshell.
- Leave pin 5 disconnected unless the controller specifically requires the supply.
- Connect switch commons to ground and use normally open contacts for inputs.
- Verify continuity and the absence of shorts before connecting the adapter.
- Label every controller-side connector and preserve the wiring diagram with the hardware.
A detachable cable is preferable for long-term storage because it reduces strain on the computer’s socket. Store the adapter unplugged, keep the contacts clean, and avoid forcing the connector if the thumbscrews are misaligned. If the X68000 is being transported, remove the cable rather than allowing its weight to pull against the port.
Building a joystick adapter for the X68000 is a modest project, but it provides a solid foundation for larger restoration and expansion work. Assemble the cable carefully, test every signal with a meter, and document the finished pinout so the controller remains useful across future repairs, games, and hardware projects.
Nereid-X Expansion Board
A personally-produced LAN+USB+Memory expansion board for Sharp X68000 series computers. Multiple production runs were offered, including a final batch and a later revival reproduction run.
Power Supply Repair
X68 power supply repair and modification services were offered by the site owner, with documentation shared through diary entries spanning 2001–2006.
Server & Networking
Notes on FreeBSD administration, ISP changes, server migration, and networking topics. The site itself ran on FreeBSD with the hns diary system and Namazu search integration.
Get in touch
X68K.NET connects Sharp X68000 enthusiasts through community links and shared projects. Reach out with questions about the Nereid project or X68 resources.