mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-28 00:52:00 +00:00
yet another attempt at fixing IIc colouring
This commit is contained in:
parent
f799133daa
commit
7f54fa2357
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user