added documentation to vga.c