yet another attempt at fixing IIc colouring

This commit is contained in:
Peter Ferrie 2020-07-11 18:30:39 -07:00
parent f799133daa
commit 7f54fa2357

View File

@ -194,6 +194,8 @@ maccheck
iic
lda #$9D
sta fixiic
lda #$C0
sta fixiic+2
ldx romid_c
cpx #ROMID_CPLUS
bne build_addon ; not a //c+, eventually hit Zip
@ -383,9 +385,9 @@ FASTChip
lda #FC_LOCK
sta fc_lock
lda gMachineInDHGRMode
ldx gMachineInDHGRMode
fixiic
bit $C05F ; fix colouring on IIc (SMC to STA,X on IIc)
bit $D05F ; fix colouring on IIc (SMC to STA,X on IIc)
+ plp ; restore interrupt state
rts
end_addon