Newsgroups: comp.os.msdos.djgpp From: "Dennis Moran" Subject: Re: Memory Models Message-ID: <01bc33ed$87013400$5a0520ce@technodrome> Date: Tue, 18 Mar 1997 22:48:51 GMT References: <01bc33c8$f05661c0$ae80dec2 AT default> Lines: 49 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Alex wrote in article <01bc33c8$f05661c0$ae80dec2 AT default>... > I am pretty new to DJGPP but I think it's great especially because it's > FREE!!! > > My question is: > > I am trying to compile a program from a Tutorial that was written for > Borland C and at the top of the source code it say's: > "Remember to compile in the LARGE memory model!" > What is and how do I access this Memory Model??? > AFAIK Borland didn't use protected mode or compile 32-bit applications. That would totally mess it up... > > Please reply soon because I really need this program to compile. > > I am using a P75 with 16mb with Win95, when I compile the program at the > moment and run it, this is what comes up: > > "General Protection Fault at eip=000021ba > eax=a0000000 ebx=00093603 ecx=00090004 edx=00000000 esi=0000011f > edi=0000002f > ebp=0004e4a4 esp=0004af30 program=C:\ALEX\DJ\MOUSE.EXE > cs: sel=00a7 base=85645000 limit=0009ffff > ds: sel=00b7 base=85645000 limit=0009ffff > es: sel=00b7 base=85645000 limit=0009ffff > fs: sel=0087 base=00019aa0 limit=0000ffff > gs: sel=00c7 base=00000000 limit=ffffffff > ss: sel=00b7 base=85645000 limit=0009ffff > > Call frame traceback EIPs: > 0x000021ba > 0x00002f8e" > > Please Please Please reply, > > Thanks > > > > -- Dennis Moran (aka Coolio) coolio AT coolio9 DOT com http://coolio9.com/