www.delorie.com/djgpp/doc/dpmi/api/310002.html   search  
Int 31H Function 0002H

Segment to Descriptor [0.9]

Maps a real mode segment (paragraph) address onto an LDT descriptor that can be used by a protected mode program to access the same memory.

Call With

AX = 0002H
BX = real mode segment address

Returns

if function successful
Carry flag = clear
AX = selector for real mode segment

if function unsuccessful
Carry flag = set
AX = error code
8011Hdescriptor unavailable

Notes


  prev   next     webmaster   donations   bookstore     delorie software   privacy  
  Copyright 1996   by DJ Delorie     Updated Apr 1996