From: "Marp" Newsgroups: comp.os.msdos.djgpp Subject: Re: real mode address ? Date: Sun, 12 Dec 1999 16:39:33 -0500 Organization: MindSpring Enterprises Lines: 31 Message-ID: <8314hv$um8$1@nntp6.atl.mindspring.net> References: NNTP-Posting-Host: c7.b7.cf.55 X-Server-Date: 12 Dec 1999 21:37:03 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Read chapter 18 of the djgpp faq. It explains how to do these things. Then if there's something you don't understand you can post about it here. James Stevenson wrote in message news:slrn85811i DOT aj5 DOT James AT linux DOT home... > Hi > > how can i get the real mode address from a variable ? > > eg the segment and the offset ? > > 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 > > are there any tutorials on doing this sort of thing on the net i have not > been able to find any. > > thanks > JAmes > > -- > --------------------------------------------- > Check Out: http://www.users.zetnet.co.uk/james/ > E-Mail: mistral AT stevenson DOT zetnet DOT co DOT uk > 8:20pm up 9 days, 3:04, 2 users, load average: 0.13, 0.15, 0.16