delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/15/12:04:30

Date: Wed, 10 Jul 1996 17:41:55 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Alf Stockton <stockton AT fast DOT co DOT za>
Cc: djgpp AT delorie DOT com
Subject: Re: Btrieve & DJGPP
In-Reply-To: <199607101214.OAA05642@ohm.fast.co.za>
Message-Id: <Pine.SUN.3.91.960710173716.5129B-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019