![]() |
Routines |
| Up: Map | Next: 6022 |
|
The helper that the BASIC loader runs at 6000. It copies the move routine to FC00 the decrypt stub to 5B80 and the loading screen to 4000 then returns so that BASIC can load the encrypted game to 5E80.
|
||||
|
Copy the routine that moves the game down.
|
||||
| Copy_Loader | 6000 | LD HL,$6022 | Copy 10 bytes from Copy_Game_Down to FC00. | |
| 6003 | LD DE,$FC00 | |||
| 6006 | LD BC,$0010 | |||
| 6009 | LDIR | |||
|
Copy the decrypt stub.
|
||||
| 600B | LD HL,$602E | Copy 20 bytes from Decrypt_Game to 5B80. | ||
| 600E | LD DE,$5B80 | |||
| 6011 | LD BC,$0020 | |||
| 6014 | LDIR | |||
|
Copy the loading screen.
|
||||
| 6016 | LD HL,$6047 | Copy 1B00 bytes from Loading_Screen to 4000. | ||
| 6019 | LD DE,$4000 | |||
| 601C | LD BC,$1B00 | |||
| 601F | LDIR | |||
| 6021 | RET | Return. | ||
| Up: Map | Next: 6022 |