4cade/src/prelaunch/genetic.drift.a

25 lines
579 B
Plaintext
Raw Normal View History

2019-09-30 17:24:49 +00:00
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH/GENETIC.DRIFT",plain
*=$106
!source "src/prelaunch/common.a"
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
sta patch+1
2019-09-30 17:24:49 +00:00
lda #<patch
sta $0859
lda #>patch
sta $085A
jmp $0800 ; decompress and show title and decompress again
patch
lda #0 ; SMC (will be non-zero if cheat mode is enabled)
beq +
2019-09-30 17:24:49 +00:00
lda #$A5
sta $5846 ; patch - don't decrease lives
+
2019-09-30 17:24:49 +00:00
jmp $57D7