Propeller VGA adapter.
CumQuaT
Posts: 156
Also while I'm on... I know there are some great ICs out there to do this already, but this is more of a learning exercise...
Has anyone ever seen or made the propeller convert a VGA signal into a PAL RCA output? Is it even possible? It seems like it would be.
Not really for any particular project, but just out of interest...
Has anyone ever seen or made the propeller convert a VGA signal into a PAL RCA output? Is it even possible? It seems like it would be.
Not really for any particular project, but just out of interest...
Comments
There are applications where this might be useful - for instance getting a large number of grey scales, or a particular colour space.
The first step is ADC. Delta-sigma trades off spacial resolution for sample resolution. With a 31.5MHz horizontal frequency and an 80MHz system clock that's 2540 samples per line. Thus for 400 pixels per line (320 net) you'd get 6 levels per pixel. For 8 levels per pixel you'd only get 317 pixels per line (net 254). This actually isn't bad given the Prop's composite output abilities. Sync would be simple.
Next the 333 RGB would need to be transformed into the Propeller hue+luma format. The easiest way is probably via a simple 512 entry lookup table.
The final step is scan rate conversion. For NTSC it probably would be possible to capture two lines and output one since the VGA horizontal frequency is about double and the vertical frequency is the same. But for PAL you'd need to capture a full frame. Ideally you'd capture all 480 lines, but with only 32K of RAM you could only handle 68 pixels per line. Capturing 240 lines you could handle 136 active pixels per line. That's 170 pixels per line or 15 levels per pixel (although that would make the lookup table too large).
Tubular, I know there are chips like that. I mentioned them in my post. I was just curious about the propellers abilities