call read_clus_chain_unreal ; load kernel
print kernel_loaded
+ call get_e820_map
+
cli
lgdt [gdt]
mov eax, cr0
%include "../fat32/fat32.s"
%include "gdt.s"
%include "print.s"
+%include "e820.s"
in_protected:
bits 32
call load_paging_structs
call enable_paging
- call 0xc0000000
- hlt
- jmp $-1
+ jmp 0x8:0xc0000000
+ nop
kernel_name: db "KERNEL BIN"
begin: db "Nameless Bootloader revision ", GIT_REVISION, 0xd, 0xa, 0