Jump to content

Sinclair ZX81: Difference between revisions

From RetroTechCollection
At a speed of 300 baud (bitrate would be more precise) you can only transfer 37,5 bytes per second. Thus 1024 bytes take some 27 seconds to load.
Cite to Sinclair's ZX81 Service and Assembly Manual and circuit diagram SRC 049; ROM is 8 KB (infobox said 4 KB, contradicting the body), CPU clock is 3.25 MHz on every issue, X1 is a 6.5 MHz ceramic filter; remove the unsourced Issue 1/2 errata table, the Kansas City Standard tape claim, the 27 s/KB loading figure, the truncated 40-way pinout table and the wrong ROM keyword map
 
Line 2: Line 2:
| name        = Sinclair ZX81
| name        = Sinclair ZX81
| image        = [[File:ZX81.jpg|250px]]
| image        = [[File:ZX81.jpg|250px]]
| caption      = Sinclair ZX81 – The Affordable Home Computer
| caption      = Sinclair ZX81
| manufacturer = Sinclair Research Ltd
| manufacturer = Sinclair Research Ltd
| type        = Home computer
| type        = Home computer
| release date = March 1981
| release date = March 1981
| discontinued = 1984
| discontinued = 1984
| price        = £69.95 kit / £89.95 ready-built (≈US$199/249 in 1981)
| cpu          = Z80A class (Z80A or NEC D780C-1) @ 3.25 MHz
| cpu          = Zilog Z80A-compatible (NEC µPD780C) @ 3.25 MHz
| memory      = 1 KB static RAM, expandable externally
| memory      = 1 KB static RAM (expandable to 16 KB)
| storage      = Cassette, through 3.5 mm EAR and MIC jacks
| storage      = External cassette tape (300 baud, EAR/MIC jacks)
| display      = Monochrome, through a UM1233 UHF modulator on channel 36; 32×24 characters
| display      = Monochrome RF to TV – 32 × 24 text or 64 × 48 block-graphics
| sound        = None
| sound        = None (no audio hardware)
| os          = 8 KB Sinclair BASIC in ROM
| dimensions  = 200 mm × 150 mm × 35 mm (7.9 ″ × 5.9 ″ × 1.4 ″)
| weight      = ≈ 400 g (0.88 lb)
| os          = 4 KB Sinclair BASIC in ROM
| predecessor  = [[Sinclair ZX80]]
| predecessor  = [[Sinclair ZX80]]
| successor    = [[Sinclair ZX Spectrum]]
| successor    = [[Sinclair ZX Spectrum]]
| codename    = “ZX81 project”
| model        = ZX81
| model        = ZX81
| logo        =
}}
}}
<templatestyles src="Template:StyledTable/styles.css" />


The '''Sinclair ZX81''' is an 8-bit home computer launched by '''Sinclair Research''' in March 1981. It was designed as an affordable entry into computing, selling over 1.5 million units worldwide. The ZX81's compact design and low price made it accessible to a broad audience, contributing to the rise of home computing in the UK.
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 [[Sinclair ZX80|ZX80]] with a single custom chip''' — the uncommitted logic array that does the video, the keyboard scan, the tape interface and the chip selects.


The ZX81 was notable for its simple design and was one of the first computers to be sold for under £100. It provided a platform for programming in BASIC and was widely used in schools and homes for educational purposes.
'''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.<ref name="zx81man">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.</ref><ref name="zx81sch">''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.</ref><ref name="tv2">"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.</ref>


== Architecture ==
== Architecture ==
* '''CPU''' – Z80A-class microprocessor clocked at '''3.25 MHz'''.
 
