Date: Wed, 10 Jul 1996 17:41:55 +0200 (IST) From: Eli Zaretskii To: Alf Stockton Cc: djgpp AT delorie DOT com Subject: Re: Btrieve & DJGPP In-Reply-To: <199607101214.OAA05642@ohm.fast.co.za> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 10 Jul 1996, Alf Stockton wrote: > On doing an int86x call from a program compiled with DJGPP V2 I get:- > > Exiting due to signal SIGSEGV > General Protection Fault at eip=0000402b, error=4dc8 Your code is probably copied from a 16-bit real-mode program. In DJGPP, `int86x' doesn't support all functions of Int 21h, because DOS cannot access buffers that reside in memory above 1MB mark. The DJGPP FAQ list (available as v2/faq201b.zip from the same place you get DJGPP) explains this issue in detail in section 18.1 and describes the correct way to do such chores with DJGPP in sections 18.2-18.5. Please read them.