Prev: B7FC Up: Map Next: B8CE
B8B3: 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 B8B3 LD HL,($5C36) Fetch the address of the character set...
B8B6 LD ($9618),HL ...and keep it.
B8B9 LD HL,$1830 Point HL at the coordinates of the title.
B8BC LD DE,$B8F7 Point DE at Message_Title.
B8BF CALL PrintDoubleHeightText Print it using PrintDoubleHeightText.
B8C2 LD DE,$B8E5 Point DE' at Menu_Attributes.
B8C5 EXX Switch that address into DE'.
B8C6 LD HL,$B8EB Point HL at Menu_Coordinates.
B8C9 LD DE,$B903 ...and DE at the lines of text.
B8CC LD B,$06 There are six lines of text.
View the equivalent code in;
Prev: B7FC Up: Map Next: B8CE