Date: Thu, 1 Oct 1998 21:39:41 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: "Miles F. Bintz Ii" cc: djgpp AT delorie DOT com Subject: Re: Access phys. mem above 1 meg In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 1 Oct 1998, Miles F. Bintz Ii wrote: > Well, what do I do with a selector? I don't want to use the near/far ptr > hacks. Why not? farptr is very fast, as the FAQ describes. You need to understand that there's no way for you to access that address without using the selector with nearptr or farptr, since that address is not mapped into your DS selector. > I would like to be able to say > > char *myptr = 0xda000000 > myptr[0] = 0xab; This is exactly what nearptr allows you to do. So what's the problem?