vgastuff

I modified a VGA program that I had written for the P1 to run on the P2. It demonstrates various things, such as writing text, drawing lines and drawing objects on a VGA screen. It uses a 640x480 screen with 8-bit pixels. Most of the code is written in C, except for the VGA driver, which is assembly. The source code and a binary file are included in the zip file. You can load and run the binary file by running the loadit script file, which uses loadp2. The code can be built and run by running the buildit script file, which requires p2gcc.
Sign In or Register to comment.