Sinclair BASIC

Sinclair BASIC
ParadigmImperative
Designed byJohn Grant, Steve Vickers
DeveloperNine Tiles Networks,
Sinclair Research
First appeared1979 (1979)
PlatformZX80, ZX81, ZX Spectrum, +, 128, +2, +3, T/S 2068, TC 3256
LicenseProprietary

Sinclair BASIC is a dialect of the programming language BASIC used in the 8-bit home computers from Sinclair Research, Timex Sinclair and Amstrad. The Sinclair BASIC interpreter was written by Nine Tiles Networks Ltd.[1]

Designed to run in only 1 KB of RAM, the system makes a number of decisions to lower memory usage. This led to one of Sinclair BASIC's most notable features, that the keywords were entered using single keystrokes; each of the possible keywords was mapped to a key on the keyboard, when pressed, the token would be placed into memory while the entire keyword was printed out on-screen. This made code entry easier whilst simplifying the parser.

The original ZX80 version supported only integer mathematics, which partially made up for some of the memory-saving design notes which had negative impact on performance. When the system was ported to the ZX81 in 1981, a full floating point implementation was added. This version was very slow, among the slowest BASICs on the market at the time, but given the limited capabilities of the machine, this was not a serious concern.

Performance became a more serious issue with the release of the ZX Spectrum in 1983, which ran too slowly to make full use of the machine's new features. This led to an entirely new BASIC for the following Sinclair QL, as well as a number of 3rd-party BASICs for the Spectrum and its various clones. The original version continued to be modified and ported in the post-Sinclair era.

  1. ^ Cite error: The named reference Garfield was invoked but never defined (see the help page).

Developed by StudentB