Mail Archives: djgpp/1996/12/16/12:24:30
On Sun, 15 Dec 1996, Aaron m Clemmer wrote:
> How do you get the protected mode selector and offset of __tb, or
> any buffer in conventional memory? I thought you could just use the
> address of __tb as a selector, and leave the offset as 0, but that just
> GPFed...
The address of __tb is a real-mode seg:off address, that's why it GPFed
on you.
> I tried looking in the faq, but it wasn't very clear about
> anything but getting rmode segs and offs...
What's wrong with using seg:off way and call dosmemget/dosmemput and all
the other functions discussed in the FAQ? Why do you at all need the
selector?
- Raw text -