4cade/src/prelaunch/swashbuckler.a

33 lines
695 B
Plaintext
Raw Permalink Normal View History

;license:MIT
2022-05-18 18:36:22 +00:00
;(c) 2019-2020, 2022 by Frank M., qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/SWASHBUCKLER",plain
*=$106
!source "src/macros.a"
;+ENABLE_ACCEL ; can't
lda #$60
sta $332C ; stop1
jsr $330F ; decompress
lda #$60
sta $BC81 ; stop2
jsr $BC00 ; title
2020-06-06 15:23:38 +00:00
+NEW_RESET_VECTOR $BFF0
2022-05-18 18:36:22 +00:00
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$ad
sta $115A ; patch - don't increase lives
sta $136B ; patch - don't decrease lives
+
jmp $1B34
!if * > $1C0 {
!error "code is too large, ends at ", *
}