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/topcatreg.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/topcatreg.h')
-rw-r--r-- | sys/arch/hp300/dev/topcatreg.h | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/sys/arch/hp300/dev/topcatreg.h b/sys/arch/hp300/dev/topcatreg.h index 2cd029af3d5..301e135b448 100644 --- a/sys/arch/hp300/dev/topcatreg.h +++ b/sys/arch/hp300/dev/topcatreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: topcatreg.h,v 1.1 2005/01/14 22:39:26 miod Exp $ */ +/* $OpenBSD: topcatreg.h,v 1.2 2005/01/24 21:36:39 miod Exp $ */ /* $NetBSD: grf_tcreg.h,v 1.6 1994/10/26 07:24:06 cgd Exp $ */ /* @@ -52,36 +52,7 @@ do { \ } while (0) struct tcboxfb { - 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; /* Scondary frame buffer id 0x15 */ - u_int8_t :8; - u_int8_t bits; /* square(0)/double-high(1) 0x17 */ - u_int8_t f1[0x5b-0x17-1]; - u_int8_t num_planes; /* number of color planes 0x5b */ - u_int8_t :8; - 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[0x4040-0x5f-1]; u_int8_t vblank; /* vertical blanking 0x4040 */ u_int8_t :8,:8,:8; |