vga composite sync
Lee Marshall
Posts: 106
ive learnt most of the stuff i know about vga from this page:
web.mit.edu/6.111/www/s2004/NEWKIT/vga.shtml
and i notice it talks about a composite sync embedded in the green channel.
is this absolutely necessary for proper vga operation??
thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
web.mit.edu/6.111/www/s2004/NEWKIT/vga.shtml
and i notice it talks about a composite sync embedded in the green channel.
is this absolutely necessary for proper vga operation??
thanks in advance.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
Comments
And not all monitors accept a composite sync...
BTW: Very nice graphics on that link...
it just seems that without the "optional" 470ohm resistors on the RGB DAC on the protoboard, the color lines would only be capable of two different levels.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
Post Edited (Mr Crowley) : 10/18/2007 11:55:12 PM GMT
There is either on digital line for each color, or (optionally) two, so you have either 8 colors (including "black" and "white") or 64.
VGA has RGB + Hsync and Vsync. Analog RGB (with composite sync) is the exact same signal, but with the Hsync and Vsync lines XOR'd together. It is almost trivial to do this in software with the VGA driver - two lines of code changed in the ASM section.
@deSilva: There are "porches" with RGB and composite sync. These porch widths are critical in my experience. It can make the difference between having a stable image and having garbage. There is a fine line between having everything displayed on the screen without being cut off, and having the whole thing get scrambled. [noparse][[/noparse]edit] the porches are only significant on the sync line, the RGB lines only have blanking intervals, not porches[noparse][[/noparse]/edit]
@Mr. Crowley: some types of RGB mix the sync signal with the green. It's called Sync on Green, or SoG. This is often done to save a wire.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The more I know, the more I know I don't know.· Is this what they call Wisdom?
Post Edited (Ken Peterson) : 10/19/2007 11:22:31 PM GMT
i would also like to know: what is the way in which the videoscale reg is implemented, what if i were to change its contents during a video cycle(whilst the generator was shifting out pixels). would it immediately change, or would it wait for the end of the cycle, then act on the new settings?
i need to be able to increase the pixelclocks/frameclocks from 1 to 4, as soon as the waitvid command hands over the video data, not before/after.
my plan is to use 4x4 two-color tiles each using 1 bit of memory on a 1024x768 screen, giving an effective resolution of 256/192 making the whole screen take up 6KB.
i know i could probably tweak the current vga driver for this, but...well....as the sig says.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I hear and I forget. I see and I remember. I do and I understand
-Confucius
Post Edited (Mr Crowley) : 10/19/2007 12:43:45 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The more I know, the more I know I don't know.· Is this what they call Wisdom?