Prev: 111D Up: Map Next: 11A7
1190: THE 'SET-HL' AND 'SET-DE' SUBROUTINES
Used by the routine at CLEAR_SP.
These subroutines return with DE pointing to the first location and HL to the last location of either the editing area or the work space.
Output
DE Address of the first byte of the editing area or work space
HL Address of the last byte of the editing area or work space
SET_HL 1190 LD HL,($5C61) Point to the last location of the editing area (WORKSP-1).
1193 DEC HL
1194 AND A Clear the carry flag.
This entry point is used by the routines at ED_EDGE and ED_COPY with the carry flag set.
SET_DE 1195 LD DE,($5C59) Point to the start of the editing area (E-LINE) and return if in 'editing mode' (bit 5 of FLAGX reset).
1199 BIT 5,(IY+$37)
119D RET Z
119E LD DE,($5C61) Otherwise point DE at the start of the work space (WORKSP).
11A2 RET C Return if now intended.
11A3 LD HL,($5C63) Fetch STKBOT and then return.
11A6 RET
Prev: 111D Up: Map Next: 11A7