Since I don't like welding in the rain, I had this afternoon to mess around with the VGA Generator timing.
To my surprise, the resolution has climbed from 400x300 all the way to 640x480!
I kind of figured it was capable of this resolution, and the clock only went from 20MHz to 25.175MhHz.
A video frame used to require 120K, and now it requires 307.2K (and all 19 address lines to the SRAM).
This is great, since the new Vulcan-74 Music Station will be all about displaying information.
Should have plenty of room for the 8 tracks of data along with controls, live waveform display, etc.
It was kind of sad ripping up everything right of the VGA Generator, but it was necessary.
I added a test AVR to draw a frame and a moving picture, just to see if everything was ok...
Rewired VGA Section and an empty board again!Here is a test frame, with a single Sprite being bit banged directly by the little AVR...
Graphics look nice and crisp in 640x480.Since I wired the end of line comparator incorrectly, my frame stretched to 720 horizontal pixels.
Ironically, the monitor did not care, and simply adjusted accordingly with 720x480 resolution.
Since that is a non standard mode, I will so0n fix the 74HC688 wiring to get back to 640x480.
For now, I just shrunk the frame to get rid of the scaling bands.
720x480 due to a wiring error in the Horizontal Comparators.Here is a quick video showing a bunch of Logic Chips doing 640x480 VGA...
https://youtu.be/PDPH3IS0UhgThe next small addition will be called The Fast Clear System.
This will be a set of counters that can erase the Back Buffer at 40MHz speed.
If the 6502 had to do this, it would take 3 million cycles (assuming about 10 cycles per pixel)!
So be having the hardware clear the Video Screen, the 6502 can just draw stuff each frame.
I will probably have a dedicated "Display 6502" that just handles the Video Screen.
There will be a LOT going on with graphics, to it will probably just be able to keep up.
Might be some time before I get another rainy day.
Later!
Radical Brad