From: Nate Eldredge Newsgroups: comp.os.msdos.djgpp Subject: Re: real mode address ? Date: 12 Dec 1999 13:51:42 -0800 Organization: InterWorld Communications Lines: 23 Message-ID: <83yaazn7yp.fsf@mercury.st.hmc.edu> References: NNTP-Posting-Host: mercury.st.hmc.edu X-Trace: nntp1.interworld.net 945035577 54973 134.173.45.219 (12 Dec 1999 21:52:57 GMT) X-Complaints-To: usenet AT nntp1 DOT interworld DOT net NNTP-Posting-Date: 12 Dec 1999 21:52:57 GMT X-Newsreader: Gnus v5.7/Emacs 20.4 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com James AT linux DOT home (James Stevenson) writes: > Hi > > how can i get the real mode address from a variable ? > > eg the segment and the offset ? It's a bit more complicated than that; see FAQ section 18.2. > i need to pass a pointer to a buffer and use an interuppt and it is meant > to fill the information into the buffer but i am yet to succed in doing > this. > > also is it possible to do the revesrse and get a valid pointer to a > phisical address ? if so how Generally, no. Why do you need it? -- Nate Eldredge neldredge AT hmc DOT edu