VESA Video Modes: Difference between revisions

[unchecked revision][unchecked revision]
(Linking omarx024's tutorial)
Line 59:
For VBE to work in Bochs you need the "VGABIOS-lgpl" BIOS and have a version of Bochs that was compiled with the <tt>--enable-vbe</tt> option... See [[Topic:9655|Vesa Information in Bochs]] thread for more info. Also read about [[Bochs Graphics Adaptor]].
 
==How to pick the mode I wish ?==
 
VESA stopped assigning codes for video modes long ago -- instead they standardized a much better solution: you can query the video card for what modes it supports, and query it about the attributes of each mode. In your OS, you can have a function that you call with a desired width, height, and depth, and it returns the video mode number for it (or the closest match). Then, just set that mode
Anonymous user