Date: Thu, 19 Mar 1998 17:30:42 +0200 (IST) From: Eli Zaretskii To: Kanaya cc: djgpp AT delorie DOT com Subject: Re: [Q] __dpmi_regs In-Reply-To: <3510C6C1.D4FA68B3@mediavision.co.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.)