Mail Archives: djgpp/1998/10/08/19:36:16
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?
- Raw text -