diff options
| author | drochner <drochner@NetBSD.org> | 2000-07-15 18:47:54 +0000 |
|---|---|---|
| committer | drochner <drochner@NetBSD.org> | 2000-07-15 18:47:54 +0000 |
| commit | 54ccff04370f06f8fdf53d6ac9719af0fa565bf6 (patch) | |
| tree | f35fd8ecd186f536edf9a83316812b4e4cd68b06 /sys/dev | |
| parent | 20305c662347dae4e8a16344a0e5bbe3903092e3 (diff) | |
define "80x24" screen types for better vt100 compatibility
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/vga.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/dev/ic/vga.c b/sys/dev/ic/vga.c index dbc37b2d199..1235e4e92e1 100644 --- a/sys/dev/ic/vga.c +++ b/sys/dev/ic/vga.c @@ -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 @@ const struct wsscreen_descr vga_stdscreen = { &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 @@ const struct wsscreen_descr *_vga_scrlist[] = { &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? */ }; |
