VGA Hardware: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Combuster (talk | contribs)
Line 145: Line 145:
Planes 0 and 1 are written directly from video memory. Plane 0 is accessed on even addresses, plane 1 is accessed on odd addresses, with each consecutive word describing the next character.
Planes 0 and 1 are written directly from video memory. Plane 0 is accessed on even addresses, plane 1 is accessed on odd addresses, with each consecutive word describing the next character.


=== Memory Layout in 4-bit modes ===
=== Memory Layout in 4-color modes ===
The CGA was limited to 4 concurrent colors, with two bits each. The EGA adds two extra bits by adding a pair of extra planes, increasing from the old two to the current four planes per pixel. If you want a 4-color mode that means you just should not touch planes 2 + 3.
'''Todo: i know close to nothing about 4-bit color modes, kindof before my age'''

'''Todo: determine the b/w/d, shift mode and odd/even mode for CGA compatibility (guesstimated at word mode, interleaved shift, odd/even enabled, i.e. equivalent to text mode except for the alphanumeric bit)'''


== The Graphics Controller ==
== The Graphics Controller ==