From 6188eed3863e6087a7d5b7d988e91d711b45064b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 16 Dec 2019 21:02:08 +0100 Subject: Single hardcoded pixel drawing in userspace somehow works a bit --- src/userspace/graphics/framebuffer.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/userspace/graphics/framebuffer.c') diff --git a/src/userspace/graphics/framebuffer.c b/src/userspace/graphics/framebuffer.c index 17e841d..6fc1937 100644 --- a/src/userspace/graphics/framebuffer.c +++ b/src/userspace/graphics/framebuffer.c @@ -41,13 +41,6 @@ void init_framebuffer() struct userspace_pointers *pointers = (struct userspace_pointers *) syscall_get_pointers(); fb = (unsigned char *) 0xfd000000; - uint32_t color[3] = {0xab, 0xb2, 0xbf}; - vesa_set_pixel(50, 50, color); - vesa_set_pixel(50, 51, color); - vesa_set_pixel(50, 52, color); - vesa_set_pixel(50, 53, color); - vesa_set_pixel(50, 54, color); - vesa_set_pixel(50, 55, color); - vesa_set_pixel(50, 56, color); - vesa_set_pixel(50, 57, color); + uint32_t color[3] = {0xff, 0x00, 0x00}; + vesa_set_pixel(0, 0, color); } \ No newline at end of file -- cgit v1.2.3