Got memory info from multiboot & minor adjustments

This commit is contained in:
2025-02-19 10:46:35 +01:00
parent 609e10e13c
commit 8674d32f77
10 changed files with 384 additions and 23 deletions
+2 -1
View File
@@ -22,7 +22,7 @@ align 16
; Initialize stack
stack_bottom:
resb 16384 ; 16kB
resb 16384
stack_top:
; Entry point
@@ -31,6 +31,7 @@ global _start
extern kmain
_start:
mov esp, stack_top ; Setup stack
push ebx
call kmain ; Call kernel main
; Hang if kernel returns