xref: /csrg-svn/sys/hp/dev/itereg.h (revision 53923)
141480Smckusick /*
241480Smckusick  * Copyright (c) 1988 University of Utah.
341480Smckusick  * Copyright (c) 1990 The Regents of the University of California.
441480Smckusick  * 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  *
12*53923Shibler  * from: Utah $Hdr: itereg.h 1.3 92/01/21$
1341480Smckusick  *
14*53923Shibler  *	@(#)itereg.h	7.3 (Berkeley) 06/05/92
1541480Smckusick  */
1641480Smckusick 
1741480Smckusick /*
18*53923Shibler  * Offsets into the display ROM that is part of the first 4K of each
19*53923Shibler  * display device.
2041480Smckusick  */
21*53923Shibler #define FONTROM		0x3B	/* Offset of font information structure. */
22*53923Shibler #define FONTADDR	0x4	/* Offset from FONTROM to font address. */
23*53923Shibler #define FONTHEIGHT	0x0	/* Offset from font address to font height. */
24*53923Shibler #define FONTWIDTH	0x2	/* Offset from font address to font width. */
25*53923Shibler #define FONTDATA	0xA	/* Offset from font address to font glyphs. */
2641480Smckusick 
27*53923Shibler #ifdef hp300
28*53923Shibler #define FBBASE		((volatile u_char *)ip->fbbase)
29*53923Shibler #else
30*53923Shibler #define FBBASE		((volatile u_long *)ip->fbbase)
31*53923Shibler #endif
32