mirror of
https://github.com/a2-4am/4cade.git
synced 2025-01-14 12:34:07 +00:00
Early Bird, Firebug, Handy Dandy reset fixes (#370)
This commit is contained in:
parent
9cb15b2093
commit
bd7a3b5501
28
src/prelaunch/early.bird.a
Normal file
28
src/prelaunch/early.bird.a
Normal file
@ -0,0 +1,28 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/EARLY.BIRD",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
lda #<hook
|
||||
sta $941D
|
||||
lda #>hook
|
||||
sta $941E
|
||||
jmp $6D00 ; decompress
|
||||
|
||||
hook lda #0
|
||||
sta $BB5
|
||||
lda #1
|
||||
sta $BBA ; reset vector fix
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $BB0
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
26
src/prelaunch/firebug.a
Normal file
26
src/prelaunch/firebug.a
Normal file
@ -0,0 +1,26 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/FIREBUG",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
lda #$60
|
||||
sta $2076
|
||||
jsr $2000 ; decompress
|
||||
|
||||
lda #0
|
||||
sta $83E
|
||||
lda #1
|
||||
sta $849 ; reset vector fix
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $810
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
26
src/prelaunch/handy.dandy.a
Normal file
26
src/prelaunch/handy.dandy.a
Normal file
@ -0,0 +1,26 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH/HANDY.DANDY",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
lda #<hook
|
||||
sta $933D
|
||||
lda #>hook
|
||||
sta $933E
|
||||
jmp $7000 ; decompress
|
||||
|
||||
hook lda #1
|
||||
sta $75DD ; reset vector fix
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $6000
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user