lesson 16, kprint

This commit is contained in:
Carlos Fenollosa
2014-10-22 10:58:12 +02:00
parent ee368f41d4
commit 3530dd700c
9 changed files with 249 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
#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);
}