Skip to navigation


Scoring: RemoveScore

Name: RemoveScore [Show more] Type: Subroutine Category: Scoring Summary: Remove the score display from the screen
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * MainLoop (Part 14 of 15) calls RemoveScore
.RemoveScore LDY #HI(row3_char1_0) \ Set (Y X) to the screen address for row 3, character LDX #LO(row3_char1_0) \ block 1 LDA #8 \ Set R = 19, so we clear 8 character rows STA R LDA #0 \ Set X = 0 so we clear the canopy to black JSR FillCanopyRows \ Fill the 8 screen rows with black, avoiding the canopy \ edges and removing the score display from the screen RTS \ Return from the subroutine EQUB &20, &20 \ These bytes appear to be unused. They actually contain EQUB &20, &4C \ snippets of the original source code EQUB &44, &41 EQUB &26, &38 EQUB &36, &3A EQUB &43, &4C EQUB &43, &3A EQUB &41