2020-06-08 12:28:43 +00:00
|
|
|
;license:MIT
|
2022-10-04 20:37:33 +00:00
|
|
|
;(c) 2020, 2022 by Frank M., qkumba
|
2020-06-08 12:28:43 +00:00
|
|
|
|
|
|
|
!cpu 6502
|
2021-10-16 01:34:39 +00:00
|
|
|
!to "build/PRELAUNCH.INDEXED/FLAPPLE.BIRD",plain
|
2020-06-08 12:28:43 +00:00
|
|
|
*=$106
|
|
|
|
|
|
|
|
!source "src/prelaunch/common.a"
|
|
|
|
|
2022-10-04 20:37:33 +00:00
|
|
|
+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
|
2020-06-08 12:28:43 +00:00
|
|
|
|
|
|
|
!if * > $1C0 {
|
|
|
|
!error "code is too large, ends at ", *
|
|
|
|
}
|