Xref: news2.mv.net comp.os.msdos.djgpp:5580 From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Compatibility v1.12 vs v2 Date: Tue, 02 Jul 1996 08:17:55 CDT Organization: Rice University, Houston, Texas Lines: 8 Message-ID: <31d92183.sandmann@clio.rice.edu> References: <4r8tju$bv7 AT tandem DOT CAM DOT ORG> Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > General Protection Fault at eip=00003562 > eax=0000003f ebx=00001708 ecx=00003e80 edx=0000003f esi=00058000 edi=d0000000 The contents of EDI look suspiciously like the old graphics mapping area in V1.x, which was never supported under DPMI (ie Windows) under V1.x and is not supported at all under V2.x. You need to re-write the code to handle bank switching and use sys/farptr.h (preferred) or sys/nearptr.h, or continue to use V1.x.