![]() |
Routines |
| Prev: B4A1 | Up: Map | Next: B4C5 |
|
Plays the whole tune and returns; nothing else happens meanwhile, since the sound is made by timing loops. Used for the start tune (AFTER_GAME), the winning tune (OILED_ROBOT) and the arrival tune (ARRIVAL_SCREEN). Knight Lore's play_audio; Pentagram's PLAY_TUNE.
|
||||||||
| PLAY_TUNE | B4BA | LD A,(DE) | $FF ends it; play the note, and the next | |||||
| B4BB | CP $FF | |||||||
| B4BD | JR Z,PLAY_TUNE_0 | |||||||
| B4BF | CALL PLAY_NOTE | |||||||
| B4C2 | JR PLAY_TUNE | |||||||
|
This entry point is used by the routine at PLAY_TUNE_ONCE.
|
||||||||
| PLAY_TUNE_0 | B4C4 | RET | DE is left pointing at the $FF | |||||
| Prev: B4A1 | Up: Map | Next: B4C5 |