mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-04 02:23:10 +00:00
Began work on tty driver
This commit is contained in:
+3
-2
@@ -1,8 +1,9 @@
|
||||
#include <kernel.h>
|
||||
#include <tty.h>
|
||||
|
||||
__noreturn
|
||||
void kmain(void) {
|
||||
*(char*)0xb8000 = 'a';
|
||||
while (1) __asm__ volatile ("movl $69, %eax");
|
||||
tty_init();
|
||||
printk("Hello, World!\n");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user