add some cheats

This commit is contained in:
Peter Ferrie 2022-05-05 22:06:50 -07:00
parent f271c1fd64
commit c8f35fa33c
48 changed files with 148 additions and 58 deletions

View File

@ -112,10 +112,10 @@
0001,CONGO.BONGO=Congo Bongo
0000,CQ=Conquering Worlds
0000,CR=Copts and Robbers
1000,COSMIC.COMBAT=Cosmic Combat
1001,COSMIC.COMBAT=Cosmic Combat
0002,COUNTY.FAIR=County Fair
0001,CRAZY.MAZEY=Crazy Mazey
0000,CRICKATEER=Crickateer
0001,CRICKATEER=Crickateer
0001,CRIME.WAVE=Crime Wave
1001,CRISIS.MOUNTAIN=Crisis Mountain
0001,CROSS.CITY=Cross City
@ -133,8 +133,8 @@
0110,DEATH.SWORD=Death Sword
1000,DEEP.SPACE=Deep Space
1001,DEFENDER=Defender
1000,DJ=Defender (Joe Holt)
0000,DEMONIC.DECKS=Demonic Decks
1001,DJ=Defender (Joe Holt)
0001,DEMONIC.DECKS=Demonic Decks
1000,DEPTH.CHARGE=Depth Charge
0001,DIAMOND.MINE=Diamond Mine
0001,DIG.DUG=Dig Dug
@ -144,11 +144,11 @@
0000,DOGFIGHT.II=Dogfight II
0001,DONKEY.KONG=Donkey Kong
0000,DOUBLE.TROUBLE=Double Trouble
0000,DRAGONFIRE=Dragonfire
0001,DRAGONFIRE=Dragonfire
1001,DRELBS=Drelbs
0001,DROL=Drol
0000,DUNG.BEETLES=Dung Beetles
0000,EARLY.BIRD=Early Bird
0001,EARLY.BIRD=Early Bird
0001,EI=Eggs-It
0000,EPOCH=Epoch
0000,ES=Escape!
@ -162,7 +162,7 @@
0110,FLAPPLE.BIRD=Flapple Bird
0000,FS2=Flight Simulator II
0000,FLIP.OUT=Flip Out
0000,FLOBYNOID=Flobynoid
0001,FLOBYNOID=Flobynoid
0000,FLOPPY=Floppy
0000,FLY.WARS=Fly Wars
1101,FORCE.7=Force 7

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11369587
!be24 11370099
!le16 5294

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11309949
!be24 11310461
!le16 3654

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11322730
!be24 11323242
!le16 4064

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11338770
!be24 11339282
!le16 5245

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11357284
!be24 11357796
!le16 5870

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11416830
!be24 11417342
!le16 1404

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11378627
!be24 11379139
!le16 6433

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11407479
!be24 11407991
!le16 1591

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11413360
!be24 11413872
!le16 2877

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11390016
!be24 11390528
!le16 3642

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11393658
!be24 11394170
!le16 2795

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11363154
!be24 11363666
!le16 6433

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 3714048
!be24 3714560
!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 11301666
!be24 11302178
!le16 8283

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11313603
!be24 11314115
!le16 9127

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11326794
!be24 11327306
!le16 11976

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11344015
!be24 11344527
!le16 13269

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11385060
!be24 11385572
!le16 4956

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11396453
!be24 11396965
!le16 5994

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/COSMIC.COMBAT",plain
@ -8,7 +8,22 @@
!source "src/prelaunch/common.a"
+NEW_RESET_VECTOR $BFF0
jmp $1A00
+ENABLE_ACCEL
lda #$60
sta $1A82
jsr $1A00 ; decompress
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $65F2 ; patch - don't decrease lives
sta $721C ; patch - don't increase lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $D566
!if * > $1C0 {
!error "code is too large, ends at ", *

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by qkumba
;(c) 2021-2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/CRICKATEER",plain
@ -28,7 +28,16 @@
lda #$9A
sta $1D38
sta $1D3F
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $1D31 ; patch - don't decrease lives
sta $5030 ; patch - don't increase lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $813
!if * > $1C0 {

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by qkumba
;(c) 2021-2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/DJ",plain
@ -13,6 +13,13 @@
jsr $2000 ; decompress
lda #$88
sta $E001
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $EE5 ; patch - don't increase lives
sta $1226 ; patch - don't decrease lives
+
jsr DisableAccelerator
jmp $200

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by qkumba/Frank M.
;(c) 2021-2022 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH.INDEXED/DEMONIC.DECKS",plain
@ -12,7 +12,16 @@
sta $206A
jsr $2000 ; decompress
+NEW_RESET_VECTOR $BFF0
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $1CE5 ; patch - don't decrease lives
sta $1E24 ; patch - don't increase lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $200
!if * > $1C0 {

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2021 by qkumba
;(c) 2021-2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/DRAGONFIRE",plain
@ -11,7 +11,14 @@
lda #$60
sta $3621
jsr $3600 ; decompress
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
dec $5401 ; patch - don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $4000
!if * > $1C0 {

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/EARLY.BIRD",plain
@ -20,7 +20,16 @@ hook lda #0
lda #1
sta $BBA ; reset vector fix
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $65AD ; patch - don't decrease lives
sta $6CFC ; patch - don't increase lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $BB0
!if * > $1C0 {

View File

@ -17,6 +17,16 @@
sta $B63A
jsr $B600
ldx #hook_e-hook_b
- lda hook_b, x
sta $2d0, x
dex
bpl -
lda #$d0
sta $B6D6
lda #2
sta $B6D7
jsr DisableAccelerator
jsr $BBB3
@ -24,6 +34,30 @@
inc $3F4 ; reboot
jmp $8003
hook_b !pseudopc $2d0 {
pla
pla
jsr $B64F
jsr $B6D8
ldx #$AD
lda #$CE
cmp $AD9
bne +
stx $AD9 ; patch - don't decrease lives
+ cmp $1461
bne +
stx $1461 ; patch - don't trigger anti-cheat
+ lda $1893
cmp #$EE
bne +
stx $1893 ; patch - don't increase lives
+ clc
rts
!if * > $2FF {
!error "code is too large, ends at ", *
}
}
hook_e
!if * > $1C0 {
!error "code is too large, ends at ", *
}