From a7b08225258c7ba4092adc692f561724c35a77d8 Mon Sep 17 00:00:00 2001 From: nino-porcino Date: Tue, 11 Jan 2022 20:26:58 +0100 Subject: [PATCH] add a minimalistic hello world demo --- demos/hello-world/hello.c | 7 +++++++ demos/hello-world/m.bat | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 demos/hello-world/hello.c create mode 100644 demos/hello-world/m.bat diff --git a/demos/hello-world/hello.c b/demos/hello-world/hello.c new file mode 100644 index 0000000..d2f2ebc --- /dev/null +++ b/demos/hello-world/hello.c @@ -0,0 +1,7 @@ +#include +#include + +void main() { + woz_puts("\r\rHELLO WORLD FROM KICK-C\r\r"); + woz_mon(); +} diff --git a/demos/hello-world/m.bat b/demos/hello-world/m.bat new file mode 100644 index 0000000..a3d1101 --- /dev/null +++ b/demos/hello-world/m.bat @@ -0,0 +1,2 @@ +@call ..\..\tools\build hello +