gba-x3dtest

view src/main.c @ 0:0d2602a1b851

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 12 Jun 2014 05:37:18 +0300
parents
children b7130fe3f073
line source
1 #include "gbasys.h"
3 static void draw(void);
4 static void keyb_handler(void);
6 static unsigned int keystate;
8 int main(void)
9 {
10 gba_init();
11 //interrupt(INTR_KEY, keyb_handler);
13 set_video_mode(VMODE_LFB_160x128_16, 1);
15 clear_buffer(front_buffer, 0);
16 draw_string("please wait...", 0, 0, front_buffer);
18 for(;;) {
19 draw();
20 }
21 return 0;
22 }
24 static void draw(void)
25 {
26 }
28 static void keyb_handler(void)
29 {
30 }