summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/NOTES2
-rw-r--r--asm/multiboot.s12
2 files changed, 7 insertions, 7 deletions
diff --git a/asm/NOTES b/asm/NOTES
index 23e7ebf..d5df67a 100644
--- a/asm/NOTES
+++ b/asm/NOTES
@@ -1,2 +1,2 @@
files in this directory should not depend on any other files.
-Also this is not supported by the build-system by now.
+This is not supported by the build-system by now.
diff --git a/asm/multiboot.s b/asm/multiboot.s
index 21df7bb..1927c9b 100644
--- a/asm/multiboot.s
+++ b/asm/multiboot.s
@@ -5,7 +5,7 @@
.set ALIGN, 1<<0 # align loaded modules on page boundaries
.set MEMINFO, 1<<1 # provide memory map
.set GFXINFO, 1<<2 # provide gfx info
-.set FLAGS, ALIGN | MEMINFO # | GFXINFO # this is the Multiboot 'flag' field
+.set FLAGS, ALIGN | MEMINFO | GFXINFO # this is the Multiboot 'flag' field
.set MAGIC, 0x1BADB002 # 'magic number' lets bootloader find the header
.set CHECKSUM, -(MAGIC + FLAGS) # checksum of above, to prove we are multiboot
@@ -20,16 +20,16 @@
.long FLAGS
.long CHECKSUM
-.long 0 # we dont need this
+.long 0 # we dont need this for ELF
.long 0
.long 0
.long 0
.long 0
-.long 0 #gfx_stuff
-.long 0
-.long 0
-.long 0
+.long 1 #gfx_stuff
+.long 800
+.long 600
+.long 24
# Currently the stack pointer register (esp) points at anything and using it may
# cause massive harm. Instead, we'll provide our own stack. We will allocate