From 15b93ed9c47691ae0b7241100509159a38c36049 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 8 Dec 2021 17:28:15 -0700 Subject: Standardized Format --- src/sys/core.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/sys') diff --git a/src/sys/core.c b/src/sys/core.c index 1a6332f..3bb9651 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -1,5 +1,6 @@ #include "../drivers/uart.a.h" #include "../drivers/uart.h" +#include "../graphics/draw.h" #include "../util/time.h" #include "../util/mutex.h" #include "../sys/core.h" @@ -12,6 +13,8 @@ char* os_info_v = "?"; char* os_info_v = VERSION; #endif +extern void init_graphics(void); + static char* irq_on = " \033[92mEnabled\033[0m"; static char* irq_off = " \033[91mDisabled\033[0m"; @@ -40,6 +43,11 @@ void sysinit() { routing_core0cntv_to_core0irq(); // Enable timer enable_cntv(); + + // Graphics Initialize + //init_graphics(); + //draw_box(0x01FE, 0, 0, 640, 480); + //draw_box(0xFFFF, 2, 2, 10, 10); } // Checks IRQ status -- cgit v1.2.1