add prelaunch

This commit is contained in:
4am 2024-04-04 13:48:28 -04:00
parent 283345bd55
commit 09fa5e6c07

19
src/prelaunch/mpl.a Normal file
View File

@ -0,0 +1,19 @@
;license:MIT
!cpu 6502
!to "build/PRELAUNCH.INDEXED/MPL",plain
*=$106
!source "src/prelaunch/common.a"
+ENABLE_ACCEL
lda #$4C
sta $9E01
jsr $8000
+DISABLE_ACCEL
+RESET_VECTOR $100
jmp $9E04
!if * > $1C0 {
!error "code is too large, ends at ", *
}