Dynamite Dan | Routines |
Prev: FE44 | Up: Map | Next: FE79 |
Used by the routine at 9C40.
|
||||
The loader is incomplete when it is first run. A replacement system is loaded off tape at FE5B. This includes the decryption functions at FE1F, FE31 and FF70.
|
||||
FE45 | LD A,$84 | Set flag byte | ||
FE47 | LD DE,$1800 | Set start and length to the display file | ||
FE4A | LD IX,$4000 | |||
FE4E | CALL $FEAB | Load block forwards with header | ||
FE51 | LD DE,$0400 | Set start and length to attributes + printer buffer | ||
FE54 | LD IX,$5BFF | |||
FE58 | CALL $FF2A | Load block backwards | ||
FE5B | LD DE,$01E1 | Set start and length to replacement loading system | ||
FE5E | LD IX,$FE1F | |||
FE62 | CALL $FEFA | Load block forwards | ||
FE65 | LD DE,$9F1D | Set start and length to the game | ||
FE68 | LD IX,$FA1C | |||
FE6C | CALL $FF2A | Load block backwards | ||
FE6F | LD DE,$12E4 | Store value for decryptor at FF70 | ||
FE72 | LD IX,$FFFF | |||
FE76 | CALL $FF2A | Not called | ||
Once the replacement loading system is complete, the code now reads
|
||||
FE76 | JP $FF70 | Jump to main decrypter |
Prev: FE44 | Up: Map | Next: FE79 |