Mail Archives: djgpp/1998/11/01/00:12:50
On Mon, 26 Oct 1998, Harold Roman 978-461-0402 Ext 223 wrote:
> I am writing a progam that interacts with a card that does DMA and is
> memory mapped. I need to get physical addresses for my data buffers.
> I looked through the archives and found a "back door" described by
> Charles Sandman (posted 9/22/96). This technique uses the "sgdt"
> instruction to find the global descriptor table and the "str"
> instruction to find the current task structure.
Try the advice in section 18.14 of the DJGPP FAQ list (v2/faq211b.zip
from the usual DJGPP sites). It describes a couple of ways to achieve
this that are much simpler than messing with SGDT.
- Raw text -