summaryrefslogtreecommitdiff
path: root/console-client/vga-hw.h
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/vga-hw.h')
-rw-r--r--console-client/vga-hw.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/console-client/vga-hw.h b/console-client/vga-hw.h
index 7275b03e..b4212e62 100644
--- a/console-client/vga-hw.h
+++ b/console-client/vga-hw.h
@@ -132,6 +132,11 @@
#define VGA_ATTR_ADDR_DATA_REG 0x3c0
#define VGA_ATTR_DATA_READ_REG 0x3c1
+/* The Attribute Mode Control subregister. */
+#define VGA_ATTR_MODE_ADDR 0x10
+#define VGA_ATTR_MODE_LGE 0x04
+
+#define VGA_ATTR_ENABLE_ADDR 0x20
/* Other junk. */
#define VGA_INPUT_STATUS_1_REG 0x3da