1 |
/* gxemul: $Id: bt431reg.h,v 1.2 2005/03/05 12:34:02 debug Exp $ */ |
2 |
/* $NetBSD: bt431reg.h,v 1.1 1998/10/28 04:10:37 nisimura Exp $ */ |
3 |
|
4 |
#ifndef BT431REG_H |
5 |
#define BT431REG_H |
6 |
|
7 |
/* |
8 |
* Mach Operating System |
9 |
* Copyright (c) 1991,1990,1989 Carnegie Mellon University |
10 |
* All Rights Reserved. |
11 |
* |
12 |
* Permission to use, copy, modify and distribute this software and its |
13 |
* documentation is hereby granted, provided that both the copyright |
14 |
* notice and this permission notice appear in all copies of the |
15 |
* software, derivative works or modified versions, and any portions |
16 |
* thereof, and that both notices appear in supporting documentation. |
17 |
* |
18 |
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" |
19 |
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR |
20 |
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. |
21 |
* |
22 |
* Carnegie Mellon requests users of this software to return to |
23 |
* |
24 |
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU |
25 |
* School of Computer Science |
26 |
* Carnegie Mellon University |
27 |
* Pittsburgh PA 15213-3890 |
28 |
* |
29 |
* any improvements or extensions that they make and grant Carnegie Mellon |
30 |
* the rights to redistribute these changes. |
31 |
*/ |
32 |
|
33 |
/* |
34 |
* Register definitions for the Brooktree Bt431 Monolithic CMOS |
35 |
* 64x64 Pixel Cursor Generator. |
36 |
*/ |
37 |
|
38 |
#define BT431_REG_COMMAND 0x000 |
39 |
#define BT431_REG_CURSOR_X_LOW 0x001 |
40 |
#define BT431_REG_CURSOR_X_HIGH 0x002 |
41 |
#define BT431_REG_CURSOR_Y_LOW 0x003 |
42 |
#define BT431_REG_CURSOR_Y_HIGH 0x004 |
43 |
#define BT431_REG_WXLO 0x005 |
44 |
#define BT431_REG_WXHI 0x006 |
45 |
#define BT431_REG_WYLO 0x007 |
46 |
#define BT431_REG_WYHI 0x008 |
47 |
#define BT431_REG_WWLO 0x009 |
48 |
#define BT431_REG_WWHI 0x00a |
49 |
#define BT431_REG_WHLO 0x00b |
50 |
#define BT431_REG_WHHI 0x00c |
51 |
|
52 |
#define BT431_REG_CRAM_BASE 0x000 |
53 |
#define BT431_REG_CRAM_END 0x1ff |
54 |
|
55 |
#define BT431_CMD_CURS_ENABLE 0x40 |
56 |
#define BT431_CMD_XHAIR_ENABLE 0x20 |
57 |
#define BT431_CMD_OR_CURSORS 0x10 |
58 |
#define BT431_CMD_AND_CURSORS 0x00 |
59 |
#define BT431_CMD_1_1_MUX 0x00 |
60 |
#define BT431_CMD_4_1_MUX 0x04 |
61 |
#define BT431_CMD_5_1_MUX 0x08 |
62 |
#define BT431_CMD_xxx_MUX 0x0c |
63 |
#define BT431_CMD_THICK_1 0x00 |
64 |
#define BT431_CMD_THICK_3 0x01 |
65 |
#define BT431_CMD_THICK_5 0x02 |
66 |
#define BT431_CMD_THICK_7 0x03 |
67 |
|
68 |
#endif /* BT431REG_H */ |