BASIC extension

BASIC toolkits (aka BASIC extensions) were a common type of program for 1980s 8-bit home computers. Generally third-party extensions, they added additional features to a computer's built-in BASIC interpreter.

Technical concept

Toolkits ran as extensions to the BASIC interpreter supplied with the machine. At the time, such interpreters almost always came programmed into the ROM of the computer, making it impossible to modify or patch the code. It was also extremely rare for manufacturers to offer upgrades or bugfixes except as part of new models of machine.

As the original language was held in immutable ROM, it generally was difficult for a toolkit to directly extend the language, except by adding new keywords to perform functions not implemented by the original interpreter.

Functionality

Typical toolkit functionality included editing extensions, such as commands to renumber a program, perform block line deletions and so on, facilities to make structured programming possible, and additional keywords to perform new functions. In the case of the latter, these new functions often allowed the programmer to easily access the computer's graphics, sound and other hardware which was often partially or completely unsupported in the early BASICs. This would have otherwise been achieved by arcane usage of PEEK and POKE commands and machine language routines.

Notable examples

gollark: I just buy cheap bad ones and use a SIM-only plan.
gollark: Perhaps people are just incapable of multiplication and buy them on monthly plans.
gollark: I wonder who's actually buying the >£1000 phones.
gollark: Oneplus has somehow managed to shuffle up from "somewhat cheaper flagship-grade devices" to "flagship-price flagship devices".
gollark: https://en.wikipedia.org/wiki/Jazelle

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.