summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'sw/z80/kernel/kernel.c')
-rw-r--r--sw/z80/kernel/kernel.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/z80/kernel/kernel.c b/sw/z80/kernel/kernel.c
index fe87c3d..3d5aeb6 100644
--- a/sw/z80/kernel/kernel.c
+++ b/sw/z80/kernel/kernel.c
@@ -1,10 +1,7 @@
#include "types.h"
+#include "usart.h"
-
-void main(void)
+void kmain(void)
{
- int i, j = 20;
- for (i = 0; i < 10; i++) {
- j--;
- }
+ usart_init(USART_BAUDRATE_9600, USART_PARITY_EVEN, USART_STOP_BITS_1);
}