Int 31/AX=0100h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

DPMI 0.9+ - ALLOCATE DOS MEMORY BLOCK

AX = 0100h
BX = number of paragraphs to allocate

Return:
CF clear if successful AX = real mode segment of allocated block DX = first selector for allocated block CF set on error AX = DOS error code (07h,08h) (see #01680 at INT 21/AH=59h/BX=0000h) (DPMI 1.0+) DPMI error code (8011h) (see #03143) BX = size (in paragraphs) of largest available block

Notes: Multiple contiguous selectors are allocated for blocks of more than 64K if the caller is a 16-bit program. Never modify or deallocate returned descriptors. Not supported by MS Windows 3.0 in Standard mode

See Also: AX=0101h - AX=0501h

Category: DOS Extenders - Int 31h - D

rbline.gif

lup.gif ldown.gif Interrups Categories Contents