Mail Archives: djgpp/1996/08/08/02:15:08
Xref: | news2.mv.net comp.os.msdos.djgpp:6912
|
From: | Elliott Oti <e DOT oti AT stud DOT warande DOT ruu DOT nl>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Hello World = Crash
|
Date: | Wed, 07 Aug 1996 04:59:02 -0700
|
Organization: | Academic Computer Centre Utrecht, (ACCU)
|
Lines: | 35
|
Message-ID: | <32088506.2977@stud.warande.ruu.nl>
|
References: | <4u9cvg$ogv AT felix DOT junction DOT net>
|
NNTP-Posting-Host: | warande1078.warande.ruu.nl
|
Mime-Version: | 1.0
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Travis Brown-John wrote:
>
> OK, sorry I figured that one out.
>
> Hadn't done any C work for awhile and I was using the write() function
> where I should have used a printf(). I knew that didn't look quite
> right.
>
> Now, I have another question, can anyone give me any pointers on
> making the 3DGPL Demo, gfx lib by Sergei Savchenko.
>
> Is it possibly a problem with v2?
>
> That's what I am running. The demo code gives a GPF:
>
> General Protection Fault at eip=0000356a
> eax=0000003f ebx=00001708 ecx=00003e80 edx=0000003f esi=00057000
> edi=d0000000
> ebp=0004f76c esp=0004f764 cs=00a7 ds=00af es=00af fs=0087 gs=00bf
> ss=00af
> Call frame traceback EIPs:
> 0x0000356a
> 0x0000187c
> 0x000035b8
> 0x0000194a
> 0x00004347
>
> Thanks for the help.
>
> Travis
Make sure the file hardware.c is for DJGPP V2, not V1.
Chances are you've got the V1 files. Download the replacement
from http://www.cs.mcgill.ca/~savs/hardware.c and recompile.
-Elliott
- Raw text -