| 16 | } |
| 17 | |
| 18 | void STDIO::print(uint x, uint y, uint8 c, uint8 color) |
| 19 | { |
| 20 | |
| 21 | if (x >= 25 || y >= 80) |
| 22 | { |
| 23 | return; |
| 24 | } |
| 25 | |
| 26 | uint pos = x * 80 + y; |
| 27 | screen[2 * pos] = c; |
| 28 | screen[2 * pos + 1] = color; |
| 29 | } |
| 30 | |
| 31 | void STDIO::print(uint8 c, uint8 color) |
| 32 | { |