source:
soft/giet_vm/applications/raycast/main.c
@
682
Last change on this file since 682 was 676, checked in by , 9 years ago | |
---|---|
File size: 287 bytes |
Line | |
---|---|
1 | #include "game.h" |
2 | #include "disp.h" |
3 | #include <stdio.h> |
4 | #include <malloc.h> |
5 | |
6 | // Exported functions |
7 | |
8 | __attribute__((constructor)) void main() |
9 | { |
10 | giet_tty_alloc(0); |
11 | giet_tty_printf("[RAYCAST] entering main()\n"); |
12 | |
13 | heap_init(0, 0); |
14 | dispInit(); |
15 | |
16 | while (1) { |
17 | gameRun(); |
18 | } |
19 | } |
Note: See TracBrowser
for help on using the repository browser.