BASIC ROM Routines 
    Page Last Altered:  
    
    
    Wherever you see this graphic:
    
 
    Clicking on it brings you back to this page
BASIC ROM Routines
  by Christopher Dewhurst
BASIC IV ROM Routines 
  By Steve Fewell
  
  I decided to begin something I've been wanting to do for a long time, that is 
  to produce listings of BASIC 4 ROM's routines, together with detailed descriptions 
  of how they work. 
Please let me know what you think, and whether you'd like to see more like it. If anyone else wants to have a go at writing up with me then please feel free to post (added CJR: send them to 8BS) your own descriptions of routines from BASIC 4 (or another version of BASIC).
If I've made a mistake, and someone wants to correct/expand on something, then please do so.
BASIC IV Routines
| 
 Routine Name  | 
    
 Start Address  | 
    Comments | 
| 
 80F9  | 
    ||
| 
 8185  | 
    ||
| 
 81E2  | 
    ||
| 
 81F7  | 
    ||
| 
 8242  | 
    ||
| 
 82C4  | 
    ||
| 
 8349  | 
    ||
| 
 8ED5  | 
    ||
| 
 96BE  | 
    ||
| 
 9E65  | 
    ||
| 
 9ECA  | 
    ||
| 
 9F64  | 
    ||
| 
 9FF5  | 
    ||
| 
 9FFD  | 
    ||
| 
 A3F2  | 
    ||
| 
 A40B  | 
    ||
| 
 A436  | 
    ||
| 
 A478  | 
    ||
| 
 A570  | 
    ||
| 
 A6B4  | 
    ||
| 
 AA80  | 
    ||
| 
 ABDB  | 
    ||
| 
 ABE8  | 
    ||
| 
 ACBE  | 
    ||
| 
 ACCA  | 
    ||
| 
 ACDE  | 
    ||
| 
 AD19  | 
    ||
| 
 ADB7  | 
    ||
| 
 AE1A  | 
    ||
| Load Integer from Address | B1AA | |
| Reset ON ERROR code pointer | B2A6 | |
| Save Integer to Address | B347 | |
| Push Integer to BASIC Stack | BC26 | |
| Pop Integer from BASIC Stack | BCE6 | |
| Pop Integer from BASIC Stack (Zp) | BD08 | |
| Check for Stack clash with Heap | BD1E | |
| Save Integer to Zero Page Address | BDC6 | 
Disassembly
  8000 to 9000 HTML TEXT CSV
   9000 to A000 HTML TEXT CSV
  A000 to B000 HTML TEXT CSV
  B000 to C000 HTML TEXT CSV