summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-08-19 09:46:20 +0200
committerMichal Idziorek <m.i@gmx.at>2014-08-19 09:46:20 +0200
commit9b04920f5b8310971b407b6f0626d2623c367646 (patch)
tree67f14b934865907d37456aff6cba65d9c909895f /boot
parent6595b6ed72c5edf1586b9c5a1298827f78457c38 (diff)
fixed position of memory map (after mbr change!!)
Diffstat (limited to 'boot')
-rw-r--r--boot/mbr.asm7
1 files changed, 5 insertions, 2 deletions
diff --git a/boot/mbr.asm b/boot/mbr.asm
index a9c26f7..fd13a76 100644
--- a/boot/mbr.asm
+++ b/boot/mbr.asm
@@ -25,16 +25,18 @@ KERNEL_OFFSET equ 0x1000
[bits 16]
jmp boot_16 ;start boot process
+BOOT_DRIVE:
+ db 0
+
;SOME Global Data, mainly strings
STR_VERSION:
db "v0.2~",0
+
;STR_PROT:
; db "32-bit PM",0
;STR_LOADED:
; db "loaded",0
-BOOT_DRIVE:
- db 0
;lets put our temporary GDT (Global Descriptor Table) here
%include "boot/GDT.asm"
@@ -147,6 +149,7 @@ boot_32_pm:
call KERNEL_OFFSET ;jump into our Kernel it
db 'X'
+db 'X'
MEMMAP: