Sinclair ZX Spectrum
An issue 2 1982 ZX Spectrum
|Release date||United Kingdom: 23 April 1982|
|Units sold||5 million (not including clones)|
|Operating system||Sinclair BASIC|
|CPU||Z80 @ 3.5 MHz and equivalent|
|Memory||16 kB / 48 kB / 128 kB|
Referred to during development as the ZX81 Colour and ZX82, the machine was launched as the ZX Spectrum by Sinclair to highlight the machine's colour display, compared with the black-and-white of its predecessor, the ZX81. The Spectrum was ultimately released as eight different models, ranging from the entry level model with 16 kB RAM released in 1982 to the ZX Spectrum +3 with 128 kB RAM and built in floppy disk drive in 1987; together they sold in excess of 5 million units worldwide (not counting numerous clones).
The Spectrum was among the first mainstream audience home computers in the UK, similar in significance to the Commodore 64 in the USA. The introduction of the ZX Spectrum led to a boom in companies producing software and hardware for the machine, the effects of which are still seen; some credit it as the machine which launched the UK IT industry. Licensing deals and clones followed, and earned Clive Sinclair a knighthood for "services to British industry".
The Commodore 64, Oric-1 and Atmos, BBC Microcomputer and later the Amstrad CPC range were major rivals to the Spectrum in the UK market during the early 1980s. Over 24,000 software titles have been released since the Spectrum's launch and new titles continue to be released, with over 100 new ones in 2012.
- 1 Hardware
- 2 Firmware
- 3 Sinclair Research models
- 4 Amstrad models
- 5 Clones
- 6 Peripherals
- 7 Software
- 8 Reception
- 9 Legacy
- 10 See also
- 11 References
- 12 External links
The Spectrum is based on a Zilog Z80A CPU running at 3.5 MHz (or NEC D780C-1 clone). The original model Spectrum has 16 kB (16×1024 bytes) of ROM and either 16 kB or 48 kB of RAM. Hardware design was by Richard Altwasser of Sinclair Research, and the machine's outward appearance was designed by Sinclair's industrial designer Rick Dickinson.
Video output is through an RF modulator and was designed for use with contemporary portable television sets, for a simple colour graphic display. Text can be displayed using 32 columns × 24 rows of characters from the ZX Spectrum character set or from a set provided within an application, from a palette of 15 shades: seven colours at two levels of brightness each, plus black. The image resolution is 256×192 with the same colour limitations. To conserve memory, colour is stored separate from the pixel bitmap in a low resolution, 32×24 grid overlay, corresponding to the character cells. In practice this means that all pixels of an 8x8 character block share one foreground color and one backgroundcolor. Altwasser received a patent for this design.
An "attribute" consists of a foreground and a background colour, a brightness level (normal or bright) and a flashing "flag" which, when set, causes the two colours to swap at regular intervals. This scheme leads to what was dubbed colour clash or attribute clash, where a desired colour of a specific pixel could not necessarily be accomplished. This became a distinctive feature of the Spectrum, meaning programs, particularly games, had to be designed around this limitation. Other machines available around the same time, for example the Amstrad CPC or the Commodore 64, did not suffer from this limitation. The Commodore 64 used colour attributes in a similar way, but a special multicolour mode, hardware sprites and hardware scrolling were used to avoid attribute clash.
Sound output is through a beeper on the machine itself which is capable of producing one channel with 10 octaves. Software was later available that could play two channel sound. The machine also includes an expansion bus edge connector and 3.5 mm audio in/out ports for the connection of a cassette recorder for loading and saving programs and data. The "ear" port also provided line level audio out which could be amplified, or connected to headphones.
The machine's Sinclair BASIC interpreter is stored in ROM (along with fundamental system-routines) and was written by Steve Vickers on contract from Nine Tiles Ltd. The Spectrum's chiclet keyboard (on top of a membrane, similar to calculator keys) is marked with BASIC keywords, so that, for example, pressing "G" when in programming mode would insert the BASIC command GOTO.
The BASIC interpreter was developed from that used on the ZX81 and a ZX81 BASIC program can be typed into a Spectrum largely unmodified, but Spectrum BASIC included many extra features making it easier to use. The ZX Spectrum character set was expanded from that of the ZX81, which did not feature lower-case letters. Spectrum BASIC included extra keywords for the more advanced display and sound, and also supported multi-statement lines. The cassette interface was also much more advanced, saving and loading around five times faster than the ZX81 (1500 bits per second compared to 307). As well as being able to save programs, the Spectrum could in addition save the contents of arrays, the contents of the screen memory, and the contents of any defined range of memory addresses.
Sinclair Research models
Rick Dickinson came up with a number of designs for the "ZX82" project before the final ZX Spectrum design. A number of the keyboard legends changed during the design phase including ARC becoming CIRCLE, FORE becoming INK and BACK becoming PAPER. The Spectrum reused a number of technologies used in the ZX81, such as some of the same ROM code (some obsolete routines used for the ZX81 exist in the Spectrum), and a similar ULA for hardware control. A bug in the ULA as originally designed meant that the keyboard did not always scan correctly, and was rectified by a "dead cockroach" (a small circuit board mounted upside down next to the CPU) for Issue 1 ZX Spectrums.
ZX Spectrum 16K/48K
The original ZX Spectrum is remembered for its rubber keyboard, diminutive size and distinctive rainbow motif. It was originally released on 23 April 1982 with 16 kB of RAM for £125 or with 48 kB for £175; these prices were later reduced to £99 and £129 respectively. Owners of the 16 kB model could purchase an internal 32 kB RAM upgrade, which for early "Issue 1" machines consisted of a daughterboard. Later issue machines required the fitting of 8 dynamic RAM chips and a few TTL chips. Users could mail their 16K Spectrums to Sinclair to be upgraded to 48 kB versions. To reduce the price, the 32 kB extension used eight faulty 64 kilobit chips with only one half of their capacity working and/or available. Links on the PCB were configured accordingly so as to place these faulty memory locations in the unused half of each IC. External 32 kB RAM packs that mounted in the rear expansion slot were also available from third parties. Both machines had 16 kB of onboard ROM.
About 60,000 "Issue 1" ZX Spectrums were manufactured; they can be distinguished from later models by the colour of the keys (light grey for Issue 1, blue-grey for later models).The Sinclair models all had audio line in and out, in the form of an "ear" and "mic" socket. An external tape recorder was needed to load the majority of software released. Either socket could also be connected to headphones or an amplifier as an audio output, though this would not disable the internal speaker.
ZX Spectrum+Planning of the ZX Spectrum+ started in June 1984, and the machine was released in October the same year. This 48 kB Spectrum (development code-name TB) introduced a new QL-style case with an injection-moulded keyboard and a reset button that was basically a switch that shorted across the CPU reset capacitor. Electronically, it was identical to the previous 48 kB model. It was possible to change the system boards between the original case and the Spectrum+ case. It retailed for £179.95. A DIY conversion-kit for older machines was also available. Early on, the machine outsold the rubber-key model 2:1; however, some retailers reported a failure rate of up to 30%, compared with a more usual 5-6% for the older model.
ZX Spectrum 128
Sinclair developed the ZX Spectrum 128 (code-named Derby) in conjunction with their Spanish distributor Investrónica. Investrónica had helped adapt the ZX Spectrum+ to the Spanish market after the Spanish government introduced a special tax on all computers with 64 kB RAM or less, and a law which obliged all computers sold in Spain to support the Spanish alphabet and show messages in Spanish.
The appearance of the ZX Spectrum 128 was similar to the ZX Spectrum+, with the exception of a large external heatsink for the internal 7805 voltage regulator added to the right hand end of the case, replacing the internal heatsink in previous versions.
New features included 128 kB RAM, three-channel audio via the AY-3-8912 chip, MIDI compatibility, an RS-232 serial port, an RGB monitor port, 32 kB of ROM including an improved BASIC editor, and an external keypad.
The machine was simultaneously presented for the first time and launched in September 1985 at the SIMO '85 trade show in Spain, with a price of 44,250 pesetas. Because of the large number of unsold Spectrum+ models, Sinclair decided not to start selling in the UK until January 1986 at a price of £179.95. No external keypad was available for the UK release, although the ROM routines to use it and the port itself remained.
The Z80 processor used in the Spectrum has a 16-bit address bus, which means only 64 kB of memory can be directly addressed. To facilitate the extra 80 kB of RAM the designers used bank switching so that the new memory would be available as eight pages of 16 kB at the top of the address space. The same technique was also used to page between the new 16 kB editor ROM and the original 16 kB BASIC ROM at the bottom of the address space.
The new sound chip and MIDI out abilities were exposed to the BASIC programming language with the command PLAY and a new command SPECTRUM was added to switch the machine into 48K mode, keeping the current BASIC program intact (although there is no way to switch back to 128K mode). To enable BASIC programmers to access the additional memory, a RAM disk was created where files could be stored in the additional 80 kB of RAM. The new commands took the place of two existing user-defined-character spaces causing compatibility problems with some BASIC programs.
The ZX Spectrum 128 had no internal speaker like its predecessors. The sound was produced from the television speaker instead.The Spanish version had the "128K" logo in white while the English one had the same logo in red.
ZX Spectrum +2
The ZX Spectrum +2 was Amstrad's first Spectrum, coming shortly after their purchase of the Spectrum range and "Sinclair" brand in 1986. The machine featured an all-new grey case featuring a spring-loaded keyboard, dual joystick ports, and a built-in cassette recorder dubbed the "Datacorder" (like the Amstrad CPC 464), but was in most respects identical to the ZX Spectrum 128. The main menu screen lacked the Spectrum 128's "Tape Test" option, and the ROM was altered to account for a new 1986 Amstrad copyright message. These changes resulted in minor incompatibility problems with software that accessed ROM routines at certain addresses. Production costs had been reduced and the retail price dropped to £139–£149.
The new keyboard did not include the BASIC keyword markings that were found on earlier Spectrums, except for the keywords LOAD, CODE and RUN which were useful for loading software. This was not a major issue however, as the +2 boasted a menu system, almost identical to the ZX Spectrum 128, where one could switch between 48k BASIC programming with the keywords, and 128k BASIC programming in which all words (keywords and otherwise) must be typed out in full (although the keywords are still stored internally as one character each). Despite these changes, the layout remained identical to that of the 128.The ZX Spectrum +2 power supply was a grey version of the ZX Spectrum+ and 128 power supply.
ZX Spectrum +2A
The ZX Spectrum +2A was a variant of the Spectrum +3 housed a black version of the Spectrum +2 case mouldings. The Spectrum +2A/+3 motherboard (AMSTRAD part number Z70830) was designed such that it could be assembled without the floppy disk controller or associated logic and a +2 style "datacorder" connected. Originally, Amstrad planned to introduce an additional disk interface for the +2A/+2B called the AMSTRAD SI-1, however this never appeared. If an external disk drive was added, the "+2A" on the system OS menu would change to a +3.
ZX Spectrum +3
The ZX Spectrum +3 looked similar to the +2 but featured a built-in 3-inch floppy disk drive (like the Amstrad CPC 6128) instead of the tape drive, and was in a black case. It was launched in 1987, initially retailed for £249 and then later £199 and was the only Spectrum capable of running the CP/M operating system without additional hardware.
The +3 saw the addition of two more 16 kB ROMs. One was home to the second part of the reorganised 128 ROM and the other hosted the +3's disk operating system. This was a modified version of Amstrad's PCWDOS (the disk access code used in LocoScript), called +3DOS. These two new 16 kB ROMs and the original two 16 kB ROMs were now physically implemented together as two 32 kB chips. To be able to run CP/M, which requires RAM at the bottom of the address space, the bank-switching was further improved, allowing the ROM to be paged out for another 16 kB of RAM.
Such core changes brought incompatibilities:
- Removal of several lines on the expansion bus edge connector (video, power, and IORQGE); caused many external devices problems; some such as the VTX5000 modem could be used via the "FixIt" device.
- Dividing ROMCS into 2 lines, to disable both ROMs
- Reading a non-existent I/O port no longer returned the last attribute; caused some games such as Arkanoid to be unplayable
- Memory timing changes; some of the RAM banks were now contended causing high-speed colour-changing effects to fail
- The keypad scanning routines from the ROM were removed
- move 1 byte address in ROM
Some older 48K and a few older 128K games were incompatible with the machine. The ZX Interface 1 was incompatible due to differences in ROM and expansion connector; therefore it was not possible to connect and use the Microdrive units.
The ZX Spectrum +3 power supply provides the same voltages as the one supplied with +2A/B. This power supply has the same DIN connector so can also be used with the +2A/B. However, the power supply purchased with the +3 had "Sinclair +3" written on the case.
Production of the +3 ceased in December 1990, believed to be in response for Amstrad relaunching their CPC range. At the time, it was estimated about 15% of ZX Spectrums sold had been +3 models. Production of the +2B (the only other model then still in production) continued, as it was believed not to be in competition with other computers in Amstrad's product range. It was eventually discontinued in 1992.
ZX Spectrum +2B and +3B
The ZX Spectrum +2B and ZX Spectrum +3B were functionally similar in design to the Spectrum +2A and +3. The main electronic differences being simply changes to the generation of the audio output signal to resolve problems with clipping and the removal of the external tape loading input ("ear" pin).
Unlike the +2A the Spectrum +2B motherboard (AMSTRAD part number Z70833) does not have provision for floppy disk controller circuitry so cannot be assembled as a +3B. The +3B motherboard is Amstrad part number Z70835.
Sinclair licensed the Spectrum design to Timex Corporation in the United States. An enhanced version of the Spectrum with better sound, graphics and other modifications was marketed in the USA by Timex as the Timex Sinclair 2068. Timex's derivatives were largely incompatible with Sinclair systems. However, some of the Timex innovations were later adopted by Sinclair Research. A case in point was the abortive Pandora portable Spectrum, whose ULA had the high resolution video mode pioneered in the TS2068. Pandora had a flat-screen monitor and Microdrives and was intended to be Sinclair's business portable. After Amstrad bought the computer business of Sinclair Research, Sir Clive retained the rights to the Pandora project, and it evolved into the Cambridge Computer Z88, launched in 1987.
In the UK, Spectrum peripheral vendor Miles Gordon Technology (MGT) released the SAM Coupé as a potential successor with some Spectrum compatibility. However, by this point, the Commodore Amiga and Atari ST had taken hold of the market, leaving MGT in eventual receivership.
Many unofficial Spectrum clones were produced, especially in the former Eastern Bloc countries (e.g. in Romania, several models were produced (Tim-S, HC85, HC91, Cobra, Junior, CIP, CIP 3, Jet), some featuring CP/M and a 5.25"/3.5" floppy disk) and South America (e.g. Microdigital TK90X and TK95). In the Soviet Union, ZX Spectrum clones were assembled by thousands of small start-ups and distributed through poster ads and street stalls. Over 50 such clone models existed. Some of them are still being produced, such as the Pentagon and ATM Turbo. In India, Decibells Electronics introduced a licensed version of the Spectrum+ in 1986. Dubbed the "db Spectrum+", it did reasonably well in the Indian market and sold quite a few thousand until 1990 when the market died away.
The ZX Interface 1 add-on module included 8 kB of ROM, an RS-232 serial port, a proprietary LAN interface (called ZX Net), and an interface for the connection of up to eight ZX Microdrives – somewhat unreliable but speedy tape-loop cartridge storage devices released in July 1983. These were later used in a revised version on the Sinclair QL, whose storage format was electrically compatible but logically incompatible with the Spectrum's. Sinclair also released the ZX Interface 2 which added two joystick ports and a ROM cartridge port.
There were also a plethora of third-party hardware addons. The better known of these included the Kempston joystick interface, the Morex Peripherals Centronics/RS-232 interface, the Currah Microspeech unit (speech synthesis), Videoface Digitiser, RAM pack, the Cheetah Marketing SpecDrum, a drum machine, and the Multiface, a snapshot and disassembly tool from Romantic Robot. Keyboards were especially popular in view of the original's notorious "dead flesh" feel.
There were numerous disk drive interfaces, including the Abbeydale Designers/Watford Electronics SPDOS, Abbeydale Designers/Kempston KDOS and Opus Discovery. The SPDOS and KDOS interfaces were the first to come bundled with office productivity software (Tasword Word Processor, Masterfile database and OmniCalc spreadsheet). This bundle, together with OCP's Stock Control, Finance and Payroll systems, introduced many small businesses to a streamlined, computerised operation. The most popular floppy disk systems (except in East Europe) were the DISCiPLE and +D systems released by Miles Gordon Technology in 1987 and 1988 respectively. Both systems had the ability to store memory images onto disk snapshots could later be used to restore the Spectrum to its exact previous state. They were also both compatible with the Microdrive command syntax, which made porting existing software much simpler.
During the mid-1980s, Telemap Group Ltd launched a fee-based service allowing users to connect their ZX Spectrums via a Prism Micro Products VTX5000 modem to a viewdata service known as Micronet 800, hosted by Prestel, which provided news and information about microcomputers. The service also allowed a form of instant messaging and online shopping.
As of July 2012[update], over 24,000 titles had been released for the Spectrum family. While most of these are games, the library includes programming language implementations, databases (e.g. VU-File), word processors (e.g. Tasword II), spreadsheets (e.g. VU-Calc), drawing and painting tools (e.g. OCP Art Studio), and even 3D-modelling (e.g. VU-3D) and archaeology software amongst many other types.
The early Spectrum models' great success as a games platform came in spite of its lack of built-in joystick ports, primitive sound generation, and colour support that was optimised for text display: the hardware limitations of the platform required a particular level of creativity from video game designers.
Most Spectrum software was originally distributed on audio cassette tapes. The Spectrum was intended to work with a normal domestic cassette recorder, and despite differences in audio reproduction fidelity, the software loading process was quite reliable, if somewhat slow (by today's standards).
Although the ZX Microdrive was initially greeted with good reviews, it never took off as a distribution method due to worries about the quality of the cartridges and piracy. Hence the main use became to complement tape releases, usually utilities and niche products like the Tasword word processing software and Trans Express, (a tape to microdrive copying utility). No games are known to be exclusively released on Microdrive.
Despite the popularity of the DISCiPLE and +D systems, most software released for them took the form of utility software. The ZX Spectrum +3 enjoyed much more success when it came to commercial software releases on floppy disk. More than 700 titles were released on 3-inch disk from 1987 to 1997.
Software was also distributed through print media; magazines and books. The reader would type the Sinclair BASIC program listing into the computer by hand, run it, and could save it to tape for later use. The software distributed in this way was in general simpler and slower than its assembly language counterparts. Magazines also printed long lists of checksummed hexadecimal digits with machine code games or tools.
Another software distribution method was to broadcast the audio stream from the cassette on another medium and have users record it onto an audio cassette themselves. In radio or television shows in many European countries, the host would describe a program, instruct the audience to connect a cassette tape recorder to the radio or TV and then broadcast the program over the airwaves in audio format. Some magazines distributed 7" 33⅓ rpm flexidisc records, a variant of regular vinyl records which could be played on a standard record player. These disks were known as floppy ROMs.
Copying and backup
Many copiers—utilities to copy programs from audio tape to another tape, microdrive tapes, and later on diskettes—were available for the Spectrum. As a response to this, publishers introduced copy protection measures to their software, including different loading schemes. Other methods for copy prevention were also used including asking for a particular word from the documentation included with the game—often a novella like in Silicon Dreams trilogy—or another physical device distributed with the software—e.g. Lenslok as used in Elite. Special hardware, such as Romantic Robot's Multiface, was able to dump a copy of the ZX Spectrum RAM to disk/tape at the press of a button, entirely circumventing the copy protection systems.
Most Spectrum software has, in recent years, been converted to current media and is available for download. One popular program for converting Spectrum files from tape is Taper; it allows connecting a cassette tape player to the line in port of a sound card, or—through a simple home-built device—to the parallel port of a PC. Once in files on a host machine, the software can be executed on one of many emulators, on virtually any platform available today.
The largest on-line archive of ZX Spectrum software is World of Spectrum, with more than 21,000 titles. The legality of this practice is still in question and while a number of copyright holders have explicitly objected to the posting of their software, others have given their permission for their games to be archived as part of the preservation project.
The ZX Spectrum enjoyed a very strong community early on. Several dedicated magazines were released including Sinclair User (1982), Your Spectrum (1983), rebranded as Your Sinclair in 1986, and CRASH (1984). Early on they were very technically oriented with type-in programs and machine code tutorials. Later on they became almost completely game-oriented. Several general contemporary computer magazines covered the ZX Spectrum in more or less detail. They included Computer Gamer, Computer and Video Games, Computing Today, Popular Computing Weekly, Your Computer and The Games Machine.
The Spectrum is affectionately known as the Speccy by elements of its fan following.
A number of notable games developers and development companies began their careers on the ZX Spectrum, including David Perry of Shiny Entertainment, and Tim and Chris Stamper (founders of Rare, formerly Ultimate Play The Game, maker of many games for Nintendo and Microsoft game consoles). Other prominent games developers include Julian Gollop (Chaos, Rebelstar, X-COM series), Matthew Smith (Manic Miner, Jet Set Willy), Jon Ritman (Match Day, Head Over Heels), Jonathan "Joffa" Smith (Ping Pong, Batman: The Caped Crusader, Mikie, HyperSports), The Oliver Twins (the Dizzy series), Clive Townsend (Saboteur), Sandy White (Ant Attack, I of the mask), Pete Cooke (Tau Ceti), Mike Singleton (The Lords of Midnight, War In Middle Earth), and Alan Cox. Although the 48K Spectrum's audio hardware was not as capable as chips in other popular 8-bit home computers of the era, computer musicians David Whittaker and Tim Follin produced notable multi-channel music for the machine.
BYTE in January 1983 acknowledged the appeal of the Spectrum's low £125 price to British consumers and called it a "promising machine". It criticized the keyboard; "inexpensive or not, the ... layout is impossible to justify ... poorly designed in several respects". The review was skeptical of the computer's appeal to American consumers if sold for US$220—"hardly competitive with comparable low-cost American units"—and expected that Timex would sell it for $125-150.
|Commons has media related to Sinclair ZX Spectrum.|
- ZX Spectrum Software and Games
- World of Spectrum
- Planet Sinclair
- The Incomplete Spectrum ROM Assembly and actual assembly listing
- Sinclair Spectrum development
- The Anatomy/Dissection of a Spectrum +2B
- ZX Spectrum Basic Handbook
- The Your Sinclair Official All-Time Top 100 Spectrum Games