Routines |
Prev: 63546 | Up: Map | Next: 64338 |
Used by the routine at TitleScreen.
|
||||
ResetThemeTune | 64314 | LD HL,64777 | Write 64777 to *64341. | |
64317 | LD (64341),HL | |||
64320 | LD HL,65072 | Write 65072 to *64345. | ||
64323 | LD (64345),HL | |||
This entry point is used by the routine at TitleScreen.
|
||||
HandlerThemeTune | 64326 | DI | Disable interrupts. | |
HandlerThemeTune_Loop | 64327 | CALL PlayThemeTune | Call PlayThemeTune. | |
64330 | CALL 654 | Call KEY_SCAN. | ||
Handle if no keys are being pressed, for reference:
In all instances the E register is returned with a value in the range of +0 to +39 the value being different for each of the forty keys of the keyboard, or the value +255 for no-key. |
||||
64333 | INC E | Set the zero flag if no keys have been pressed. | ||
64334 | JR Z,HandlerThemeTune_Loop | Jump back to HandlerThemeTune_Loop unless any key has been pressed. | ||
64336 | EI | Enable interrupts. | ||
64337 | RET | Return. |
Prev: 63546 | Up: Map | Next: 64338 |