summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.hp300/grf.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/man4.hp300/grf.4')
-rw-r--r--share/man/man4/man4.hp300/grf.439
1 files changed, 23 insertions, 16 deletions
diff --git a/share/man/man4/man4.hp300/grf.4 b/share/man/man4/man4.hp300/grf.4
index b867ace28cc..08184959d21 100644
--- a/share/man/man4/man4.hp300/grf.4
+++ b/share/man/man4/man4.hp300/grf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: grf.4,v 1.7 2002/10/01 07:12:30 miod Exp $
+.\" $OpenBSD: grf.4,v 1.8 2003/03/16 20:12:50 miod Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -51,22 +51,25 @@ graphics frame buffer device interface
.Cd "grf* at hyper?"
.Cd "grf* at rbox?"
.Cd "grf* at topcat?"
-.Pp
+.Cd ""
.Cd "ite* at grf?"
.Sh DESCRIPTION
This is a generic description of the frame buffer device interface.
+.Pp
The devices to which this applies are the 98544, 98545 and 98547
-Topcat display cards (also known as
+Topcat graphics cards (also known as
.Tn HP300H
devices),
the 98548, 98549 and 98550
-Catseye display cards,
+Catseye graphics cards,
the 98700
Gatorbox graphics box,
the 98720
Renaissance graphics box,
-and the 98730
-DaVinci graphics box.
+the 98730
+DaVinci graphics box,
+and the A1096A
+Hyperion graphics cards.
.Pp
The basic programming of the
.Nm grf Ns ?
@@ -76,10 +79,11 @@ space, and then manipulating the device as the application requires.
The address mapping is controlled by an
.Xr ioctl 2
call to map the device into user space, and an unmap call when finished.
+.Pp
The ioctls supported by
.Ox
are:
-.Bl -tag -width indent
+.Bl -tag -width GRFIOCGINFO
.It Dv GRFIOCGINFO
Get Graphics Info
.Pp
@@ -123,14 +127,13 @@ are not affected.
Map Device to user space
.Pp
Map in control registers and frame buffer space.
-Once the device file is mapped, the frame buffer structure is accessible.
+Once the device file is mapped, the frame buffer memory and registers
+are accessible.
.It Dv GRFIOCUNMAP
Unmap Device
.Pp
Unmap control registers and frame buffer space.
.El
-.Pp
-For further information about the use of ioctl see the man page.
.Sh FILES
.Bl -tag -width /dev/XXXX -compact
.It Pa /dev/grf?
@@ -162,18 +165,22 @@ frame_buffer = (u_char *)Addr + gi.gd_regsize; /* Frame buffer mem */
.Sh DIAGNOSTICS
None under
.Ox .
+.Pp
.Tn HP-UX
The
.Tn CE.utilities/Crtadjust
-programs must be used for each specific device.
+programs, running in
+.Tn HP-UX
+compatibility mode,
+can be used for each specific device.
.Sh SEE ALSO
.Xr ioctl 2 ,
.Xr cons 4 ,
-.Xr dv 4 ,
-.Xr gb 4 ,
+.Xr dvbox 4 ,
+.Xr gbox 4 ,
.Xr hil 4 ,
-.\" .Xr hyper 4 ,
+.Xr hyper 4 ,
.Xr intro 4 ,
.Xr ite 4 ,
-.Xr rb 4 ,
-.Xr tc 4
+.Xr rbox 4 ,
+.Xr topcat 4