From 64ec44ba4575686849ba2597cf8bc9054af3d376 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 24 Sep 2019 22:34:20 +0200 Subject: Added working VESA driver Note to myself: Use Real/Protected mode correctly :) --- src/kernel/kernel.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/kernel/kernel.c') 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(); -- cgit v1.2.3