add support for writing debug output to the console

This commit is contained in:
2022-05-08 00:41:11 +02:00
parent 9f548cd6f0
commit d1556f7be8
7 changed files with 62 additions and 19 deletions

7
test/log.cwa Normal file
View File

@@ -0,0 +1,7 @@
include "../examples/include/microw8-api.cwa"
export fn upd() {
printChar('\06f: ');
printInt(32!32 * 6 / 100);
printChar('\n\4');
}