|
|
|
@ -75,8 +75,8 @@ void new_line() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void println(char* str, int attribute_byte) { |
|
|
|
|
if( cursor_row > MAX_ROWS ) { |
|
|
|
|
set_cursor_pos(0, MAX_ROWS); |
|
|
|
|
if( cursor_row >= MAX_ROWS ) { |
|
|
|
|
set_cursor_pos(0, 0); |
|
|
|
|
println(str, attribute_byte); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
@ -84,15 +84,6 @@ void println(char* str, int attribute_byte) { |
|
|
|
|
new_line(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void printint(int i, int attribute_byte) { |
|
|
|
|
/*
|
|
|
|
|
char* strbuf; |
|
|
|
|
|
|
|
|
|
strbuf = int_to_str(i, strbuf); |
|
|
|
|
println(strbuf, attribute_byte); |
|
|
|
|
*/ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void printalign(char* str, int attribute_byte, enum align alignment) { |
|
|
|
|
uint strlenbuf = strlen(str); |
|
|
|
|
|
|
|
|
|