Mail Archives: djgpp/1998/03/19/10:34:55
On Thu, 19 Mar 1998, Kanaya wrote:
> regs.x.bp = (unsigned long)str; // <-- This line right?or mistake?
This is a mistake. Please download the DJGPP FAQ list (v2/faq210b.zip
from the same place you get DJGPP) and read sections 18.2 and 18.3
there. The FAQ explains how to do this correctly.
(The problem is that a real-mode interrupt service needs a real-mode
address below the 1MB mark, whereas your `str' buffer is always above
1MB and is 32-bit protected-mode address.)
- Raw text -