Prev: 26900 Up: Map Next: 26963
26916: Action: Restore
Asks message 26, do you want to restore a saved game. N returns. Y loads 321 bytes back over the room state and jumps into the ROM loader.
RestoreGame 26916 LD A,26 Remember the pointer and select message 26.
26918 LD (27265),IX
26922 CALL PrintSystemMessage Print the question.
RestoreGame_Key 26925 CALL WaitKeyDown Wait for a key.
26928 CP 78 N (78) leaves the saved game alone.
26930 JR Z,RestoreGame_Load
26932 CP 89 Anything except Y (89) asks again.
26934 JR NZ,RestoreGame_Key
RestoreGame_Load 26936 CP 78 N returns without loading.
26938 RET Z
26939 LD HL,26963 Return through Restored with the state block in IX.
26942 LD IX,23943
26946 LD DE,321 321 bytes, marker 42, with carry set for a headerless block.
26949 LD A,42
26951 SCF
26952 INC D The loader wants interrupts off, and the border dance around the alternate accumulator.
26953 EX AF,AF'
26954 DEC D
26955 DI
26956 LD A,15 Border yellow.
26958 OUT (254),A
26960 JP 1377 Jump into LD-BYTES at 1377.
Prev: 26900 Up: Map Next: 26963