mirror of
https://github.com/a2-4am/4cade.git
synced 2024-11-19 02:10:39 +00:00
147cc25b79
* rename 'last.ninja.a' to 'the.last.ninja.a' * fix a bunch of 128k game reset vectors 8 more that are more complicated to come.
36 lines
683 B
Plaintext
36 lines
683 B
Plaintext
;license:MIT
|
|
;(c) 2020 by qkumba/Frank M.
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH/BATTLE.CHESS",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+ENABLE_ACCEL
|
|
inc $3F4 ; force reboot
|
|
lda #$50
|
|
sta $933
|
|
lda #2
|
|
sta $934
|
|
ldy #(callback_e - callback) - 1
|
|
- lda callback, y
|
|
sta $250, y
|
|
dey
|
|
bpl -
|
|
jmp $800 ; decompress
|
|
|
|
callback !pseudopc $250 {
|
|
sta $C008
|
|
bit $C083
|
|
jsr DisableAccelerator
|
|
bit $C08B
|
|
sta $C009
|
|
jmp $C00
|
|
}
|
|
callback_e
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|