POKEY C012294 pinout

DIP-40. Four-voice sound, keyboard scan, eight pot (paddle) inputs and the SIO serial port.

POKEY makes the sound (four voices), scans the keyboard (K0-K5 out, KR1 and KR2 back in), reads the eight pot lines from the controller ports and runs the SIO serial port. Dead keys, one dead voice, a dead disk drive or dead paddles all point here. The XL/XE has only two controller ports, so only P0-P3 are used.

Open the interactive POKEY pinout

Pins

PinNameTypeSignal
1Vssground0 V.
2D3dataData bus bit 3.
3D4dataData bus bit 4.
4D5dataData bus bit 5.
5D6dataData bus bit 6.
6D7dataData bus bit 7.
7PHI2clockPhase 2 clock in.
8P6ioPot (paddle) input 6: controller 4 pin 9 (400/800).
9P7ioPot input 7: controller 4 pin 5 (400/800).
10P4ioPot input 4: controller 3 pin 9 (400/800).
11P5ioPot input 5: controller 3 pin 5 (400/800).
12P2ioPot input 2: controller 2 pin 9.
13P3ioPot input 3: controller 2 pin 5.
14P0ioPot input 0: controller 1 pin 9.
15P1ioPot input 1: controller 1 pin 5.
16/KR2kbdKeyboard response 2: SHIFT, CTRL and BREAK. UNVERIFIED
17Vddpower+5 V supply.
18/K5kbdKeyboard scan line 5.
19/K4kbdKeyboard scan line 4. UNVERIFIED
20/K3kbdKeyboard scan line 3. UNVERIFIED
21/K2kbdKeyboard scan line 2. UNVERIFIED
22/K1kbdKeyboard scan line 1. UNVERIFIED
23/K0kbdKeyboard scan line 0. UNVERIFIED
24SIDserialSerial input data (SIO pin 3, DATA IN).
25/KR1kbdKeyboard response 1: the key matrix return. UNVERIFIED
26BCLKserialBidirectional serial clock (SIO pin 1, CLOCK IN).
27OCLKserialSerial output clock (SIO pin 2, CLOCK OUT). The 800XL manual calls it ACLK.
28SODserialSerial output data (SIO pin 5, DATA OUT).
29/IRQctrlInterrupt request to the CPU.
30/CS0ctrlChip select 0 ($D2xx). LOW selects POKEY.
31CS1ctrlChip select 1. HIGH selects POKEY (with /CS0 LOW).
32R/WctrlRead or write.
33A3addrAddress bus bit 3 (register select).
34A2addrAddress bus bit 2 (register select).
35A1addrAddress bus bit 1 (register select).
36A0addrAddress bus bit 0 (register select).
37AUDIOaudioAudio output, all four voices mixed.
38D0dataData bus bit 0.
39D1dataData bus bit 1.
40D2dataData bus bit 2.

Fitted in

Sources