FASTVGA and PAINT.

A simple example of really fast video writes, in this case some 4x4
colored blocks, using an assembler routine that writes direct to
video ram. All the tapdancing BGI normally goes through (for reliability)
is avoided.  Check out the assembly code C creates for something like 
putpixel() with a debugger, it's long winded.

Only really odd thing not terribly obvious in Ferraro's book was that
due to the VGA memory bottleneck, you can't just write information to
an address.  You first have to READ it, wether or not you actually want
the information, then turn around and write it.  It aligns the internal
VGA hardware registers to the location you wish to write.  Other than 
that this has very little superfluous code. 

It works on all the VGA cards I've tested, and EGA's actually tolerate it.

A make file is included for turboC and tasm (make -ffastvga), as well
as the preassembled .obj, just in case you need it.

Jeff Bowermater
Splat! Graphics
7/21/92

