aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-08 17:28:15 -0700
committerChristian Cunningham <cc@localhost>2021-12-08 17:28:15 -0700
commit15b93ed9c47691ae0b7241100509159a38c36049 (patch)
tree475f29aea3abdadfc7338178283f152d08949c23 /src/sys
parent70875c2c095576489cb88836a7e176c83c298f03 (diff)
Standardized Format
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/core.c8
1 files changed, 8 insertions, 0 deletions
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