summaryrefslogtreecommitdiff
path: root/vgatables.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2011-06-02 23:15:49 -0500
committerRichard Henderson <rth@twiddle.net>2011-06-02 23:15:49 -0500
commitdb3b5b6935eed9a229bf5c11b4db0b7d2a812940 (patch)
tree273952f35bbb86d78b5bd0058606fbb4ae44116e /vgatables.h
parent4f4608beab5ad6cbd1547b415154dc8af154f48b (diff)
downloadqemu-palcode-db3b5b6935eed9a229bf5c11b4db0b7d2a812940.zip
qemu-palcode-db3b5b6935eed9a229bf5c11b4db0b7d2a812940.tar.gz
qemu-palcode-db3b5b6935eed9a229bf5c11b4db0b7d2a812940.tar.bz2
Initialize a VGA controler.
Doesn't actually check to see that one exists yet...
Diffstat (limited to 'vgatables.h')
-rw-r--r--vgatables.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/vgatables.h b/vgatables.h
index 8431cf0..c059efb 100644
--- a/vgatables.h
+++ b/vgatables.h
@@ -55,9 +55,9 @@ typedef uint16_t u16;
#define VGAREG_CGA_PALETTE 0x3d9
/* Video memory */
-#define GRAPH_OFFSET 0xA0000
-#define CTEXT_OFFSET 0xB8000
-#define MTEXT_OFFSET 0xB0000
+#define SEG_GRAPH 0xA000
+#define SEG_CTEXT 0xB800
+#define SEG_MTEXT 0xB000
/*
* Tables of default values for each mode