cfenollosa_os-tutorial/16-video-driver/kernel/kernel.c

11 lines
302 B
C
Raw Normal View History

2014-10-22 08:58:12 +00:00
#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);
}