Xref: utzoo comp.sys.ibm.pc:53848 comp.sys.ibm.pc.programmer:2325 Newsgroups: comp.sys.ibm.pc,comp.sys.ibm.pc.programmer Path: utzoo!utgpu!watserv1!watsci.waterloo.edu!semicon From: semicon@watsci.waterloo.edu (Robert Adsett) Subject: Re: VGA standard (and Turbo C) Message-ID: <1990Jul10.022944.16270@watserv1.waterloo.edu> Sender: daemon@watserv1.waterloo.edu Organization: University of Waterloo, Waterloo, Ontario References: <13360@megatest.UUCP> Date: Tue, 10 Jul 90 02:29:44 GMT Lines: 60 In article <13360@megatest.UUCP> bbowen@megatest.UUCP (Bruce Bowen) writes: > > I have a 386 with a VGA monitor with which I can display, using cshow, >256 color gif files with fairly accurate color reproduction. I have >Turbo C professional, which comes with their "BGI" graphics library. >Looking thru the library documentation (and running some experiments) >it appears that, with their bgi VGA driver, I can only have 16 colors on >the screen at any one time, although I am able to change the color >pallette and access a broad range of colors. Is this a limitation of >the VGA standard? If so, how do programs like "cshow" work, that >accuratly display a much greater that 16 color image on the monitor? It's true that the drivers shipped with TC only support up to 16 simultaneous colours. Borland does ship a 320x200x256 colour VGA driver with their BGI development kit (available on SIMTEL20 among others). I have also just downloaded a library that allows you to write BGI drivers in C to the listserver that is associated with the TURBOC-L list. It includes 4 drivers complete with source code plus one other one that I've picked up. The drivers currently included support 1) ATI VGA Wonder 256 colour modes 2) Number Nine's Revolution 1024x8 3) Data Translations DT2851 4) A rather peculiar Tecmar Graphics Master Configuration 5) A range of 16 colour SVGA modes To get the file send mail to listserv@ucf1vm.bitnet containing the line get cbgi110 xxe turboc-l To subscribe to the list send mail to listserv@ucf1vm.bitnet containing the line sub turboc-l your name To get help send mail to listserv@ucf1vm.bitnet containing the line help -- Robert Adsett Dept. of Phys, Univ. of Waterloo, Waterloo Ont. Canada