VESA Video Modes: Difference between revisions
Jump to navigation
Jump to search
Completed wikification, removed PFR tag, categorisation
[unchecked revision] | [unchecked revision] |
No edit summary |
(Completed wikification, removed PFR tag, categorisation) |
||
Line 1:
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
== VESA Functions ==
You'll want to look in the VESA VBE docs for these functions:
Line 55 ⟶ 54:
;INT 0x10, AX=0x4F02: Set Video Mode. Call this with the mode number you decide to use.
== Will it work with Bochs
For VBE to work in Bochs you need the "VGABIOS-lgpl" BIOS and have a version of Bochs that was compiled with the "--enable-vbe" option... See [Vesa Information in Bochs| Forum:6311] thread for more info▼
▲For VBE to work in Bochs you need the "VGABIOS-lgpl" BIOS and have a version of Bochs that was compiled with the
==How to pick the mode i wish ?==
Line 113 ⟶ 111:
==See Also==
===Threads===
*[[Topic:9700|VESA, higher modes
[[Category:Video]]
[[Category:FAQ]]
|