mirror of
https://github.com/a2-4am/4cade.git
synced 2025-02-19 20:30:42 +00:00
Mockingboard auto-config in Thunder Bombs
This commit is contained in:
parent
93617432a3
commit
bb85aee366
@ -18,6 +18,27 @@
|
|||||||
|
|
||||||
lda #0
|
lda #0
|
||||||
sta $3F2
|
sta $3F2
|
||||||
|
+READ_RAM2_NO_WRITE
|
||||||
|
lda MockingboardStuff
|
||||||
|
+READ_ROM_NO_WRITE
|
||||||
|
cmp #1
|
||||||
|
bcc ++
|
||||||
|
tax
|
||||||
|
ora #$C0
|
||||||
|
sta $341
|
||||||
|
txa
|
||||||
|
asl
|
||||||
|
and #$80
|
||||||
|
ora #1 ; sound i
|
||||||
|
bpl +
|
||||||
|
eor #$85 ; sound ii
|
||||||
|
+
|
||||||
|
bcc +
|
||||||
|
lda #6 ; +speech
|
||||||
|
+
|
||||||
|
sta $340
|
||||||
|
jsr $7CB4
|
||||||
|
++
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
|
|
||||||
lda $323
|
lda $323
|
||||||
|
Loading…
x
Reference in New Issue
Block a user