summaryrefslogtreecommitdiff
path: root/share/man/man4/man4.sparc/cgsix.4
blob: b188e71a9f1fe0c03d7e2538cb9a0264da56efa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
.\"	$OpenBSD: cgsix.4,v 1.23 2003/05/14 06:48:14 miod Exp $
.\"	$NetBSD: cgsix.4,v 1.4 1998/06/11 08:32:20 fair Exp $
.\"
.\" Copyright 1994
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" This software was developed by the Computer Systems Engineering group
.\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
.\" contributed to Berkeley.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"	from: @(#)cgsix.4	8.1 (Berkeley) 2/16/94
.\"
.Dd January 5, 2003
.Dt CGSIX 4 sparc
.Os
.Sh NAME
.Nm cgsix
.Nd accelerated 8-bit color frame buffer
.Sh SYNOPSIS
.Cd "cgsix* at sbus? slot ? offset ?" Pq "sun4c and sun4m"
.Cd "cgsix0 at obio0 addr 0xfb000000 level 4" Pq sun4/300 P4
.Cd "cgsix0 at obio0 addr 0x0b000000 level 4" Pq sun4/100 P4
.Cd "wsdisplay* at cgsix?"
.Sh DESCRIPTION
The
.Nm
is a color frame buffer with graphics acceleration,
available as an SBus card for sun4c and sun4m, or as a P4 bus
card for sun4 workstations.
.Pp
The
.Nm
driver interfaces the frame buffer with the
.Xr wscons 4
console framework.
It does not provide direct device driver entry points
but makes its functions available via the internal
.Xr wsdisplay 4
interface.
.Pp
Different
.Nm
frame buffer models exist, with various memory sizes and capabilities.
The
.Nm
driver supports the four flavours:
.Pp
.Bl -item -offset indent -compact
.It
GX
.It
GX+
.It
Turbo GX (or TGX)
.It
Turbo GX+ (or TGX+)
.El
.Sh DISPLAY RESOLUTION
If the
.Nm
frame buffer is used as the console display, a different resolution than the
default 1152x900 can be selected by changing the OpenPROM environment.
To change the default resolution, type the following:
.Pp
.Em \   ok
setenv
.Ev Em output-device
screen:r1280x1024x76
.Pp
to change to a 76Hz 1280x1024 resolution.
.Pp
If the
.Nm
frame buffer is a secondary display, or a serial console is used, the
display resolution can not be changed without using an
.Ev Em nvramrc
OpenPROM script.
Refer to the
.Em Sun Frame Buffer FAQ
for details.
.Pp
The
.Nm
frame buffer accepts the following resolutions:
.Bl -tag -width screen:r1280x1024x76 -compact
.It screen:r1022x1000x76
1022x1000, with a refresh rate of 76Hz.
Only available on the SPARCstation IPX on-board frame buffer.
.It screen:r1024x768x60
Super VGA 1024x768, with a refresh rate of 60Hz.
Only available on TGX and TGX+.
.It screen:r1024x768x70
Super VGA 1024x768, with a refresh rate of 70Hz.
Only available on TGX and TGX+.
.It screen:r1024x768x76
Super VGA 1024x768, with a refresh rate of 76Hz.
Only available on TGX and TGX+.
.It screen:r1024x768x77
Super VGA 1024x768, with a refresh rate of 77Hz.
Only available on the SPARCstation LX on-board frame buffer.
.It screen:r1024x800x74
1024x800, with a refresh rate of 74Hz.
Only available on TGX and TGX+.
.It screen:r1024x800x85
1024x800, with a refresh rate of 85Hz.
Only available on the SPARCstation IPX on-board frame buffer,
as well as on GX+, TGX and TGX+.
.It screen:r1152x900x66
Standard 1152x900, with a refresh rate of 66Hz.
This is the default setting on the dual-slot GX models (501-1481 and 501-1645).
.It screen:r1152x900x76
Standard 1152x900, with a refresh rate of 76Hz.
This is the default setting on the on-board or single-slot GX models,
as well on TGX.
.It screen:r1280x1024x67
High res 1280x1024, with a refresh rate of 67Hz.
Only available on the SPARCstation LX with the VSIMM installed,
as well as on GX+ and TGX+.
This is the default on GX+.
.It screen:r1280x1024x76
High res 1280x1024, with a refresh rate of 76Hz.
Only available on TGX+, where this is the default setting.
.It screen:r1600x1280x76
High res 1600x1280, with a refresh rate of 76Hz.
Only available on the SPARCstation LX with the VSIMM installed,
as well as on GX+ and TGX+.
.El
.Pp
The 1600x1280 resolution is not officially supported by
.Tn Sun
on the GX+.
.Sh SEE ALSO
.Xr agten 4 ,
.Xr bwtwo 4 ,
.Xr cgeight 4 ,
.Xr cgfour 4 ,
.Xr cgfourteen 4 ,
.Xr cgthree 4 ,
.Xr cgtwelve 4 ,
.Xr cgtwo 4 ,
.Xr intro 4 ,
.Xr mgx 4 ,
.Xr pnozz 4 ,
.Xr sbus 4 ,
.Xr tcx 4 ,
.Xr tvtwo 4 ,
.Xr vigra 4 ,
.Xr wscons 4 ,
.Xr wsdisplay 4 ,
.Xr zx 4
.Rs
.%T Sun Frame Buffer FAQ
.%O http://www.sunhelp.org/faq/FrameBuffer.html
.Re
.Sh BUGS
Several firmware revisions of the
.Nm cgsix ,
in particular those found in the SPARCstation 5, have a
bug that occurs when the screen control sequences for inserting blank lines
(e.g., the control sequences produced by the
.So al Sc and So AL Sc
capabilities found in the
.Xr termcap 5
database) are used near the bottom end of the screen.
This bug is most likely to be encountered during the
use of a full-screen editor such as
.Xr vi 1
on the workstation's console.
.Pp
To work around this bug, the
.Ev TERM
environment variable should be set to
.Sq sun-ss5 ,
which is the same as the
.Sq sun
entry except without the
.Sq al
and
.Sq AL
capabilities.