Controller connector

From SNESdev Wiki
Revision as of 09:39, 12 January 2024 by Fiskbit (talk | contribs) (Reformats the pinout to match our typical layout (names and directions in the diagram). De-densifies the information. Adds more detailed signal descriptions.)
Jump to navigationJump to search

Pinout

Port 1
  _
 / \
| 7 | -- GND
| 6 | <> joypad IO D6
| 5 | <- joypad 1 D1
|---|
| 4 | <- joypad 1 D0
| 3 | -> OUT0
| 2 | -> joypad 1 /OE
| 1 | -- +5V 
|___|

Port 2
 ___
|   |
| 1 | -- +5V
| 2 | -> joypad 2 /OE
| 3 | -> OUT0
| 4 | <- joypad 2 D0
|---|
| 5 | <- joypad 2 D1
| 6 | <> joypad IO D7
| 7 | -- GND
 \_/

Signal descriptions

  • OUT0: Output to the controller, used on standard controllers to latch the current button state. Written manually via JOYOUT D0 or automatically during autoread.
  • joypad 1 /OE, joypad 2 /OE: Clocks the joypad. Asserted when reading JOYSER0 (joypad 1) or JOYSER1 (joypad 2) and during autoread.
  • joypad 1 D1..0: Controller input read manually via JOYSER0 D1..0 or automatically via JOY1 (D0) and JOY2 (D1).
  • joypad 2 D1..0: Controller input read manually via JOYSER1 D1..0 or automatically via JOY3 (D0) and JOY4 (D1).
  • joypad IO D7..6: Bidirectional IO bits accessed through RDIO and WRIO D7..6. D7 also functions specially as a light pen input via OPHCT and OPVCT.

Standard controller wiring

Color Pin Name
White 1 +5V
Yellow 2 joypad /OE
Orange 3 OUT0
Red 4 joypad D0
Brown 7 GND