How do I set a graphics mode: Difference between revisions
Jump to navigation
Jump to search
Added the 'probably' word because the next part of the sentence says 'mostly' and not 'always'.
[unchecked revision] | [unchecked revision] |
(Reformulated, removed excess headers, false suggestions, added more links) |
(Added the 'probably' word because the next part of the sentence says 'mostly' and not 'always'.) |
||
Line 3:
== Using the BIOS ==
Each video card you find in a PC comes with a piece of code that allows it to be initialized, the video BIOS. This bios is expected to
run in [[Real Mode]], and as long as you are, you can access all the functions directly by calling int [http://www.ctyme.com/intr/int-10.htm 0x10] with the right values in the registers. '''If your kernel is based on a tutorial, you can probably not do this''', because for practically all tutorials, you are in protected mode, and not in real mode.
Many video cards have two interfaces, one [[:Category:VGA|VGA interface]] for low resolutions, and the [[Getting VBE Mode Info|VESA VBE]] interface for higher resolutions. Alternatively, you can write your own code to directly deal with the graphics hardware.
|