From a4f0570f7de7e64a78db9eff8e138c78dbd91c08 Mon Sep 17 00:00:00 2001 From: ad Date: Wed, 19 May 1999 21:05:59 +0000 Subject: [PATCH] SPARC console is black on white, and is centered by default. --- sys/arch/sparc/conf/BILL-THE-CAT | 4 +++- sys/arch/sparc/conf/GENERIC | 4 +++- sys/arch/sparc/conf/INSTALL | 4 +++- sys/arch/sparc/dev/fb.c | 4 ++-- sys/arch/sparc64/dev/fb.c | 4 ++-- 5 files changed, 13 insertions(+), 7 deletions(-) diff --git a/sys/arch/sparc/conf/BILL-THE-CAT b/sys/arch/sparc/conf/BILL-THE-CAT index 396d93464c0e..a39b67dd6722 100644 --- a/sys/arch/sparc/conf/BILL-THE-CAT +++ b/sys/arch/sparc/conf/BILL-THE-CAT @@ -1,4 +1,4 @@ -# $NetBSD: BILL-THE-CAT,v 1.4 1999/04/26 04:25:38 ad Exp $ +# $NetBSD: BILL-THE-CAT,v 1.5 1999/05/19 21:05:59 ad Exp $ # From: GENERIC,v 1.76 1999/01/17 20:45:26 pk Exp include "arch/sparc/conf/std.sparc" @@ -26,6 +26,8 @@ options SUN4M # sun4m - SS10, SS20, Classic, etc. #options RASTERCONSOLE # fast rasterop console #options FONT_GALLANT12x22 # the console font #options FONT_BOLD8x16 # a somewhat smaller font +#options RASTERCONSOLE_FGCOL=WSCOL_BLACK +#options RASTERCONSOLE_BGCOL=WSCOL_WHITE #### System options that are the same for all ports diff --git a/sys/arch/sparc/conf/GENERIC b/sys/arch/sparc/conf/GENERIC index 30fb9f5fe6bb..4602a9ea09db 100644 --- a/sys/arch/sparc/conf/GENERIC +++ b/sys/arch/sparc/conf/GENERIC @@ -1,4 +1,4 @@ -# $NetBSD: GENERIC,v 1.81 1999/05/01 14:18:35 pk Exp $ +# $NetBSD: GENERIC,v 1.82 1999/05/19 21:05:59 ad Exp $ include "arch/sparc/conf/std.sparc" @@ -25,6 +25,8 @@ options SUN4M # sun4m - SS10, SS20, Classic, etc. options RASTERCONSOLE # fast rasterop console options FONT_GALLANT12x22 # the console font #options FONT_BOLD8x16 # a somewhat smaller font +options RASTERCONSOLE_FGCOL=WSCOL_BLACK +options RASTERCONSOLE_BGCOL=WSCOL_WHITE #### System options that are the same for all ports diff --git a/sys/arch/sparc/conf/INSTALL b/sys/arch/sparc/conf/INSTALL index f58a8a7a2fb8..2cac6d58e4b5 100644 --- a/sys/arch/sparc/conf/INSTALL +++ b/sys/arch/sparc/conf/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.6 1999/04/26 04:25:38 ad Exp $ +# $NetBSD: INSTALL,v 1.7 1999/05/19 21:06:00 ad Exp $ # # from: NetBSD: GENERIC,v 1.67 1998/05/20 11:50:54 pk Exp # @@ -39,6 +39,8 @@ options SUN4M # sun4m - SS10, SS20, Classic, etc. #options RASTERCONSOLE # fast rasterop console #options FONT_GALLANT12x22 # the console font #options FONT_BOLD8x16 # a somewhat smaller font +#options RASTERCONSOLE_FGCOL=WSCOL_BLACK +#options RASTERCONSOLE_BGCOL=WSCOL_WHITE #### System options that are the same for all ports diff --git a/sys/arch/sparc/dev/fb.c b/sys/arch/sparc/dev/fb.c index 072a762a7589..cdae4fd9f951 100644 --- a/sys/arch/sparc/dev/fb.c +++ b/sys/arch/sparc/dev/fb.c @@ -1,4 +1,4 @@ -/* $NetBSD: fb.c,v 1.35 1999/05/19 20:34:19 ad Exp $ */ +/* $NetBSD: fb.c,v 1.36 1999/05/19 21:05:59 ad Exp $ */ /* * Copyright (c) 1992, 1993 @@ -413,7 +413,7 @@ fbrcons_init(fb) ri->ri_forcemono = 1; /* Get operations set and connect to rcons */ - if (rasops_init(ri, maxrow, maxcol, 0, 0)) + if (rasops_init(ri, maxrow, maxcol, 0, 1)) panic("fbrcons_init: rasops_init failed!"); rc->rc_ops = &ri->ri_ops; diff --git a/sys/arch/sparc64/dev/fb.c b/sys/arch/sparc64/dev/fb.c index bf962842e000..036d43e64f81 100644 --- a/sys/arch/sparc64/dev/fb.c +++ b/sys/arch/sparc64/dev/fb.c @@ -1,4 +1,4 @@ -/* $NetBSD: fb.c,v 1.12 1999/05/19 20:34:19 ad Exp $ */ +/* $NetBSD: fb.c,v 1.13 1999/05/19 21:06:00 ad Exp $ */ /* * Copyright (c) 1992, 1993 @@ -289,7 +289,7 @@ fbrcons_init(fb) ri->ri_forcemono = 1; /* Get operations set and connect to rcons */ - if (rasops_init(ri, maxrow, maxcol, 0, 0)) + if (rasops_init(ri, maxrow, maxcol, 0, 1)) panic("fbrcons_init: rasops_init failed!"); rc->rc_ops = &ri->ri_ops;