Prev: 84BB Up: Map Next: 84F7
84D8: Create Game Window
Used by the routines at GameInitialisation, LevelNew, A880 and F535.
Blank the screen and write the banner.
CreateWindow 84D8 CALL ResetAttributes Call ResetAttributes.
84DB CALL ResetScreen Call ResetScreen.
84DE CALL PrintBanner Call PrintBanner.
Set the attributes for the score line (the whole line is INK:46).
84E1 LD HL,$5820 HL=5820.
84E4 LD BC,$2046 BC=counter:20 INK:46.
CreateWindow_Loop 84E7 LD (HL),C Write 46 to the attribute buffer.
84E8 INC L Move onto the next column.
84E9 DJNZ CreateWindow_Loop Decrease counter by one and loop back to CreateWindow_Loop until counter is zero.
Write the 1UP, 2UP and HI scores.
84EB CALL $F5EC Call F5EC.
84EE CALL Score_1UP Call Score_1UP.
84F1 CALL Score_2UP Call Score_2UP.
84F4 JP Score_HI Jump to Score_HI.
View the equivalent code in;
Prev: 84BB Up: Map Next: 84F7