mirror of
https://github.com/cfenollosa/os-tutorial.git
synced 2024-10-27 20:34:19 +00:00
11 lines
302 B
C
11 lines
302 B
C
|
#include "../drivers/screen.h"
|
||
|
|
||
|
void main() {
|
||
|
clear_screen();
|
||
|
kprint_at("X", 1, 6);
|
||
|
kprint_at("This text spans multiple lines", 75, 10);
|
||
|
kprint_at("There is a line\nbreak", 0, 20);
|
||
|
kprint("There is a line\nbreak");
|
||
|
kprint_at("What happens when we run out of space?", 45, 24);
|
||
|
}
|