aboutsummaryrefslogtreecommitdiff
path: root/src/userspace
diff options
context:
space:
mode:
authorMarvin Borner2019-12-16 21:02:08 +0100
committerMarvin Borner2019-12-16 21:02:08 +0100
commit6188eed3863e6087a7d5b7d988e91d711b45064b (patch)
tree920d479a437214ae6d3e164e3fc3a3b72c1b31f8 /src/userspace
parent31aaf43b77bb86d3668f6903ca48ffdb0812cfe2 (diff)
Single hardcoded pixel drawing in userspace somehow works a bit
Diffstat (limited to 'src/userspace')
-rw-r--r--src/userspace/graphics/framebuffer.c11
1 files changed, 2 insertions, 9 deletions
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