Support stuff for keyboard

This commit is contained in:
greg
2015-09-18 02:56:07 -07:00
parent f4de677406
commit b6851ab0b5
4 changed files with 18 additions and 2 deletions

View File

@@ -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