Bochs VBE Extensions: Difference between revisions

Jump to navigation Jump to search
m
→‎Setting display resolution and bit depth: - added some information on max res's
[unchecked revision][unchecked revision]
(Grammatical errors.)
m (→‎Setting display resolution and bit depth: - added some information on max res's)
Line 41:
 
=== Setting display resolution and bit depth ===
Most likely, setting the display resolution and bit depth is all you need. To do so, disable the VBE extensions (see above), write the X resolution, Y resolution and BPP to their respective registers (VBE_DISPI_INDEX_XRES (1), VBE_DISPI_INDEX_YRES (2) and VBE_DISPI_INDEX_BPP (3)) and enable the VBE extensions. Since the BGA is not real hardware, X and Y resolutions can be set at will up to a maximum horizontal resolution (depending on your version of Bochs) of either 1024 or 1600 (VBE_DISPI_MAX_XRES) and a maximum vertical resolution of either 768 or 1200 (VBE_DISPI_MAX_YRES) [TODO: check whether Bochs does a sanity check on width/height pairs and describe]. The bit depth needs to be one of the following [TODO: check what Bochs does with other values]:
* VBE_DISPI_BPP_4 (0x04)
* VBE_DISPI_BPP_8 (0x08)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu