mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-04 10:33:12 +00:00
Added keyboard support (hell yeah)
This commit is contained in:
+6
-1
@@ -2,14 +2,19 @@
|
||||
#include "idt.h"
|
||||
#include "isrs.h"
|
||||
#include "irq.h"
|
||||
#include "keyboard.h"
|
||||
#include "system.h"
|
||||
|
||||
void main() {
|
||||
// Interrupts
|
||||
setupIdt();
|
||||
setupIsrs();
|
||||
setupIrqs();
|
||||
sti();
|
||||
|
||||
setupKeyboard();
|
||||
|
||||
clear(0x0f);
|
||||
print("kern.\n", 0x0f);
|
||||
print("kern.\n\n", 0x0f);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user