some cleanup, BASIC line finding now properly uses stack

This commit is contained in:
FeralChild64 committed 2020-06-28 04:06:04 +02:00
1 parent bd9211e1ea
commit 5db25db3b5
20 files changed
+116 -86

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ list_loop:
// LIST terminates any running program,
// because it has fiddled with the current line pointer.
// (Confirmed by testing on a C64)
jmp basic_main_loop
jmp shell_main_loop
list_more_lines:
lda STKEY
+1 -1
View File
@@ -80,4 +80,4 @@ cmd_load_no_error:
cmd_load_end:
jmp basic_main_loop
jmp shell_main_loop
+1 -1
View File
@@ -9,4 +9,4 @@ cmd_new:
// NEW command terminates execution (confirmed on a C64)
jmp basic_main_loop
jmp shell_main_loop
+1 -1
View File
@@ -18,7 +18,7 @@ cmd_goto:
bcs !+
jsr basic_parse_line_number
jsr basic_find_line
jsr find_line
bcc !+
// Line does not exist, so report error
jmp do_UNDEFD_STATEMENT_error
+1 -1
View File
@@ -27,4 +27,4 @@ cmd_stop:
cmd_end:
jmp basic_main_loop
jmp shell_main_loop