megadrive_test2

view src/debug.c @ 8:403367d5df5a

added 8x8 font data
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 22 Jun 2017 07:44:48 +0300
parents
children ca7108a82867
line source
1 #include "debug.h"
2 #include "dbgfont.h"
4 static int init_done;
6 static void init_font(void)
7 {
8 /* TODO allocate tiles, prepare palette etc */
9 }
11 void dbg_print(const char *s)
12 {
13 if(!init_done) {
14 init_font();
15 init_done = 1;
16 }
17 }