/[gxemul]/trunk/src/include/bt431reg.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /trunk/src/include/bt431reg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations)
Mon Oct 8 16:18:00 2007 UTC (16 years, 6 months ago) by dpavlin
File MIME type: text/plain
File size: 2226 byte(s)
++ trunk/HISTORY	(local)
$Id: HISTORY,v 1.707 2005/04/27 16:37:33 debug Exp $
20050408	Some minor updates to the wdc. Linux now doesn't complain
		anymore if a disk is non-present.
20050409	Various minor fixes (a bintrans bug, and some other things).
		The wdc seems to work with Playstation2 emulation, but there
		is a _long_ annoying delay when disks are detected.
		Fixing a really important bintrans bug (when devices and RAM
		are mixed within 4KB pages), which was triggered with
		NetBSD/playstation2 kernels.
20050410	Adding a dummy dev_ps2_ether (just so that NetBSD doesn't
		complain as much during bootup).
		Symbols starting with '$' are now ignored.
		Renaming dev_ps2_ohci.c to dev_ohci.c, etc.
20050411	Moving the bintrans-cache-isolation check from cpu_mips.c to
		cpu_mips_coproc.c. (I thought this would give a speedup, but
		it's not noticable.)
		Better playstation2 sbus interrupt code.
		Skip ahead many ticks if the count register is read manually.
		(This increases the speed of delay-loops that simply read
		the count register.)
20050412	Updates to the playstation2 timer/interrupt code.
		Some other minor updates.
20050413	NetBSD/cobalt runs from a disk image :-) including userland;
		updating the documentation on how to install NetBSD/cobalt
		using NetBSD/pmax (!).
		Some minor bintrans updates (no real speed improvement) and
		other minor updates (playstation2 now uses the -o options).
20050414	Adding a dummy x86 (and AMD64) mode.
20050415	Adding some (32-bit and 16-bit) x86 instructions.
		Adding some initial support for non-SCSI, non-IDE floppy
		images. (The x86 mode can boot from these, more or less.)
		Moving the devices/ and include/ directories to src/devices/
		and src/include/, respectively.
20050416	Continuing on the x86 stuff. (Adding pc_bios.c and some simple
		support for software interrupts in 16-bit mode.)
20050417	Ripping out most of the x86 instruction decoding stuff, trying
		to rewrite it in a cleaner way.
		Disabling some of the least working CPU families in the
		configure script (sparc, x86, alpha, hppa), so that they are
		not enabled by default.
20050418	Trying to fix the bug which caused problems when turning on
		and off bintrans interactively, by flushing the bintrans cache
		whenever bintrans is manually (re)enabled.
20050419	Adding the 'lswi' ppc instruction.
		Minor updates to the x86 instruction decoding.
20050420	Renaming x86 register name indices from R_xx to X86_R_xx (this
		makes building on Tru64 nicer).
20050422	Adding a check for duplicate MIPS TLB entries on tlbwr/tlbwi.
20050427	Adding screenshots to guestoses.html.
		Some minor fixes and testing for the next release.

==============  RELEASE 0.3.2  ==============


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 */

  ViewVC Help
Powered by ViewVC 1.1.26