![]() |
Routines |
Prev: 29010 | Up: Map | Next: 29062 |
Used by the routine at StartGame.
|
||||
FrameUpdate | 29024 | DI | Disable interrupts. | |
29025 | LD A,(23672) | Store FRAMES at LastFrame. | ||
29028 | LD (24354),A | |||
29031 | LD A,1 | Set FrameUpdated to 1 (frame has updated). | ||
29033 | LD (24355),A | |||
29036 | PUSH IX | Stash IX on the stack. | ||
29038 | LD HL,24405 | Write BufferIngredients to 29100. | ||
29041 | LD (29100),HL | |||
Self modifying code;
|
||||
29044 | LD A,195 | Write 195 to 29118 and 29080 to 29119, i.e. JP 29080. | ||
29046 | LD (29118),A | |||
29049 | LD HL,29080 | |||
29052 | LD (29119),HL | |||
29055 | LD IX,24373 | IX=BufferNasties. | ||
29059 | JP MainLoop | Jump to MainLoop. |
Prev: 29010 | Up: Map | Next: 29062 |