![]() |
Routines |
| Prev: BD51 | Up: Map | Next: BD79 |
|
Plays a tune, one note at a time with PlayNote, until the FF terminator is found. Interrupts are disabled while the tune plays.
The tunes played by this routine are:
|
||||||||||||||||||
| PlayMusic | BD6E | DI | Disable interrupts. | |||||||||||||||
| PlayMusic_Loop | BD6F | LD A,(DE) | Fetch the next note. | |||||||||||||||
| BD70 | CP $FF | Jump to PlayMusic_Return if the end of the tune has been reached (FF). | ||||||||||||||||
| BD72 | JR Z,PlayMusic_Return | |||||||||||||||||
| BD74 | CALL PlayNote | Play the note. | ||||||||||||||||
| BD77 | JR PlayMusic_Loop | Jump to PlayMusic_Loop for the next note. | ||||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||||
| Prev: BD51 | Up: Map | Next: BD79 |