bt459reg.h revision 1.1 1 /* $NetBSD: bt459reg.h,v 1.1 1998/10/28 04:10:36 nisimura Exp $ */
2
3 /*
4 * Mach Operating System
5 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
6 * All Rights Reserved.
7 *
8 * Permission to use, copy, modify and distribute this software and its
9 * documentation is hereby granted, provided that both the copyright
10 * notice and this permission notice appear in all copies of the
11 * software, derivative works or modified versions, and any portions
12 * thereof, and that both notices appear in supporting documentation.
13 *
14 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
15 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
16 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
17 *
18 * Carnegie Mellon requests users of this software to return to
19 *
20 * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU
21 * School of Computer Science
22 * Carnegie Mellon University
23 * Pittsburgh PA 15213-3890
24 *
25 * any improvements or extensions that they make and grant Carnegie Mellon
26 * the rights to redistribute these changes.
27 */
28
29 /*
30 * Register definitions for the Brooktree Bt459 135 MHz Monolithic
31 * CMOS 256x64 Color Palette RAMDAC.
32 */
33 /* 0000-00ff Color Map entries */
34
35 #define BT459_REG_CCOLOR_1 0x0181 /* Cursor color regs */
36 #define BT459_REG_CCOLOR_2 0x0182
37 #define BT459_REG_CCOLOR_3 0x0183
38 #define BT459_REG_ID 0x0200 /* read-only, gives "4a" */
39 #define BT459_REG_COMMAND_0 0x0201
40 #define BT459_REG_COMMAND_1 0x0202
41 #define BT459_REG_COMMAND_2 0x0203
42 #define BT459_REG_PRM 0x0204
43 /* 0205 reserved */
44 #define BT459_REG_PBM 0x0206
45 /* 0207 reserved */
46 #define BT459_REG_ORM 0x0208
47 #define BT459_REG_OBM 0x0209
48 #define BT459_REG_ILV 0x020a
49 #define BT459_REG_TEST 0x020b
50 #define BT459_REG_RSIG 0x020c
51 #define BT459_REG_GSIG 0x020d
52 #define BT459_REG_BSIG 0x020e
53 /* 020f-02ff reserved */
54 #define BT459_REG_CCR 0x0300
55 #define BT459_REG_CURSOR_X_LOW 0x0301
56 #define BT459_REG_CURSOR_X_HIGH 0x0302
57 #define BT459_REG_CURSOR_Y_LOW 0x0303
58 #define BT459_REG_CURSOR_Y_HIGH 0x0304
59 #define BT459_REG_WXLO 0x0305
60 #define BT459_REG_WXHI 0x0306
61 #define BT459_REG_WYLO 0x0307
62 #define BT459_REG_WYHI 0x0308
63 #define BT459_REG_WWLO 0x0309
64 #define BT459_REG_WWHI 0x030a
65 #define BT459_REG_WHLO 0x030b
66 #define BT459_REG_WHHI 0x030c
67 /* 030d-03ff reserved */
68 #define BT459_REG_CRAM_BASE 0x0400
69