4cade/src/prelaunch/buck.rogers.a
2022-05-06 14:58:09 -07:00

24 lines
471 B
Plaintext

;license:MIT
;(c) 2019-2020 by qkumba
!cpu 6502
!to "build/PRELAUNCH.INDEXED/BR",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$60
sta $4083
jsr $4000 ; decompress
lda $7fe ; Buck Rogers code
pha
+DISABLE_ACCEL
pla
sta $7fe ; overwritten by GS acceleration
jmp $400
!if * > $1C0 {
!error "code is too large, ends at ", *
}