clear HGR to BLACK2 (#645)

This commit is contained in:
xotmatrix
2024-10-19 10:50:00 -04:00
committed by GitHub
parent 7f21919476
commit a29d418868

View File

@@ -237,7 +237,7 @@ CopyHGR
+ sty PageFrom + sty PageFrom
sta PageTo+2 sta PageTo+2
ClearToBlack ClearToBlack
lda #$00 lda #$80 ; clear to BLACK2
ClearGR ClearGR
ldy #0 ldy #0
PageFrom lda $FD00,y ; SMC address high byte, also SMC opcode (might be BIT) PageFrom lda $FD00,y ; SMC address high byte, also SMC opcode (might be BIT)