add Chrono Warrior

This commit is contained in:
Peter Ferrie 2022-09-02 21:15:33 -07:00
parent 903fbfad0c
commit 32b3149715
53 changed files with 141 additions and 55 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -111,6 +111,7 @@
1001,CHIP.OUT=Chip Out
0000,CHIVALRY=Chivalry
1007,CHOPLIFTER=Choplifter
0001,CHRONO.WARRIOR=Chrono Warrior
0001,COLLECT=Collect
0010,COLUMNS=Columns
0101,COMMANDO=Commando

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12056593
!be24 12064564
!le16 5108

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12005213
!be24 12013142
!le16 5492

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11942923
!le16 3824
!be24 11950643
!le16 3841

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11956387
!le16 4247
!be24 11964164
!le16 4264

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11973189
!le16 5378
!be24 11981023
!le16 5395

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11992445
!le16 6009
!be24 12000336
!le16 6026

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 288
!word 289

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 315
!word 316

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 407
!word 408

View File

@ -3,4 +3,4 @@
;
; This file is automatically generated
;
!word 449
!word 450

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12061701
!be24 12069672
!le16 410

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12062455
!be24 12070426
!le16 448

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12062903
!be24 12070874
!le16 303

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12013345
!be24 12021274
!le16 1640

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12062187
!be24 12070158
!le16 67

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12056534
!be24 12064505
!le16 59

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12055000
!be24 12062971
!le16 1437

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12040301
!be24 12048272
!le16 537

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12010705
!be24 12018634
!le16 2640

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12015343
!le16 6759
!be24 12023272
!le16 6780

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12062111
!be24 12070082
!le16 76

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12056437
!be24 12064408
!le16 97

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12062254
!be24 12070225
!le16 201

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12040838
!be24 12048809
!le16 4516

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12045354
!be24 12053325
!le16 1702

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12047056
!be24 12055027
!le16 1087

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12048143
!be24 12056114
!le16 3279

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12051422
!be24 12059393
!le16 2985

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12054407
!be24 12062378
!le16 479

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12054886
!be24 12062857
!le16 114

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12063206
!be24 12071177
!le16 2370

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12027234
!be24 12035184
!le16 4527

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12031761
!be24 12039711
!le16 2236

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11998454
!le16 6759
!be24 12006362
!le16 6780

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 3868672
!be24 3876352
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 3885056
!be24 3892736
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 3876864
!be24 3884544
!le16 8192

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11934157
!le16 8766
!be24 11941837
!le16 8806

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11946747
!le16 9640
!be24 11954484
!le16 9680

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11960634
!le16 12555
!be24 11968428
!le16 12595

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11978567
!le16 13878
!be24 11986418
!le16 13918

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12014985
!be24 12022914
!le16 358

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12022102
!be24 12030052
!le16 5132

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 12033997
!le16 6304
!be24 12041947
!le16 6325

View File

@ -0,0 +1,85 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/CHRONO.WARRIOR",plain
*=$106
!source "src/prelaunch/common.a"
jmp skip
callback
jsr $BC9D
lda $1A81
ldy $1A82
ldx #$A5
cmp #$13
beq level1
cmp #$18
beq level2
cmp #$19
beq level3
cmp #$1C
beq level4
cmp #$1D
beq level5
cmp #$20
beq level6
bne notlevel
level1
tya
bne notlevel
stx $891F ; patch - don't decrease lives
level2
cpy #2
bne notlevel
stx $8782 ; patch - don't decrease lives
level3
cpy #$0E
bne notlevel
stx $88DD ; patch - don't decrease lives
level4
tya
bne notlevel
stx $87BE ; patch - don't decrease lives
level5
cpy #8
bne notlevel
stx $8CA5 ; patch - don't decrease lives
level6
cpy #$0C
bne notlevel
stx $813F ; patch - don't increase lives
notlevel
lda #0
rts
skip
+ENABLE_ACCEL
lda #$60
sta $2079
jsr $2000 ; decompress
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<callback
sta $BC90
lda #>callback
sta $BC91
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $1B40
!if * > $1C0 {
!error "code is too large, ends at ", *
}