From 2ddbeb9f7214f6d3feef651eba83e6a9d120a743 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 13 Aug 2020 17:58:50 -0400 Subject: lots of progress, including readonly PATA driver and part of FAT16 driver --- src/kernel/vesa.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'src/kernel/vesa.c') 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 -- cgit v1.2.3