![]() |
Routines |
| Prev: B2B6 | Up: Map | Next: B2C5 |
|
Used by the routines at keypress_tune_note and await_restart.
Checks the keyboard before every note and stops at once if any key is down. Used for the menu and game-over tunes, which the player may want to skip.
|
||||||||
| play_audio_until_keypress | B2BE | XOR A | A=0 selects every half-row at once, so any key at all counts | |||||
| B2BF | CALL read_port | |||||||
| B2C2 | JR Z,keypress_tune_note | a key: stop | ||||||
| B2C4 | RET | |||||||
| Prev: B2B6 | Up: Map | Next: B2C5 |