mirror of
https://github.com/exoticorn/microw8.git
synced 2026-11-13 23:17:19 +01:00
test remaining control codes
This commit is contained in:
1 parent
b7e8ddf0f1
commit
397ff19d80
5 files changed
+14
-3
No files matched your search
Binary file not shown.
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user