Prev: 1B76 Up: Map Next: 1B9E
1B8A: THE 'LINE-RUN' ENTRY POINT
Used by the routine at MAIN_EXEC.
The routine at STMT_RET continues here.
This entry point is used wherever a line in the editing area is to be 'run'. In such a case the syntax/run flag (bit 7 of FLAGS) will be set.
The entry point is also used in the syntax checking of a line in the editing area that has more than one statement (bit 7 of FLAGS will be reset).
Input
Output
LINE_RUN 1B8A LD HL,$FFFE A line in the editing area is considered as line '-2'; set PPC accordingly
1B8D LD ($5C45),HL
1B90 LD HL,($5C61) Make HL point to the end marker of the editing area (WORKSP-1) and DE to the location before the start of that area (E-LINE-1).
1B93 DEC HL
1B94 LD DE,($5C59)
1B98 DEC DE
1B99 LD A,($5C44) Fetch the number of the next statement to be handled (NSPPC) before jumping forward.
1B9C JR NEXT_LINE
Prev: 1B76 Up: Map Next: 1B9E