Xref: news-dnh.mv.net comp.os.msdos.djgpp:3038 Path: news-dnh.mv.net!mv!news.sprintlink.net!news.zeitgeist.net!wizard.pn.com!Germany.EU.net!zib-berlin.de!solid.theo-physik.uni-kiel.de!news.informatik.uni-kiel.de!news.techfak.uni-kiel.de!news From: Hartmut Schirmer Newsgroups: comp.os.msdos.djgpp Subject: Re: BCC2GRX and SVGA Date: 3 Nov 1995 12:39:31 GMT Organization: Technische Fakultaet Lines: 72 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: zora.techfak.uni-kiel.de To: psteele AT conch DOT aa DOT msen DOT com Dj-Gateway: from newsgroup comp.os.msdos.djgpp Patrick Steele wrote: >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?? > Just use int gd, gm; set_BGI_mode_whc(&gd, &gm, 640, 480, 256); initgraph(&gd, &gm, ""); and everything will work fine if your GRX is set up for your graphics hardware. If you've a VESA compatible VGA bios, everything should work without any addition. Otherwise you may get a bios extension and define grx1.0x : go32= driver