mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 02:10:39 +00:00
Merge pull request #77 from frankmilliron/master
Reset Fixes (now with acceleration!)
This commit is contained in:
commit
447d29b6f5
29
src/prelaunch/jungle.hunt.a
Executable file
29
src/prelaunch/jungle.hunt.a
Executable file
@ -0,0 +1,29 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/JUNGLE.HUNT",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $81E
|
||||
jsr $800
|
||||
|
||||
lda #$60
|
||||
sta $BD44
|
||||
jsr $BD00
|
||||
|
||||
lda #1
|
||||
sta $0A6C
|
||||
lda #0
|
||||
sta $0A67 ; reset vector patch
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $A00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
35
src/prelaunch/pieman.a
Executable file
35
src/prelaunch/pieman.a
Executable file
@ -0,0 +1,35 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/PIEMAN",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60 ; hook1
|
||||
sta $3EA9
|
||||
jsr $3E88 ; decompress
|
||||
+DISABLE_ACCEL
|
||||
|
||||
lda #$60 ; hook2
|
||||
sta $A050
|
||||
jsr $A000 ; title/load
|
||||
|
||||
lda #$60 ; hook3
|
||||
sta $948
|
||||
jsr $940
|
||||
|
||||
lda #0
|
||||
sta $3F2
|
||||
lda #1
|
||||
sta $3F3
|
||||
lda #$A4
|
||||
sta $3F4 ; reset vector patch
|
||||
|
||||
jmp $950
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
8
src/prelaunch/pollywog.a
Normal file → Executable file
8
src/prelaunch/pollywog.a
Normal file → Executable file
@ -8,7 +8,13 @@
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+USES_TEXT_PAGE_2
|
||||
jmp $800
|
||||
+ENABLE_ACCEL
|
||||
lda #$60 ; RTS instead of JMP
|
||||
sta $5A0D
|
||||
jsr $800 ; decompress
|
||||
jsr $BE06
|
||||
+DISABLE_ACCEL
|
||||
jmp $792E
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
|
33
src/prelaunch/snack.attack.a
Executable file
33
src/prelaunch/snack.attack.a
Executable file
@ -0,0 +1,33 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/SNACK.ATTACK",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $82E
|
||||
jsr $800 ; decompress
|
||||
+DISABLE_ACCEL
|
||||
|
||||
jsr $BD1C ; title screen
|
||||
|
||||
lda #$60
|
||||
sta $BD19
|
||||
jsr $BCFA
|
||||
|
||||
lda #0
|
||||
sta $3F2
|
||||
lda #1
|
||||
sta $3F3
|
||||
lda #$A4
|
||||
sta $3F4 ; reset vector patch
|
||||
|
||||
jmp $7E00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
32
src/prelaunch/tag.team.a
Executable file
32
src/prelaunch/tag.team.a
Executable file
@ -0,0 +1,32 @@
|
||||
;license:MIT
|
||||
;(c) 2019 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/TAG.TEAM",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
lda #$60
|
||||
sta $820
|
||||
jsr $800 ; decompress
|
||||
|
||||
lda #$82
|
||||
sta $101
|
||||
lda #$A6
|
||||
sta $104
|
||||
lda #$FA
|
||||
sta $105 ; update TR hook to reboot
|
||||
|
||||
lda #0
|
||||
sta $FFFC
|
||||
lda #1
|
||||
sta $FFFD ; LC reset vector patch
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user