Xref: news-dnh.mv.net comp.os.msdos.djgpp:3017 Path: news-dnh.mv.net!mv!news.sprintlink.net!hookup!simtel!pravda.aa.msen.com!conch.aa.msen.com!psteele From: Patrick Steele Newsgroups: comp.os.msdos.djgpp Subject: Re: BCC2GRX and SVGA Date: Thu, 2 Nov 1995 19:58:47 -0500 Organization: Msen Lines: 44 References: <470bfp$8h2 AT recepsen DOT aa DOT msen DOT com> <9510300714 DOT AA19577 AT zora DOT uni-kiel DOT de> <9511021443 DOT AA22974 AT axp05> Nntp-Posting-Host: conch.aa.msen.com To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp On Thu, 2 Nov 1995 Broeker AT physik DOT rwth-aachen DOT de wrote: > In comp.os.msdos.djgpp you write: > > >On Mon, 30 Oct 1995, Hartmut Schirmer wrote: > > So where's the problem? Does it really make you any problems to change > the source code given above to somthing like this: > > #ifdef __GNUC__ > gd = _SOME_BCC2GRX_COMPATIBLE_GD_ > gm = _SOME_BCC2GRX_COMPATIBLE_GD_ > set_BGI_mode_whc(&gd, &gm, XRES, YRES, NC); > #else > gd = _YOUR_OLD_GD_SETUP_; > gm = _THE_OLD_MODE_SELECTION_; > #endif But there is no BCC2GRX_COMPATIBLE_MODE... Or maybe I don't understand what you were sayin. How would I set up for a VESA compatible 640x480x256 using BXX2GRX?? > (If I'm not totally mistaken, this would give you a gd/gm pair usable > to initgraph() to your desired resolution, independent of the compiler > being used. Any corrections on this?) > > Remember: there's no real use for a distinction between things like > TRIDENT256 and VESA256 when you're using BCC2GRX, as this is configured > already by using the GO32 (or GRXDRV for 2.0) env. variable. So why > bother implementing it at all? All the functionality is there, you just > have to change 2 original lines of code, getting 8 (complete with all > the #ifdef'ing). I don't think that's too high a price. > I may have missed something somewhere. What's this about a GO32 environment variable? +-----------------------------------------------------------+ | Patrick Steele psteele AT mail DOT msen DOT com | | WWW http://www.msen.com/~psteele | +-----------------------------------------------------------+ | Check out QUAKE HQ! at http://www.msen.com/~psteele/quake | +-----------------------------------------------------------+