![]() |
Routines |
| Prev: 9A8A | Up: Map | Next: 9AA9 |
|
Used by the routine at menu.
The title tune: plays the notes from DE until the $FF at the end, but stops at once, returning NZ, when any key is down (read_keyboard with every half-row selected).
|
||||||||||||
| play_tune_until_key | 9A9A | XOR A | ||||||||||
| 9A9B | CALL read_keyboard | |||||||||||
| 9A9E | RET NZ | |||||||||||
| 9A9F | LD A,(DE) | |||||||||||
| 9AA0 | CP $FF | |||||||||||
| 9AA2 | JR Z,play_tune_0 | |||||||||||
| 9AA4 | CALL play_note | |||||||||||
| 9AA7 | JR play_tune_until_key | |||||||||||
| Prev: 9A8A | Up: Map | Next: 9AA9 |