aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 61547c8..ab41915 100644
--- a/src/main.c
+++ b/src/main.c
@@ -64,12 +64,14 @@ int main(void) {
64 irq_init(); 64 irq_init();
65 irs_set(IRQ_VBLANK, irs_stub); 65 irs_set(IRQ_VBLANK, irs_stub);
66 66
67 txt_drawf("Hello world: %d", 4, 4, 6, 10);
68 67
69 // Main loop. 68 // Main loop.
70 PROF_INIT(); 69 PROF_INIT();
71 while (true) { 70 while (true) {
72 bios_vblank_wait(); 71 bios_vblank_wait();
72 txt_drawf("Hello world: %d", 4, 4, 6, 10);
73 draw_rect(30, 30, 45, 45, 1);
74 draw_rect(35, 35, 60, 40, 2);
73 PROF_SHOW(); 75 PROF_SHOW();
74 PROF(flip_buffer(), flip_cycles); 76 PROF(flip_buffer(), flip_cycles);
75 } 77 }