From 779c5755f6ddcc8680a2b4a3fa3606d930309ecc Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 2 Sep 2014 18:11:49 +0200 Subject: Finally Fix paging bug! Hooray! --- kernel/console.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'kernel/console.c') diff --git a/kernel/console.c b/kernel/console.c index 16cf04f..e06da45 100644 --- a/kernel/console.c +++ b/kernel/console.c @@ -1,7 +1,6 @@ #include "console.h" -#define FOOLOS_CONSOLE -//#undef FOOLOS_CONSOLE +//#define FOOLOS_CONSOLE static int posx=0; static int posy=0; @@ -10,11 +9,11 @@ static int posy=0; void print_char_col(int x, int y, char c, char col) { -//#ifdef FOOLOS_CONSOLE +#ifdef FOOLOS_CONSOLE char* video_mem=(char *)SCR_VIDEOMEM+(x+y*SCR_REAL_WIDTH)*2; video_mem[0]=c; video_mem[1]=col; -//#endif +#endif } void print_char(int x, int y, char c) -- cgit v1.2.3