mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-26 17:49:43 +00:00
fix Spellwielder reset vector
This commit is contained in:
parent
8b166b8ba7
commit
ba44cb6bad
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11535720
|
||||
!be24 11536232
|
||||
!le16 4626
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11486803
|
||||
!be24 11487315
|
||||
!le16 5343
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11427069
|
||||
!be24 11427581
|
||||
!le16 3654
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11439880
|
||||
!be24 11440392
|
||||
!le16 4074
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11455930
|
||||
!be24 11456442
|
||||
!le16 5245
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11474474
|
||||
!be24 11474986
|
||||
!le16 5880
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11540346
|
||||
!be24 11540858
|
||||
!le16 410
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11541100
|
||||
!be24 11541612
|
||||
!le16 448
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11541548
|
||||
!be24 11542060
|
||||
!le16 303
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11494292
|
||||
!be24 11494804
|
||||
!le16 1242
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11540832
|
||||
!be24 11541344
|
||||
!le16 67
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11535661
|
||||
!be24 11536173
|
||||
!le16 59
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11534143
|
||||
!be24 11534655
|
||||
!le16 1437
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11519744
|
||||
!be24 11520256
|
||||
!le16 537
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11492146
|
||||
!be24 11492658
|
||||
!le16 2146
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11495892
|
||||
!be24 11496404
|
||||
!le16 6449
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11540756
|
||||
!be24 11541268
|
||||
!le16 76
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11535580
|
||||
!be24 11536092
|
||||
!le16 81
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11540899
|
||||
!be24 11541411
|
||||
!le16 201
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11520281
|
||||
!be24 11520793
|
||||
!le16 4511
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11524792
|
||||
!be24 11525304
|
||||
!le16 1591
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11526383
|
||||
!be24 11526895
|
||||
!le16 1053
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11527436
|
||||
!be24 11527948
|
||||
!le16 3237
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11530673
|
||||
!be24 11531185
|
||||
!le16 2877
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11533550
|
||||
!be24 11534062
|
||||
!le16 479
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11534029
|
||||
!be24 11534541
|
||||
!le16 114
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11541851
|
||||
!be24 11542363
|
||||
!le16 2370
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11507297
|
||||
!be24 11507809
|
||||
!le16 3658
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11510955
|
||||
!be24 11511467
|
||||
!le16 2795
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11480354
|
||||
!be24 11480866
|
||||
!le16 6449
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 3720192
|
||||
!be24 3720704
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 3736576
|
||||
!be24 3737088
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 3728384
|
||||
!be24 3728896
|
||||
!le16 8192
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11418786
|
||||
!be24 11419298
|
||||
!le16 8283
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11430723
|
||||
!be24 11431235
|
||||
!le16 9157
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11443954
|
||||
!be24 11444466
|
||||
!le16 11976
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11461175
|
||||
!be24 11461687
|
||||
!le16 13299
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11495534
|
||||
!be24 11496046
|
||||
!le16 358
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11502341
|
||||
!be24 11502853
|
||||
!le16 4956
|
||||
|
@ -4,5 +4,5 @@
|
||||
; This file is automatically generated
|
||||
;
|
||||
!byte 0
|
||||
!be24 11513750
|
||||
!be24 11514262
|
||||
!le16 5994
|
||||
|
36
src/prelaunch/spellwielder.a
Normal file
36
src/prelaunch/spellwielder.a
Normal file
@ -0,0 +1,36 @@
|
||||
;license:MIT
|
||||
;(c) 2022 by qkumba
|
||||
|
||||
!cpu 6502
|
||||
!to "build/PRELAUNCH.INDEXED/SPELLWIELDER",plain
|
||||
*=$106
|
||||
|
||||
!source "src/prelaunch/common.a"
|
||||
|
||||
lda #<callback1
|
||||
sta $77A2
|
||||
lda #>callback1
|
||||
sta $77A3
|
||||
jmp $6C00 ; decompress
|
||||
|
||||
callback1
|
||||
lda #<callback2
|
||||
sta $2200
|
||||
lda #>callback2
|
||||
sta $2201
|
||||
lda #$A6
|
||||
sta $2204
|
||||
lda #$FA
|
||||
sta $2205 ; reset vector
|
||||
jmp $2000
|
||||
|
||||
callback2
|
||||
lda #$A6
|
||||
sta $8778
|
||||
lda #$FA
|
||||
sta $877A ; reset vector
|
||||
jmp $BE00
|
||||
|
||||
!if * > $1C0 {
|
||||
!error "code is too large, ends at ", *
|
||||
}
|
Loading…
Reference in New Issue
Block a user