mirror of
https://github.com/a2-4am/4cade.git
synced 2025-04-01 06:30:36 +00:00
support Mockingboard 4C in slot 5
This commit is contained in:
parent
bb6b388c16
commit
81fce4c7bc
@ -56,8 +56,22 @@ GetMockingboardStuff
|
||||
sta MAGIC_Z80_LOCATION, x
|
||||
dex
|
||||
bpl -
|
||||
stx $C403 ; enable Mockingboard 4C support
|
||||
|
||||
lda $C405
|
||||
cmp #$38
|
||||
bne @not_mouse
|
||||
lda $C407
|
||||
cmp #$18
|
||||
beq @use_slot5 ; looks like the mouse
|
||||
|
||||
@not_mouse
|
||||
stx $C403 ; enable Mockingboard 4C support in slot 4
|
||||
stx $C404
|
||||
bne @not_iic ; always
|
||||
|
||||
@use_slot5
|
||||
stx $C503 ; try enable Mockingboard 4C support in slot 5 instead
|
||||
stx $C504
|
||||
|
||||
@not_iic
|
||||
lda #$00
|
||||
|
Loading…
x
Reference in New Issue
Block a user