🎉 simple allocator init in the code

This commit is contained in:
2025-09-05 16:48:24 -04:00
parent cd316afdd1
commit b0bd4b27b0
2 changed files with 5 additions and 2 deletions

View File

@@ -158,8 +158,10 @@ main:
print_string HelloPrompt_info
; setup the early heap
push area
mov ax, early_heap_state
push ax ; address in bss of state structure
call arena_init
add sp, 0x2
; enable A20 gate
call EnableA20