Prev: B2C5 Up: Map Next: B2D9
B2CF: Play a tune
Used by the routines at main and game_complete_msg.
Plays the whole tune and returns. Nothing else happens while it plays: the sound is made by timing loops, so the tune has the machine to itself.
Input
DE the tune
play_audio B2CF LD A,(DE) $FF ends the tune
B2D0 CP $FF
B2D2 JR Z,end_audio
B2D4 CALL play_note play the note, and the next
B2D7 JR play_audio
Prev: B2C5 Up: Map Next: B2D9