From 48bdc0e58fa036d6551fe216daaa6dbb390b8c82 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 8 Jul 2014 18:13:26 +0200 Subject: some cleanup --- kernel/console.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kernel/console.c') diff --git a/kernel/console.c b/kernel/console.c index d5d4573..f17dbe3 100644 --- a/kernel/console.c +++ b/kernel/console.c @@ -1,11 +1,24 @@ -#include - #include "console.h" static int posx=0; static int posy=0; -void print_nextline() +void scr_clear() +{ + int x,y; + + for(x=0;x>12); val=val << 4; - } } -void print_string(char *str) +void scr_put_string(char *str) { - while(*str!=0) { print_char(posx++,posy,*(str++)); } } -void console_clear_screen() -{ - int x,y; - for(x=0;x