4cade/src/prelaunch/arkanoid.a
2020-07-14 13:15:32 -04:00

38 lines
702 B
Plaintext
Executable File

;license:MIT
;(c) 2019 by qkumba/Frank M.
!cpu 6502
!to "build/PRELAUNCH/ARKANOID",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $97e
jsr $800
lda MachineStatus
and #CHEATS_ENABLED
beq +
lda #$b5
sta $145c
sta $1d65
+
lda $c083
jsr DisableAccelerator
sta $C05F ; fix //c and //c+ HGR color
lda $c08b
jsr $ee1f
+LC_REBOOT
lda #$2C
sta $600
sta $603 ; BIT changing reset
jmp $981
!if * > $1C0 {
!error "code is too large, ends at ", *
}