INT 31H 0000H: Allocate LDT Descriptors
Compatibility: DPMI 0.9+
Expects: AX 0000H
CX desired number of descriptors to allocate
──────────────────────────────────────────────────────────────────
Returns: CF NC (clear) if successful; else AX = DPMI Error Code
AX base selector (if successful)
──────────────────────────────────────────────────────────────────
Info: Allocates one or more descriptors in the LDT.
If CX > 1, then AX returns with the base selector of a series.
Use INT 31H 0000H to obtain the increment used to calculate the
other selectors.
This does not allocate memory. Use fns such as INT 31H 0501H and
INT 31H 0504H to obtain memory before setting a descriptor to
point to it.
Use fns such as INT 31H 0002H (segment to descriptor) and
INT 31H 0007H (set segment base address) to prepare the selector
for use.
See Also: DPMI API
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-