INT 31H 0008H: Set Segment Limit
Compatibility: DPMI 0.9+
Expects: AX 0008H
BX selector
CX:DX 32-bit size of the segment -1
──────────────────────────────────────────────────────────────────
Returns: CF NC (clear) if successful; else AX = DPMI Error Code
──────────────────────────────────────────────────────────────────
Info: This changes the limit field of the descriptor in the LDT.
CX:DX if the requested size is > 1MB, then it must be page-aligned (an
even multiple of 4096--the low 12-bits of DX must be 0).
Note: There is no corresponding fn to query the limit. Use the LSL
opcode to do so. If the limit might be larger than 64K, you must
use the 32-bit version of LSL.
See Also: DPMI API
INT 2fH: Multiplex Interrupt
DOS Functions
-♦-