aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-06-02 20:20:23 +0200
committerBad Diode <bd@badd10de.dev>2021-06-02 20:20:23 +0200
commit215465df74a6065f4b0fdf199b8b04454520a398 (patch)
treef979791df1ae25bf7da9644ce4a0d55d3b8f8fb4 /src/main.c
parentf6686f1e86927f038086023362251ebe78ce5ad6 (diff)
downloadstepper-215465df74a6065f4b0fdf199b8b04454520a398.tar.gz
stepper-215465df74a6065f4b0fdf199b8b04454520a398.zip
Update the renderer to support a text layer
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index e228034..1e1ef11 100644
--- a/src/main.c
+++ b/src/main.c
@@ -9,12 +9,11 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9WITH REGARD TO THIS SOFTWARE. 9WITH REGARD TO THIS SOFTWARE.
10*/ 10*/
11 11
12#include "common.h" 12#include "gba/gba.h"
13// #include "text.h"
14 13
15#include "interrupts.c"
16#include "filesystem.c" 14#include "filesystem.c"
17#include "renderer.c" 15#include "renderer.c"
16// #include "text.h"
18 17
19// 18//
20// Config parameters. 19// Config parameters.
@@ -62,6 +61,10 @@ int main(void) {
62 irq_init(); 61 irq_init();
63 irs_set(IRQ_VBLANK, irs_stub); 62 irs_set(IRQ_VBLANK, irs_stub);
64 63
64 draw_pixel(10, 0, 1);
65 draw_pixel(10, 1, 2);
66 draw_pixel(10, 2, 3);
67 draw_pixel(10, 3, 4);
65 draw_pixel(0, 0, 1); 68 draw_pixel(0, 0, 1);
66 draw_pixel(0, 1, 2); 69 draw_pixel(0, 1, 2);
67 draw_pixel(0, 2, 3); 70 draw_pixel(0, 2, 3);