From f87c1161feaef20204760bf49ee10fe6deb9a09c Mon Sep 17 00:00:00 2001 From: kato Date: Thu, 4 Mar 1999 10:44:01 +0000 Subject: Fix character code of backslash. PC98 should use 0xfc instead of 0x5c. Submitted by: IMAI Takeshi --- sys/boot/pc98/libpc98/vidconsole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/boot/pc98') 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 @@ -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; -- cgit v1.1