![]() |
Routines |
| Prev: AF76 | Up: Map | Next: AF9A |
|
Plays a tune, which is a list of notes ending with FF.
The tunes played by this routine are:
|
||||||||||||||||||
| PlayMusic | AF8F | LD A,(DE) | Fetch the next note. | |||||||||||||||
| AF90 | CP $FF | Jump to PlayMusic_Finish if the terminator has been reached. | ||||||||||||||||
| AF92 | JR Z,PlayMusic_Finish | |||||||||||||||||
| AF94 | CALL PlayNote | Play the note. | ||||||||||||||||
| AF97 | JR PlayMusic | Go back for the next note. | ||||||||||||||||
|
This entry point is used by the routine at PlayMusicOnce.
|
||||||||||||||||||
| PlayMusic_Finish | AF99 | RET | Return. | |||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||||
| Prev: AF76 | Up: Map | Next: AF9A |