Skip to content

Connectors

Every socket, plug and header on the ACE, and what is on each pin. Read off the schematic rather than off the board, so it is right even where the silkscreen is crowded.

Round the outside

WhatConnectorWhere it goes
Power5 V barrel jack5 V DC, 2–3 A. Center positive
VideoVGAAny monitor that takes VGA. 640 × 480
Audio L / RTwo RCA jacksPowered speakers, or a hi-fi input
SerialDB-9 maleA laptop, through a null-modem cable
Joystick A / BTwo DB-9 maleAtari 2600-compatible sticks
PS/26-pin mini-DINA PS/2 keyboard, working alongside the board's own
CompactFlashOn the CF adapter boardYour files
Cartridge2 × 20 card edge, standing up behind the keyboardCartridges, and the KIM keypad boards
Bus2 × 20 box headerThe whole 65C02 bus, for anything you build

There are four small jumper headers as well — PHI2 SELECT for the CPU speed, CTS EN and DCD EN for the serial handshake lines, and one that brings the reset switch out to a panel-mounted button. Those are build-time decisions, not things to plug into.

Joystick — DB-9

Both ports are wired the same way, port A to the VIA's port A and port B to its port B.

PinPort APort BDirection
1PA4PB4Up
2PA5PB5Down
3PA6PB6Left
4PA7PB7Right
5PA3PB3Y
6PA0PB0A / fire
7PA1PB1B
8GNDGNDGround
9PA2PB2X

It reads backwards

A direction being held pulls its line to 0. An untouched stick reads 255 — every bit high. So the test is

basic
IF (JOY(1) AND 16) = 0 THEN PRINT "UP"

and not <> 0. This trips everyone once. Sticks and keys has the full bit table.

Serial — DB-9

The ACE is wired as data terminal equipment, the same as a PC. Two DTE ends both transmit on pin 3 and listen on pin 2, which means they talk past each other — so reaching a laptop needs a null-modem cable or adapter, not a straight-through one.

PinSignalDirection
1DCDIn — carrier detect
2RXDIn — the ACE receives here
3TXDOut — the ACE transmits here
4DTROut
5GNDGround
6DSRIn
7RTSOut
8CTSIn
9Not connected

19200 baud, 8 data bits, no parity, one stop bit. Serial and a terminal covers what to do once it is plugged in.

PS/2 — 6-pin mini-DIN

PinSignal
1PS2DATA
2Not connected
3GND
4VCC
5PS2CLK
6Not connected

A keyboard here works alongside the board's own keys rather than instead of them — both end up in the same buffer, and you can type on either without switching anything.

The bus, and the cartridge edge

The bus header and the cartridge card edge carry exactly the same forty signals in the same order: the whole 65C02 bus, brought out twice. Odd pins down one side, even pins down the other.

PinSignalPinSignal
1GND2VCC
3RESB4EXP0
5IRQB6EXP1
7NMIB8A15
9RDY10A14
11BE12A13
13RWB14A12
15SYNC16A11
17PHI218A10
19EXP320A9
21EXP222A8
23D724A7
25D626A6
27D528A5
29D430A4
31D332A3
33D234A2
35D136A1
37D038A0
39VCC40GND

Two of the four expansion pins are spoken for

The family bus reserves EXP0 to EXP3. On the ACE, EXP0 and EXP1 are both tied to the hard-reset line — so a card designed against a COB backplane, expecting all four to be free, will not behave here.

GPIO — port A and port B

Two 2 × 6 box headers bring the 65C22 VIA's ports out, ten signals each.

PinSignalPinSignal
1VCC2GND
3PA74PA0
5PA66PA1
7PA58PA2
9PA410PA3
11CA112CA2

Port B's header is the same with PB0PB7, CB1 and CB2.

These are the same sixteen lines the keyboard matrix and the two joysticks use. Anything you hang here takes turns with them — see The keyboard and the sticks for the handshake.

Two internal headers

Keyboard — a 1 × 16 header at 2 mm pitch: pins 1–8 are PA0PA7 (the matrix rows), pins 9–16 are PB0PB7 (the columns). On a stock ACE the board's own switches are soldered across it. The keyboard matrix has the grid.

Storage — a 2 × 10 socket carrying eight data lines, three address lines, a read strobe, a write strobe and one chip select. That chip select is I/O slot 4, which is why the CompactFlash card appears at $8C00. The CF adapter board is nothing more than this header wired to a CF socket.

Written for BIOS v1.5. Released under the MIT License.