![]() |
Routines |
| Prev: 49216 | Up: Map | Next: 49317 |
|
Used by the routine at LoadGame.
Loads the saved game from the tape header and returns when the load fails.
|
||||
| LoadGameData | 49289 | LD DE,(49417) | Read the tape header: saved game. | |
| 49293 | LD IX,(49419) | |||
| 49297 | LD A,255 | Set A to 255 to indicate this is a data block. | ||
| 49299 | CALL 1366 | Call LD_BYTES. | ||
| 49302 | DI | Turn interrupts off again, as LD_BYTES leaves them on. | ||
| 49303 | RET C | Return when the saved game loaded. | ||
|
This entry point is used by the routine at SaveGame.
There were errors ... so alert the player.
|
||||
| LoadGameData_Error | 49304 | DI | Make sure interrupts are off before reporting the tape error. | |
| 49305 | LD HL,49329 | Take the messaging: tape error, then call PrintString to print string. | ||
| 49308 | CALL PrintString | |||
| 49311 | LD HL,2482 | Jump ahead to PrintStringAndWaitForKeypress to print string and wait for keypress. | ||
| 49314 | JP PrintStringAndWaitForKeypress | |||
| Prev: 49216 | Up: Map | Next: 49317 |