From 4a9b54cc3ebea56aa3730c571225153c1bcaebf4 Mon Sep 17 00:00:00 2001 From: Adrien Bourmault Date: Tue, 12 Mar 2019 17:25:25 +0100 Subject: [PATCH] stuff --- boot/loader/loader.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boot/loader/loader.asm b/boot/loader/loader.asm index 5cf97c7..fffa136 100644 --- a/boot/loader/loader.asm +++ b/boot/loader/loader.asm @@ -102,7 +102,9 @@ mbMagic dq 0 lbegin: pop ebx ; 1st argument multiboot info pointer + mov [mbInfo], ebx pop eax ; 2nd argument is magic number + mov [mbMagic], eax call clear ; Clear the screen @@ -159,6 +161,9 @@ _loader64: call tritemporize ; Let time to see extern StartKern + + push qword 12 + push qword 12 call StartKern ;; We must never reach this point ------------------------------------------- ;;