4cade/src/prelaunch/micro.invaders.a

29 lines
594 B
Plaintext
Raw Permalink Normal View History

2020-05-07 20:37:30 +00:00
;license:MIT
2020-05-07 23:06:00 +00:00
;(c) 2020 by qkumba/Frank M.
2020-05-07 20:37:30 +00:00
!cpu 6502
!to "build/PRELAUNCH.INDEXED/MICRO.INVADERS",plain
2020-05-07 20:37:30 +00:00
*=$106
!source "src/macros.a"
2020-05-07 20:37:30 +00:00
+ENABLE_ACCEL
lda #$60
sta $4013
jsr $4000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$a5
sta $144B ; patch - don't decrease lives
sta $E96 ; patch - don't increase lives
+
2022-05-14 19:23:14 +00:00
+RESET_VECTOR_HALF $100
2020-05-07 20:37:30 +00:00
+DISABLE_ACCEL
jmp $305
!if * > $1C0 {
!error "code is too large, ends at ", *
}