![]() |
Routines |
| Prev: 39578 | Up: Map | Next: 39604 |
|
Plays a tune made of notes, which ends with 255. The keyboard is not checked.
The tunes played by this routine are:
|
||||||||||||||||||||
| PlayMusic | 39593 | LD A,(DE) | Fetch a note. | |||||||||||||||||
| 39594 | CP 255 | Jump to PlayMusic_Return if it is the end of the tune. | ||||||||||||||||||
| 39596 | JR Z,PlayMusic_Return | |||||||||||||||||||
| 39598 | CALL PlayNote | Play the note. | ||||||||||||||||||
| 39601 | JR PlayMusic | Jump back to PlayMusic for the next note. | ||||||||||||||||||
|
This entry point is used by the routine at PlayMusic_WaitKey.
|
||||||||||||||||||||
| PlayMusic_Return | 39603 | RET | Return. | |||||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||||||
| Prev: 39578 | Up: Map | Next: 39604 |