Prev: 15FF Up: Map Next: 1619
1600: return_to_STOP: Prepare to execute STOP with no variables.
Used by the routine at parse_download.
This routine replaces code from the OEL Issue 2.3 ROM.
return_to_STOP 1600 LD HL,$5CCB Set VARS to $5CCB.
1603 LD ($5C4B),HL
1606 LD (HL),$80 Store $80 (BASIC terminator) at $5CCB.
1608 INC HL Set E-LINE to $5CCC.
1609 LD ($5C59),HL
160C LD (HL),$E2 Store $E2 (BASIC STOP token) at $5CCC.
160E INC HL Store $0D (BASIC newline) at next address.
160F LD (HL),$0D
1611 INC HL Store $80 (BASIC terminator) at next address.
1612 LD (HL),$80
1614 INC HL Store next address in WORKSP and return.
1615 LD ($5C61),HL
1618 RET
Prev: 15FF Up: Map Next: 1619