delorie.com/djgpp/doc/dpmi/api/310007.html   search  
Int 31H Function 0007H

Set Segment Base Address [0.9]

Sets the 32-bit linear base address field in the LDT descriptor for the specified segment.

Call With

AX = 0007H
BX = selector
CX:DX = 32-bit linear base address of segment

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8022Hinvalid selector
8025Hinvalid linear address (changing the base would cause the descriptor to reference a linear address range outside that allowed for DPMI clients)

Notes


  prev next   webmaster     delorie software   privacy  
  Copyright © 1996     Updated Apr 1996