source:
soft/giet_vm/applications/raycast/main.c
@
677
| Last change on this file since 677 was 676, checked in by , 10 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.
![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)