Masochist's Video Card

Jump To:
Basic VGA Theory
           The theory section will be split up into 3 parts. The first part will describe the VGA standard for 800x600 resolution, the second part will explain how we will use a 10 MHz clock instead of a 40 MHz clock to generate Hsync, Vsync and the final section will explain how colors will dynamically be generated for output through a state machine.



           The chart above is what we will focus on since we're trying to simluate VGA @ 800x600 resolution. Horizontal line signals are measured by pixels with 1 pixel the same length as 1 tick of a 40 MHz clock. The vertical field signal is measured in 'lines'. So counting how many horizontal lines have already been displayed is important to meet timing.



           The picture above should give you a rough idea of how the signal will look, and you can match the time for each part of the signals with the times listed in the table at the top of the page. So, if you add everything up in the table, 800x600 VGA actually uses 1056x628, but part of the signal is never seen on the monitor.



;