DE-9 Connector

Pinout
Device Configuration
Legend:
Colour | Meaning |
---|---|
Green | Common joystick default across most DE-9 implementations (Up, Down, Left, Right, Button 1, +5 V, GND) |
Red | System-specific, conflicting, or non-standard assignment |
Grey | Unused / Not connected |
Pin | Chameleon | Atari 800 Atari VCS |
Atari 7800 (*1) |
Atari ST (*2) |
VIC-20 C-64 C64GS (*3) |
Amiga | CD32 (*4) |
Amstrad CPC |
MSX X68000 (J-PC) |
Master System (*6) |
Mega Drive (Genesis) (*6) |
Saturn (*6) |
Sinclair (*7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Up | Up | Up | Up | Up | Up | Up | Up | Up | Up | Up | GND | Unused |
2 | Down | Down | Down | Down | Down | Down | Down | Down | Down | Down | Down | Down | GND |
3 | Left | Left | Left | Left | Left | Left | Left | Left | Left | Left | 1Y (-, Left) | Up | Unused |
4 | Right | Right | Right | Right | Right | Right | Right | Right | Right | Right | 2Y (-, Right) | +5 V | Button |
5 | Button 3 | Paddle B | Button Right | Unused | Button 3 (POTY) | Button 3 (POTX) | Shift Load OUT | Button 3 | +5 V | +5 V | +5 V | Select OUT 1 | Up |
6 | Button 1 | Button | Button common | Button 1 | Button 1 | Button 1 | Fire, Clock OUT | Button 2 | Button 1 | TL (A) | TL (A, B) | Select OUT 2 | Right |
7 | +5 V | +5 V | +5 V | +5 V | +5 V | +5 V | +5 V | Button 1 | Button 2 | TH (Unused) | TH (Select OUT) | Right | Left |
8 | GND | GND | GND | GND | GND | GND | GND | GND (Row 9) (*5) | Strobe OUT | GND | GND | Left | GND |
9 | Button 2 | Paddle A | Button Left | Button 2 | Button 2 (POTX) | Button 2 (POTY) | Serial Data IN | GND (Row 6) (*5) | GND | TR (B) | TR (Start, C) | +5 V | Down |
(*1) The Atari 7800 uses independent button wiring not compatible with the standard Atari joystick pinout. Adapters or rewiring are required for full button functionality.
(*2) On the Atari ST, pin 9 of port 1 (right mouse button) is shared with pin 6 of port 2 (fire). This means only port 1 supports two mouse buttons, and only if port 2 is unused. The Atari STe and Falcon have DE-15 Extended Joystick Ports, which can accept two DE-9 joysticks with a passive adapter (see info-coach.fr). The Atari Jaguar also uses DE-15 connectors, but with a completely different button matrix pinout (see GameSX).
(*3) On Commodore machines, the second button (right mouse button) is wired to the POT X line, and the third button (middle mouse button) to POT Y. Unlike the other lines, these must be pulled to +5 V through the button.
(*4) The Amiga CD32 supports a “gamepad mode”, activated by pulling pin 5 high. CD32 controllers include active circuitry. Standard Atari-style joysticks work on the CD32, but CD32 pads are not compatible with older machines such as the C64 (see mirror of gerdkautzmann.de and HarwareBook.info).
(*5) On Amstrad systems, GND lines are pulled low to select the respective “row”. A regular joystick uses row 9.
(*6) Sega controllers cannot be converted into Atari controllers simply by rewiring them. Unlike regular Atari sticks, they contain pull-up resistors on each signal line (which may interfere with scanning the keyboard on a C64). Some controllers contain active circuits and will not work without the +5 V supply. The Mega Drive controllers use an active circuit (see GameSX or SegaRetro). The Saturn controllers also contain an active circuit and are wired completely non-standard. Mega Drive controllers can be used as Atari controllers with a simple adapter (see blog.hpz.pw). Sega’s documentation also refers to certain pins by signal names: TL (“Trigger Left”) is the main trigger input (commonly Button B), and TH (“Test Harness”/“Select”) is a console-driven line used to multiplex additional buttons on 3- and 6-button controllers.
(*7) Pinout refers to Interface Two (Sinclair +3 compatible models).
Other Systems Using DE-9 Connectors
- The Apple II uses analog joysticks and cannot use the digital DE-9 pinout shown above.
- Like Sega Saturn controllers, the ColecoVision and Intellivision II controllers use completely different wiring (see DeathSkull Labs and DeathSkull Labs).
- The Sinclair QL originally used non-standard controller ports. Later Samsung-made QLs (US and German models) switched to standard 9-pin joystick/serial ports, allowing Atari-compatible sticks.
- The Commodore C16/C116/Plus/4 have two mini-DIN joystick ports, electrically compatible with DE-9 via a passive adapter.