mirror of
https://github.com/a2-4am/4sports.git
synced 2025-01-10 15:29:40 +00:00
fix Championship Basketball reset
This commit is contained in:
parent
55ec7a3a19
commit
5477856ebb
29
src/prelaunch/champ.bsketball.a
Normal file
29
src/prelaunch/champ.bsketball.a
Normal file
@ -0,0 +1,29 @@
|
||||
;license:MIT
|
||||
;(c) 2021 by Frank M.
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/CHAMP.BSKETBALL",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
+ENABLE_ACCEL
|
||||
|
||||
lda #$60
|
||||
sta $9D2
|
||||
jsr $800 ; decompress1
|
||||
|
||||
lda #<hook
|
||||
sta $B755
|
||||
lda #>hook
|
||||
sta $B756
|
||||
jmp $B700 ; decompress2
|
||||
|
||||
hook inc $CF4 ; reset vector fix (moved to $3F4)
|
||||
|
||||
+DISABLE_ACCEL
|
||||
jmp $C00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user