Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!agate!monsoon.Berkeley.EDU!dmillar From: dmillar@monsoon.Berkeley.EDU (Derek Millar) Newsgroups: comp.sys.ibm.pc.hardware Subject: Re: VGA programming Message-ID: <1991Jun14.202319.16270@agate.berkeley.edu> Date: 14 Jun 91 20:23:19 GMT References: <1991Jun13.173332.536@otago.ac.nz> <1991Jun14.082056.7579@cavebbs.gen.nz> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: ucb Lines: 19 In article <1991Jun14.082056.7579@cavebbs.gen.nz> frank@cavebbs.gen.nz (Frank van der Hulst) writes: >In article <1991Jun13.173332.536@otago.ac.nz> andrew@otago.ac.nz writes: >>Anyone know how to directly program the DAC registers on the VGA without going >>via the BIOS? All the books I have on the VGA avaid the subject like the >>pague! They only give examples of DAC programming by calling the BIOS! > >Get hold of "Programmer's Journal" from about '88 or so. There was a long >series of articles by Michael Abrash about programming VGA, including source >in assembler. I translated some to C, and now have a 320x400x256 colour x 2 >page VGA mode! > >I think Abrash has also written a book. > He did. The title is _Power Graphics Programming_ , published by Que, and it is basically a collection of his columns from "Programmer's Journal", including the one you mentioned. I couldn't find anything about programming DAC registers in it, though. -Derek Millar