delorie.com/archives/browse.cgi | search |
From: | "AndrewJ" <luminous-is AT home DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <034f2f50 DOT 765f03be AT usw-ex0108-062 DOT remarq DOT com> <6P8S4.14998$55 DOT 285097 AT news2 DOT rdc1 DOT on DOT home DOT com> <200005101223 DOT IAA11807 AT indy DOT delorie DOT com> |
Subject: | Re: __dpmi_paddr and DJGPP pointers |
Lines: | 13 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
Message-ID: | <vczS4.20276$55.438945@news2.rdc1.on.home.com> |
Date: | Thu, 11 May 2000 14:11:39 GMT |
NNTP-Posting-Host: | 24.42.120.18 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news2.rdc1.on.home.com 958054299 24.42.120.18 (Thu, 11 May 2000 07:11:39 PDT) |
NNTP-Posting-Date: | Thu, 11 May 2000 07:11:39 PDT |
Organization: | @Home Network Canada |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> > struct __dpmi_paddr dpaddr; > > void *foozle = (void *) &dpaddr; > > I don't think this is what the original poster wanted. I think he > wanted a way of converting the selector:offset32 pair into a pointer > that can be dereferenced to get at the data at that address. Well, I must admit I hadn't thought of that. But if you look at the exact wording of his question, I got the answer right. ;) AndrewJ
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |