mirror of
https://github.com/a2-4am/4cade.git
synced 2025-08-07 18:25:24 +00:00
reset vector for Spy Hunter
This commit is contained in:
24
src/prelaunch/spy.hunter.a
Normal file
24
src/prelaunch/spy.hunter.a
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
;license:MIT
|
||||||
|
;(c) 2019 by 4am
|
||||||
|
|
||||||
|
!cpu 6502
|
||||||
|
!to "build/PRELAUNCH/SPY.HUNTER",plain
|
||||||
|
*=$106
|
||||||
|
|
||||||
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
|
lda #<callback
|
||||||
|
sta $4013
|
||||||
|
lda #>callback
|
||||||
|
sta $4010
|
||||||
|
jmp $4000
|
||||||
|
callback nop
|
||||||
|
ldy #0
|
||||||
|
sty $0D8E
|
||||||
|
iny
|
||||||
|
sty $0D93
|
||||||
|
jmp $0451
|
||||||
|
|
||||||
|
!if * > $1C0 {
|
||||||
|
!error "code is too large, ends at ", *
|
||||||
|
}
|
Reference in New Issue
Block a user