From: KanaYA FUMIHIRO Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q] __dpmi_regs Date: Fri, 20 Mar 1998 15:57:52 +0900 Organization: Media Vision Lines: 16 Message-ID: <35121370.23B64076@mediavision.co.jp> References: NNTP-Posting-Host: 210.160.144.28 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > > 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. Thank you. > (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.) A difference in PM and RM wasn't known. I must seem to study more... -- k-ya