mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
fixed for 25 line mode as it should be, and scrolling by my good pal, jim4
svn path=/trunk/; revision=831
This commit is contained in:
parent
680589c149
commit
5716745a13
1 changed files with 7 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue