Bochs VBE Extensions: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
→BGA versions: 0xB0C4 figured out, still puzzled as to what 0xB0C5 adds |
m Bot: Replace deprecated source tag with syntaxhighlight |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 13:
* 0xB0C3 - support for getting capabilities, support for using 8 bit DAC
* 0xB0C4 - VRAM increased to 8 MB
* 0xB0C5 - [http://marc.info/?l=bochs-cvs&m=123287460501516 VRAM increased to 16 MB?] [TODO: verify and check for other changes]
[TODO: if and when 4BPP modes are supported]
[TODO: if and when VGA attribute controller (AC) is supported]
Line 84:
=== Using a linear frame buffer (LFB) ===
When using a linear
Unlike Bochs, QEMU does not necessarily pay attention to the VBE_DISPI_LFB_ENABLED flag
'''Note:''' In older versions of Bochs and QEMU, the framebuffer was fixed at 0xE0000000, and modern versions will use that address when emulating ISA-only systems. '''It is highly inadvisable to make assumptions about the address of the linear framebuffer.''' It should always be read from the BGA's PCI BAR0.
=== Clearing display memory ===
Line 116 ⟶ 118:
=== Example code ===
<
void BgaWriteRegister(unsigned short IndexValue, unsigned short DataValue)
{
Line 150 ⟶ 152:
}
</syntaxhighlight>
==External Links==
[http://cvs.savannah.nongnu.org/viewvc/*checkout*/vgabios/vgabios/vbe_display_api.txt?revision=1.14 Specification]
[[Category:Video]]
|