Author: tkreuzer
Date: Mon Oct 26 04:24:03 2009
New Revision: 43770
URL: http://svn.reactos.org/svn/reactos?rev=43770&view=rev
Log:
[KDCOM]
For unknown reasons it's not enough to check LSR if the port is ready to receive or not. Adding additional port reads improves the reliability of the data massively. Now it's possible to use kdcom on windows XP!
Modified:
branches/ros-amd64-bringup/reactos/drivers/base/kddll/kdcom.c
Modified: branches/ros-amd64-bringup/reactos/drivers/base/kddll/kdcom.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
==============================================================================
--- branches/ros-amd64-bringup/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/drivers/base/kddll/kdcom.c [iso-8859-1] Mon Oct 26 04:24:03 2009
@@ -216,6 +216,11 @@
/* Wait for the port to be ready */
while ((READ_PORT_UCHAR(ComPortBase + COM_LSR) & LSR_TBE) == 0);
+ /* This is needed due to subtle timing issues */
+ READ_PORT_UCHAR(ComPortBase + COM_MSR);
+ while ((READ_PORT_UCHAR(ComPortBase + COM_LSR) & LSR_TBE) == 0);
+ READ_PORT_UCHAR(ComPortBase + COM_MSR);
+
/* Send the byte */
WRITE_PORT_UCHAR(ComPortBase + COM_DAT, Byte);
}
@@ -224,6 +229,8 @@
NTAPI
KdpPollByte(OUT PBYTE OutByte)
{
+ READ_PORT_UCHAR(ComPortBase + COM_MSR); // Timing
+
/* Check if data is available */
if ((READ_PORT_UCHAR(ComPortBase + COM_LSR) & LSR_DR))
{
Author: dgorbachev
Date: Mon Oct 26 00:46:45 2009
New Revision: 43764
URL: http://svn.reactos.org/svn/reactos?rev=43764&view=rev
Log:
Japanese font. Based on Misaki font by Num Kadoma (num_kadoma/at/yahoo/co/jp).
Copyright (C) 2002-2008 Num Kadoma
This font is free software.
Unlimited permission is granted to use, copy, and distribute it, with
or without modification, either commercially or noncommercially.
THIS FONT IS PROVIDED "AS IS" WITHOUT WARRANTY.
Modified:
trunk/reactos/media/vgafonts/932-8x8.bin
Modified: trunk/reactos/media/vgafonts/932-8x8.bin
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/media/vgafonts/932-8x8.bin…
==============================================================================
Binary files - no diff available.