From owner-cvs-all Wed Sep 23 02:59:31 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA22664 for cvs-all-outgoing; Wed, 23 Sep 1998 02:59:31 -0700 (PDT) (envelope-from owner-cvs-all) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA22598; Wed, 23 Sep 1998 02:59:05 -0700 (PDT) (envelope-from yokota@FreeBSD.org) From: Kazutaka YOKOTA Received: (from yokota@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA13575; Wed, 23 Sep 1998 02:59:01 -0700 (PDT) Date: Wed, 23 Sep 1998 02:59:01 -0700 (PDT) Message-Id: <199809230959.CAA13575@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/i386/include console.h src/sys/i386/isa scvesactl.c scvidctl.c syscons.c syscons.h vesa.c videoio.c Sender: owner-cvs-all@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk yokota 1998/09/23 02:59:00 PDT Modified files: sys/i386/include console.h sys/i386/isa scvesactl.c scvidctl.c syscons.c syscons.h vesa.c videoio.c Log: Fix and update for VESA BIOS support in syscons. - Handle pixel (raster text) mode properly. - Clear screen and paint border right. - Paint text attribute (colors). - Fix off-by-one errors. - Add some sanity checks. - Fix some function prototypes. - Add some comment lines. - Define generic text mode numbers so that the user can just give "80x25", "80x60", "132x25"..., rather than "VGA_xxx", to `vidcontrol' to change the current video mode. `vidoio.c' and `vesa.c' will map these numbers to real video mode numbers appropriate and available with the given video hardware. I believe this will be useful to make syscons more portable across archtectures. Revision Changes Path 1.40 +23 -1 src/sys/i386/include/console.h 1.2 +15 -2 src/sys/i386/isa/scvesactl.c 1.2 +27 -14 src/sys/i386/isa/scvidctl.c 1.279 +157 -40 src/sys/i386/isa/syscons.c 1.41 +2 -2 src/sys/i386/isa/syscons.h 1.2 +43 -10 src/sys/i386/isa/vesa.c 1.2 +182 -20 src/sys/i386/isa/videoio.c