Mail Archives: djgpp/2001/09/22/23:33:02
From: | "Wiley Black" <Wiley-Black AT usa DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Getting Physical Address
|
Lines: | 26
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.50.4522.1200
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200
|
Message-ID: | <lCcr7.5931$R9.1882817675@newssvr16.news.prodigy.com>
|
NNTP-Posting-Host: | 209.254.243.66
|
X-Complaints-To: | abuse AT prodigy DOT net
|
X-Trace: | newssvr16.news.prodigy.com 1001215505 ST000 209.254.243.66 (Sat, 22 Sep 2001 23:25:05 EDT)
|
NNTP-Posting-Date: | Sat, 22 Sep 2001 23:25:05 EDT
|
Organization: | Prodigy Internet http://www.prodigy.com
|
X-UserInfo1: | Q[RGWUCDYJWACWH]HBHF__TA[X_LPO AT FWY^D]\YIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ AT CD^HKANYVW AT RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A AT CARQVXDSDA^M]@DRVUM AT RBM
|
Date: | Sun, 23 Sep 2001 03:25:05 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Hi all,
I am trying to get the physical address of a
selector, particularly the _my_ds() selector. I
have used __dpmi_get_segment_base_address() as
well as using __dpmi_get_descriptor() and then
assembled the base address based on my reference
books. Both give me the same result, a base
address of 0x10000000. This doesn't seem like the
physical address to me? Somewhere in the FAQ I
had heard about linear and physical addresses
being different, so I consulted my reference books
again and my understanding is that the linear
address is simply the segment right shifted 4 plus
the offset, in other words, about the same. Also,
my reference seems to indicate the descriptor has
the physical address anyway. So, I'm a little
confused, how do I get the physical address of the
selector/descriptor?
Thanks in advance,
Wiley
- Raw text -