4cade/src/prelaunch/jawbreaker.a

30 lines
628 B
Plaintext

;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/JAWBREAKER",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $4023
jsr $4000 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$AD
sta $6C48 ; patch - don't decrease lives
sta $6D19 ; patch - don't increase lives
lda #$00
sta $6C71 ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $6000
!if * > $1C0 {
!error "code is too large, ends at ", *
}