4cade/src/prelaunch/gold.rush.a

27 lines
559 B
Plaintext
Raw Normal View History

2019-09-30 17:33:13 +00:00
;license:MIT
;(c) 2019 by 4am
!cpu 6502
!to "build/PRELAUNCH.INDEXED/GOLD.RUSH",plain
2019-09-30 17:33:13 +00:00
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
2019-09-30 17:33:13 +00:00
lda #$60
sta $36F3
jsr $0800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
2019-10-06 14:39:59 +00:00
; lives in $0A33 (capped at 9)
2019-09-30 17:33:13 +00:00
lda #$AD
sta $13EE ; patch - don't decrease lives
+
+DISABLE_ACCEL
2019-09-30 17:33:13 +00:00
jmp $0B00
2019-12-13 05:51:54 +00:00
!if * > $1C0 {
!error "code is too large, ends at ", *
}