mirror of https://github.com/a2-4am/4cade.git
only need Z80 patch on IIc
This commit is contained in:
parent
c0a282c00d
commit
295e661047
|
@ -32,6 +32,12 @@ MAGIC_Z80_LOCATION=$FFD
|
||||||
GetMockingboardStuff
|
GetMockingboardStuff
|
||||||
+ST16 @callback+1
|
+ST16 @callback+1
|
||||||
|
|
||||||
|
lda ROM_MACHINEID
|
||||||
|
cmp #$06
|
||||||
|
bne @not_iic
|
||||||
|
ldx ROM_MACHINE2C
|
||||||
|
bne @not_iic
|
||||||
|
|
||||||
; from mgcaret
|
; from mgcaret
|
||||||
; https://github.com/a2-4am/4cade/issues/483
|
; https://github.com/a2-4am/4cade/issues/483
|
||||||
; the Mockingboard init can accidentally enable the Softcard Z80
|
; the Mockingboard init can accidentally enable the Softcard Z80
|
||||||
|
@ -48,14 +54,7 @@ GetMockingboardStuff
|
||||||
sta MAGIC_Z80_LOCATION, x
|
sta MAGIC_Z80_LOCATION, x
|
||||||
dex
|
dex
|
||||||
bpl -
|
bpl -
|
||||||
|
stx $C403 ; enable Mockingboard 4C support
|
||||||
lda ROM_MACHINEID
|
|
||||||
cmp #$06
|
|
||||||
bne @not_iic
|
|
||||||
ldx ROM_MACHINE2C
|
|
||||||
bne @not_iic
|
|
||||||
dex ; enable Mockingboard 4C support
|
|
||||||
stx $C403
|
|
||||||
stx $C404
|
stx $C404
|
||||||
|
|
||||||
@not_iic
|
@not_iic
|
||||||
|
|
Loading…
Reference in New Issue