Prev: B2BE Up: Map Next: B2DA
B2CF: Play Music
Used by the routines at InitialiseGame and GameCompleted.
Plays a tune, which cannot be stopped. A tune is a list of notes (see PlayNote) which ends with FF.
The tunes played by this routine are:
Tune Sound
Start-up Tune
Game Over Tune
Game Complete Tune
Main Tune
Input
DE Address of the tune
Play each note until FF.
PlayMusic B2CF LD A,(DE) Fetch the next note.
B2D0 CP $FF Jump to PlayMusic_Return if it is FF.
B2D2 JR Z,PlayMusic_Return
B2D4 CALL PlayNote Call PlayNote.
B2D7 JR PlayMusic Jump to PlayMusic.
This entry point is used by the routine at PlayMusic_WaitKey.
PlayMusic_Return B2D9 RET Return.
Prev: B2BE Up: Map Next: B2DA