aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen Janssen <japj@xs4all.nl>2002-03-13 18:46:41 +0000
committerJeroen Janssen <japj@xs4all.nl>2002-03-13 18:46:41 +0000
commitea8fb81851222e297c0419338b539fccf7cd0aee (patch)
tree10ad44d4dd7ea8d812c33c6620d9a48aea30dd84
parentde5c9205f79b8e53c4b8f12ab85533e756cd2c09 (diff)
downloadvgabios-ea8fb81851222e297c0419338b539fccf7cd0aee.tar.gz
- added max video memory + documented what is in the 0xb0c0 interface
-rw-r--r--vbe.h6
-rw-r--r--vbe_display_api.txt18
2 files changed, 22 insertions, 2 deletions
diff --git a/vbe.h b/vbe.h
index 4bc4848..ddc1205 100644
--- a/vbe.h
+++ b/vbe.h
@@ -267,7 +267,7 @@ typedef struct ModeInfoBlock
// like 0xE0000000
-#define VBE_TOTAL_VIDEO_MEMORY_DIV_64K (4*1024/64)
+ #define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 4
#define VBE_DISPI_BANK_ADDRESS 0xA0000
#define VBE_DISPI_BANK_SIZE_KB 64
@@ -297,4 +297,8 @@ typedef struct ModeInfoBlock
#define VBE_DISPI_LFB_PHYSICAL_ADDRESS 0xE0000000
+
+#define VBE_TOTAL_VIDEO_MEMORY_DIV_64K (VBE_DISPI_TOTAL_VIDEO_MEMORY_MB*1024/64)
+
+
#endif
diff --git a/vbe_display_api.txt b/vbe_display_api.txt
index c9ec123..b866e67 100644
--- a/vbe_display_api.txt
+++ b/vbe_display_api.txt
@@ -9,7 +9,22 @@ VBE Display API
This document does not describe hwo the VBEBios implements the VBE2/3 spec.
This document does not describe how the Bochs display code will display gfx based upon this spec.
-
+
+
+API History
+-----------
+0xb0c0 supports the following VBE_DISPI_ interfaces (present in Bochs 1.4.pre2):
+ VBE_DISPI_INDEX_ID
+ VBE_DISPI_INDEX_XRES
+ VBE_DISPI_INDEX_YRES
+ VBE_DISPI_INDEX_BPP
+ VBE_DISPI_INDEX_ENABLE
+ VBE_DISPI_INDEX_BANK
+
+ Bpp format supported is:
+ VBE_DISPI_BPP_8
+
+
History
-------
@@ -53,6 +68,7 @@ Abbreviations
#defines
--------
+ #define VBE_DISPI_TOTAL_VIDEO_MEMORY_MB 4
#define VBE_DISPI_BANK_ADDRESS 0xA0000
#define VBE_DISPI_BANK_SIZE_KB 64