<<Up     Contents

BASIC09 programming language

BASIC09 is a structured BASIC dialect developed by Microware for the then-new Motorola 6809 CPU. In the fashion of UCSD Pascal it was implemented via a virtual machine. The language processor turned the source code into a bytecode, called I-code in the BASIC09 literature, that an emulator for the virtual machine executed.

BASIC09 provided some very impressive features for its time (it was first available in 1980) and for its size:

Once one or more BASIC09 procedures are debugged to the programmer's satisfaction, they can be "packed" or converted permanently to the bytecode form. Comments and names of local variables are discarded during packing, so that in BASIC09, unlike the typical interpreted BASICs of the time, comments and intelligible variable names were not considered a burden to be avoided in the name of efficiency. Packed BASIC09 procedures are in fact OS-9 modules, and the OS-9 shell recognizes them as I-code and passes them off to the virtual machine emulator RunB for execution. RunB avoids a great deal of the overhead of the typical interpreted BASICs of the day--not to mention that one can do integer calculations where appropriate rather than doing everything in floating point--so that BASIC09 programs run very quickly in comparison with interpreted BASICs of the time.

Microware produced a version of BASIC09 for OS-9/68000, calling it Microware BASIC, but has not developed a version for OS-9000 (the portable version of OS-9).

wikipedia.org dumped 2003-03-17 with terodump