mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-20 13:29:30 +00:00
fix reset ordering in Vindicator demo
This commit is contained in:
parent
770b282c93
commit
550c52410c
Binary file not shown.
|
@ -11,24 +11,13 @@
|
||||||
+READ_RAM2_WRITE_RAM2
|
+READ_RAM2_WRITE_RAM2
|
||||||
jsr EnableAccelerator
|
jsr EnableAccelerator
|
||||||
|
|
||||||
;+LOAD_FILE_KEEP_DIR
|
+LOAD_FILE_KEEP_DIR vindicator, vindicator_dir_e-vindicator_dir_b
|
||||||
ldx #0 ; read to main memory
|
+NEW_RESET_VECTOR $BFF0
|
||||||
stx ldrhi
|
|
||||||
stx ldrlo
|
|
||||||
+LDADDR title
|
|
||||||
jsr iLoadFileDirect
|
|
||||||
|
|
||||||
ldx #13-1 ; we also need to copy the length byte
|
|
||||||
- lda newpath,x
|
|
||||||
sta $BFD0,x
|
|
||||||
dex
|
|
||||||
bpl -
|
|
||||||
|
|
||||||
lda #$60
|
lda #$60
|
||||||
sta $1867
|
sta $1867
|
||||||
jsr $180F ; decompress
|
jsr $180F ; decompress
|
||||||
|
|
||||||
+NEW_RESET_VECTOR $BFF0
|
|
||||||
lda #$4C
|
lda #$4C
|
||||||
sta $56D9
|
sta $56D9
|
||||||
sta $4902 ; set exits
|
sta $4902 ; set exits
|
||||||
|
@ -54,13 +43,15 @@
|
||||||
|
|
||||||
jmp $4000
|
jmp $4000
|
||||||
|
|
||||||
newpath
|
vindicator
|
||||||
!byte 12
|
!byte vindicator_e-vindicator_b
|
||||||
|
vindicator_b
|
||||||
|
vindicator_dir_b
|
||||||
!text "X/VINDICATOR"
|
!text "X/VINDICATOR"
|
||||||
|
vindicator_dir_e
|
||||||
title !byte x_e-x_b
|
!text "/"
|
||||||
x_b !text "X/VINDICATOR/VINDICATOR"
|
!text "VINDICATOR"
|
||||||
x_e
|
vindicator_e
|
||||||
|
|
||||||
!if * > $3F0 {
|
!if * > $3F0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user