From 5716745a13f2467e3b9ba28a89bbf452ee798b0a Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Mon, 6 Dec 1999 06:43:45 +0000 Subject: [PATCH] fixed for 25 line mode as it should be, and scrolling by my good pal, jim4 svn path=/trunk/; revision=831 --- reactos/drivers/dd/blue/blue.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/reactos/drivers/dd/blue/blue.c b/reactos/drivers/dd/blue/blue.c index 73dd825d2f8..d0cb02f89e7 100644 --- a/reactos/drivers/dd/blue/blue.c +++ b/reactos/drivers/dd/blue/blue.c @@ -1,4 +1,4 @@ -/* $Id: blue.c,v 1.13 1999/11/09 18:07:03 ekohl Exp $ +/* $Id: blue.c,v 1.14 1999/12/06 06:43:45 phreak Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -25,7 +25,7 @@ #define IDMAP_BASE 0xd0000000 #define VIDMEM_BASE 0xb8000 -#define NR_ROWS 50 +#define NR_ROWS 25 #define NR_COLUMNS 80 #define NR_SCANLINES 8 @@ -227,6 +227,11 @@ ScrWrite (PDEVICE_OBJECT DeviceObject, PIRP Irp) LinePtr[j] = DeviceExtension->CharAttribute << 8; } cursory = rows - 1; + for (j = 0; j < columns; j++) + { + vidmem[(j * 2) + (cursory * columns * 2)] = ' '; + vidmem[(j * 2) + (cursory * columns * 2) + 1] = (char) DeviceExtension->CharAttribute; + } } }