cleanup/fix pce cpeekc/cpeekcolor/cpeekrevers/cpeeks, replaces #532

This commit is contained in:
mrdudz
2025-05-25 02:52:03 +02:00
parent 5c72deb0b9
commit e9a15af29b
4 changed files with 25 additions and 30 deletions

View File

@@ -14,11 +14,11 @@ _cpeekc:
st0 #VDC_MARR ; Memory-Address Read
ldy SCREEN_PTR
ldx SCREEN_PTR+1
sty VDC_DATA_LO
stx VDC_DATA_HI
sty a:VDC_DATA_LO
stx a:VDC_DATA_HI
st0 #VDC_VRR ; VRAM Read Register
lda VDC_DATA_LO ; character
lda a:VDC_DATA_LO ; character
and #<~$80 ; remove reverse bit
ldx #0
rts