summaryrefslogtreecommitdiffstats
path: root/sw/z80_test/main.c
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-09-07 14:27:14 +0200
committerNao Pross <naopross@thearcway.org>2017-09-07 14:27:14 +0200
commit26b68ceb8ec5ccad999a436c7d594d1df3398f04 (patch)
treecd08864a651d5648f47b1628e3512e5d8457ab3c /sw/z80_test/main.c
parentminor bug fix for ROM programmer (diff)
downloadz80uPC-26b68ceb8ec5ccad999a436c7d594d1df3398f04.tar.gz
z80uPC-26b68ceb8ec5ccad999a436c7d594d1df3398f04.zip
z80_test cleanup and makefile corrections
Diffstat (limited to 'sw/z80_test/main.c')
-rw-r--r--sw/z80_test/main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/z80_test/main.c b/sw/z80_test/main.c
index a90cd92..d2e1d8e 100644
--- a/sw/z80_test/main.c
+++ b/sw/z80_test/main.c
@@ -2,6 +2,10 @@
void main(void)
{
- usart_init(USART_BAUDRATE_9600, USART_PARITY_EVEN, USART_STOP_BITS_1);
- usart_write("Hello, World!", 13);
+ usart_init(USART_BAUDRATE_1200, USART_PARITY_EVEN, USART_STOP_BITS_1);
+ usart_write("Hello, World!\n", 13);
+
+ while(1) {
+ usart_write("done\n", 5);
+ }
}