delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/03/21:31:12

Message-ID: <31DB4561.3E12@cam.org>
Date: Wed, 03 Jul 1996 21:15:29 -0700
From: Serje Beaudoin <bofort AT CAM DOT ORG>
Organization: Jefre Informatique
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
CC: djgpp <djgpp AT delorie DOT com>
Subject: Re: Compatibility v1.12 vs v2
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960702082213 DOT 18998E-100000 AT is>

Eli Zaretskii wrote:
> 
> On Mon, 1 Jul 1996, Serje Beaudoin wrote:
> 
> > I have a trouble when I try to run 3DGPL and some athers graphic examples, the
> > system crash when e try to allocate some memory after switching to graphic mode.
> >
> > The crash message is :
> >
> > General Protection Fault at eip=00003562
> > eax=0000003f ebx=00001708 ecx=00003e80 edx=0000003f esi=00058000 edi=d0000000
> > ebp=0004f76c esp=0004f764 cs=00af ds=00b7 es=00b7 fs=0087 gs=00c7 ss=00b7
> > Call frame traceback EIPs:
> >   0x00003562   _HW_blit+22, line 69 of hardware.c
> 
> Can you post the code that's around line 69 of `hardware.c'?  Based on the
> registers I'd guess that it uses absolute address such as 0xd0000 to
> access the video RAM.  This won't work under DPMI, even in v1.x (v2 is
> DPMI-only environment).  You will need to rewrite that code; read section
> 18.4 of the DJGPP FAQ list (v2/faq200b.zip from the same place you get
> DJGPP) which explains the methods available to you in v2.0 to achieve
> this.

Thank's but I have found a new cersion of the file 'hardware' with patch
on it.

                                        serje,
                                        bofort AT cam DOT org

- Raw text -


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