framebuffer driver and a working gdt

This commit is contained in:
cowmonk 2025-07-19 21:44:14 -07:00
parent 49bf45abc8
commit 4a304f7b63
9 changed files with 761 additions and 40 deletions

View file

@ -1,8 +1,8 @@
#include <gdt.h>
#include <klibc/string.h>
#include <drivers/video/vga.h>
#include <stddef.h>
#include <bootloader.h>
#include <drivers/video/framebuffer.h>
static void
hcf(void)
@ -18,9 +18,13 @@ kernel_main(void)
/* Make sure the bootloader understands our base revision */
if (LIMINE_BASE_REVISION_SUPPORTED == 0) hcf();
vga_set_mode_13h();
/* initGDT(); */
/* Initialize framebuffer console */
fb_init();
/* Test print */
fb_puts("Hello World\n");
initGDT();
/* done so now hang */
hcf();