Data |
Prev: 5B80 | Up: Map | Next: FE46 |
The basic is :
|
||||
1 REM 2 REM 100: PAPER 0: INK 0: BRIGHT 0: FLASH 0: CLS : PRINT #1;TAB 12; INK 7; BRIGHT 1;"LOADING:" RANDOMIZE USR (PEEK 23627+256*PEEK 23628+6)
On a freshly reset Spectrum, VARS defaults to 5DA2 add 6 gives 5DA8.
|
||||
5DA8 | DI | Disable interrupts - essential for tape loading. | ||
5DA9 | LD SP,$0000 | Put the stack somewhere safe. | ||
5DAC | LD HL,($5C4B) | Put the system variable VARS in HL. | ||
5DAF | LD DE,$001C | Add 1C to this, giving 5DBE. | ||
5DB2 | ADD HL,DE | |||
5DB3 | LD DE,$FE46 | Copy C6 bytes to FE46. | ||
5DB6 | LD BC,$00C6 | |||
5DB9 | LDIR | |||
5DDB | JP $FE46 | Jump to the main loader. |
Prev: 5B80 | Up: Map | Next: FE46 |