VGA Hardware: Difference between revisions

Jump to navigation Jump to search
801 bytes removed ,  17 years ago
m
no edit summary
[unchecked revision][unchecked revision]
(→‎Sample Register Settings: added register names)
mNo edit summary
Line 1:
{{In Progress}}
<div style="text-align: center; background-color: green; padding: 5px; margin-left: 30%; margin-right: 30%;">See discussion page before editing.</div>
 
Things that still need to be done:
* I need to reverse engineer more documentation for the sequencer.
* I need to test some additional GC bits for effects.
* Read Modes 0 and 1, Write modes 1,2,3 (this is easy as this documentation is rather complete. I Have not tested all details of this stuff)
* DAC Mask Register (the latest spec doesnt document it)
* Color Logic (There's more to this than the eye meets. I can write this from info out of Abrash's book, but i should still test it anyway. (It partially depends on the Sequencer)
* Sequencer: byte word doubleword mode, doublescanning, why 256-color modes have halved horizontal resolutions. Some of this depends on the sequencer operation...
- [[User:Combuster|Combuster]] 17:15, 3 January 2007 (CST)
 
 
What you can do:
* Proof-read it, check for sanity.
* Comment on n00b-friendliness
* check registers and timings
* probably a lot more :)
- [[User:Combuster|Combuster]] 16:55, 27 December 2006 (CST)
 
 
----
 
The VGA is a complex piece of hardware. Even though its old, many modern graphics cards are compatible with it, including NVidia and ATI cards. This can make writing an VGA driver rather attractive. The amount of compatibility varies however, and do not ever assume a compatible card without proper hardware detection.
Line 282 ⟶ 264:
=== Read/Write logic ===
 
The Read/Write Logic performs several operations on the written/read data, and a set of internal registers called the latches. Reading from video memory loads these latches with the value emitted by video memory. Write operations use the latches as an additional data source, apart from the data written from the host processor.
 
Reading from video memory loads these latches with the value emitted by video memory. Write operations use the latches as an additional data source, apart from the data written to the host.
The read/write logic has several different operation modes. These can be chosen by setting the Graphics Mode register. The VGA has four write modes and 2 read modes, which can be set independently. By default, the VGA operates in read mode 0 and write mode 0 in such a fashion that all written data goes straight to memory, and read data from each plane is ORed together.
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu