Int 31/AX=0501h

Prev Next Ralf Interrups Categories Contents

------

DPMI 0.9+ - ALLOCATE MEMORY BLOCK

AX = 0501h
BX:CX = size in bytes

Return:
CF clear if successful BX:CX = linear address of block SI:DI = memory block handle for resizing and freeing block CF set on error AX = error code (DPMI 1.0+) (8012h-8014h,8016h,8021h)(see #03143)

Notes: No selectors are allocated. The memory block is allocated unlocked (can be locked with AX=0600h). Allocations are often page granular (see AX=0604h). Under MS Windows 3.10 Enhanced mode with paging enabled, it is possible for this function to fail even if AX=0500h indicates that enough memory is available

See Also: AX=0000h - AX=0100h - AX=0500h - AX=0502h -

See Also: INT 2F/AX=FB42h/BX=0002h

Category: DOS Extenders - Int 31h - D

------

Prev Next Ralf Interrups Categories Contents