Bochs VBE Extensions: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
No edit summary
Line 24: Line 24:


=== Reading registers ===
=== Reading registers ===
To read a register, first write the index value to VBE_DISPI_IOPORT_INDEX (0x01CE), then read the 16-bit value from VBE_DISPI_IOPORT_DATA (0x01CF). The value returned depends on the specific register that is queried. [TODO: check and describe, especially _ID and _ENABLE, others seem trivial]
[TODO: check whether we can read registers as well, and describe]


=== Setting display resolution and bit depth ===
=== Setting display resolution and bit depth ===