added two more BASIC commands, for testing

This commit is contained in:
FeralChild64 committed 2020-07-09 21:53:36 +02:00
1 parent 58aee6c1ef
commit 2a597b59e2
7 files changed
+44 -8

No files matched your search

+2
View File
@@ -35,6 +35,8 @@
.label vector_reset = KERNAL().vector_reset
.label hw_entry_reset = KERNAL().hw_entry_reset
.label clear_screen = KERNAL().clear_screen
#if CONFIG_DBG_PRINTF
.label printf = KERNAL().printf
#endif
@@ -9,14 +9,17 @@
.const command_CC_list = List().add(
cmd_old,
cmd_merge,
cmd_bload,
cmd_bsave,
cmd_bverify,
cmd_old,
cmd_cold
cmd_cold,
cmd_clear,
cmd_dispose
)
+10
View File
@@ -0,0 +1,10 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
cmd_clear:
jsr clear_screen
jmp execute_statements
+10
View File
@@ -0,0 +1,10 @@
// #LAYOUT# STD * #TAKE
// #LAYOUT# * BASIC_0 #TAKE
// #LAYOUT# * * #IGNORE
cmd_dispose:
jsr varstr_garbage_collect
jmp execute_statements
+2 -1
View File
@@ -122,7 +122,8 @@ varstr_garbage_collect_check_bptr:
// Move string memory up by INDEX
// XXX
// XXX: set memmove__src (last byte of source), memmove__dst (last byte of destination), memmove__size (bytes to copy)
jsr shift_mem_up
// Update TXTPTR