adds some cheats, clear Thunder Bombs highscore

This commit is contained in:
Peter Ferrie 2022-05-03 13:17:43 -07:00
parent 4577855211
commit 475d3ef0b1
45 changed files with 106 additions and 55 deletions

View File

@ -409,12 +409,12 @@
0000,THE.SPACE.ARK=The Space Ark
0001,S2=The Spy Strikes Back
1000,VV=The Voyage of the Valkyrie
0010,THEXDER=Thexder
0015,THEXDER=Thexder
0000,THIEF=Thief
0001,THRESHOLD=Threshold
0000,THUNDER.BOMBS=Thunder Bombs
0001,THUNDER.BOMBS=Thunder Bombs
1000,TIME.PILOT=Time Pilot
0000,TITAN.CRONUS=Titan Cronus
0001,TITAN.CRONUS=Titan Cronus
1000,TOMAHAWK=Tomahawk
0000,TORAX=Torax
1000,TORPEDO.TERROR=Torpedo Terror
@ -443,7 +443,7 @@
0000,WILLY.BYTE=Willy Byte
1113,WF=Wings of Fury
1001,XEVIOUS=Xevious
0000,ZARGS=Zargs
0001,ZARGS=Zargs
1001,ZAXXON=Zaxxon
0000,ZENITH=Zenith
1000,ZP=Zero Gravity Pinball

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11394932
!be24 11395444
!le16 4515

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11346483
!be24 11346995
!le16 5275

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11286963
!be24 11287475
!le16 3651

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11299711
!be24 11300223
!le16 4061

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11315718
!be24 11316230
!le16 5242

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11334199
!be24 11334711
!le16 5867

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11353904
!be24 11354416
!le16 1242

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11393508
!be24 11394020
!le16 1284

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11379250
!be24 11379762
!le16 521

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11351758
!be24 11352270
!le16 2146

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11355504
!be24 11356016
!le16 6417

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11394792
!be24 11395304
!le16 81

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11379771
!be24 11380283
!le16 4511

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11384282
!be24 11384794
!le16 1575

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11385857
!be24 11386369
!le16 1053

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11386910
!be24 11387422
!le16 3237

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11390147
!be24 11390659
!le16 2796

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11392943
!be24 11393455
!le16 460

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11393403
!be24 11393915
!le16 105

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11366855
!be24 11367367
!le16 6417

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11340066
!be24 11340578
!le16 6417

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11278710
!be24 11279222
!le16 8253

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11290614
!be24 11291126
!le16 9097

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11303772
!be24 11304284
!le16 11946

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11320960
!be24 11321472
!le16 13239

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11361921
!be24 11362433
!le16 4934

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11373272
!be24 11373784
!le16 5978

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2019-2020 by qkumba/Frank M.
;(c) 2019-2020, 2022 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH.INDEXED/THEXDER",plain
@ -7,7 +7,12 @@
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
+READ_RAM2_NO_WRITE
jsr EnableAccelerator
lda MachineStatus
+READ_ROM_NO_WRITE
and #CHEATS_ENABLED
php
lda #$60
sta $83F
jsr $800
@ -22,16 +27,29 @@
sta $47FC
lda #>reset
sta $47FD ; moved to LC $FFFC/D
+DISABLE_ACCEL
jmp $1800
plp
beq ++
dec $37ED ; don't decrease energy
dec $3FB4 ; don't decrease energy
dec $401A ; don't decrease energy
beq ++ ; always
reset
+READ_ROM_NO_WRITE
jmp $FAA6
+ inc $3F4 ; force reboot
lda #$60
sta $13B3
jsr $1200
plp
beq ++
dec $38D2 ; don't decrease energy
dec $40A6 ; don't decrease energy
dec $410C ; don't decrease energy
++
+DISABLE_ACCEL
jmp $1200
jmp $1800
!if * > $1C0 {
!error "code is too large, ends at ", *

View File

@ -11,7 +11,7 @@
sta $887F
lda #<fakewait
sta $8823+1
sta $8823+2
sta $882A+2
lda #>fakewait
sta $8823+2
sta $882B+2 ; fix timing of title screen on //gs
@ -27,7 +27,6 @@
+READ_RAM2_NO_WRITE
lda MockingboardStuff
+READ_ROM_NO_WRITE
beq ++
tax
and #7
@ -45,7 +44,14 @@
sty $340
jsr $7CB4
++
+DISABLE_ACCEL
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$AD
sta $E39 ; don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
lda $323
jmp $781B

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by Frank M.
;(c) 2021-2022 by Frank M., qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/TITAN.CRONUS",plain
@ -25,9 +25,29 @@ hook +NEW_RESET_VECTOR $280
lda #$30
sta $C84+3 ; (replaces TEXT:HOME:END)
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<callback
sta $1073
lda #>callback
sta $1074
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $D566
callback
pla
pla
jsr $1080
jsr $1075
lda #$AD
sta $808C ; don't increase lives
sta $8595 ; don't decrease lives
rts
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2020 by qkumba/Frank M.
;(c) 2020, 2022 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH.INDEXED/ZARGS",plain
@ -17,7 +17,14 @@
callback
lda #1
sta $60B0 ; reset vector fix
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
dec $9FA7 ; don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $6000
!if * > $1C0 {