aboutsummaryrefslogtreecommitdiff
path: root/sys/boot
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-01-04 18:45:08 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-01-04 18:45:08 +0000
commite423230b0d37f6530deeacb5953f23fcfc91e657 (patch)
tree0b79b084dd34a8e9cba924cedd8c42aa0a0e494b /sys/boot
parent4cd1140888721aed5ae25cd5b1778e00f8e70ffc (diff)
Notes
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/libi386/vidconsole.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/i386/libi386/vidconsole.c b/sys/boot/i386/libi386/vidconsole.c
index 6b95c1e2ab3e..05e77110c2ef 100644
--- a/sys/boot/i386/libi386/vidconsole.c
+++ b/sys/boot/i386/libi386/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.9 1998/12/22 11:51:25 abial Exp $
+ * $Id: vidconsole.c,v 1.10 1998/12/31 13:44:04 abial Exp $
*/
#include <stand.h>
@@ -124,7 +124,7 @@ vidc_biosputchar(int c)
{
v86.ctl = 0;
v86.addr = 0x10;
- v86.eax = 0xe00 | c;
+ v86.eax = 0xe00 | (c & 0xff);
v86.ebx = 0x7;
v86int();
}
@@ -164,7 +164,7 @@ vidc_rawputchar(int c)
if(curx>0) {
curx--;
curs_move(curx,cury);
- write_char(' ',fg_c,bg_c);
+ /* write_char(' ',fg_c,bg_c); XXX destructive(!) */
return;
}
return;