separated commands from functions

This commit is contained in:
FeralChild64 committed 2020-06-08 18:26:38 +02:00
1 parent 5a2f847cb6
commit 0c8c0d6ad4
34 files changed
+215 -209

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ FRMEVL_loop:
FRMEVL_execute_function:
// XXX implement this
// XXX implement this - use function_jumptable*
jmp do_NOT_IMPLEMENTED_error
+3 -3
View File
@@ -32,7 +32,7 @@ execute_statements:
cmp #$7F
bcc_16 do_SYNTAX_error // branch if not a token XXX here we should handle variable assignments
cmp #$A9
cmp #$A6
bcs execute_statements_extended
execute_statements_run_token:
@@ -73,9 +73,9 @@ execute_statements_extended:
cmp #$CB
bne !+
// 'GO' command has a strande token, after functions
// 'GO' command has a strange token, after function tokens
lda #$A9
lda #$A7
bne execute_statements_run_token
!:
// XXX here is the place for possible extended BASIC command set