BBC BASIC is an interpreted version of the BASIC programming language. It was developed by Acorn Computers Ltd when they were selected by the BBC to supply the computer for their BBC Computer Literacy Project in 1981. It was originally supplied on an installed ROM for the BBC Microcomputer which used a 6502 microprocessor. When Acorn produced the Archimedes computer which used their ARM processor, further versions of BBC BASIC were produced. Acorn included a built in assembler, first for the 6502 and later for the ARM2 processor. Initially the BBC specified compatibility with Microsoft BASIC. Acorn were already extending their earlier Atom BASIC to include structured programming constructs. Particularly on the later Archimedes computers as the memory constraints reduced, BBC BASIC incorporated a more complete set of structured programming constructs commonly found in the ALGOL 60 group of computer languages. Alongside Acorn's version of BBC BASIC on the Archimedes, third party companies produced compiled versions of the language. Development and support has continued after the demise of Acorn Computers Ltd for newer ARM based computers. BBC BASIC is now available on other platforms either for emulators such as on Microsoft Windows or natively.
History
Precursor languages At Dartmouth College, two mathematics professors wanted all students to be able to program on their new college computer. The existing high-level languages, like FORTRAN and COBOL, were used by professionals and not really suitable for introductory programming by non-technical users. In 1964, they created Dartmouth BASIC (short for Beginner's All-Purpose Symbolic Instruction Code) to be a computer language anyone could use. Having a formula-based syntactic structure, it is a simplified FORTRAN. A combination of factors led to BASIC becoming a major language in the late 1960s, and in the 1970s when the first microcomputers were being built, it was already the de facto standard for small systems. The introduction of the Altair 8800 cemented the position of BASIC as the first programming language introduced for the platform was Paul Allen and Bill Gates' Altair BASIC. As new micros were introduced, almost all of them ran some variation of BASIC as its primary interface.
BBC's involvement During the 1970s, the BBC Continuing Education Department was considering how advancements in computer related technology would impact British society. The BBC required a microcomputer usable for demonstrations in their programming that could be purchased by the general public to enable the viewer to themselves experiment. They decided that such a microcomputer needed to be robust, have expansion capabilities and an implementation of BASIC compatible with Microsoft BASIC VN5. Jointly the government and the BBC established a public awareness and education campaign. This Computer Literacy Project (1980-1989) used the BBC's choice of the BBC Microcomputer produced by Acorn Computers Ltd. BBC BASIC was central to the user programming experience.
Acorn's involvement Acorn first developed System BASIC and Atom BASIC for their early 6502 microprocessor computers that were sold to kit-build customers. With the development of the Proton as a front-end processor, Acorn were designing for more powerful computing. In order to produce a computer to satisfy the BBC specification, the Proton became the BBC Microcomputer, usable as a stand alone computer. By retaining the capability to be connected to a Z80 computer, Acorn was able to comply with the requirement of a computer supporting CP/M. Sophie Wilson developed the implementations of BASIC at Acorn. The dialect on the BBC Microcomputer became compatible with Microsoft BASIC and so was acceptable to the BBC. It already had features from the ALGOL 60 group of computer languages that Wilson added to enable some structured programming methodology to be used.
Platforms and versions
BBC Micro
The full version list is available here: BASIC I, the original version, was shipped on early BBC Micros. BASIC II was used on the Acorn Electron and BBC Micros shipped after 1982, including the Model B. It added the OPENUP and OSCLI keywords, along with offset assembly and bug fixes. BASIC III was produced in both a UK version and a United States 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. The main place that BASIC III can be found is as the HI-BASIC version for the external second processor. BASIC IV, also known as CMOS BASIC, available on the BBC Master machines, was changed to use the new instructions available in the 65SC12 processor, reducing the size of the code and therefore allowing the inclusion of LIST IF, EXT# as a statement, EDIT, TIME$, ON PROC, | in VDU statements and faster floating point. Bug fixes were again included. BASIC IV (1986) was a further improvement to BASIC IV, and was included on the Master Compact machine. The version of BASIC on the Compact included re-coded mathematical routines, said to provide a 30% speed increase over the version included in the rest of the Master series. HI-BASIC was available in two versions, the first based on BASIC III, and the second based on BASIC IV. Both were built to run from a higher address (&B800) on the second processor, rather than the usual &8000 address on the BBC B. This allowed more program space to be available on either the external or internal 6502 second processors. A version was introduced to support a Zilog Z80 second processor. Another version of BBC BASIC, called BAS128, was supplied on tape and disc with the BBC Master and Master Compact; it loaded into main RAM and used the 64 KB of Sideways RAM for user programs. This provided support for much larger programs at the cost of being a lot slower than the normal ROM-based version. The interpreter can deal with both BASIC and 6502 assembly language, which can be included between the [ and ] characters. This contributed to the system's popularity with industrial and research engineers.
Further details/determining BASIC version
… excerpt ends here. Continue reading the full article.
