www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/10/08:21:12

Date: Wed, 10 Jul 1996 14:14:39 +0200
Message-Id: <199607101214.OAA05642@ohm.fast.co.za>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
From: Alf Stockton <stockton AT fast DOT co DOT za>
Subject: Btrieve & DJGPP

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 
eax=00003000 ebx=00b75c65 ecx=00054e60 edx=00000000 esi=00058120 edi=00014ee8
ebp=00054ed4 esp=00054d80 cs=00a7 ds=00af es=00af fs=008f gs=00bf ss=00af
Call frame traceback EIPs:
        0x0000402b
        0x00058140
        0x732f7665

The call is as follows :-

#include <dos.h>

union REGS b_regs;                                  /* define registers */

struct SREGS b_sregs;                       /* define segment registers */

int86x (0x21, &b_regs, &b_regs, &b_sregs);
	Regards,
	Alf		stockton AT fast DOT co DOT za
"All animals, except humans, know that the principal business of life is to
enjoy it."
				Samuel Butler

- Raw text -


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