mirror of
https://github.com/a2-4am/4cade.git
synced 2024-06-18 14:29:36 +00:00
28 lines
571 B
Plaintext
28 lines
571 B
Plaintext
;license:MIT
|
|
;(c) 2020, 2022 by Frank M., qkumba
|
|
|
|
!cpu 6502
|
|
!to "build/PRELAUNCH.INDEXED/FLAPPLE.BIRD",plain
|
|
*=$106
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
+READ_RAM2_NO_WRITE
|
|
jsr EnableAccelerator
|
|
lda #$60
|
|
sta $813
|
|
jsr $800
|
|
+READ_RAM1_NO_WRITE
|
|
lda WaitForVBL
|
|
eor #$60
|
|
bne @good_vbl ; if VBL disabled in TR
|
|
sta $2971 ; then disable VBL in game
|
|
|
|
@good_vbl
|
|
+DISABLE_ACCEL
|
|
jmp $2000
|
|
|
|
!if * > $1C0 {
|
|
!error "code is too large, ends at ", *
|
|
}
|