improved syntax checking in BASIC

This commit is contained in:
FeralChild64 committed 2020-07-09 22:23:04 +02:00
1 parent 2a597b59e2
commit defd079b2e
14 files changed
+58 -21

No files matched your search

+1 -1
View File
@@ -9,4 +9,4 @@ cmd_clr:
// CLR command does not stop execution (confirmed on a C64)
jmp execute_statements
jmp end_of_statement
+1 -1
View File
@@ -52,7 +52,7 @@ cmd_load_no_error:
// For VERIFY - this is it
lda VERCKB
bne_16 execute_statements
bne_16 end_of_statement
// C64 BASIC apparently does not clear variables after a LOAD in the
// middle of a program. For safety, we do.
+3 -1
View File
@@ -89,4 +89,6 @@ cmd_print_new_line_done:
cmd_print_done:
jmp execute_statements
// Execute next statement
jmp end_of_statement
+1 -1
View File
@@ -9,4 +9,4 @@ cmd_restore:
// RESTORE command does not stop execution (confirmed on a C64)
jmp execute_statements
jmp end_of_statement
+2 -2
View File
@@ -38,6 +38,6 @@ cmd_save_do: // entry point for BSAVE
jsr JSAVE
bcs_16 do_kernal_error
// The end
// Execute next statement
jmp execute_statements
jmp end_of_statement
+1 -1
View File
@@ -62,7 +62,7 @@ cmd_sys_setup_call:
// Call the routine.
jsr USRPOK
jmp execute_statements
jmp end_of_statement
//