From 7f54fa2357f8f1947b24c23570576a93bfd8c555 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Sat, 11 Jul 2020 18:30:39 -0700 Subject: [PATCH] yet another attempt at fixing IIc colouring --- src/hw.accel.a | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hw.accel.a b/src/hw.accel.a index b08537d1c..cf5090707 100755 --- a/src/hw.accel.a +++ b/src/hw.accel.a @@ -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