Extracted provided zip.
This commit is contained in:
10
Part1/A4/03_strings/kernel/kernel.c
Executable file
10
Part1/A4/03_strings/kernel/kernel.c
Executable file
@ -0,0 +1,10 @@
|
||||
#include "../drivers/screen.h"
|
||||
|
||||
void _start() {
|
||||
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);
|
||||
}
|
Reference in New Issue
Block a user