From: mapson AT mapson DOT com (Mapson) Newsgroups: comp.os.msdos.djgpp Subject: Re: trouble w/code for old DJGPP program Date: Mon, 11 Jan 1999 18:27:24 GMT Organization: Yale University Lines: 31 Message-ID: <369a40b4.14172714@news.cis.yale.edu> References: NNTP-Posting-Host: logan.eng.yale.edu X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Mon, 11 Jan 1999 09:58:28 +0200 (IST), Eli Zaretskii wrote: > >On Mon, 11 Jan 1999, Mapson wrote: > >> I am trying to compile some code written for a much earlier version of >> DJGPP, and it seems to me like there was once (or still is and I don't >> know of it) a graphics.h set of routines, with calls to functions like >> >> GrSetMode(GR_default_graphics) >> GrSetMode(GR_default_text); > >You need to downaload and install the GRX library (v2tk/grx23.zip from >SimTel.NET). I believe graphics.h is called grx20.h there. Eli, thanks as always. You are a one-stop source of information! I certainly can compile it now. My only problem now is that the program crashes instantly upon running it. I suppose I will have to go through it by hand and do a real update of it. It was written with DJGPP 1.09 or so in mind, and clearly a much earlier version of GRX, and the notes that came with it discuss the necessity of setting the "go32.exe" path and all that old stuff- i just assumed i didn't need to do any of it. If I am wrong, let me know. BTW, I've used allegro, and I've used jlib... I wonder why I never considered (or, frankly, knew about) this package. I've not looked at it closely, but its portability sure looks enticing.