implement framework for control codes

This commit is contained in:
2021-12-31 22:12:21 +01:00
parent 32345876b9
commit cd1275a78f
3 changed files with 73 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
import "env.printChar" fn printChar(i32);
import "env.printString" fn printString(i32);
export fn upd() {
printString(0x20000);
}
data 0x20000 {
i8(14, 0xfd, 12) // clear screen to color 0xfd
"Top left"
i8(0)
}