try to fix IIc colouring

This commit is contained in:
Peter Ferrie 2020-07-08 18:39:29 -07:00
parent 51db983fbe
commit b48c9172fd

View File

@ -192,6 +192,8 @@ maccheck
bne build_setspeed ; always branches bne build_setspeed ; always branches
iic iic
lda #$8D
sta fixiic
ldx romid_c ldx romid_c
cpx #ROMID_CPLUS cpx #ROMID_CPLUS
bne build_addon ; not a //c+, eventually hit Zip bne build_addon ; not a //c+, eventually hit Zip
@ -381,6 +383,8 @@ FASTChip
lda #FC_LOCK lda #FC_LOCK
sta fc_lock sta fc_lock
fixiic
bit $C05D ; fix colouring on IIc (SMC to STA on IIc)
plp ; restore interrupt state plp ; restore interrupt state
rts rts
end_addon end_addon