Message-ID: <31DB4561.3E12@cam.org> Date: Wed, 03 Jul 1996 21:15:29 -0700 From: Serje Beaudoin Organization: Jefre Informatique MIME-Version: 1.0 To: Eli Zaretskii CC: djgpp Subject: Re: Compatibility v1.12 vs v2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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