another try to fix IIc colouring

This commit is contained in:
Peter Ferrie 2020-07-11 14:19:14 -07:00
parent e67544b1b9
commit f799133daa

View File

@ -192,7 +192,7 @@ maccheck
bne build_setspeed ; always branches
iic
lda #$8D
lda #$9D
sta fixiic
ldx romid_c
cpx #ROMID_CPLUS
@ -383,8 +383,9 @@ FASTChip
lda #FC_LOCK
sta fc_lock
lda gMachineInDHGRMode
fixiic
bit $C05D ; fix colouring on IIc (SMC to STA on IIc)
plp ; restore interrupt state
bit $C05F ; fix colouring on IIc (SMC to STA,X on IIc)
+ plp ; restore interrupt state
rts
end_addon