![]() |
Routines |
| Prev: B2BE | Up: Map | Next: B2DA |
|
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:
|
||||||||||||||||||
|
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. | |||||||||||||||
|
View the equivalent code in;
|
||||||||||||||||||
| Prev: B2BE | Up: Map | Next: B2DA |