summaryrefslogtreecommitdiff
path: root/kernel/vesa.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-09-03 17:20:39 +0200
committerMichal Idziorek <m.i@gmx.at>2014-09-03 17:20:39 +0200
commitadccdaa096506319be60879767a5a973d012e758 (patch)
tree2c85994e1b3e8941b8e7474ecd1dcf2bc1889eec /kernel/vesa.c
parenta66776b64249ba688655a30c0d34e4c87c2c674e (diff)
Improved Multiprocessing / Multitasking code
Diffstat (limited to 'kernel/vesa.c')
-rw-r--r--kernel/vesa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/vesa.c b/kernel/vesa.c
index 55c400c..74d3435 100644
--- a/kernel/vesa.c
+++ b/kernel/vesa.c
@@ -126,8 +126,6 @@ void PutFont(char c, int x,int y, int color)
int fnt=0x126-0x20;
if(c>=0x20&&c<=0x126)fnt=c-0x20;
-
-
int posx, posy, sizex=8, sizey=10;
@@ -187,7 +185,7 @@ void PutConsoleNL()
{
console_x=0;
console_y++;
- if(console_y>=console_lines)console_y=0;
+ if(console_y>=console_lines-5)console_y=0;
for(int i=0;i<console_cols;i++)
{