diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-24 21:36:40 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-01-24 21:36:40 +0000 |
commit | 32356993b1ac13df40ffc6361a209ad088fb166f (patch) | |
tree | c17c464e813e14f05a61dda59a2e044981c0d5e4 /sys/arch/hp300/dev/dvboxreg.h | |
parent | a46e09035cea9fd3b107d7e78d50e0972e02a298 (diff) |
Switch hp300 wscons code to rasops, for DIO frame buffers.
Features:
- coloured kernel messages
- color support in console (use TERM=wsvt25)
- pretty Gallant wsfont, rather than the acceptable or ugly (depending upon
the frame buffer) ROM font
- colormap ioctl support for Gatorbox and Topcat; DaVinci and Renaissance
not done due to lack of hardware and/or documentation
- even more code factorization
tested on hyperion, and 4/6/8bpp catseye/topcat/kathmandu hardware, by
millert@ and I
Diffstat (limited to 'sys/arch/hp300/dev/dvboxreg.h')
-rw-r--r-- | sys/arch/hp300/dev/dvboxreg.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/sys/arch/hp300/dev/dvboxreg.h b/sys/arch/hp300/dev/dvboxreg.h index 038958a9319..c51a46a2025 100644 --- a/sys/arch/hp300/dev/dvboxreg.h +++ b/sys/arch/hp300/dev/dvboxreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dvboxreg.h,v 1.1 2005/01/14 22:39:25 miod Exp $ */ +/* $OpenBSD: dvboxreg.h,v 1.2 2005/01/24 21:36:39 miod Exp $ */ /* $NetBSD: grf_dvreg.h,v 1.5 1994/10/26 07:23:50 cgd Exp $ */ /* @@ -58,32 +58,7 @@ struct rgb { }; struct dvboxfb { - u_int8_t :8; - u_int8_t reset; /* reset register 0x01 */ - u_int8_t fb_address; /* frame buffer address 0x02 */ - u_int8_t interrupt; /* interrupt register 0x03 */ - u_int8_t :8; - u_int8_t fbwmsb; /* frame buffer width MSB 0x05 */ - u_int8_t :8; - u_int8_t fbwlsb; /* frame buffer width MSB 0x07 */ - u_int8_t :8; - u_int8_t fbhmsb; /* frame buffer height MSB 0x09 */ - u_int8_t :8; - u_int8_t fbhlsb; /* frame buffer height MSB 0x0b */ - u_int8_t :8; - u_int8_t dwmsb; /* display width MSB 0x0d */ - u_int8_t :8; - u_int8_t dwlsb; /* display width MSB 0x0f */ - u_int8_t :8; - u_int8_t dhmsb; /* display height MSB 0x11 */ - u_int8_t :8; - u_int8_t dhlsb; /* display height MSB 0x13 */ - u_int8_t :8; - u_int8_t fbid; /* frame buffer id 0x15 */ - u_int8_t f1[0x47]; - u_int8_t fbomsb; /* frame buffer offset MSB 0x5d */ - u_int8_t :8; - u_int8_t fbolsb; /* frame buffer offset LSB 0x5f */ + struct diofbreg regs; u_int8_t f2[16359]; u_int8_t wbusy; /* Window move in progress 0x4047 */ u_int8_t f3[0x405b-0x4047-1]; |