Pong Version 2 and vgalib for ChipKIT
Last updated: 27 May 2012 - 12:19
I've finally got around to making the VGA driver into a library that doesn't require all that messy interrupt code in the main sketch. The actual operation is along the lines of the pixel based display used in the life games but I've re-implemented Pong with this new library as a test.
The schematic for the pong demo is the same as the original. The main code is much simplified by the interface that the library gives. I've added a count down to the start and a game over screen which has a QR code that links here. The example shows off all the methods currently available in the library.
The source code is in the examples folder of the VGA library along with some python scripts that were used to generate the bitmaps for the blit operations that generate the final game screen.
All the source and library are maintained on GitHub vgalib.
ChipKIT: Conway's Game of Life on VGA, now with more colours
Last updated: 04 Nov 2011 - 20:46
If you haven't already, check out my ChipKIT implementation of Conway's Game of Life because I'm not explaining all that again! In this version there are some subtle changes to it that make it more pretty to watch, although arguably more confusing to see what's going on.
ChipKIT: Conway's Game of Life on VGA
Last updated: 03 Nov 2011 - 22:08
After the success of the ChipKIT pong demo I started to think about the ways to improve the graphics output and came up with the idea of a coarse pixel display. This is a more traditional pixel based display where a rigid grid is displayed on the screen rather than the more vector based display that I had used previously. This demands more of the CPU time because it has to copy the pixels to the display manually as there is no DMA on the UNO32, rather than only having to display the colour for a tiny fraction of each display line like the pong game did.
VGA Primer
Last updated: 13 Jul 2011 - 21:51

Video Graphics Array "VGA" is a standard for computer display. It has a lot going for it in the hobby electronics field as it is a pretty simple standard and quite straight forward to implement with sufficient signalling speed, there are also a lot of monitors around to test projects on! Colour is a lot easier to generate on a VGA monitor than on a composite video monitor, but it requires a lot more speed as the frames are more detailed and there are more signals to generate.