Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic add support for 80x40 screens



details:   https://anonhg.NetBSD.org/src/rev/c1c7d7ffa96e
branches:  trunk
changeset: 471755:c1c7d7ffa96e
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat Apr 10 14:02:11 1999 +0000

description:
add support for 80x40 screens

diffstat:

 sys/dev/ic/vga.c |  20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r d5b4b987a1a2 -r c1c7d7ffa96e sys/dev/ic/vga.c
--- a/sys/dev/ic/vga.c  Sat Apr 10 14:00:38 1999 +0000
+++ b/sys/dev/ic/vga.c  Sat Apr 10 14:02:11 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vga.c,v 1.16 1999/04/01 11:52:42 drochner Exp $ */
+/* $NetBSD: vga.c,v 1.17 1999/04/10 14:02:11 drochner Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -169,6 +169,21 @@
        &vga_emulops,
        8, 16,
        WSSCREEN_WSCOLORS | WSSCREEN_BLINK
+}, vga_40lscreen = {
+       "80x40", 80, 40,
+       &vga_emulops,
+       8, 10,
+       WSSCREEN_WSCOLORS | WSSCREEN_HILIT | WSSCREEN_BLINK
+}, vga_40lscreen_mono = {
+       "80x40", 80, 40,
+       &vga_emulops,
+       8, 10,
+       WSSCREEN_HILIT | WSSCREEN_UNDERLINE | WSSCREEN_BLINK | WSSCREEN_REVERSE
+}, vga_40lscreen_bf = {
+       "80x40bf", 80, 40,
+       &vga_emulops,
+       8, 10,
+       WSSCREEN_WSCOLORS | WSSCREEN_BLINK
 }, vga_50lscreen = {
        "80x50", 80, 50,
        &vga_emulops,
@@ -191,11 +206,14 @@
 const struct wsscreen_descr *_vga_scrlist[] = {
        &vga_stdscreen,
        &vga_stdscreen_bf,
+       &vga_40lscreen,
+       &vga_40lscreen_bf,
        &vga_50lscreen,
        &vga_50lscreen_bf,
        /* XXX other formats, graphics screen? */
 }, *_vga_scrlist_mono[] = {
        &vga_stdscreen_mono,
+       &vga_40lscreen_mono,
        &vga_50lscreen_mono,
        /* XXX other formats, graphics screen? */
 };



Home | Main Index | Thread Index | Old Index