Bochs VBE Extensions: Difference between revisions

m
[unchecked revision][unchecked revision]
m (→‎Clearing display memory: fixed stupid typo)
Line 84:
 
=== Using a linear frame buffer (LFB) ===
When using a linear frame buffer, the BGA exposes all of the graphics memory in a linear fashion, starting at address 0xE0000000 (VBE_DISPI_LFB_PHYSICAL_ADDRESS). [TODO: check whether this also goes for 4 BPP modes] To enable the LFB, use the VBE_DISPI_LFB_ENABLED flag (0x40) when enabling the VBE extensions (so write a value of VBE_DISPI_INDEX_ENABLEVBE_DISPI_ENABLED | VBE_DISPI_LFB_ENABLED (0x41)).
 
QEMU does not pay attention to the VBE_DISPI_LFB_ENABLED flag. Both the linear frame buffer and memory bank are available at all times. Bochs pays attention to the flag. In LFB mode it ignores requests to change the bank and nothing happens when you write to the bank memory. In banked mode nothing happens when you write to the LFB memory.
Anonymous user