summaryrefslogtreecommitdiff
path: root/src/kernel/vesa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/vesa.c')
-rw-r--r--src/kernel/vesa.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/kernel/vesa.c b/src/kernel/vesa.c
index e781249..4cdabb2 100644
--- a/src/kernel/vesa.c
+++ b/src/kernel/vesa.c
@@ -1,5 +1,21 @@
#include "vesa.h"
+uint16_t screen_width;
+uint16_t screen_height;
+uint8_t bpp;
+
+void *frame_buffer;
+
+void put_pixel(uint16_t x, uint16_t y, color c) {
+
+}
+
+void screen_fill(color c) {
+
+}
+
void init_vesa() {
-
+// for (void *v = 0; v < 0x65536; ++v) {
+// if (*(uint32_t *)v == 'P' + 'M' * 256 + 'I' * 65536 + 'D' * 16777216)
+// }
} \ No newline at end of file