Jump to content

Sinclair ZX81

From RetroTechCollection
Sinclair ZX81
Sinclair ZX81
Specifications
ManufacturerSinclair Research Ltd
TypeHome computer
ReleasedMarch 1981
Discontinued1984
CPUZ80A class (Z80A or NEC D780C-1) @ 3.25 MHz
Memory1 KB static RAM, expandable externally
StorageCassette, through 3.5 mm EAR and MIC jacks
DisplayMonochrome, through a UM1233 UHF modulator on channel 36; 32×24 characters
SoundNone
OS / Firmware8 KB Sinclair BASIC in ROM
PredecessorSinclair ZX80
SuccessorSinclair ZX Spectrum
Model no.ZX81

The Sinclair ZX81 is an 8-bit home computer launched by Sinclair Research in March 1981, sold both as a kit and ready-built. It was sold in very large numbers, but its lasting technical significance is that Sinclair replaced about twenty 74LS packages from the ZX80 with a single custom chip — the uncommitted logic array that does the video, the keyboard scan, the tape interface and the chip selects.

Everything on this page is from Sinclair's own documentation — the ZX81 Service and Assembly Manual and circuit diagram SRC 049, both hosted here — or from a named secondary source.[1][2][3]

Architecture

[edit | edit source]
The whole machine, from Sinclair's component list[1][2]
Ref Part Function
IC1 Sinclair Logic IC (ULA), 40-pin Video, keyboard scan, tape I/O and chip selects. Called "Sinclair Computer Logic" on the circuit diagram
IC2 2364, 24-pin 8 KB mask ROM — Sinclair BASIC and the operating system
IC3 Z80A or D780C-1, 40-pin CPU
IC4 MK4118, 24-pin 1 KB × 8 static RAM. The position also takes a 4816 2K × 8 part in a 28-pin package
IC4a, IC4b µPD2114LC, 18-pin Alternative to IC4 — two 1K × 4 static RAMs
REG 7805 The 5 V regulator, on an aluminium heatsink
TR1, TR2 ZTX313 Video output stage; master oscillator
D1–D8 1N4448, 1N4148 or 1S4A Keyboard matrix diodes
X1 CDA 6.5MC 6.5 MHz ceramic filter. The ULA divides it to the 3.25 MHz CPU clock
MOD UM1233 UHF modulator, channel 36

The ROM is 8 KB, not 4 KB. The 4 KB ROM belongs to the ZX80; the ZX81's larger ROM is where floating point, SLOW mode and the improved BASIC came from.[1]

The CPU clock is 3.25 MHz on every ZX81. It is derived by the ULA from the 6.5 MHz ceramic filter at X1, and it does not change between board issues. 3.5 MHz is the ZX Spectrum figure.[3][2]

Video generation

[edit | edit source]

The ZX81 has no frame buffer and no display processor. The Z80 itself fetches the character data and the ULA turns it into video, so in FAST mode the machine cannot compute and display at the same time — the picture blanks while a program runs and flickers when a key is pressed. That is designed behaviour, not a fault. SLOW mode interleaves the two at the cost of speed.

Power

[edit | edit source]

An external unregulated DC adaptor feeds a 3.5 mm mono jack — the same size as the EAR and MIC sockets next to it, which is an easy and expensive mistake to make. On the board the supply goes through C3, a 22 µF electrolytic, to the 7805.[1][2]

The supply is unregulated by design. Sinclair specifies it that way and the 7805 on the board does the regulating. A high off-load reading on an original adaptor is normal. Sinclair's own requirement is a supply capable of not less than 600 mA, or 1.2 A if a ZX Printer is to run from the same adaptor.[1]

Getting the polarity wrong is a recognised way to kill the regulator; it usually dies and spares the rest of the board, which is luck rather than protection.[3]

Capacitors

[edit | edit source]

There are twelve capacitors on a ZX81 and only two of them are electrolytic — C3, the 22 µF reservoir ahead of the regulator, and C5, the 1 µF part in the power-on reset network with R15 (220 k) on IC3 pin 26. Everything else is a ceramic disc and is not a service item. This is not a machine that needs a wholesale recap.[1]

Full values are on Sinclair ZX81 Capacitor Replacement Guide.

The ZX81 has no reset switch. The only reset is R15 charging C5 at switch-on, which is why the remedy for a hung machine is to unplug it and wait a few seconds for C5 to discharge.[1][2]

Board issues

[edit | edit source]

At least three PCB versions exist, and the component reference numbers are the same on all of them. The notable Issue 3 change is that resistor packs RP1 and RP3 are replaced by individual resistors, R35–R42 and R43–R47.[3][1] Work from the issue number silkscreened on your own board.

Earlier per-issue "errata" tables attributing missing video pull-ups, overheating and added heatsinks to particular issues could not be traced to Sinclair or to any trade source, and have been removed rather than repeated.

Storage

[edit | edit source]

Cassette, through the EAR and MIC jacks. C10 forms the EAR input network with R33 and R34; C11 and C12 form the MIC output network with R27 and R29.[1][2]

The tape format is Sinclair's own, not the Kansas City Standard, and no loading-rate figure is quoted here because none appears in Sinclair's documentation.

Expansion

[edit | edit source]

A rear edge connector brings out the Z80 bus, the supply and the video signals; it is what the 16 KB RAM pack, the ZX Printer and the various interfaces plug into. "RAM pack wobble" — crashes and resets caused by the pack moving on the connector — is the single best-known ZX81 complaint, and it is a mechanical fault at the connector, not an electronic one.

Servicing

[edit | edit source]

Documents hosted here: ZX81 Service and Assembly Manual and circuit diagram SRC 049.

Schematic and PCB

[edit | edit source]
Sinclair's ZX81 circuit diagram, drawing SRC 049
ZX81 motherboard
[edit | edit source]

References

[edit | edit source]
  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 Sinclair Research Ltd, ZX81 Service and Assembly Manual, section 6 (fault finding), section 8 (component lists) and section 9 (power supply specification). Hosted on this wiki as File:Sinclair ZX81 Service and Assembly Manual.pdf. Source for the component list, the capacitor list, the supply specification and Sinclair's own first-line fault checks.
  2. 2.0 2.1 2.2 2.3 2.4 2.5 ZX81 Circuit Diagram, drawing SRC 049, Sinclair Research Ltd. Hosted on this wiki as File:Sinclair ZX81 circuit diagram.png. Source for pin numbers, designators and circuit positions.
  3. 3.0 3.1 3.2 3.3 "Servicing Sinclair Computers, Part 2", Television magazine, 1986. Trade servicing article devoted to the ZX81, mirrored in the Sinclair ZX Computers Archive at k1.spdns.de. Secondary source: on-load supply figures, board issues, the ULA clock derivation and the modulator drive level.