Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
Int 21H Function 4AH
◄Summary► ◄Notes► ◄Example► ◄Back►
──────────────────────────────────────────────────────────────────────────────
▀ This function modifies the size of a memory block that was previously
allocated with a call to Int 21H Function 48H.
▀ If the program is requesting an increase in the size of an allocated
block, and this function fails, the maximum possible size for the speci-
fied block is returned in register BX. The program can use this value to
determine whether it should terminate, or continue in a degraded fashion
with less memory.
▀ A program that uses EXEC (Int 21H Function 4BH) to load and execute a
child program must call this function first, passing the address of its
own PSP in register ES and the amount of memory needed for its own code,
data, and stacks in register BX.
-♦-