Redirected from BASIC09
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).
Search Encyclopedia
|
Featured Article
|