diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,13 +1,14 @@ | |||
1 | #include "common.h" | 1 | #include "common.h" |
2 | #include "ppu.c" | ||
2 | 3 | ||
3 | void main(void) { | 4 | void main(void) { |
4 | // Initialize uart. | 5 | // Initialize uart. |
5 | uart_init(); | 6 | uart_init(); |
6 | 7 | ||
7 | uart_puts("Hello World!\n"); | 8 | ppu_init(); |
8 | 9 | ||
9 | // Echo input to standard output. | ||
10 | while(1) { | 10 | while(1) { |
11 | // Echo input to standard output. | ||
11 | uart_putc(uart_getc()); | 12 | uart_putc(uart_getc()); |
12 | } | 13 | } |
13 | } | 14 | } |