Connectors

A.C. Wright 6502
ACE Board Rev 1.1
Everything on the edges
RefWhat it isConnector
J6JOYSTICK ADB-9 male — Atari 2600 style
J8JOYSTICK BDB-9 male — Atari 2600 style
J12SERIAL (DTE)DB-9 male — RS-232
J13PS/26-pin mini-DIN
J11 / J15AUDIO L / RRCA jacks
J175V DCBarrel jack, 5 V, 2–3 A
J18CART2×20 card edge, 2.54 mm
J19BUS2×20 box header, 2.54 mm
J22STORAGE2×10 socket — the CF adapter
J14KEYBOARD1×16 header, 2.00 mm
J9 / J10PORT B / PORT A2×6 box headers — VIA GPIO
J7PADDLES1×4 header — SID paddle inputs
The small three-pin headers — J1 PHI2 SELECT, J2 CTS EN, J4 DCD EN — are build-time jumpers, not things to plug into. J3 brings the reset switch out for a panel-mounted button.
Joystick — DB-9 male
PinJoystick AJoystick BMeaning
1PA4PB4Up
2PA5PB5Down
3PA6PB6Left
4PA7PB7Right
5PA3PB3Y
6PA0PB0A / fire
7PA1PB1B
8GNDGNDGround
9PA2PB2X
Active low. A direction being held pulls its line to 0. An untouched stick reads $FF, which is why the test is IF (JOY(1) AND 16) = 0 and not <> 0.
Serial — DB-9 male, DTE
PinSignalDirection
1DCDIn — carrier detect
2RXDIn — the ACE receives here
3TXDOut — the ACE transmits here
4DTROut
5GNDGround
6DSRIn
7RTSOut
8CTSIn
9Not connected
19200 8-N-1. The ACE is wired as data terminal equipment, the same as a PC, so reaching a laptop takes a null-modem cable or adapter — a straight-through one leaves both ends talking on the same wire.
PS/2 — 6-pin mini-DIN
PinSignal
1PS2DATA
2Not connected
3GND
4VCC
5PS2CLK
6Not connected
A PS/2 keyboard plugged in here works alongside the board's own keys, not instead of them. Both feed the same ring buffer.
The bus — J19 and the cartridge edge J18
Both carry the same forty signals in the same order: the whole 65C02 bus, brought out twice. Odd pins down the left, even pins down the right.
PinSignalPinSignal
1GND2VCC
3RESB4EXP0 — HRDB
5IRQB6EXP1 — HRDB
7NMIB8A15
9RDY10A14
11BE12A13
13RWB14A12
15SYNC16A11
17PHI218A10
19EXP320A9
21EXP222A8
23D724A7
25D626A6
27D528A5
29D430A4
31D332A3
33D234A2
35D136A1
37D038A0
39VCC40GND
Four expansion pins, two of them spoken for. The family bus calls pins 4, 6, 21 and 19 EXP0EXP3. The ACE ties EXP0 and EXP1 to HRDB, its hard-reset line; EXP2 and EXP3 are free. A COB card that expects all four to be free will not behave on an ACE.
PORT A — J10 · PORT B — J9
PinSignalPinSignal
1VCC2GND
3PA74PA0
5PA66PA1
7PA58PA2
9PA410PA3
11CA112CA2
Port B's header is wired the same way with PB0PB7, CB1 and CB2. Both are the 65C22 VIA's ports — the same sixteen lines the keyboard matrix and the two joysticks share, so anything you hang here has to take turns with them.
Keyboard — J14 · Storage — J22
HeaderPins
KEYBOARD1–8: PA0PA7 (matrix rows) · 9–16: PB0PB7 (columns)
STORAGEOdd 1–19: GND, D7D0, VCC · Even 2–20: VCC, RESB, RDY, RB, WB, IO4B, A2, A1, A0, GND
The storage header is a small bus of its own: eight data lines, three address lines, a read strobe, a write strobe and one chip select — IO4B, which is I/O slot 4. That is exactly what an 8-bit CompactFlash card in True IDE mode wants, and it is the whole of what the CF adapter board is.