routine moved to Mega65 extra ROM memory
This commit is contained in:
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_clr = $4000 + 2 * 7
|
||||||
.label VB1__do_restore = $4000 + 2 * 8
|
.label VB1__do_restore = $4000 + 2 * 8
|
||||||
.label VB1__cmd_mem_cont = $4000 + 2 * 9
|
.label VB1__cmd_mem_cont = $4000 + 2 * 9
|
||||||
|
.label VB1__prepare_direct_execution = $4000 + 2 * 10
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
@@ -36,5 +37,6 @@
|
|||||||
.word do_clr
|
.word do_clr
|
||||||
.word do_restore
|
.word do_restore
|
||||||
.word cmd_mem_cont
|
.word cmd_mem_cont
|
||||||
|
.word prepare_direct_execution
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
// #LAYOUT# STD * #TAKE
|
// #LAYOUT# STD * #TAKE
|
||||||
|
// #LAYOUT# M65 BASIC_1 #TAKE
|
||||||
// #LAYOUT# * BASIC_0 #TAKE
|
// #LAYOUT# * BASIC_0 #TAKE
|
||||||
// #LAYOUT# * * #IGNORE
|
// #LAYOUT# * * #IGNORE
|
||||||
|
|
||||||
@@ -8,6 +9,14 @@
|
|||||||
|
|
||||||
prepare_direct_execution:
|
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
|
// Setup pointer to the statement
|
||||||
lda #<BUF
|
lda #<BUF
|
||||||
sta TXTPTR+0
|
sta TXTPTR+0
|
||||||
@@ -25,3 +34,5 @@ prepare_direct_execution:
|
|||||||
sta CURLIN+1
|
sta CURLIN+1
|
||||||
|
|
||||||
rts
|
rts
|
||||||
|
|
||||||
|
#endif // ROM layout
|
||||||
Reference in new issue
Block a user