![]() |
Routines |
| Prev: 40713 | Up: Map | Next: 40795 |
|
Used by the routine at CheckPause.
Waits for the next frame interrupt and then moves the lights that run round the border.
|
||||||||||||
| WaitForFrame | 40781 | PUSH BC | Save the register. | |||||||||
| 40782 | LD IY,(38419) | Restore IY, which the ROM interrupt routine needs. | ||||||||||
| 40786 | EI | Enable interrupts. | ||||||||||
| 40787 | HALT | Wait for the next interrupt. | ||||||||||
| 40788 | DI | Disable interrupts again. | ||||||||||
| 40789 | POP BC | Restore the register. | ||||||||||
| 40790 | LD A,C | Fetch the flag. | ||||||||||
| 40791 | CALL MoveLights | Move the lights using MoveLights. | ||||||||||
| 40794 | RET | Return. | ||||||||||
| Prev: 40713 | Up: Map | Next: 40795 |