Prev: 07737 Up: Map Next: 07759
07746: 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 07746 CALL FIND_INT2 Compress the operand into the BC register pair.
This entry point is used by the routine at RUN.
REST_RUN 07749 LD H,B Transfer the result to the HL register pair.
07750 LD L,C
07751 CALL LINE_ADDR Now find the address of that line or the 'first line after'.
07754 DEC HL Make DATADD point to the location before.
07755 LD (23639),HL
07758 RET Return once it is done.
Prev: 07737 Up: Map Next: 07759