improved syntax checking in BASIC
This commit is contained in:
1 parent
2a597b59e2
commit
defd079b2e
14 files changed
+58
-21
No files matched your search
@@ -9,4 +9,4 @@ cmd_clr:
|
||||
|
||||
// CLR command does not stop execution (confirmed on a C64)
|
||||
|
||||
jmp execute_statements
|
||||
jmp end_of_statement
|
||||
@@ -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.
|
||||
|
||||
@@ -89,4 +89,6 @@ cmd_print_new_line_done:
|
||||
|
||||
cmd_print_done:
|
||||
|
||||
jmp execute_statements
|
||||
// Execute next statement
|
||||
|
||||
jmp end_of_statement
|
||||
@@ -9,4 +9,4 @@ cmd_restore:
|
||||
|
||||
// RESTORE command does not stop execution (confirmed on a C64)
|
||||
|
||||
jmp execute_statements
|
||||
jmp end_of_statement
|
||||
@@ -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
|
||||
@@ -62,7 +62,7 @@ cmd_sys_setup_call:
|
||||
// Call the routine.
|
||||
jsr USRPOK
|
||||
|
||||
jmp execute_statements
|
||||
jmp end_of_statement
|
||||
|
||||
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user