[net.micro.pc] C support for various graphics cards?

colin@vu-vlsi.UUCP (Colin Kelley) (05/10/86)

Can anyone recommend a commercial PC C library which gives decent low-level
support for the many types of PC graphics cards around now?  I need support
for (minimally):  standard IBM CGA, IBM EGA, IBM Professional, Hercules
monochrome, AT&T 6300.  I'm just looking for low-level primitives, like
clear screen, set/clear pixel, draw line (various colors or line patterns),
put text labels to screen.  Nothing fancy.  But anyway, I would ideally
like to find a library which would detect the graphics device automatically.
The only alternative here would be to compile many different versions for
different devices--not too appealing, but possible.

BTW:  we received an advertisement for a package called PlotDev: or something
like that.  As usual with direct-mail ads, it didn't give too much information.
Seems like a device driver which intercepts 4014 sequences and executes them
for whatever graphics device is installed.  Sounds ok, but not great--my
program would then have to spit out 4014 sequences, which really isn't
necessary.  PlotDev: was only $40, so I might experiment with it.  But if
someone knows of a library which more directly solves my problem, please
let me know!

BTW 2:  I'm using Microsoft C 3.0.

			-Colin Kelley ..{cbmvax,pyrnj,psuvax1}!vu-vlsi!colin