[comp.binaries.ibm.pc.d] More than 16 colors wanted

chrisb@hubcap.clemson.edu (Chris B.) (02/13/90)

How can I use my Turbo Pascal  or Turbo C  to access the multitude of
colors available on the VGA screen. (Pascal preferred) 
I want to be able to use more shades of a color than the default 16
given by the software.  
Thank You. 
Chris Behrens    ChrisB@Hubcap.Clemson.Edu

bo@hubcap.clemson.edu (Bo Slaughter) (02/13/90)

From article <7962@hubcap.clemson.edu>, by chrisb@hubcap.clemson.edu (Chris B.):
> How can I use my Turbo Pascal  or Turbo C  to access the multitude of
> colors available on the VGA screen. (Pascal preferred) 
> I want to be able to use more shades of a color than the default 16
> given by the software.  
> Thank You. 
> Chris Behrens    ChrisB@Hubcap.Clemson.Edu
>

I found a Borland BGI Driver that supports 256 colors with a resolution
of, I believe, 320x200.  I found it in SIMTEL20's BORLAND directory.
Since you and I are on the same campus, you can come by and get it :-).
(I posted for the sake of anyone else who might want to know.)
 
+------------------------------------------------------------+
|  Bo Slaughter                Bo@Hubcap.Clemson.Edu         |
|  "I Hate COBOL! (tm)"           192.5.219.1                |
+------------------------------------------------------------+
-- 
+------------------------------------------------------------+
|  Bo Slaughter                Bo@Hubcap.Clemson.Edu         |
|  Programmer Extraordinaire      192.5.219.1                |
+------------------------------------------------------------+

bakke@plains.UUCP (Jeff Bakke) (02/13/90)

In article <7962@hubcap.clemson.edu> chrisb@hubcap.clemson.edu (Chris B.) writes:
>How can I use my Turbo Pascal  or Turbo C  to access the multitude of
>colors available on the VGA screen. (Pascal preferred) 
>I want to be able to use more shades of a color than the default 16
>given by the software.  
>Thank You. 
>Chris Behrens    ChrisB@Hubcap.Clemson.Edu


Well, what you need to do is obtain the VGA 256 color mode .BGI driver
available on compuserve and ftp from Simtel20 I think in the graphics or
turbo-c directory.  The standard BGI units do not allow you to work in 
BIOS Mode 13h, which is the 320x200 256 color mode.  All the other modes
are limited to 16 colors.  Of course, you could always write your own
graphics routines for this mode :-).

Jeff Bakke
bakke@plains.NoDak.edu

You should be able to find the new .BGI toolkit and driver at just about
any ftp site with MSDOS software.