Set Descriptor [0.9]

Copies the contents of an 8-byte buffer into the LDT descriptor for the specified selector.

Call With

AX = 000CH
BX = selector
ES:(E)DI = selector:offset of 8-byte buffer containing descriptor

Returns

if function successful
Carry flag = clear

if function unsuccessful
Carry flag = set
AX = error code
8021Hinvalid value (access rights/type byte invalid)
8022Hinvalid selector
8025Hinvalid linear address (descriptor references a linear address range outside that allowed for DPMI clients)

Notes