Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/tc Place 34 by 80 console at the center of screen.
details: https://anonhg.NetBSD.org/src/rev/88ec08592a20
branches: trunk
changeset: 483700:88ec08592a20
user: nisimura <nisimura%NetBSD.org@localhost>
date: Thu Mar 16 05:50:57 2000 +0000
description:
Place 34 by 80 console at the center of screen.
diffstat:
sys/dev/tc/cfb.c | 6 +++---
sys/dev/tc/mfb.c | 6 +++---
sys/dev/tc/tfb.c | 6 +++---
sys/dev/tc/xcfb.c | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (128 lines):
diff -r 324463722a8d -r 88ec08592a20 sys/dev/tc/cfb.c
--- a/sys/dev/tc/cfb.c Thu Mar 16 05:48:28 2000 +0000
+++ b/sys/dev/tc/cfb.c Thu Mar 16 05:50:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cfb.c,v 1.19 2000/03/14 08:04:06 nisimura Exp $ */
+/* $NetBSD: cfb.c,v 1.20 2000/03/16 05:50:57 nisimura Exp $ */
/*
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: cfb.c,v 1.19 2000/03/14 08:04:06 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cfb.c,v 1.20 2000/03/16 05:50:57 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -295,12 +295,12 @@
for (i = 0; i < dc->dc_ht * dc->dc_rowbytes; i += sizeof(u_int32_t))
*(u_int32_t *)(dc->dc_videobase + i) = 0x0;
+ dc->rinfo.ri_flg = RI_CENTER;
dc->rinfo.ri_depth = dc->dc_depth;
dc->rinfo.ri_bits = (void *)dc->dc_videobase;
dc->rinfo.ri_width = dc->dc_wid;
dc->rinfo.ri_height = dc->dc_ht;
dc->rinfo.ri_stride = dc->dc_rowbytes;
- dc->rinfo.ri_hw = NULL;
wsfont_init();
/* prefer 8 pixel wide font */
diff -r 324463722a8d -r 88ec08592a20 sys/dev/tc/mfb.c
--- a/sys/dev/tc/mfb.c Thu Mar 16 05:48:28 2000 +0000
+++ b/sys/dev/tc/mfb.c Thu Mar 16 05:50:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mfb.c,v 1.21 2000/03/14 06:25:21 nisimura Exp $ */
+/* $NetBSD: mfb.c,v 1.22 2000/03/16 05:50:57 nisimura Exp $ */
/*
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mfb.c,v 1.21 2000/03/14 06:25:21 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mfb.c,v 1.22 2000/03/16 05:50:57 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -266,12 +266,12 @@
for (i = 0; i < dc->dc_ht * dc->dc_rowbytes; i += sizeof(u_int32_t))
*(u_int32_t *)(dc->dc_videobase + i) = 0;
+ dc->rinfo.ri_flg = RI_CENTER;
dc->rinfo.ri_depth = dc->dc_depth;
dc->rinfo.ri_bits = (void *)dc->dc_videobase;
dc->rinfo.ri_width = dc->dc_wid;
dc->rinfo.ri_height = dc->dc_ht;
dc->rinfo.ri_stride = dc->dc_rowbytes;
- dc->rinfo.ri_hw = NULL;
wsfont_init();
/* prefer 8 pixel wide font */
diff -r 324463722a8d -r 88ec08592a20 sys/dev/tc/tfb.c
--- a/sys/dev/tc/tfb.c Thu Mar 16 05:48:28 2000 +0000
+++ b/sys/dev/tc/tfb.c Thu Mar 16 05:50:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tfb.c,v 1.23 2000/03/14 08:04:06 nisimura Exp $ */
+/* $NetBSD: tfb.c,v 1.24 2000/03/16 05:50:57 nisimura Exp $ */
/*
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: tfb.c,v 1.23 2000/03/14 08:04:06 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tfb.c,v 1.24 2000/03/16 05:50:57 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -346,12 +346,12 @@
for (i = 0; i < dc->dc_ht * dc->dc_rowbytes; i += sizeof(u_int32_t))
*(u_int32_t *)(dc->dc_videobase + i) = 0x0;
+ dc->rinfo.ri_flg = RI_CENTER;
dc->rinfo.ri_depth = dc->dc_depth;
dc->rinfo.ri_bits = (void *)dc->dc_videobase;
dc->rinfo.ri_width = dc->dc_wid;
dc->rinfo.ri_height = dc->dc_ht;
dc->rinfo.ri_stride = dc->dc_rowbytes;
- dc->rinfo.ri_hw = NULL;
wsfont_init();
/* prefer 8 pixel wide font */
diff -r 324463722a8d -r 88ec08592a20 sys/dev/tc/xcfb.c
--- a/sys/dev/tc/xcfb.c Thu Mar 16 05:48:28 2000 +0000
+++ b/sys/dev/tc/xcfb.c Thu Mar 16 05:50:57 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xcfb.c,v 1.16 2000/03/14 08:04:06 nisimura Exp $ */
+/* $NetBSD: xcfb.c,v 1.17 2000/03/16 05:50:57 nisimura Exp $ */
/*
* Copyright (c) 1998, 1999 Tohru Nishimura. All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: xcfb.c,v 1.16 2000/03/14 08:04:06 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xcfb.c,v 1.17 2000/03/16 05:50:57 nisimura Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -252,12 +252,12 @@
for (i = 0; i < dc->dc_ht * dc->dc_rowbytes; i += sizeof(u_int32_t))
*(u_int32_t *)(dc->dc_videobase + i) = 0;
+ dc->rinfo.ri_flg = RI_CENTER;
dc->rinfo.ri_depth = dc->dc_depth;
dc->rinfo.ri_bits = (void *)dc->dc_videobase;
dc->rinfo.ri_width = dc->dc_wid;
dc->rinfo.ri_height = dc->dc_ht;
dc->rinfo.ri_stride = dc->dc_rowbytes;
- dc->rinfo.ri_hw = NULL;
wsfont_init();
/* prefer 8 pixel wide font */
Home |
Main Index |
Thread Index |
Old Index