Prev: 6061 Up: Map Next: 60A9
608A: Create Game Window
Used by the routines at LevelNew, PlayerReset and GameInitialisation.
Blank the screen and write the banner.
CreateWindow 608A XOR A Set the border to black.
608B OUT ($FE),A
608D CALL ResetScreen Call ResetScreen.
6090 CALL ResetAttributes Call ResetAttributes.
6093 CALL PrintBanner Call PrintBanner.
6096 LD HL,$5820 Attribute buffer address.
6099 LD BC,$2046 B=loop counter, C=Cyan/Yellow.
CreateWindow_0 609C LD (HL),C Reset bytes in the attribute buffer.
609D INC L Increment L by one (move to the next address in the attribute buffer).
609E DJNZ CreateWindow_0 Decrease counter by one and loop back to CreateWindow_0 until counter is zero.
60A0 CALL Score_1UP Call Score_1UP.
60A3 CALL Score_2UP Call Score_2UP.
60A6 JP Score_HI Jump to Score_HI.
View the equivalent code in;
Prev: 6061 Up: Map Next: 60A9