Spark Logic

Commodore 64 user port pinout

The Commodore 64 user port exposes eight individually programmable parallel I/O lines and handshake signals from the 6526 CIA 2.

24-contact user port

24 contacts Current package

Commodore · 12 positions × 2 sides · keyed PCB edge

24-contact user port pinout

Diagram rotated to show both contact rows. Numbers are the upper side. Letters are the lower side. Match the keyed connector to the rear view in the manual.
Selected pin details

2 · +5 V

Supply output · Power

5 V from the computer. Leave it unused for a passive measurement.

Commodore 64 Programmer’s Reference Guide, Appendix I, User Port

Electrical limits · Link to this pin

All 24 pins

PinSignalDirectionFunction
1GND ReturnReturn Digital ground. Use this reference for a logic measurement.
2+5 V Supply outputSupply output 5 V from the computer. Leave it unused for a passive measurement.
3RESET Active-low resetActive-low reset Connected to the computer’s reset line. Leave it alone for ordinary parallel I/O.
4CNT1 BidirectionalBidirectional Serial shift clock for CIA 1.
5SP1 BidirectionalBidirectional Serial shift data for CIA 1.
6CNT2 BidirectionalBidirectional Serial shift clock for CIA 2.
7SP2 BidirectionalBidirectional Serial shift data for CIA 2.
8PC2 Handshake outputHandshake output CIA 2 port handshake signal.
9SER ATN Serial bus signalSerial bus signal Serial attention signal. Consult the applicable board schematic for the interface circuit.
109 VAC AC supply contactAC supply contact One contact of the 9 VAC supply pair. Keep it isolated from signal pins.
119 VAC AC supply contactAC supply contact Second contact of the 9 VAC supply pair. Keep it isolated from signal pins.
12GND ReturnReturn Digital ground. Use this reference for a logic measurement.
AGND ReturnReturn Digital ground. Use this reference for a logic measurement.
BFLAG2 Handshake inputHandshake input Edge-sensitive input of the 6526 CIA 2.
CPB0 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
DPB1 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
EPB2 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
FPB3 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
HPB4 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
JPB5 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
KPB6 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
LPB7 Programmable I/OProgrammable I/O 6526 CIA 2 parallel data bit. Select its direction in the data direction register.
MPA2 Programmable I/OProgrammable I/O Port A bit 2 of CIA 2.
NGND ReturnReturn Digital ground. Use this reference for a logic measurement.

Signal assignments

Electrical limits

ParameterLimitConditions and source
Parallel port controller6526 CIA 26526 CIA 2 The measured signal is PB0 at contact C. Commodore 64 Programmer’s Reference Guide, Appendix I, User Port
Bench loadHigh impedance onlyHigh impedance only Use a 10× passive scope probe. The example draws no supply current from the connector. Measurement fixture design

Models and documents

The map covers the external 24-contact user port. The signal roles and supply contacts are specific to the C64 shown in the manufacturer guide.

Commodore 64
User-port connector in the cited manufacturer documentation.