Prev: 04223 Up: Map Next: 04264
04247: 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 04247 PUSH HL Save the pointer to the space.
04248 CALL SET_HL DE will point to the first character and HL the last.
04251 DEC HL
04252 CALL RECLAIM_1 The correct amount is now reclaimed.
04255 LD (23643),HL The system variables K-CUR and MODE ('K mode') are initialised before fetching the pointer and returning.
04258 LD (IY+7),0
04262 POP HL
04263 RET
Prev: 04223 Up: Map Next: 04264