[comp.os.msdos.programmer] Some QuickC w/ SVGA & VGA questions.

pre2306@cuphub.cup.edu (03/05/91)

	Hey Guys,

		Years ago when the earth was young (as was I), I had 
	a commodore 64. This system could display 4 colors in 160 by
        200 pixels or 2 colors in 320 by 200 pixels. Two years ago I
        purchased an IBM clone (DTK to be precise) with a monochrome
        screen. Now I wish to purchase either an VGA or SVGA display
        and card. But being rather confused with today's display
        technology, I have decided to turn to the net for the answers 
	to two questions of mine.

		I'm considering buying an SVGA card and screen. But,
	I wish to program these in QuickC 2.5. I've looked it up and 
	QC does not support SVGA. Does anyone know where I can get
	some drivers or libs that would enable me to program up to 
	SVGA resolutions?

		Also, being that I only have $500 to spend on both
	card and screen, should I get higher the quality card (logix
	for $179) or the higher quality screen?  

					Thanks for any help,
			
					J.E.P.

kevinj@unicorn.cc.wwu.edu (Kevin Johnson) (03/06/91)

  The Microsoft C graphics package does not support anything above regular
  VGA (640x480x16), basically what you can get on a standard VGA through
  calls to the BIOS.

  You can always get a third party package (but that`s just more $$$).


				--Kevin

mcdonald@aries.scs.uiuc.edu (Doug McDonald) (03/06/91)

In article <1991Mar5.190626.23098@unicorn.cc.wwu.edu> kevinj@unicorn.cc.wwu.edu (Kevin Johnson) writes:
>
>  The Microsoft C graphics package does not support anything above regular
>  VGA (640x480x16), basically what you can get on a standard VGA through
>  calls to the BIOS.
>
>  You can always get a third party package (but that`s just more $$$).
>
>
>				--Kevin



Long ago I posted a set of graphics routines to do things like text
in 8 and 14 line high characters, lines, filled rectangles, and
open and filled ellipses to the net. It was called "egafast" (or was it
vgafast?) and was written in assembly language. It is very easy to change
this thing to do any resolution up to 600x800x16 colors. It is
not easy to change it for 16 colors at higher than 600x800 or for any
resolution at 256 colors.

Doug McDonald

JMH@SLACVM.SLAC.STANFORD.EDU (03/06/91)

I have done some programming for the Paradise VGA + in the 640X400X256
mode. ALL the information required to use this mode was provided by Paradise.
The one problem I found was a bug in the _Setpalette function provided with
QuickC, I had to write my own with in-line assembly language.  If you get
one of the books available on VGA programming it will give you the info
you need to write that part. The bug was that _Setpalette worked fine in
standard VGA but not in SVGA.( Paradise claimed it was Microsoft's bug
but who knows??)
   ________                   Jim Hodgers
  /___()___\                  JMH@SLACVM.SLAC.STANFORD.EDU
  \ ______ /                  May your faithful saint bernard
   \ ____ /                   run away with your yellow Alfa Romeo
    \____/                    (Found in a fortune cookie)