- 7.2.30. -
Table of Contents
7. PMODE/W MSDOS Extender
7.2. PMODE/W Supported DPMI INT 31h functions
7.2.30. Function 0501 - Allocate Memory Block
7.2.30. Function 0501 - Allocate Memory
Block
PMODE/W API
This function Allocates a block of extended memory.
In:
AX = 0501h
BX:CX = size of block in bytes (must be non-zero)
Out:
if successful:
carry flag clear
BX:CX = linear address of allocated memory block
SI:DI = memory block handle (used to resize and
free block)
if failed:
carry flag set
Notes:
The allocated block is guaranteed to have at least DWORD alignment.
This function does not allocate any descriptors for the memory block. It is
the responsibility of the client to allocate and initialize any descriptors
needed to access the memory with additional function calls.
- 7.2.30. -