aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-09-24 22:34:20 +0200
committerMarvin Borner2019-09-24 22:34:20 +0200
commit64ec44ba4575686849ba2597cf8bc9054af3d376 (patch)
tree059da7b1187ae31ff8979c1c936037dd990a0cd4 /src/kernel/kernel.c
parentd1d3820c6b306758cf90a269b0466febff6c808e (diff)
Added working VESA driver
Note to myself: Use Real/Protected mode correctly :)
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index 91b2bb4..d0356f4 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -11,9 +11,10 @@ void kernel_main(void) {
isrs_install();
irq_install();
- terminal_initialize();
- terminal_write_string("Melvix loaded successfully!\n");
- terminal_write_string((const char *) best.height);
+ vbe_set_mode(0x11B); // 1280x1024
+
+ // terminal_initialize();
+ // terminal_write_string("Melvix loaded successfully!\n");
timer_install();
keyboard_install();