add cheats T

This commit is contained in:
Peter Ferrie 2022-05-18 21:42:49 -07:00
parent b478414d4c
commit fb4a1ccdda
58 changed files with 399 additions and 84 deletions

View File

@ -381,7 +381,7 @@
1000,STARMINES=Starmines 1000,STARMINES=Starmines
0000,STATION.5=Station 5 0000,STATION.5=Station 5
0000,STELLAR.7=Stellar 7 0000,STELLAR.7=Stellar 7
0001,SUCCESSION=Succession 0004,SUCCESSION=Succession
0004,SU=Suicide! 0004,SU=Suicide!
0001,SUPER.BUNNY=Super Bunny 0001,SUPER.BUNNY=Super Bunny
0000,SUPER.HUEY=Super Huey 0000,SUPER.HUEY=Super Huey
@ -393,41 +393,41 @@
0006,TALON=Talon 0006,TALON=Talon
0001,TAPPER=Tapper 0001,TAPPER=Tapper
0116,TC=TechnoCop 0116,TC=TechnoCop
0000,TELEPORT=Teleport 0001,TELEPORT=Teleport
0000,TERITORY=Teritory 0001,TERITORY=Teritory
0010,TETRIS=Tetris 0010,TETRIS=Tetris
1001,TU=Tharolian Tunnels 1001,TU=Tharolian Tunnels
0001,AF=The Asteroid Field 0001,AF=The Asteroid Field
0000,THE.BILESTOAD=The Bilestoad 0000,THE.BILESTOAD=The Bilestoad
0000,CF=The Caverns of Freitag 0006,CF=The Caverns of Freitag
0110,TS=The Chase on Tom S's Island 0111,TS=The Chase on Tom S's Island
1000,THE.DAM.BUSTERS=The Dam Busters 1000,THE.DAM.BUSTERS=The Dam Busters
1000,THE.GOONIES=The Goonies 1001,THE.GOONIES=The Goonies
0007,THE.HEIST=The Heist 0007,THE.HEIST=The Heist
1000,LG=The Last Gladiator 1001,LG=The Last Gladiator
1111,THE.LAST.NINJA=The Last Ninja 1111,THE.LAST.NINJA=The Last Ninja
1100,MM=The Movie Monster Game 1106,MM=The Movie Monster Game
0000,THE.SNAPPER=The Snapper 0004,THE.SNAPPER=The Snapper
0000,THE.SPACE.ARK=The Space Ark 0000,THE.SPACE.ARK=The Space Ark
0001,S2=The Spy Strikes Back 0001,S2=The Spy Strikes Back
1000,VV=The Voyage of the Valkyrie 1000,VV=The Voyage of the Valkyrie
0016,THEXDER=Thexder 0016,THEXDER=Thexder
0000,THIEF=Thief 0001,THIEF=Thief
0001,THRESHOLD=Threshold 0001,THRESHOLD=Threshold
0001,THUNDER.BOMBS=Thunder Bombs 0001,THUNDER.BOMBS=Thunder Bombs
1000,TIME.PILOT=Time Pilot 1001,TIME.PILOT=Time Pilot
0001,TITAN.CRONUS=Titan Cronus 0001,TITAN.CRONUS=Titan Cronus
1000,TOMAHAWK=Tomahawk 1000,TOMAHAWK=Tomahawk
0000,TORAX=Torax 0001,TORAX=Torax
1000,TORPEDO.TERROR=Torpedo Terror 1000,TORPEDO.TERROR=Torpedo Terror
0000,TRACK.ATTACK=Track Attack 0004,TRACK.ATTACK=Track Attack
0000,TREASURE.DIVE=Treasure Dive 0001,TREASURE.DIVE=Treasure Dive
0000,TRIAD=Triad 0000,TRIAD=Triad
1000,TROLLS.TRIBS=Trolls and Tribulations 1003,TROLLS.TRIBS=Trolls and Tribulations
0001,TROMPERS=Trompers 0001,TROMPERS=Trompers
1000,TSUNAMI=Tsunami 1004,TSUNAMI=Tsunami
1007,TB=Tubeway ][ 1007,TB=Tubeway ][
0000,TUNNEL.TERROR=Tunnel Terror 0001,TUNNEL.TERROR=Tunnel Terror
0001,TWERPS=Twerps 0001,TWERPS=Twerps
1001,UD=Up'n Down 1001,UD=Up'n Down
0110,VICTORY.ROAD=Victory Road 0110,VICTORY.ROAD=Victory Road

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2021 by Frank M. ;(c) 2021-2022 by Frank M., qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/CF",plain !to "build/PRELAUNCH.INDEXED/CF",plain
@ -11,7 +11,17 @@
+NEW_RESET_VECTOR $280 +NEW_RESET_VECTOR $280
jmp $4000 lda #$60
sta $40AD
jsr $4000
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$30
sta $60C6
sta $60C7 ; patch - don't decrease hits
+
jmp $D566
!if * > $1C0 { !if * > $1C0 {
!error "code is too large, ends at ", * !error "code is too large, ends at ", *

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2020 by qkumba ;(c) 2020, 2022 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/LG",plain !to "build/PRELAUNCH.INDEXED/LG",plain
@ -14,24 +14,31 @@
lda #$4C lda #$4C
sta $BC00 sta $BC00
lda #$40 lda #<callback1
sta $BC01 sta $BC01
lda #$02 lda #>callback1
sta $BC02 sta $BC02
lda #<callback2 ldx #<callback2
sta $BC0B stx $BC0B
lda #>callback2
sta $BC0C sta $BC0C
ldx #(reset_e-callback1)-1 ldx #(reset_e-reset_b)-1
- lda callback1,x - lda reset_b,x
sta $240,x sta callback1,x
dex dex
bpl - bpl -
+DISABLE_ACCEL +DISABLE_ACCEL
jmp $11EF jmp $11EF
callback1 !pseudopc $240 { reset_b !pseudopc $240 {
callback1
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$ad
sta $6FA4 ; patch - don't increase lives
sta $7604 ; patch - don't decrease lives
+
lda #<reset lda #<reset
sta $3F2 sta $3F2
lda #>reset lda #>reset
@ -48,11 +55,11 @@ callback2
bne + bne +
lda $2D lda $2D
bne + bne +
lda #$15 lda #<reset xor $58
sta $5FF2 sta $5FF2
lda #2 lda #>reset
sta $5FF3 sta $5FF3
lda #$FE lda #(>reset xor $A5) xor $59
sta $5FF4 sta $5FF4
+ rts + rts
} }

View File

@ -0,0 +1,51 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/MM",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $9C7
jsr $800 ; find and load "DOS"
iny
sty $B719
jsr $B700
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<callback
sta $BD07
lda #>callback
sta $BD08
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $900
callback
pla
pla
jsr $BD44
jsr $BD09
lda $B790
cmp #$12
bne +
lda $B791
cmp #$0b
bne +
lda $BD13
cmp #$20
bne +
lda #$a5
sta $7CD6 ; patch - don't decrease endurance
+ clc
rts
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2021 by qkumba ;(c) 2021-2022 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/TELEPORT",plain !to "build/PRELAUNCH.INDEXED/TELEPORT",plain
@ -11,7 +11,16 @@
lda #$60 lda #$60
sta $548B sta $548B
jsr $52D1 ; decompress jsr $52D1 ; decompress
+DISABLE_ACCEL +READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $41D1 ; patch - don't decrease lives
sta $507C ; patch - don't increase lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $803 jmp $803
!if * > $1C0 { !if * > $1C0 {

47
src/prelaunch/teritory.a Normal file
View File

@ -0,0 +1,47 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/TERITORY",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #<callback1
sta $6065
lda #>callback1
sta $6066
jmp $6000 ; decompress
callback1
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$4C
sta $56B6
lda #<callback2
sta $56B7
lda #>callback2
sta $56B8
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
lda #0
jmp60
jmp $60
callback2
lda #$a5
sta $4F70 ; patch - don't decrease lives
lda $c4
bmi jmp60+1 ; patch - don't decrease time
dec $c4
bne jmp60+1
+ jmp $56BA
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019 by qkumba ;(c) 2019, 2022 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/THE.GOONIES",plain !to "build/PRELAUNCH.INDEXED/THE.GOONIES",plain
@ -7,8 +7,29 @@
!source "src/prelaunch/common.a" !source "src/prelaunch/common.a"
+ENABLE_ACCEL
+USES_TEXT_PAGE_2 +USES_TEXT_PAGE_2
jmp $1000 lda #$60
sta $1045
jsr $1000 ; decompress
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #<callback
sta $623
lda #>callback
sta $624
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
lda #0
jmp $55C
callback
lda #$ad
sta $9F1 ; patch - don't decrease lives
jmp $800
!if * > $1C0 { !if * > $1C0 {
!error "code is too large, ends at ", * !error "code is too large, ends at ", *

View File

@ -0,0 +1,30 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/THE.SNAPPER",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $2049
jsr $2000 ; decompress
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$a5
sta $8AA ; patch - don't decrease lives
sta $1672 ; patch - don't increase lives
dec $920 ; patch - don't decrease time
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp ($20)
!if * > $1C0 {
!error "code is too large, ends at ", *
}

29
src/prelaunch/thief.a Normal file
View File

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

View File

@ -0,0 +1,22 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/TIME.PILOT",plain
*=$106
!source "src/prelaunch/common.a"
lda #$60
sta $47CD
jsr $472D ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
dec $A5E ; patch - don't decrease lives
+
jmp $D566
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -0,0 +1,33 @@
;license:MIT
;(c) 2022 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/TS",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #<callback
sta $206F
lda #>callback
sta $2070
jmp $2000 ; decompress
callback
+READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $7301 ; patch - don't increase lives
sta $7322 ; patch - don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $4071
!if * > $1C0 {
!error "code is too large, ends at ", *
}

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2021 by qkumba ;(c) 2021-2022 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/TORAX",plain !to "build/PRELAUNCH.INDEXED/TORAX",plain
@ -11,7 +11,15 @@
lda #$60 lda #$60
sta $2086 sta $2086
jsr $2000 ; decompress jsr $2000 ; decompress
+DISABLE_ACCEL +READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $6183 ; patch - don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
ldy #$20 ldy #$20
jmp $2088 jmp $2088

View File

@ -26,7 +26,19 @@ callback
tax tax
pla pla
jsr $400 jsr $400
+DISABLE_ACCEL +READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda $9FC
cmp #$C6
bne +
lda #$A5
sta $9FC
sta $10E4
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $800 jmp $800
!if * > $1C0 { !if * > $1C0 {

View File

@ -33,7 +33,14 @@ callback_e
lda #1 lda #1
sta $BE60 sta $BE60
+DISABLE_ACCEL +READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
dec $8521 ; patch - don't decrease lives
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $D566 jmp $D566

View File

@ -13,6 +13,15 @@
lda #1 lda #1
sta $6056 sta $6056
+LC_REBOOT +LC_REBOOT
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$a5
sta $60CB ; patch - don't decrease lives
sta $6564 ; patch - don't decrease weapon
sta $656D ; patch - don't decrease weapon
sta $8257 ; patch - don't increase lives
+
jmp $6000 jmp $6000
!if * > $1C0 { !if * > $1C0 {

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2021 by qkumba ;(c) 2021-2022 by qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/TSUNAMI",plain !to "build/PRELAUNCH.INDEXED/TSUNAMI",plain
@ -11,7 +11,17 @@
lda #$4C lda #$4C
sta $7703 sta $7703
jsr $6BEC ; decompress jsr $6BEC ; decompress
+DISABLE_ACCEL +READ_RAM2_NO_WRITE
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$ad
sta $17A8 ; patch - don't decrease lives
sta $1916 ; patch - don't increase lives
sta $1761 ; patch - don't decrease fuel
+
jsr DisableAccelerator
+READ_ROM_NO_WRITE
jmp $A0ED jmp $A0ED
!if * > $1C0 { !if * > $1C0 {

View File

@ -1,5 +1,5 @@
;license:MIT ;license:MIT
;(c) 2019 by Frank M. ;(c) 2019, 2022 by Frank M., qkumba
!cpu 6502 !cpu 6502
!to "build/PRELAUNCH.INDEXED/TUNNEL.TERROR",plain !to "build/PRELAUNCH.INDEXED/TUNNEL.TERROR",plain
@ -12,7 +12,17 @@
lda #$A4 lda #$A4
sta $6E15 ; to $3F4 (doesn't change $3F2) sta $6E15 ; to $3F4 (doesn't change $3F2)
jmp $4000 lda #$60
sta $4026
jsr $4000
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$a5
sta $E3A ; patch - don't decrease lives
+
jmp $e00
!if * > $1C0 { !if * > $1C0 {
!error "code is too large, ends at ", * !error "code is too large, ends at ", *