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"
|
|
|
|
|
2019-10-05 01:34:49 +00:00
|
|
|
+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
|
2019-10-05 01:34:49 +00:00
|
|
|
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-10-05 01:34:49 +00:00
|
|
|
+
|
2019-09-30 17:24:49 +00:00
|
|
|
jmp $57D7
|