summaryrefslogtreecommitdiffstats
path: root/sys/boot/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-03-04 10:44:01 +0000
committerkato <kato@FreeBSD.org>1999-03-04 10:44:01 +0000
commitf87c1161feaef20204760bf49ee10fe6deb9a09c (patch)
treef7fbdc3d315e02fea479bdf7671a54d7d89d28d4 /sys/boot/pc98
parent7179175e4092295a5bc75c6f57cb2b2424bbd36e (diff)
downloadFreeBSD-src-f87c1161feaef20204760bf49ee10fe6deb9a09c.zip
FreeBSD-src-f87c1161feaef20204760bf49ee10fe6deb9a09c.tar.gz
Fix character code of backslash. PC98 should use 0xfc instead of 0x5c.
Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp>
Diffstat (limited to 'sys/boot/pc98')
-rw-r--r--sys/boot/pc98/libpc98/vidconsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/pc98/libpc98/vidconsole.c b/sys/boot/pc98/libpc98/vidconsole.c
index 1881024..7804b66 100644
--- a/sys/boot/pc98/libpc98/vidconsole.c
+++ b/sys/boot/pc98/libpc98/vidconsole.c
@@ -26,7 +26,7 @@
*
* From Id: probe_keyboard.c,v 1.13 1997/06/09 05:10:55 bde Exp
*
- * $Id: vidconsole.c,v 1.11 1999/01/04 18:45:08 peter Exp $
+ * $Id: vidconsole.c,v 1.1 1999/02/03 08:39:09 kato Exp $
*/
#include <stand.h>
@@ -358,7 +358,7 @@ void
write_char(int c, int fg, int bg)
{
#ifdef PC98
- *crtat = c;
+ *crtat = (c == 0x5c ? 0xfc : c);
*(crtat + 0x1000) = at2pc98(fg, bg);
#else
v86.ctl=0;
OpenPOWER on IntegriCloud