Altair BASIC 3.2 (4K) - Annotated Disassembly

[This is a work in progress, about 90% complete]

Here is a complete annotated disassembly of Altair BASIC 3.2 (4K). I have faithfully followed the program order, and the code naturally divides into three sections - the Interpreter, the Maths Package, and Initialisation.

Each of these sections is more-or-less logically subdivided into a number of subsections.

1. The Interpreter

Interpreter (Explanation) - Explanations and overviews of most of the internal logic used in BASIC. It describes the memory layout, key concepts, structures and variables, and you shouldn't look at a line of code until you've read through this.



Total size: 2041 bytes

2. The Math Package

Math package (explained) - All the concepts needed to understand the math package.





Total size: 1307 bytes.

3. Initialisation



Section Base Size Key Functions 3.1 IO Detection 0D21 109 Init 3.2 Configuration 0D8E 367

Total size: 478 bytes.