Support stuff for keyboard
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
%include "multiboot_header.asm"
|
||||
%include "x86_vram.asm"
|
||||
|
||||
extern c_entry
|
||||
section .bss
|
||||
|
||||
stack resb 0x1000
|
||||
|
||||
section .data
|
||||
|
||||
[bits 32]
|
||||
section .text
|
||||
|
||||
|
||||
global boot:
|
||||
mov esp, stack + 0x1000
|
||||
xor ebp, ebp
|
||||
@@ -18,6 +21,7 @@ main:
|
||||
push word BG.BLACK | ' '
|
||||
call clear
|
||||
add esp, 2
|
||||
call c_entry
|
||||
|
||||
halt:
|
||||
hlt
|
||||
|
||||
Reference in New Issue
Block a user