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 iic
lda #$9D lda #$9D
sta fixiic sta fixiic
lda #$C0
sta fixiic+2
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
@ -383,9 +385,9 @@ FASTChip
lda #FC_LOCK lda #FC_LOCK
sta fc_lock sta fc_lock
lda gMachineInDHGRMode ldx gMachineInDHGRMode
fixiic 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 + plp ; restore interrupt state
rts rts
end_addon end_addon