routine moved to Mega65 extra ROM memory

This commit is contained in:
FeralChild64 committed 2020-07-12 17:20:11 +02:00
1 parent f3803fb0db
commit 19cb0efa32
2 files changed
+13

No files matched your search

@@ -21,6 +21,7 @@
.label VB1__do_clr = $4000 + 2 * 7
.label VB1__do_restore = $4000 + 2 * 8
.label VB1__cmd_mem_cont = $4000 + 2 * 9
.label VB1__prepare_direct_execution = $4000 + 2 * 10
#else
@@ -36,5 +37,6 @@
.word do_clr
.word do_restore
.word cmd_mem_cont
.word prepare_direct_execution
#endif
@@ -1,4 +1,5 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# M65 BASIC_1 #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
@@ -8,6 +9,14 @@
prepare_direct_execution:
#if (ROM_LAYOUT_M65 && SEGMENT_BASIC_0)
jsr map_BASIC_1
jsr_ind VB1__prepare_direct_execution
jmp map_NORMAL
#else
// Setup pointer to the statement
lda #<BUF
sta TXTPTR+0
@@ -25,3 +34,5 @@ prepare_direct_execution:
sta CURLIN+1
rts
#endif // ROM layout