add cheats V-Z

This commit is contained in:
Peter Ferrie 2022-05-19 10:42:44 -07:00
parent ff45b20517
commit aa62ea3ea7
48 changed files with 191 additions and 57 deletions

View File

@ -430,25 +430,25 @@
0001,TUNNEL.TERROR=Tunnel Terror
0001,TWERPS=Twerps
1001,UD=Up'n Down
0110,VICTORY.ROAD=Victory Road
0111,VICTORY.ROAD=Victory Road
0000,VIDEO.VEGAS=Video Vegas
0001,VINDICATOR=Vindicator
1000,VIPER.PATROL=Viper Patrol
0000,VORTEX=Vortex
1001,VIPER.PATROL=Viper Patrol
0001,VORTEX=Vortex
0000,WALL.DEFENCE=Wall Defence
0001,WARGLE=Wargle
0000,WARP.DESTROYER=Warp Destroyer
0006,WARP.DESTROYER=Warp Destroyer
0001,WAVY.NAVY=Wavy Navy
0000,WAYOUT=Wayout
1111,RR=Who Framed Roger Rabbit
1000,WHOMPER.STOMPER=Whomper Stomper
1001,WHOMPER.STOMPER=Whomper Stomper
0000,WILLY.BYTE=Willy Byte
1113,WF=Wings of Fury
1001,XEVIOUS=Xevious
0001,ZARGS=Zargs
1001,ZAXXON=Zaxxon
0000,ZENITH=Zenith
0005,ZENITH=Zenith
1000,ZP=Zero Gravity Pinball
0000,ZOO.MASTER=Zoo Master
0001,ZOO.MASTER=Zoo Master
[eof]

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11439082
!be24 11439594
!le16 4545

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -4,5 +4,5 @@
; This file is automatically generated
;
!byte 0
!be24 11322374
!be24 11322886
!le16 8283

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,37 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/VICTORY.ROAD",plain
*=$106
!source "src/prelaunch/common.a"
jmp ++
callback
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$a5
sta $D433 ; patch - don't decrease lives
+
jsr DisableAccelerator
jmp $D000
++
+ENABLE_ACCEL
lda #$60
sta $11A7
jsr $1000 ; decompress
dex
jsr $D300 ; decompress more
lda #<callback
sta $A17A
lda #>callback
sta $A17B
jmp $A000 ; decompress
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -9,24 +9,48 @@
lda #$4C
sta $948E
lda #<callback
lda #<callback1
sta $948F
lda #>callback
lda #>callback1
sta $9490
jmp $5200 ; load "DOS"
callback
callback1
+ENABLE_ACCEL
lda #0
sta $56
jsr $BDAC ; decompress
lda $1B82
cmp #$4C
bne +
lda #<callback2
sta $1B83
lda #>callback2
sta $1B84
lda #<callback3
sta $1BCA
lda #>callback3
sta $1BCB
+
+DISABLE_ACCEL
lda #0
rts
callback2
lda #$A5
sta $B7D ; patch - don't increase lives
sta $B8B ; patch - don't decrease lives
lda #$EA
sta $C39 ; patch - don't decrease fuel
bne +
callback3
dec $100C ; patch - don't increase lives
dec $101A ; patch - don't decrease lives
+ jmp $800
!if * > $1C0 {
!error "code is too large, ends at ", *
}

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/VORTEX",plain
@ -15,7 +15,14 @@
jmp $4000 ; decompress2
hook +NEW_RESET_VECTOR $BFF0
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
dec $EA8 ; patch - don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $D566
!if * > $1C0 {

View File

@ -1,5 +1,5 @@
;license:MIT
;(c) 2019, 2021 by qkumba
;(c) 2019, 2021-2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/WARP.DESTROYER",plain
@ -20,7 +20,21 @@
lda #$13
sta $76D2 ; disable unknown hardware support
; otherwise hangs on IIGS
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $644D ; patch - don't increase damage
sta $6455 ; patch - don't increase damage
sta $646D ; patch - don't increase damage
sta $647B ; patch - don't increase damage
sta $6488 ; patch - don't increase damage
sta $649A ; patch - don't increase damage
sta $64AC ; patch - don't increase damage
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
lda #0
jmp $896
!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/WHOMPER.STOMPER",plain
@ -11,7 +11,16 @@
lda #$60
sta $202C
jsr $2000 ; decompress
+DISABLE_ACCEL
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$bd
sta $9A7C ; patch - don't decrease lives
sta $BBCC ; patch - don't increase lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $B407
!if * > $1C0 {

28
src/prelaunch/zenith.a Normal file
View File

@ -0,0 +1,28 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/ZENITH",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $403E
jsr $4000 ; decompress
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$60
sta $A235 ; patch - don't decrease fuel
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp ($20)
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -16,11 +16,26 @@
sta $89F
jsr $800 ; decompress more
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<callback
sta $48A0
lda #>callback
sta $48A1
+
jsr DisableAccelerator
lda MockingboardStuff
+READ_ROM_NO_WRITE
bmi +
jmp $8C0
callback
jsr $4800
lda #$AD
sta $135E ; patch - don't decrease lives
rts
+
and #7
ora #$C0