Skip to navigation


Screen mode: SetScreenMode7

Name: SetScreenMode7 [Show more] Type: Subroutine Category: Screen mode Summary: Change to screen mode 7 and hide the cursor
Context: See this subroutine in context in the source code References: This subroutine is called as follows: * SetupGame calls SetScreenMode7
.SetScreenMode7 LDA #128 \ Set printMode = 128 so the call to PrintToken prints STA printMode \ characters using OSWRCH (for mode 7) LDX #46 \ Print token 46, which changes to screen mode 7 and JSR PrintToken \ hides the cursor RTS \ Return from the subroutine