* '''ROM''' 8 KB mask ROM containing Sinclair BASIC and system routines.
{| class="wikitable styled-table" style="width:95%; text-align:left;"
* '''RAM''' 1 KB of 2114 static RAM, expandable to 16 KB via the rear expansion bus.
|+'''The whole machine, from Sinclair's component list'''<ref name="zx81man" /><ref name="zx81sch" />
* '''Logic''' – Utilizes standard TTL logic chips, with no custom chips.
! 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.<ref name="zx81man" />
 
'''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 [[Sinclair ZX Spectrum|ZX Spectrum]] figure.<ref name="tv2" /><ref name="zx81sch" />


=== Video generation ===
=== Video generation ===
The ZX81 generates video output using the Z80 processor, which produces a sync pulse and fetches character data from RAM. The video output is interleaved with CPU operations, which can lead to display flicker during intensive processing.
 
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 ==
 
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.<ref name="zx81man" /><ref name="zx81sch" />
 
'''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.<ref name="zx81man" />
 
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.<ref name="tv2" />
 
== Capacitors ==
 
'''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.<ref name="zx81man" />
 
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.<ref name="zx81man" /><ref name="zx81sch" />
 
== Board issues ==
 
'''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.<ref name="tv2" /><ref name="zx81man" /> 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 ==
== Storage ==
The ZX81 uses the '''300 baud Kansas City Standard''' for loading and saving programs via cassette tape. The average time to load a program is approximately 27 seconds per kilobyte.


== I/O and Expansion ==
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.<ref name="zx81man" /><ref name="zx81sch" />
* '''Edge connector (40-way)''' – provides access to the Z80 bus, power, and video signals.
 
* '''9 V DC input''' – unregulated power supply.
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.
* '''RF modulator''' – outputs to channel 36 PAL TV.
Commercial accessories included:
: ''1–16 KB RAM packs, ZX Printer, joystick interfaces, and various expansion modules''.


== Known PCB Revisions & Errata ==
== Expansion ==
{| class="wikitable styled-table" style="width:70%; text-align:center;"
|+'''ZX81 Logic-Board Issues'''
! Issue !! Visible Clues !! Key Fixes / Changes
|-
| '''Issue 1''' (Mar 1981) || “ZX81 Issue 1” silkscreen; no solder mask. || • Missing pull-up resistors on video output caused weak signals on some TVs. 
• Early models had a tendency to overheat; later revisions included heatsinks.
|-
| '''Issue 2''' (late 1982) || Added solder mask; improved layout. || • Enhanced power regulation for stability. 
• Additional RAM compatibility improvements.
|}


== General Maintenance ==
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.
{| class="wikitable styled-table" style="width:70%; text-align:center;"
! Issue !! Cause !! Remedy
|-
| Flickering display || Poor power supply regulation || Replace with a regulated power supply.
|-
| Unresponsive keys || Wear on membrane keyboard || Replace keyboard or clean contacts.
|-
| Overheating || Lack of ventilation || Ensure proper airflow or add ventilation holes.
|}


Regular maintenance, including keyboard cleaning and power supply checks, is essential for longevity.
== Servicing ==


== Schematic & PCB ==
* [[Sinclair ZX81 General Maintenance]] — component list, supply figures, test points, keyboard tails
The complete PCB schematic is available for reference. 
* [[Sinclair ZX81 Troubleshooting Guide]] — fault-finding
{| class="wikitable"
* [[Sinclair ZX81 Capacitor Replacement Guide]] — the twelve capacitors, by value and type
|+
! [[File:ZX81_Schematic.png|thumb|center|500px|Sinclair ZX81 circuit diagram]]
! [[File:Sinclair ZX81 PCB Top.JPG|center|thumb|260x260px|Original Issue 1 board – note layout changes]]
|}


== Common Modifications ==
Documents hosted here: [[:File:Sinclair ZX81 Service and Assembly Manual.pdf|ZX81 Service and Assembly Manual]] and [[:File:Sinclair ZX81 circuit diagram.png|circuit diagram SRC 049]].
* '''16 KB RAM upgrade''' – allows for more complex programs and reduces memory limitations.
* '''Composite video output mod''' – improves video quality for modern displays.
* '''Full-travel keyboard mod''' – replaces the membrane keyboard with a more tactile option.


== ROM Keyword Map ==
== Schematic and PCB ==
Each key on the ZX81 keyboard has multiple functions depending on the mode selected: 
{| class="wikitable styled-table" style="width:85%;"
{| class="wikitable styled-table" style="text-align:center;"
|+ Example ZX81 keyboard layer
|-
|-
! Key !! <code>F</code> mode !! <code>K</code> mode !! <code>L</code> mode
| [[File:Sinclair ZX81 circuit diagram.png|thumb|center|420px|Sinclair's ZX81 circuit diagram, drawing SRC 049]]
|-
| [[File:Sinclair ZX81 motherboard (3327788413).jpg|center|thumb|300px|ZX81 motherboard]]
| '''P''' || <code>PRINT</code> || <code>P</code> || <code>(</code>
|-
| '''R''' || <code>RETURN</code> || <code>R</code> || <code>)</code>
|-
| '''G''' || <code>GOTO</code> || <code>G</code> || <code>></code>
|}
|}


== Edge-Connector Pin-out ==
== Related pages ==
<templatestyles src="Template:StyledTable/styles.css" />
* [[Sinclair ZX80]]
{| class="wikitable styled-table" style="width:75%; text-align:center;"
* [[Sinclair ZX Spectrum]]
|+'''ZX81 40-way Expansion Bus (viewed from rear, component side up)'''
* [[Sinclair ZX81 General Maintenance]]
! Pin !! Signal !! Description !! Pin !! Signal !! Description
* [[Sinclair ZX81 Troubleshooting Guide]]
|-
* [[Sinclair ZX81 Capacitor Replacement Guide]]
| 1 || '''A15''' || Address bus MSB || 21 || '''D4''' || Data bit 4
 
|-
== References ==
| 2 || '''A14''' || || 22 || '''D5'''
<references />
|-
| 3 || '''A13''' || || 23 || '''D6'''
|-
| 4 || '''A12''' || || 24 || '''D7'''
|-
| 5 || '''A11''' || || 25 || '''BUSACK''' || Bus acknowledge
|-
| 6 || '''A10''' || || 26 || '''BUSRQ''' || Bus request
|-
| 7 || '''A9''' || || 27 || '''WAIT''' || Insert wait-states
|-
| 8 || '''A8''' || || 28 || '''HALT
|}


[[Category: Sinclair Computers]]
[[Category:Sinclair Computers]]

Latest revision as of 20:13, 23 September 2026

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.