Prev: 107F Up: Map Next: 10A8
1097: THE 'CLEAR-SP' SUBROUTINE
Used by the routines at ED_EDIT and MAIN_EXEC.
The editing area or the work space is cleared as directed.
CLEAR_SP 1097 PUSH HL Save the pointer to the space.
1098 CALL SET_HL DE will point to the first character and HL the last.
109B DEC HL
109C CALL RECLAIM_1 The correct amount is now reclaimed.
109F LD ($5C5B),HL The system variables K-CUR and MODE ('K mode') are initialised before fetching the pointer and returning.
10A2 LD (IY+$07),$00
10A6 POP HL
10A7 RET
Prev: 107F Up: Map Next: 10A8