Prev: 002B Up: Map Next: 0038
0030: THE 'MAKE BC SPACES' RESTART
Used by the routines at SAVE_ETC, ME_CONTRL, INPUT, S_SCRN_S, S_QUOTE, S_INKEY, LET, strs_add, chrs, val, str and read_in.
This routine creates free locations in the work space.
Input
BC Number of free locations to create
Output
DE Address of the first byte of new free space
HL Address of the last byte of new free space
BC_SPACES 0030 PUSH BC Save the 'number'.
0031 LD HL,($5C61) Fetch the present address of the start of the work space (WORKSP) and save that also before proceeding.
0034 PUSH HL
0035 JP RESERVE
Prev: 002B Up: Map Next: 0038