VESA Video Modes: Difference between revisions
m
typo
[unchecked revision] | [unchecked revision] |
(Completed wikification, removed PFR tag, categorisation) |
m (typo) |
||
Line 58:
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
==How to pick the mode
Here's a sample code, assuming you have a VirtualMonitor already ... Basically, you will scan the 'modes list' referenced by the vbeInfoBlock.videomodes[] and then call 'get mode info' for each mode. You can then compare width, height and colordepth of each mode with the desired one.
|