From f799133daa13e78bafc32872f95f08b756d29f7a Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Sat, 11 Jul 2020 14:19:14 -0700 Subject: [PATCH] another try to fix IIc colouring --- src/hw.accel.a | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/hw.accel.a b/src/hw.accel.a index d9ccb1d8d..b08537d1c 100755 --- a/src/hw.accel.a +++ b/src/hw.accel.a @@ -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