diff options
author | Volker Ruppert <info@vruppert.de> | 2003-07-14 17:45:49 +0000 |
---|---|---|
committer | Volker Ruppert <info@vruppert.de> | 2003-07-14 17:45:49 +0000 |
commit | 3af22b433acd1046f2ec38d1c88bca6148bf7bc1 (patch) | |
tree | afaddeb327c13d758f9fb05a4f04c9284d741da0 | |
parent | fe187cb3ecfbdbac5938888f0c23e813c4d2fca5 (diff) | |
download | vgabios-3af22b433acd1046f2ec38d1c88bca6148bf7bc1.tar.gz |
- description of VBE_DISPI_ interface 0xb0c2 added
-rw-r--r-- | vbe_display_api.txt | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/vbe_display_api.txt b/vbe_display_api.txt index 3c90d47..4bd449c 100644 --- a/vbe_display_api.txt +++ b/vbe_display_api.txt @@ -24,12 +24,16 @@ API History Bpp format supported is: VBE_DISPI_BPP_8 -0xb0c1 supports 0xb0c0 VBE_DISPI_ interfaces, additional interfaces: +0xb0c1 supports 0xb0c0 VBE_DISPI_ interfaces, additional interfaces (present in Bochs 2.0): VBE_DISPI_INDEX_VIRT_WIDTH VBE_DISPI_INDEX_VIRT_HEIGHT VBE_DISPI_INDEX_X_OFFSET VBE_DISPI_INDEX_Y_OFFSET - + +0xb0c2 supports 0xb0c1 VBE_DISPI_ interfaces, interfaces updated for additional features: + VBE_DISPI_INDEX_BPP supports >8bpp color depth (value = bits) + VBE_DISPI_INDEX_ENABLE supports new flag VBE_DISPI_NOCLEARMEM + History @@ -99,14 +103,11 @@ Abbreviations #define VBE_DISPI_ID0 0xB0C0 #define VBE_DISPI_ID1 0xB0C1 + #define VBE_DISPI_ID2 0xB0C2 - #define VBE_DISPI_BPP_8 0x0 -// The following is not support yet, but just for reference available. -// #define VBE_DISPI_BPP_RGB565 0x1 -// #define VBE_DISPI_BPP_RGB555 0x2 - #define VBE_DISPI_DISABLED 0x00 #define VBE_DISPI_ENABLED 0x01 + #define VBE_DISPI_NOCLEARMEM 0x80 #define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xE0000000 @@ -183,6 +184,14 @@ API Writing a new offset will also result in a complete screen refresh. +[0xb0c2] + * VBE_DISPI_INDEX_BPP : WORD {R,W} + The value written is now the number of bits per pixel. A value of 0 is treated + the same as 8 for backward compatibilty. These values are supported: 8, 15, + 16, 24 and 32. The value of 4 is not handled in the VBE code. + * VBE_DISPI_INDEX_ENABLE : WORD {R,W} + The new flag VBE_DISPI_NOCLEARMEM allows to preserve the VBE video memory. + Displaying GFX -------------- Currently Linear Frame Buffer support is not available yet. |