| Ant Attack | Routines |
| Prev: 93BA | Up: Map | Next: 9712 |
|
The loader in the BASIC line leaves LD-BYTES's return address pointing here. A failed load (carry clear) or a short one (DE not zero) resets the machine.
|
||||
| LOADED | 9700 | JP NC,$0000 | Carry clear: a tape error. | |
| 9703 | LD A,D | Bytes left over: a short load. | ||
| 9704 | OR E | |||
| 9705 | JP NZ,$0000 | |||
| 9708 | LD A,$98 | The interrupt vectors at INTERRUPT_VECTORS: every one points to INTERRUPT. | ||
| 970A | LD I,A | |||
| 970C | IM 2 | |||
| 970E | DI | Run the BASIC. | ||
| 970F | JP RESTART_BASIC | |||
| Prev: 93BA | Up: Map | Next: 9712 |