![]() |
Routines |
| Prev: C040 | Up: Map | Next: C0A5 |
|
Used by the routine at LoadGame.
Loads the saved game from the tape header and returns when the load fails.
|
||||
| LoadGameData | C089 | LD DE,($C109) | Read the tape header: saved game. | |
| C08D | LD IX,($C10B) | |||
| C091 | LD A,$FF | Set A to FF to indicate this is a data block. | ||
| C093 | CALL $0556 | Call LD_BYTES. | ||
| C096 | DI | Turn interrupts off again, as LD_BYTES leaves them on. | ||
| C097 | 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 | C098 | DI | Make sure interrupts are off before reporting the tape error. | |
| C099 | LD HL,$C0B1 | Take the messaging: tape error, then call PrintString to print string. | ||
| C09C | CALL PrintString | |||
| C09F | LD HL,$09B2 | Jump ahead to PrintStringAndWaitForKeypress to print string and wait for keypress. | ||
| C0A2 | JP PrintStringAndWaitForKeypress | |||
| Prev: C040 | Up: Map | Next: C0A5 |