How do I set a graphics mode: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Creature (talk | contribs)
Added the 'probably' word because the next part of the sentence says 'mostly' and not 'always'.
mNo edit summary
 
Line 1: Line 1:
When a PC first boots up, it is set to a standard, known VGA text mode. But at some point you will want to start drawing pixels to the screen instead of text. This requires you to switch from text mode to a ''graphics'' mode. In 16-bit mode, you can easily use the BIOS to switch between different graphics modes by calling different functions of interrupt 0x10. Once you enter protected mode, however, things get a bit more difficult.
When a PC first boots up, it is set to a standard, known VGA text mode. But at some point you will want to start drawing pixels to the screen instead of text. This requires you to switch from text mode to a ''graphics'' mode. In 16-bit mode, you can easily use the BIOS to switch between different graphics modes by calling different functions of interrupt 0x10. Once you enter protected mode, however, things get a bit more difficult.

== Using the UEFI ==
For EFI, the standard was Universal Graphics Adapter, UGA. It had serious shortcomings (like not able to report framebuffer address), so in UEFI it was replaced by [[GOP|Graphics Output Protocol]] (GOP).


== Using the BIOS ==
== Using the BIOS ==