The ZX Spectrum (pronounced "Zed-Ex") is an 8-bit personal home computer released in the United Kingdom in 1982 by Sinclair Research Ltd.
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. Over24,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. In 2014, the model was proposed to be relaunched as a bluetooth keyboard.
FirmWare
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 GO TO.
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.
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. Over24,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. In 2014, the model was proposed to be relaunched as a bluetooth keyboard.
HardWare
The Spectrum is based on a Zilog Z80A CPU running at 3.5 MHz (or NECD780C-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 colour and one background colour. 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 busedge 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.
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 colour and one background colour. 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 busedge 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.
FirmWare
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 GO TO.
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.