BASIC09 is a structured BASIC programming language dialect developed by Microware for the then-new Motorola 6809 CPU. In Computer programming, BASIC (an Acronym for Beginner's All-purpose Symbolic Instruction Code) is a family of High-level programming languages Microware is a US corporation that produced the OS-9 real-time Operating system. The Motorola 6809 is an 8-bit (arguably an 8/ 16-bit) Microprocessor CPU from Motorola, introduced circa 1979 Somewhat in the fashion of UCSD Pascal it was implemented via 'compilation' into an intermediate representation. UCSD Pascal or UCSD p-System was a portable highly machine independent Operating system. It was paired with the OS-9 Operating system, also from Microware and took advantage of several OS-9 features (eg, shared memory, module loading and unloading, etc).
The language processor turned BASIC09 source code into a tokenized, optimized, bytecode, called I-code in the BASIC09 literature. In Computer science, source code (commonly just source or code) is any sequence of statements or declarations written in some Human-readable Bytecode is a term which has been used to denote various forms of Instruction sets designed for efficient execution by a software interpreter as well as being suitable If that bytecode version of the source were saved (called packing), it could also be executed by a much more compact version of the interpreter, called RunB (no editor, no prettyprinter, no extraneous information included for human convenience, no debugger, . . . ).
BASIC09 had very impressive features for its time (it was first available in 1980), and most especially for its memory requirements. Year 1980 ( MCMLXXX) was a Leap year starting on Tuesday (link displays the 1980 Gregorian calendar) It was also fast, in comparison with nearly all other microcomputer BASICs. Most of the features listed below have significant benefits for those writing more than example programs.
Microware produced a version of BASIC09 for OS-9/68k (for the 68000), calling it Microware BASIC, but did not develop a version for OS-9000 (the portable version of OS-9). OS-9 is a family of real-time, process-based, multitasking, Multi-user, Unix-like Operating systems developed in the 1980s The Motorola 68000 is a 16/32-bit CISC Microprocessor core designed and marketed by Freescale Semiconductor (formerly Motorola Semiconductor
GOTO, as BASIC09 did not have a switch/case statement, or computed GOSUB)Once one or more BASIC09 procedures are debugged to the programmer's satisfaction, they can be "packed" (or converted permanently to the I-code (ie, bytecode) form) into a file. Among other things, line numbers, comments and names of local variables are discarded during packing, so that, unlike the typical interpreted BASICs of the time, comments and intelligible variable names incur no runtime cost and were therefore not a 'burden' programmers learned to avoid to maximize runtime execution time or memory efficiency. For the BASIC09 releases intended for the OS-9 operating systems, "packed" procedures are in fact OS-9 modules; the OS-9 shell recognizes them as I-code and automatically calls the RunB interpreter to execute them. OS-9 is a family of real-time, process-based, multitasking, Multi-user, Unix-like Operating systems developed in the 1980s A Unix shell, is a command line shell that provides the traditional User interface for the Unix Operating system and for Unix-like RunB avoids much of the runtime overhead found in 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 extremely quickly in comparison with equivalent programs in the interpreted BASICs of the time. RunB was also smaller than nearly every other BASIC interpreter package of even remotely comparable capabilities.