Completely code to synchronize DbgPrint and console output (why was this

not tested?)

svn path=/trunk/; revision=399
This commit is contained in:
David Welch 1999-04-18 13:39:48 +00:00
parent 9adc8d3ca1
commit dcd4ed3e62

View file

@ -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++)
{