ZX Spectrum

Keyboard Matrix

I/O Port Address Map

PortBit
01234
&FEFEShiftZXCV
&FDFEASDFG
&FBFEQWERT
&F7FE12345
&EFFE09876
&DFFEPOIUY
&BFFEEnterLKJH
&7FFESpaceSymMNB

> Hover or click a key to inspect...

The ZX Spectrum reads its keyboard via 8 I/O port addresses. Each port reads a half-row of 5 keys across bits 0–4 (active low). A bit reads 0 when its key is pressed, 1 when released.

Remix on Berrry