Previous: Function 0001 - Free Descriptor To the Table of Content Next: Function 0003 - Get Selector Increment Value

- 7.2.3 -
PMODE/W MSDOS Extender
PMODE/W Supported DPMI INT 31h functions

Function 0002h - Segment to Descriptor

PMODE/W API

This function Converts a real mode segment into a protected mode descriptor.
In:
   AX =    0002h
   BX =    real mode segment
Out:
   if successful:
     carry flag clear
     AX =  selector
   if failed:
     carry flag set
Notes:
Multiple calls for the same real mode segment return the same selector. The returned descriptor should never be modified or freed.


Previous: Function 0001 - Free Descriptor To the Table of Content Next: Function 0003 - Get Selector Increment Value
Function 0001 - Free Descriptor Table of Content Function 0003 - Get Selector Increment Value

- 7.2.3 -