Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic define "80x24" screen types for better vt100 comp...



details:   https://anonhg.NetBSD.org/src/rev/22e36e3ba3bd
branches:  trunk
changeset: 494839:22e36e3ba3bd
user:      drochner <drochner%NetBSD.org@localhost>
date:      Sat Jul 15 18:47:54 2000 +0000

description:
define "80x24" screen types for better vt100 compatibility

diffstat:

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

diffs (46 lines):

diff -r d0f1f07f03c7 -r 22e36e3ba3bd sys/dev/ic/vga.c
--- a/sys/dev/ic/vga.c  Sat Jul 15 18:12:42 2000 +0000
+++ b/sys/dev/ic/vga.c  Sat Jul 15 18:47:54 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vga.c,v 1.29 2000/06/26 04:56:19 simonb Exp $ */
+/* $NetBSD: vga.c,v 1.30 2000/07/15 18:47:54 drochner Exp $ */
 
 /*
  * Copyright (c) 1995, 1996 Carnegie-Mellon University.
@@ -207,6 +207,21 @@
        &vga_emulops,
        8, 8,
        WSSCREEN_WSCOLORS | WSSCREEN_BLINK
+}, vga_24lscreen = {
+       "80x24", 80, 24,
+       &vga_emulops,
+       8, 16,
+       WSSCREEN_WSCOLORS | WSSCREEN_HILIT | WSSCREEN_BLINK
+}, vga_24lscreen_mono = {
+       "80x24", 80, 24,
+       &vga_emulops,
+       8, 16,
+       WSSCREEN_HILIT | WSSCREEN_UNDERLINE | WSSCREEN_BLINK | WSSCREEN_REVERSE
+}, vga_24lscreen_bf = {
+       "80x24bf", 80, 24,
+       &vga_emulops,
+       8, 16,
+       WSSCREEN_WSCOLORS | WSSCREEN_BLINK
 };
 
 #define VGA_SCREEN_CANTWOFONTS(type) (!((type)->capabilities & WSSCREEN_HILIT))
@@ -218,11 +233,14 @@
        &vga_40lscreen_bf,
        &vga_50lscreen,
        &vga_50lscreen_bf,
+       &vga_24lscreen,
+       &vga_24lscreen_bf,
        /* XXX other formats, graphics screen? */
 }, *_vga_scrlist_mono[] = {
        &vga_stdscreen_mono,
        &vga_40lscreen_mono,
        &vga_50lscreen_mono,
+       &vga_24lscreen_mono,
        /* XXX other formats, graphics screen? */
 };
 



Home | Main Index | Thread Index | Old Index