PRINT can now print strings

This commit is contained in:
FeralChild64 committed 2020-06-06 21:18:20 +02:00
1 parent 48eec7d56e
commit 153b34a58a
4 files changed
+49 -17

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ cmd_load_no_error:
// For VERIFY - this is it
lda VERCKB
bne cmd_load_end
bne_16 basic_execute_statement
// C64 BASIC apparently does not clear variables after a LOAD in the
// middle of a program. For safety, we do.
+3 -2
View File
@@ -11,6 +11,7 @@ cmd_print:
jsr end_of_statement_check
bcs cmd_print_new_line
jsr fetch_character
cmp #$3B // semicolon
beq cmd_print_done
@@ -45,7 +46,7 @@ cmd_print_string:
cmd_print_float:
// XXX probably we should also check INTFLG here
// XXX
// XXX provide implementation
// FALLTROUGH
@@ -74,4 +75,4 @@ cmd_print_new_line:
cmd_print_done:
jmp basic_main_loop
jmp basic_execute_statement
+1 -1
View File
@@ -36,4 +36,4 @@ cmd_save:
// The end
jmp basic_main_loop
jmp basic_execute_statement