summaryrefslogtreecommitdiff
path: root/kernel/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/console.c')
-rw-r--r--kernel/console.c7
1 files changed, 3 insertions, 4 deletions
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)