Jump to content

Sinclair ZX81: Difference between revisions

From RetroTechCollection
Undo revision 3021 by Josh (talk)
Tag: Undo
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.
 
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Infobox computer
{{Infobox computer
| name           = Sinclair ZX81
| name         = Sinclair ZX81
| image         = [[File:Sinclair_ZX81.jpg|250px]]
| image       = [[File:ZX81.jpg|250px]]
| caption       = Sinclair ZX81
| caption     = Sinclair ZX81 – The Affordable Home Computer
| developer      = Sinclair Research Ltd.
| 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)
| price         = £69.95 (initial price)
| cpu         = Zilog Z80A-compatible (NEC µPD780C) @ 3.25 MHz
| units_sold    = ~1.5 million
| memory       = 1 KB static RAM (expandable to 16 KB)
| cpu           = Zilog Z80A @ 3.25 MHz
| storage     = External cassette tape (300 baud, EAR/MIC jacks)
| memory         = 1 KB RAM (expandable to 16 KB)
| display     = Monochrome RF to TV – 32 × 24 text or 64 × 48 block-graphics
| storage       = Cassette tape (via audio input)
| sound       = None (no audio hardware)
| display       = 32 × 24 characters (black and white)
| dimensions   = 200 mm × 150 mm × 35 mm (7.9 ″ × 5.9 ″ × 1.4 ″)
| graphics      = Monochrome (with optional graphics modes)
| weight       = ≈ 400 g (0.88 lb)
| sound         = None
| os          = 4 KB Sinclair BASIC in ROM
| os            = Sinclair BASIC
| predecessor = [[Sinclair ZX80]]
| input          = Keyboard
| successor   = [[Sinclair ZX Spectrum]]
| connectivity   = 1 × 9-pin expansion interface
| codename     = “ZX81 project”
| dimensions    = 7.5" W × 4.5" D × 1" H
| model       = ZX81
| weight         = 1 lb (0.45 kg)
| logo        =
| predecessor   = Sinclair ZX80
| successor     = Sinclair ZX81+
| codename       = "ZX81"
| model         = ZX81
}}
}}


The '''Sinclair ZX81''' was an early home computer produced by Sinclair Research Ltd. in the United Kingdom. Launched in March 1981, the ZX81 was notable for its low price and compact design, making computing accessible to a wider audience. It featured a simple, text-based interface and was powered by the Zilog Z80A microprocessor. Despite its limitations, the ZX81 became a popular entry point for many new users into the world of personal computing.
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.


== History ==
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.
=== Origins and Vision ===
The ZX81 emerged from Sinclair's vision to create a low-cost computer that would democratize access to technology. Following the success of the ZX80, the ZX81 was designed to be even more affordable and user-friendly, targeting consumers who had previously been excluded from computing due to high costs.


=== Inspiration from Previous Models ===
== Architecture ==
Building on the foundation laid by the ZX80, the ZX81 introduced several enhancements, including a more efficient design and improved BASIC programming capabilities. The goal was to provide a versatile machine that could serve both educational and entertainment purposes.
* '''CPU''' – Z80A-class microprocessor clocked at '''3.25 MHz'''.
* '''ROM''' – 8 KB mask ROM containing Sinclair BASIC and system routines.
* '''RAM''' – 1 KB of 2114 static RAM, expandable to 16 KB via the rear expansion bus.
* '''Logic''' – Utilizes standard TTL logic chips, with no custom chips.


=== Hardware Development and Challenges ===
=== Video generation ===
The development of the ZX81 faced several challenges, including component availability and the need for a cost-effective design. Sinclair's focus on minimizing costs resulted in innovative engineering solutions but also led to some compromises in performance.
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.


==== Component Sourcing and Design Innovations ====
== Storage ==
To keep production costs low, Sinclair utilized off-the-shelf components and implemented unique design strategies, such as the use of a membrane keyboard and a compact case. These choices contributed to the ZX81's affordability but also affected its durability and user experience.
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.


