Prev: 33979 Up: Map Next: 34039
34008: Create Game Window
Blank the screen and write the banner.
CreateWindow 34008 CALL ResetAttributes Call ResetAttributes.
34011 CALL ResetScreen Call ResetScreen.
34014 CALL PrintBanner Call PrintBanner.
Set the attributes for the score line (the whole line is INK:70).
34017 LD HL,22560 HL=22560.
34020 LD BC,8262 BC=counter:32 INK: YELLOW (BRIGHT) .
CreateWindow_Loop 34023 LD (HL),C Write 70 to the attribute buffer.
34024 INC L Move onto the next column.
34025 DJNZ CreateWindow_Loop Decrease counter by one and loop back to CreateWindow_Loop until counter is zero.
Display the current 1UP and 2UP level.
34027 CALL PrintPlayerLevels Call PrintPlayerLevels.
Write the 1UP, 2UP and HI scores.
34030 CALL Score_1UP Call Score_1UP.
34033 CALL Score_2UP Call Score_2UP.
34036 JP Score_HI Jump to Score_HI.
View the equivalent code in;
Prev: 33979 Up: Map Next: 34039