mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-27 08:50:01 +00:00
fix endless Pitfall demo without Mockingboard
This commit is contained in:
parent
60defd75de
commit
7345d5e194
Binary file not shown.
@ -29,6 +29,10 @@
|
|||||||
sta $2E07
|
sta $2E07
|
||||||
lda #>callback2
|
lda #>callback2
|
||||||
sta $2E08
|
sta $2E08
|
||||||
|
lda #<callback3
|
||||||
|
sta $6016
|
||||||
|
lda #>callback3
|
||||||
|
sta $6017
|
||||||
|
|
||||||
+DISABLE_ACCEL
|
+DISABLE_ACCEL
|
||||||
|
|
||||||
@ -47,6 +51,13 @@ callback1
|
|||||||
+ jmp $ADF9
|
+ jmp $ADF9
|
||||||
|
|
||||||
callback2
|
callback2
|
||||||
|
sec
|
||||||
|
sbc #8
|
||||||
|
cmp #2
|
||||||
|
bcs -
|
||||||
|
jmp $AE21
|
||||||
|
|
||||||
|
callback3
|
||||||
ldx #6-1
|
ldx #6-1
|
||||||
p1 lda patch, x
|
p1 lda patch, x
|
||||||
sta $6055, x
|
sta $6055, x
|
||||||
@ -59,12 +70,7 @@ p1 lda patch, x
|
|||||||
|
|
||||||
lda #$D0
|
lda #$D0
|
||||||
sta $6299 ; don't lose keypress on return
|
sta $6299 ; don't lose keypress on return
|
||||||
|
jmp $ADE0
|
||||||
sec
|
|
||||||
sbc #8
|
|
||||||
cmp #2
|
|
||||||
bcs -
|
|
||||||
jmp $AE21
|
|
||||||
|
|
||||||
patch !byte $AD,$88,$C0,$6C,$FC,$FF
|
patch !byte $AD,$88,$C0,$6C,$FC,$FF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user