Prev: 24673 Up: Map Next: 24745
24714: Create Game Window
Used by the routines at LevelNew, PlayerReset and GameInitialisation.
Blank the screen and write the banner.
CreateWindow 24714 XOR A Set the border to black.
24715 OUT (254),A
24717 CALL ResetScreen Call ResetScreen.
24720 CALL ResetAttributes Call ResetAttributes.
24723 CALL PrintBanner Call PrintBanner.
24726 LD HL,22560 Attribute buffer address.
24729 LD BC,8262 B=loop counter, C=Cyan/Yellow.
CreateWindow_0 24732 LD (HL),C Reset bytes in the attribute buffer.
24733 INC L Increment L by one (move to the next address in the attribute buffer).
24734 DJNZ CreateWindow_0 Decrease counter by one and loop back to CreateWindow_0 until counter is zero.
24736 CALL Score_1UP Call Score_1UP.
24739 CALL Score_2UP Call Score_2UP.
24742 JP Score_HI Jump to Score_HI.
View the equivalent code in;
Prev: 24673 Up: Map Next: 24745