This commit is contained in:
Adrien Bourmault 2019-03-12 17:25:25 +01:00
parent b9322e60e0
commit 4a9b54cc3e
1 changed files with 5 additions and 0 deletions

View File

@ -102,7 +102,9 @@ mbMagic dq 0
lbegin: lbegin:
pop ebx ; 1st argument multiboot info pointer pop ebx ; 1st argument multiboot info pointer
mov [mbInfo], ebx
pop eax ; 2nd argument is magic number pop eax ; 2nd argument is magic number
mov [mbMagic], eax
call clear ; Clear the screen call clear ; Clear the screen
@ -159,6 +161,9 @@ _loader64:
call tritemporize ; Let time to see call tritemporize ; Let time to see
extern StartKern extern StartKern
push qword 12
push qword 12
call StartKern call StartKern
;; We must never reach this point ------------------------------------------- ;; ;; We must never reach this point ------------------------------------------- ;;