xref: /csrg-svn/sys/hp/dev/itereg.h (revision 63148)
141480Smckusick /*
241480Smckusick  * Copyright (c) 1988 University of Utah.
3*63148Sbostic  * Copyright (c) 1990, 1993
4*63148Sbostic  *	The Regents of the University of California.  All rights reserved.
541480Smckusick  *
641480Smckusick  * This code is derived from software contributed to Berkeley by
741480Smckusick  * the Systems Programming Group of the University of Utah Computer
841480Smckusick  * Science Department.
941480Smckusick  *
1041480Smckusick  * %sccs.include.redist.c%
1141480Smckusick  *
1253923Shibler  * from: Utah $Hdr: itereg.h 1.3 92/01/21$
1341480Smckusick  *
14*63148Sbostic  *	@(#)itereg.h	8.1 (Berkeley) 06/10/93
1541480Smckusick  */
1641480Smckusick 
1741480Smckusick /*
1853923Shibler  * Offsets into the display ROM that is part of the first 4K of each
1953923Shibler  * display device.
2041480Smckusick  */
2153923Shibler #define FONTROM		0x3B	/* Offset of font information structure. */
2253923Shibler #define FONTADDR	0x4	/* Offset from FONTROM to font address. */
2353923Shibler #define FONTHEIGHT	0x0	/* Offset from font address to font height. */
2453923Shibler #define FONTWIDTH	0x2	/* Offset from font address to font width. */
2553923Shibler #define FONTDATA	0xA	/* Offset from font address to font glyphs. */
2641480Smckusick 
2753923Shibler #ifdef hp300
2853923Shibler #define FBBASE		((volatile u_char *)ip->fbbase)
2953923Shibler #else
3053923Shibler #define FBBASE		((volatile u_long *)ip->fbbase)
3153923Shibler #endif
32