Force vga(4) to override the font built into the VGA ROM by one that
properly supports all characters expected by wscons. While doing this configure a font that resembles the native one as much as possible. This is a prerequisite for switching INSTALL to use wscons.
This commit is contained in:
parent
dbd9ca5e31
commit
f6199f0afb
@ -1,4 +1,4 @@
|
||||
# $NetBSD: GENERIC,v 1.69 2007/02/20 16:14:49 matt Exp $
|
||||
# $NetBSD: GENERIC,v 1.70 2007/07/31 19:35:37 jmmv Exp $
|
||||
#
|
||||
# Generic Shark configuration.
|
||||
#
|
||||
@ -7,7 +7,7 @@ include "arch/shark/conf/std.shark"
|
||||
|
||||
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
||||
|
||||
#ident "GENERIC-$Revision: 1.69 $"
|
||||
#ident "GENERIC-$Revision: 1.70 $"
|
||||
|
||||
# estimated number of users
|
||||
maxusers 32
|
||||
@ -208,6 +208,8 @@ options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
|
||||
#options WSDISPLAY_SCROLLSUPPORT
|
||||
# enable VGA raster mode capable of displaying multilingual text on console
|
||||
#options VGA_RASTERCONSOLE
|
||||
# the font to be used by vga(4); the hardware built-in font is broken
|
||||
options FONT_VT220L8x16
|
||||
|
||||
config netbsd root on ? type ?
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: consinit.c,v 1.5 2006/12/07 03:10:14 macallan Exp $ */
|
||||
/* $NetBSD: consinit.c,v 1.6 2007/07/31 19:35:37 jmmv Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998
|
||||
@ -27,7 +27,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.5 2006/12/07 03:10:14 macallan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: consinit.c,v 1.6 2007/07/31 19:35:37 jmmv Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -113,6 +113,13 @@ consinit()
|
||||
initted = 1;
|
||||
cp = NULL;
|
||||
|
||||
#if (NVGA > 0)
|
||||
/* The font built into the VGA ROM is broken: all the characters
|
||||
* above the 127th do not match the standard set expected by the
|
||||
* console. E.g. boxes drawn using the ACS are incorrect. */
|
||||
vga_no_builtinfont = 1;
|
||||
#endif
|
||||
|
||||
if (!comconsole) {
|
||||
#if (NPC > 0) || (NVGA > 0) || (NIGSFB_OFBUS > 0)
|
||||
#if (NIGSFB_OFBUS > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user