fix control codes 4-6 as parameters to other control codes

This commit is contained in:
2023-01-28 10:58:28 +01:00
parent b33099c828
commit fc05a54e2c
3 changed files with 23 additions and 10 deletions

13
test/text_modes.cwa Normal file
View File

@@ -0,0 +1,13 @@
include "../examples/include/microw8-api.cwa"
export fn upd() {
printString(USER_MEM);
}
data USER_MEM {
i8(12, 31, 5, 6) "Text mode"
i8(5, 31, 4, 5) "Graphics mode"
i8(6) "Console output\nSecond line\n"
i8(4, 31, 4, 12) "Back to text mode"
i8(0)
}