4cade/src/prelaunch/oid.zone.a
2020-05-29 18:27:29 -07:00

27 lines
492 B
Plaintext

;license:MIT
;(c) 2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH/OID.ZONE",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $51CA
jsr $800 ; decompress
+GET_MACHINE_STATUS
and #CHEATS_ENABLED
beq +
lda #$ad
sta $7FD5 ; patch - don't decrease lives
+
+DISABLE_ACCEL
jmp $3FFD
!if * > $1C0 {
!error "code is too large, ends at ", *
}