Skip to content
Snippets Groups Projects
Commit 9a569cdf authored by Bensong Liu's avatar Bensong Liu
Browse files

println working

parent d726c9e5
No related branches found
No related tags found
1 merge request!1println working
...@@ -14,13 +14,13 @@ void main() { ...@@ -14,13 +14,13 @@ void main() {
for(auto x = 0; x < 80; ++x) { for(auto x = 0; x < 80; ++x) {
char c = x%10 + '0'; char c = x%10 + '0';
char color = x + y*80; char color = x + y*80;
set_char(x, y, c, color); set_char(x, y, ' ', 0x0f);
} }
} }
print("Hello world!\n"); print("Hello world!\n");
print("Hello world!\n", 0xb1); print("Hello world!\n", 0xb1);
print("Hello world!\n", 0xae); print("Hello world!\n", 0xae);
print("Hello world!\n", 0x5c); print("Hello world!\n", 0x5c);
print("Hello world!\n"); print("Hello world! This is recolic's test message, \n");
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment