summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshihiro Takahashi <nyan@FreeBSD.org>2004-01-18 04:10:45 +0000
committerYoshihiro Takahashi <nyan@FreeBSD.org>2004-01-18 04:10:45 +0000
commit2b0292a5ae152bd8abad16a3abb4aa14cc18f229 (patch)
tree3534b80b8e57c3a6e4006c4218d122ae62ac4f8e
parent23b186d32401d7c61fc9b42902aedff06e01d657 (diff)
Notes
-rw-r--r--sys/boot/pc98/libpc98/vidconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/pc98/libpc98/vidconsole.c b/sys/boot/pc98/libpc98/vidconsole.c
index 07c664f31aa8..ae02d9e7bd95 100644
--- a/sys/boot/pc98/libpc98/vidconsole.c
+++ b/sys/boot/pc98/libpc98/vidconsole.c
@@ -422,7 +422,7 @@ write_char(int c, int fgcol, int bgcol)
{
#ifdef PC98
- *crtat = (c == 0x5c ? 0xfc : c);
+ *crtat = (c == 0x5c ? 0xfc : (c & 0xff));
*(crtat + 0x1000) = at2pc98(fgcol, bgcol);
#else
v86.ctl = 0;