=== Launch and Early Reception ===
== I/O and Expansion ==
The ZX81 was officially launched in March 1981 at a retail price of £69.95, quickly gaining popularity due to its low cost and simple operation. Early reviews praised its affordability and the ease of programming in Sinclair BASIC, although criticism was directed at its limited memory and lack of sound capabilities.
* '''Edge connector (40-way)''' – provides access to the Z80 bus, power, and video signals.
* '''9 V DC input''' – unregulated power supply.
* '''RF modulator''' – outputs to channel 36 PAL TV.
Commercial accessories included:
: ''1–16 KB RAM packs, ZX Printer, joystick interfaces, and various expansion modules''.


=== Market Pressures and Competition ===
== Known PCB Revisions & Errata ==
As the home computer market grew, the ZX81 faced increasing competition from other low-cost systems, such as the Commodore VIC-20 and the Atari 400. Despite this, the ZX81 maintained strong sales, with over 1.5 million units sold by the time production ceased in 1984.
{| 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.
|}


== Architecture ==
== General Maintenance ==
=== Memory Map ===
{| class="wikitable styled-table" style="width:70%; text-align:center;"
{| class="wikitable styled-table" style="width:70%; text-align:center;"
! Address Range (hex) !! Size !! Device/Function
! Issue !! Cause !! Remedy
|-
| $0000–$03FF || 1 KB || ROM (BASIC interpreter)
|-
|-
| $0400–$0FFF || 1 KB || Main RAM (expandable to 16 KB)
| Flickering display || Poor power supply regulation || Replace with a regulated power supply.
|-
|-
| $1000–$1FFF || 8 KB || Video memory
| Unresponsive keys || Wear on membrane keyboard || Replace keyboard or clean contacts.
|-
|-
| $2000–$FFFF || Reserved || Unused / reserved for future expansion
| Overheating || Lack of ventilation || Ensure proper airflow or add ventilation holes.
|}
|}


=== Expansion Interface ===
Regular maintenance, including keyboard cleaning and power supply checks, is essential for longevity.
The ZX81 featured a 9-pin expansion interface that allowed users to connect peripherals, including additional RAM packs and other devices. This expansion capability was crucial for extending the computer's functionality beyond its base configuration.


== Hardware Components ==
== Schematic & PCB ==
=== Central Processor and Timing ===
The complete PCB schematic is available for reference.
The ZX81 is powered by the Zilog Z80A CPU, running at a clock speed of 3.25 MHz. This microprocessor was widely used in various home computers of the time, providing sufficient performance for BASIC programming and simple applications.
{| class="wikitable"
|+
! [[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]]
|}


=== Memory Subsystem ===
== Common Modifications ==
The base model of the ZX81 came with 1 KB of RAM, which could be expanded to 16 KB through the use of external memory packs. This expansion was essential for running larger programs and utilizing the full potential of the BASIC interpreter.
* '''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.


=== Storage Devices ===
== ROM Keyword Map ==
Data storage on the ZX81 was primarily achieved through cassette tapes, which connected to the computer via an audio input. This method was inexpensive but often slow and prone to data corruption, leading to a less reliable user experience compared to modern storage solutions.
Each key on the ZX81 keyboard has multiple functions depending on the mode selected: 
{| 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
|-
| '''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>
|}


=== Video Subsystem ===
== Edge-Connector Pin-out ==
The ZX81's video output was monochrome, capable of displaying 32 characters across 24 lines on a standard television set. The video memory was integrated into the main RAM, which limited the available memory for programs but simplified the overall architecture.
<templatestyles src="Template:StyledTable/styles.css" />
 
