## NOTES ON VIDEO GRAPHICS (esp. VGA)

UPDATES (Nov'97):

3. egalib.asm should be compiled into a library for calling! There is a claim that video mode 4 (cga graphics 320x200, 4 color) does not work. This is the video mode used in the pong game of the text book (ch.16). I checked the students' files, and seem to confirm their claim. In fact, it would not even draw the box around the screen (after setup). This seems strange. They simply changed the mode to mode 0Dh (ega graphics, 320x200, 16 colors), and now some things seem to work. Below, there is a reference to ports of the GC. Here are two addresses taken from prog081.asm:
       GRAPHICS_CTL    EQU     3CEH            ;Address of Graphics controller
       SEQUENCE_CTL    EQU     3C4H            ;Address the Sequencer
Best to read the code to see how these are used! the routines here are Set_pixel, get_address, etc.

END UPDATES