test remaining control codes

This commit is contained in:
2022-01-01 15:37:17 +01:00
parent b7e8ddf0f1
commit 397ff19d80
5 changed files with 14 additions and 3 deletions

Binary file not shown.

View File

@@ -326,7 +326,7 @@ fn printSingleChar(char: i32) {
if char == 4 | char == 5 {
graphicsText = char == 5;
textCursorX = 0;
textCursorX = 0;
textCursorY = 0;
return;
}
@@ -341,6 +341,9 @@ fn printSingleChar(char: i32) {
}
if char == 9 {
if !graphicsText & textCursorX >= 320 {
printChar(0xd0a);
}
textCursorX = textCursorX + 8;
return;
}
@@ -406,6 +409,10 @@ fn printSingleChar(char: i32) {
return;
}
if char < 31 {
return;
}
drawChar(char);
}