DOS/32 Advanced DOS Extender
- Programmer's Reference
2.05 - DPMI function 0006h
- Get Segment Base Address
Returns the 32-bit linear
base address from the descriptor table for the specified segment.
In: |
AX = 0006h
BX = selector |
Out: |
if successful:
CF clear
CX:DX = 32-bit linear base address of segment
if failed:
CF set
AX = error code
8022h - invalid selector
|
Notes:
a) Client programs must
use the LSL instruction to query the limit for a descriptor. Note that
on 80386 machines, the client must use the 32-bit form of LSL if the segment
size is greater than 64 KB.
Copyright © DOS/32 Advanced Team 1996-2002 All Rights Reserved
|