;; Jump back into the BASIC execute line loop ;; after first checking that we have a colon ;; or $00 char basic_end_of_statement_check: ldx #basic_current_line_ptr ;; .byte $f0,basic_current_line_ptr ;; .byte ", STATEMENT PTR = $" ;; .byte $f1,basic_current_statement_ptr ;; .byte $f0,basic_current_statement_ptr ;; .byte $d,0 ;; Go through the line until its end is reached. ;; If we reach the end are in direct mode, then ;; go back to reading input, else look for the ;; next line, and advance to that, or else ;; return to READY prompt because we have run out ;; of program. ;; Get next char of program text, even if it is hiding under a ROM or the ;; IO area. ldx #