mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-13 21:30:38 +00:00
fix Cavern Creatues, Conquering Worlds, Demonic Decks
This commit is contained in:
parent
8885ef58c7
commit
7bf982ce7b
@ -8,10 +8,10 @@
|
||||
!source "src/constants.a" ; no code in these
|
||||
!source "src/macros.a"
|
||||
|
||||
ldy #0
|
||||
- lda callback, y
|
||||
sta $110, y
|
||||
iny
|
||||
ldy #(callback_e-callback)
|
||||
- lda callback-1, y
|
||||
sta $10f, y
|
||||
dey
|
||||
bne -
|
||||
jmp $110
|
||||
|
||||
@ -83,3 +83,4 @@ noaccel
|
||||
+READ_ROM_NO_WRITE
|
||||
rts
|
||||
}
|
||||
callback_e
|
||||
|
@ -54,8 +54,13 @@ callback2
|
||||
+ cpx #6
|
||||
bne ++
|
||||
cmp #$0D
|
||||
bne ++
|
||||
bne +++
|
||||
sty $400E ; fix reset vector
|
||||
+++ cmp #6
|
||||
bne ++
|
||||
sty $47B6
|
||||
dey
|
||||
sty $47B1 ; fix reset vector
|
||||
++ clc
|
||||
rts
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
lda #$60
|
||||
sta $206A
|
||||
jsr $2000 ; decompress
|
||||
+NEW_RESET_VECTOR $BFF0
|
||||
+READ_RAM2_NO_WRITE
|
||||
lda MachineStatus
|
||||
and #CHEATS_ENABLED
|
||||
@ -22,7 +21,7 @@
|
||||
+
|
||||
jsr DisableAccelerator
|
||||
+READ_ROM_NO_WRITE
|
||||
jmp $200
|
||||
jmp $200 ; no reset vector, code in $3Fx
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
|
Loading…
x
Reference in New Issue
Block a user