next up previous contents index
Next: Internal technical details Up: MZ routines for Previous: MZINQD - inquiry

MZDRED - reduce the space reserved to a division

The situation can arise that one needs a lot of space in some long-range division during the initialization phase, which is then abandoned. Since divisions can only grow, but never shrink, this space could be blocked for the whole run.

To reduce this space of a particular division to the initial allocation for for this division (or to its present occupation, whichever is larger), one should first CALL \Rind{MZGARB (IXDIV)}, to collect dead banks, followed by

CALL MZDRED (IXDIV)

with  IXDIV     index of the division

This will shift all divisions below division IXDIV upwards by the amount of space liberated.


Janne Saarela
Mon May 15 08:34:47 METDST 1995