![]() |
Routines |
| Prev: 9A9A | Up: Map | Next: 9AB4 |
|
Plays a tune made of notes, which ends with FF. The keyboard is not checked.
The tunes played by this routine are:
|
||||||||||||||||||||
| PlayMusic | 9AA9 | LD A,(DE) | Fetch a note. | |||||||||||||||||
| 9AAA | CP $FF | Jump to PlayMusic_Return if it is the end of the tune. | ||||||||||||||||||
| 9AAC | JR Z,PlayMusic_Return | |||||||||||||||||||
| 9AAE | CALL PlayNote | Play the note. | ||||||||||||||||||
| 9AB1 | JR PlayMusic | Jump back to PlayMusic for the next note. | ||||||||||||||||||
|
This entry point is used by the routine at PlayMusic_WaitKey.
|
||||||||||||||||||||
| PlayMusic_Return | 9AB3 | RET | Return. | |||||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||||||
| Prev: 9A9A | Up: Map | Next: 9AB4 |