[comp.sys.ibm.pc] VGA driver code

dbl@h.cs.wvu.wvnet.edu (David Lawson) (02/16/90)

Netfolk,  I am looking for some sample source code to manipulate
my ATI VGA boards bitplanes and get some color out of it.  Right now
all I am getting is black and white or nothing at all since I have 
no clue how to sitch the planes on and off.  The card came with
a short blurb of assembler but it was totally useless (and I believe
incorrect since it did nothing).  I am quite familiar with assembler
so don't worry about about pointing out assembler examples (I would
actually prefer that).  Code for standard vga or ega would also be
appreciated.  Thanks in advance,

     Dave lawson   dbl@h.cs.wvu.wvnet.edu

wtb@hpldola.HP.COM (Bill Barkley) (02/21/90)

What mode are you attempting to run?  I recently purchased an ATI board and
have experienced the same problems.  I haven't been able to get mode 67H
(1024x768x4) to output anything but black and white.  The information about
changing palettes in this mode is far from clear.  I upgraded the board to 
512k (for about $40) and have had much better luck with mode 65H (1024x768x16).
I get all 16 colors.  (There appears to be 6 planes used in this mode, not 8
like the documentation says).  I got some test programs written in turbo c and
assembler if you are interested.  If anyone has a phone number for ATI or any
other information on this card I'd be interested in it also.