[comp.lang.c] turbo c 2.0 graphics?

calhoun@cis.ohio-state.edu (robert r. calhoun) (01/17/89)

     Can tc 2.0 handle VGA graphics?  If so or not what is the highest r
     resolution I may use?

martin@ektools.UUCP (Brian Martin) (01/17/89)

In article <31363@tut.cis.ohio-state.edu> calhoun@cis.ohio-state.edu (robert r. calhoun) writes:
>
>     Can tc 2.0 handle VGA graphics?  If so or not what is the highest r
>     resolution I may use?

Turbo C 2.0 does support VGA in 3 resolutions as follows:
 
VGALO   640x200
VGAMED  640x350
VGAHI   640x480
 
The package has a very wide range of graphics systems that it will
support.
 
To invoke a particular graphics type requires only 2 assignment
statements and on call to a predefined function.
 
Hope this is what you were looking for..
 
----------
Brian A. Martin
"How did that bug get there!"

hollombe@ttidca.TTI.COM (The Polymath) (01/18/89)

In article <31363@tut.cis.ohio-state.edu> calhoun@cis.ohio-state.edu (robert r. calhoun) writes:
}     Can tc 2.0 handle VGA graphics?  If so or not what is the highest r
}     resolution I may use?

I'm using TC 2.0 on a PS/2-50z with VGA.  When I let initgraph() detect
and set the graphics mode (it automatically chooses the highest resolution
available) I get 640x480x16.  I'd like to get 256 colors, but I don't
think TC 2.0 supports that mode. (And they still ship on 5.25" disks only.
They've got some catching up to do).

-- 
The Polymath (aka: Jerry Hollombe, hollombe@ttidca.tti.com)  Illegitimati Nil
Citicorp(+)TTI                                                 Carborundum
3100 Ocean Park Blvd.   (213) 452-9191, x2483
Santa Monica, CA  90405 {csun|philabs|psivax}!ttidca!hollombe