mirror of
https://github.com/a2-4am/4cade.git
synced 2024-09-28 18:55:36 +00:00
add some cheats
This commit is contained in:
parent
f271c1fd64
commit
c8f35fa33c
@ -112,10 +112,10 @@
|
|||||||
0001,CONGO.BONGO=Congo Bongo
|
0001,CONGO.BONGO=Congo Bongo
|
||||||
0000,CQ=Conquering Worlds
|
0000,CQ=Conquering Worlds
|
||||||
0000,CR=Copts and Robbers
|
0000,CR=Copts and Robbers
|
||||||
1000,COSMIC.COMBAT=Cosmic Combat
|
1001,COSMIC.COMBAT=Cosmic Combat
|
||||||
0002,COUNTY.FAIR=County Fair
|
0002,COUNTY.FAIR=County Fair
|
||||||
0001,CRAZY.MAZEY=Crazy Mazey
|
0001,CRAZY.MAZEY=Crazy Mazey
|
||||||
0000,CRICKATEER=Crickateer
|
0001,CRICKATEER=Crickateer
|
||||||
0001,CRIME.WAVE=Crime Wave
|
0001,CRIME.WAVE=Crime Wave
|
||||||
1001,CRISIS.MOUNTAIN=Crisis Mountain
|
1001,CRISIS.MOUNTAIN=Crisis Mountain
|
||||||
0001,CROSS.CITY=Cross City
|
0001,CROSS.CITY=Cross City
|
||||||
@ -133,8 +133,8 @@
|
|||||||
0110,DEATH.SWORD=Death Sword
|
0110,DEATH.SWORD=Death Sword
|
||||||
1000,DEEP.SPACE=Deep Space
|
1000,DEEP.SPACE=Deep Space
|
||||||
1001,DEFENDER=Defender
|
1001,DEFENDER=Defender
|
||||||
1000,DJ=Defender (Joe Holt)
|
1001,DJ=Defender (Joe Holt)
|
||||||
0000,DEMONIC.DECKS=Demonic Decks
|
0001,DEMONIC.DECKS=Demonic Decks
|
||||||
1000,DEPTH.CHARGE=Depth Charge
|
1000,DEPTH.CHARGE=Depth Charge
|
||||||
0001,DIAMOND.MINE=Diamond Mine
|
0001,DIAMOND.MINE=Diamond Mine
|
||||||
0001,DIG.DUG=Dig Dug
|
0001,DIG.DUG=Dig Dug
|
||||||
@ -144,11 +144,11 @@
|
|||||||
0000,DOGFIGHT.II=Dogfight II
|
0000,DOGFIGHT.II=Dogfight II
|
||||||
0001,DONKEY.KONG=Donkey Kong
|
0001,DONKEY.KONG=Donkey Kong
|
||||||
0000,DOUBLE.TROUBLE=Double Trouble
|
0000,DOUBLE.TROUBLE=Double Trouble
|
||||||
0000,DRAGONFIRE=Dragonfire
|
0001,DRAGONFIRE=Dragonfire
|
||||||
1001,DRELBS=Drelbs
|
1001,DRELBS=Drelbs
|
||||||
0001,DROL=Drol
|
0001,DROL=Drol
|
||||||
0000,DUNG.BEETLES=Dung Beetles
|
0000,DUNG.BEETLES=Dung Beetles
|
||||||
0000,EARLY.BIRD=Early Bird
|
0001,EARLY.BIRD=Early Bird
|
||||||
0001,EI=Eggs-It
|
0001,EI=Eggs-It
|
||||||
0000,EPOCH=Epoch
|
0000,EPOCH=Epoch
|
||||||
0000,ES=Escape!
|
0000,ES=Escape!
|
||||||
@ -162,7 +162,7 @@
|
|||||||
0110,FLAPPLE.BIRD=Flapple Bird
|
0110,FLAPPLE.BIRD=Flapple Bird
|
||||||
0000,FS2=Flight Simulator II
|
0000,FS2=Flight Simulator II
|
||||||
0000,FLIP.OUT=Flip Out
|
0000,FLIP.OUT=Flip Out
|
||||||
0000,FLOBYNOID=Flobynoid
|
0001,FLOBYNOID=Flobynoid
|
||||||
0000,FLOPPY=Floppy
|
0000,FLOPPY=Floppy
|
||||||
0000,FLY.WARS=Fly Wars
|
0000,FLY.WARS=Fly Wars
|
||||||
1101,FORCE.7=Force 7
|
1101,FORCE.7=Force 7
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11418374
|
!be24 11418886
|
||||||
!le16 4515
|
!le16 4515
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11369587
|
!be24 11370099
|
||||||
!le16 5294
|
!le16 5294
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11309949
|
!be24 11310461
|
||||||
!le16 3654
|
!le16 3654
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11322730
|
!be24 11323242
|
||||||
!le16 4064
|
!le16 4064
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11338770
|
!be24 11339282
|
||||||
!le16 5245
|
!le16 5245
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11357284
|
!be24 11357796
|
||||||
!le16 5870
|
!le16 5870
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11422889
|
!be24 11423401
|
||||||
!le16 410
|
!le16 410
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11423643
|
!be24 11424155
|
||||||
!le16 448
|
!le16 448
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11424091
|
!be24 11424603
|
||||||
!le16 303
|
!le16 303
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11377027
|
!be24 11377539
|
||||||
!le16 1242
|
!le16 1242
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11423375
|
!be24 11423887
|
||||||
!le16 67
|
!le16 67
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11418315
|
!be24 11418827
|
||||||
!le16 59
|
!le16 59
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11416830
|
!be24 11417342
|
||||||
!le16 1404
|
!le16 1404
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11402447
|
!be24 11402959
|
||||||
!le16 521
|
!le16 521
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11374881
|
!be24 11375393
|
||||||
!le16 2146
|
!le16 2146
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11378627
|
!be24 11379139
|
||||||
!le16 6433
|
!le16 6433
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11423299
|
!be24 11423811
|
||||||
!le16 76
|
!le16 76
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11418234
|
!be24 11418746
|
||||||
!le16 81
|
!le16 81
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11423442
|
!be24 11423954
|
||||||
!le16 201
|
!le16 201
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11402968
|
!be24 11403480
|
||||||
!le16 4511
|
!le16 4511
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11407479
|
!be24 11407991
|
||||||
!le16 1591
|
!le16 1591
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11409070
|
!be24 11409582
|
||||||
!le16 1053
|
!le16 1053
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11410123
|
!be24 11410635
|
||||||
!le16 3237
|
!le16 3237
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11413360
|
!be24 11413872
|
||||||
!le16 2877
|
!le16 2877
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11416237
|
!be24 11416749
|
||||||
!le16 479
|
!le16 479
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11416716
|
!be24 11417228
|
||||||
!le16 114
|
!le16 114
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11424394
|
!be24 11424906
|
||||||
!le16 2370
|
!le16 2370
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11390016
|
!be24 11390528
|
||||||
!le16 3642
|
!le16 3642
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11393658
|
!be24 11394170
|
||||||
!le16 2795
|
!le16 2795
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11363154
|
!be24 11363666
|
||||||
!le16 6433
|
!le16 6433
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 3697664
|
!be24 3698176
|
||||||
!le16 8192
|
!le16 8192
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 3714048
|
!be24 3714560
|
||||||
!le16 8192
|
!le16 8192
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 3705856
|
!be24 3706368
|
||||||
!le16 8192
|
!le16 8192
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11301666
|
!be24 11302178
|
||||||
!le16 8283
|
!le16 8283
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11313603
|
!be24 11314115
|
||||||
!le16 9127
|
!le16 9127
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11326794
|
!be24 11327306
|
||||||
!le16 11976
|
!le16 11976
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11344015
|
!be24 11344527
|
||||||
!le16 13269
|
!le16 13269
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11378269
|
!be24 11378781
|
||||||
!le16 358
|
!le16 358
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11385060
|
!be24 11385572
|
||||||
!le16 4956
|
!le16 4956
|
||||||
|
@ -4,5 +4,5 @@
|
|||||||
; This file is automatically generated
|
; This file is automatically generated
|
||||||
;
|
;
|
||||||
!byte 0
|
!byte 0
|
||||||
!be24 11396453
|
!be24 11396965
|
||||||
!le16 5994
|
!le16 5994
|
||||||
|
@ -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/COSMIC.COMBAT",plain
|
!to "build/PRELAUNCH.INDEXED/COSMIC.COMBAT",plain
|
||||||
@ -8,7 +8,22 @@
|
|||||||
!source "src/prelaunch/common.a"
|
!source "src/prelaunch/common.a"
|
||||||
|
|
||||||
+NEW_RESET_VECTOR $BFF0
|
+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 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
|
@ -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/CRICKATEER",plain
|
!to "build/PRELAUNCH.INDEXED/CRICKATEER",plain
|
||||||
@ -28,7 +28,16 @@
|
|||||||
lda #$9A
|
lda #$9A
|
||||||
sta $1D38
|
sta $1D38
|
||||||
sta $1D3F
|
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
|
jmp $813
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
|
@ -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/DJ",plain
|
!to "build/PRELAUNCH.INDEXED/DJ",plain
|
||||||
@ -13,6 +13,13 @@
|
|||||||
jsr $2000 ; decompress
|
jsr $2000 ; decompress
|
||||||
lda #$88
|
lda #$88
|
||||||
sta $E001
|
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
|
jsr DisableAccelerator
|
||||||
jmp $200
|
jmp $200
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
;license:MIT
|
;license:MIT
|
||||||
;(c) 2021 by qkumba/Frank M.
|
;(c) 2021-2022 by qkumba/Frank M.
|
||||||
|
|
||||||
!cpu 6502
|
!cpu 6502
|
||||||
!to "build/PRELAUNCH.INDEXED/DEMONIC.DECKS",plain
|
!to "build/PRELAUNCH.INDEXED/DEMONIC.DECKS",plain
|
||||||
@ -12,7 +12,16 @@
|
|||||||
sta $206A
|
sta $206A
|
||||||
jsr $2000 ; decompress
|
jsr $2000 ; decompress
|
||||||
+NEW_RESET_VECTOR $BFF0
|
+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
|
jmp $200
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
|
@ -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/DRAGONFIRE",plain
|
!to "build/PRELAUNCH.INDEXED/DRAGONFIRE",plain
|
||||||
@ -11,7 +11,14 @@
|
|||||||
lda #$60
|
lda #$60
|
||||||
sta $3621
|
sta $3621
|
||||||
jsr $3600 ; decompress
|
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
|
jmp $4000
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
|
@ -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/EARLY.BIRD",plain
|
!to "build/PRELAUNCH.INDEXED/EARLY.BIRD",plain
|
||||||
@ -20,7 +20,16 @@ hook lda #0
|
|||||||
lda #1
|
lda #1
|
||||||
sta $BBA ; reset vector fix
|
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
|
jmp $BB0
|
||||||
|
|
||||||
!if * > $1C0 {
|
!if * > $1C0 {
|
||||||
|
@ -17,6 +17,16 @@
|
|||||||
sta $B63A
|
sta $B63A
|
||||||
jsr $B600
|
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 DisableAccelerator
|
||||||
|
|
||||||
jsr $BBB3
|
jsr $BBB3
|
||||||
@ -24,6 +34,30 @@
|
|||||||
inc $3F4 ; reboot
|
inc $3F4 ; reboot
|
||||||
jmp $8003
|
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 {
|
!if * > $1C0 {
|
||||||
!error "code is too large, ends at ", *
|
!error "code is too large, ends at ", *
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user