Prev: 1E39 Up: Map Next: 1E4F
1E42: THE 'RESTORE' COMMAND ROUTINE
The address of this routine is found in the parameter table.
The operand for a RESTORE command is taken as a line number, zero being used if no operand is given.
RESTORE 1E42 CALL FIND_INT2 Compress the operand into the BC register pair.
This entry point is used by the routine at RUN.
REST_RUN 1E45 LD H,B Transfer the result to the HL register pair.
1E46 LD L,C
1E47 CALL LINE_ADDR Now find the address of that line or the 'first line after'.
1E4A DEC HL Make DATADD point to the location before.
1E4B LD ($5C57),HL
1E4E RET Return once it is done.
Prev: 1E39 Up: Map Next: 1E4F