Bbc Basic Article Index for
Bbc
Website Links For
Bbc Basic
 

Information About

Bbc Basic




BBC BASIC, based on the older Atom BASIC (for the Acorn Atom ), extended traditional BASIC with named procedures and functions, REPEAT-UNTIL loops, and IF-THEN-ELSE structures inspired by COMAL . The Interpreter also included powerful statements for controlling the BBC Micro's four-channel sound output and its high-resolution graphics display.

One of the unique features of BBC BASIC was the presence of an inline assembler allowing users to write 6502 assembly language programs. The assembler was fully integrated into the BASIC interpreter and shared variables with it. This allowed developers to write not just assembly language code, but also BASIC code to emit assembly language, making it possible to use code generation techniques and even write simple compilers in BASIC.


BBC MICRO VERSIONS


BASIC I, the original version, available on early BBC Micros, was superseded by BASIC II (used on the Acorn Electron and BBC Micros shipped after 1982). It added the OPENUP and OSCLI keywords, along with offset assembly and bug fixes.

BASIC III, the release supplied with the BBC B+, was produced in both a UK version and a U.S. market version for Acorn's abortive attempt to enter the cross Atlantic computer market. Apart from a few bug fixes the only change from BASIC II was that the COLOUR command could also be spelled COLOR: regardless of which was input, the UK version always listed it as COLOUR, the US version as COLOR. This was the only difference between the two versions.