Prev: 47100 Up: Map Next: 47310
47283: Display Menu
Used by the routines at HandlerHallOfFame, GameMenu and StartGameSequence.
Draws the title and the menu, which shows the keys that choose the method of control and the key that starts the game. It also keeps a copy of the pointer to the character set.
Before After
game-menu-before game-menu-after
DisplayMenu 47283 LD HL,(23606) Fetch the address of the character set...
47286 LD (38424),HL ...and keep it.
47289 LD HL,6192 Point HL at the coordinates of the title.
47292 LD DE,47351 Point DE at Message_Title.
47295 CALL PrintDoubleHeightText Print it using PrintDoubleHeightText.
47298 LD DE,47333 Point DE' at Menu_Attributes.
47301 EXX Switch that address into DE'.
47302 LD HL,47339 Point HL at Menu_Coordinates.
47305 LD DE,47363 ...and DE at the lines of text.
47308 LD B,6 There are six lines of text.
View the equivalent code in;
Prev: 47100 Up: Map Next: 47310