summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/mod_mem_map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/boot/mod_mem_map.c b/src/boot/mod_mem_map.c
index 0e89ee7..701a12e 100644
--- a/src/boot/mod_mem_map.c
+++ b/src/boot/mod_mem_map.c
@@ -2,6 +2,10 @@
#include "../output/vga_character.h"
+__asm__(".code16gcc\n");
+
void populate_memory_map(void) {
vga_graphics_write_str("pretend i populated the memory map, ok?");
+ vga_graphics_write_str(" system_memory_map = ");
+ vga_graphics_byte_hex(0x10);
}