mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Completely code to synchronize DbgPrint and console output (why was this
not tested?) svn path=/trunk/; revision=399
This commit is contained in:
parent
9adc8d3ca1
commit
dcd4ed3e62
1 changed files with 9 additions and 2 deletions
|
@ -143,8 +143,15 @@ NTSTATUS ScrWrite (PDEVICE_OBJECT DeviceObject, PIRP Irp)
|
|||
|
||||
DeviceExtension = DeviceObject->DeviceExtension;
|
||||
vidmem = DeviceExtension->VideoMemory;
|
||||
cursorx = DeviceExtension->CursorX;
|
||||
cursory = DeviceExtension->CursorY;
|
||||
// cursorx = DeviceExtension->CursorX;
|
||||
// cursory = DeviceExtension->CursorY;
|
||||
outb_p(CRTC_COMMAND, CRTC_CURSORPOSHI);
|
||||
offset = inb_p(CRTC_DATA)<<8;
|
||||
outb_p(CRTC_COMMAND, CRTC_CURSORPOSLO);
|
||||
offset += inb_p(CRTC_DATA);
|
||||
|
||||
cursory = offset / NR_COLUMNS;
|
||||
cursorx = offset % NR_COLUMNS;
|
||||
|
||||
for (i = 0; i < stk->Parameters.Write.Length; i++, pch++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue