INT 31H 000fH: Set Multiple Descriptors
Compatibility: DPMI 1.0+
Expects: AX 000fH
CX number of descriptors to set
ES:DI (or ES:EDI) sel:off of buffer containing a series of 2-byte
selectors and 8-byte LDT entries
──────────────────────────────────────────────────────────────────
Returns: CF NC (clear) if successful;
else AX = DPMI Error Code
CX = number of entries copied
──────────────────────────────────────────────────────────────────
Info: This fills one or more LDT entries with data you supply.
The buffer must be formatted as:
Offset Size Contents
▀▀▀▀▀▀ ▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
+0 2 wSel1 valid selector to define
+2 8 rDesc1 descriptor for that selector
+0aH 2 wSel2 valid selector to define
+0cH 8 rDesc2 descriptor for that selector
.
:
Note: If the call fails due to an invalid selector, the host will
return CX as the number of valid selectors that it found before
encountering the bad apple.
See Also: DPMI API
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-