4cade/src/prelaunch/impetus.a

30 lines
547 B
Plaintext

;license:MIT
;(c) 2023 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/IMPETUS",plain
*=$106
!source "src/macros.a"
+ENABLE_ACCEL
lda #$60
sta $813
jsr $800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$AD
sta $580A ; patch - don't decrease lives
sta $7882 ; patch - don't increase lives
+
+DISABLE_ACCEL
jmp $4000
!if * > $1C0 {
!error "code is too large, ends at ", *
}