aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/head.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/boot/head.S b/boot/head.S
index 42b1e69..62af7d1 100644
--- a/boot/head.S
+++ b/boot/head.S
@@ -1,5 +1,6 @@
.set ALIGN, 1<<0
.set MEMINFO, 1<<1
+ .set GFXMODE, 1<<2 # this flag enables the graphics fields
.set FLAGS, ALIGN | MEMINFO
.set MAGIC, 0x1BADB002 # multiboot magic
.set CHECKSUM, -(MAGIC + FLAGS)
@@ -10,6 +11,15 @@ multiboot_header:
.long MAGIC
.long FLAGS
.long CHECKSUM
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 0
+ .long 1 # text mode
+ .long 0
+ .long 0
+ .long 0
.section .stack
stack_bottom: # Stack grows up in addresses, so bottom is