{| class="wikitable styled-table" style="width:75%; text-align:center;"
=== Input/Output and Expansion ===
|+'''ZX81 40-way Expansion Bus (viewed from rear, component side up)'''
The ZX81 featured a membrane keyboard for input, which allowed for a compact design but was often criticized for its lack of tactile feedback. The 9-pin expansion port enabled users to connect additional peripherals, such as printers and RAM expansions, greatly enhancing the computer's utility.
! Pin !! Signal !! Description !! Pin !! Signal !! Description
 
|-
== Operating System and Software ==
| 1 || '''A15''' || Address bus MSB || 21 || '''D4''' || Data bit 4
=== Sinclair BASIC ===
|-
The ZX81 shipped with Sinclair BASIC, a simple programming language that allowed users to write and execute their own programs. This made the ZX81 popular among hobbyists and educators, as it provided an accessible entry point into programming.
| 2 || '''A14''' || || 22 || '''D5'''
 
|-
=== Software Availability ===
| 3 || '''A13''' || || 23 || '''D6'''
A variety of software titles were available for the ZX81, including games, educational programs, and utilities. However, the reliance on cassette tapes for loading software often resulted in long load times and occasional failures.
|-
 
| 4 || '''A12''' || || 24 || '''D7'''
== Variants & Evolution ==
|-
=== ZX81+ (1984) ===
| 5 || '''A11''' || || 25 || '''BUSACK''' || Bus acknowledge
* The ZX81+ introduced a more robust keyboard and additional memory options.
|-
* It maintained compatibility with existing ZX81 software while offering enhancements to improve the user experience.
| 6 || '''A10''' || || 26 || '''BUSRQ''' || Bus request
 
|-
== Maintenance and Troubleshooting ==
| 7 || '''A9''' || || 27 || '''WAIT''' || Insert wait-states
Common issues with the ZX81 include:
|-
* '''Power Supply Problems''' – Users often encounter issues with power adapters, leading to intermittent failures.
| 8 || '''A8''' || || 28 || '''HALT
* '''Keyboard Malfunctions''' – The membrane keyboard may become unresponsive over time; cleaning or replacement may be necessary.
|}
* '''RAM Expansion Issues''' – Users should ensure that RAM packs are properly seated and functioning to avoid crashes or memory errors.


== Legacy and Impact ==
[[Category: Sinclair Computers]]
The Sinclair ZX81 holds a significant place in the history of personal computing, being one of the first affordable home computers. Its low price and accessibility helped spark a generation's interest in computing, paving the way for future innovations in home technology. The ZX81's influence can be seen in the design of subsequent personal computers and its

Latest revision as of 09:47, 23 April 2026

Sinclair ZX81
Sinclair ZX81 – The Affordable Home Computer
Specifications
ManufacturerSinclair Research Ltd
TypeHome computer
ReleasedMarch 1981
Discontinued1984
Intro price£69.95 kit / £89.95 ready-built (≈US$199/249 in 1981)
CPUZilog Z80A-compatible (NEC µPD780C) @ 3.25 MHz
Memory1 KB static RAM (expandable to 16 KB)
StorageExternal cassette tape (300 baud, EAR/MIC jacks)
DisplayMonochrome RF to TV – 32 × 24 text or 64 × 48 block-graphics
SoundNone (no audio hardware)
Dimensions200 mm × 150 mm × 35 mm (7.9 ″ × 5.9 ″ × 1.4 ″)
Weight≈ 400 g (0.88 lb)
OS / Firmware4 KB Sinclair BASIC in ROM
PredecessorSinclair ZX80
SuccessorSinclair ZX Spectrum
Codename“ZX81 project”
Model no.ZX81

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 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.

Architecture

[edit | edit source]
  • CPU – Z80A-class microprocessor clocked at 3.25 MHz.
  • ROM – 8 KB mask ROM containing Sinclair BASIC and system routines.
  • RAM – 1 KB of 2114 static RAM, expandable to 16 KB via the rear expansion bus.
  • Logic – Utilizes standard TTL logic chips, with no custom chips.

Video generation

[edit | edit source]

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.

Storage

[edit | edit source]

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

[edit | edit source]
  • Edge connector (40-way) – provides access to the Z80 bus, power, and video signals.
  • 9 V DC input – unregulated power supply.
  • 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

[edit | edit source]
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

[edit | edit source]
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.

Schematic & PCB

[edit | edit source]

The complete PCB schematic is available for reference.

Sinclair ZX81 circuit diagram
Original Issue 1 board – note layout changes

Common Modifications

[edit | edit source]
  • 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

[edit | edit source]

Each key on the ZX81 keyboard has multiple functions depending on the mode selected:

Example ZX81 keyboard layer
Key F mode K mode L mode
P PRINT P (
R RETURN R )
G GOTO G >

Edge-Connector Pin-out

[edit | edit source]
ZX81 40-way Expansion Bus (viewed from rear, component side up)
Pin Signal Description Pin Signal Description
1 A15 Address bus MSB 21 D4 Data bit 4
2 A14 22 D5
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