1 .\" $NetBSD: cgsix.4,v 1.12 2007/01/22 18:11:56 jdc Exp $
4 .\" The Regents of the University of California. All rights reserved.
6 .\" This software was developed by the Computer Systems Engineering group
7 .\" at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
8 .\" contributed to Berkeley.
10 .\" Redistribution and use in source and binary forms, with or without
11 .\" modification, are permitted provided that the following conditions
13 .\" 1. Redistributions of source code must retain the above copyright
14 .\" notice, this list of conditions and the following disclaimer.
15 .\" 2. Redistributions in binary form must reproduce the above copyright
16 .\" notice, this list of conditions and the following disclaimer in the
17 .\" documentation and/or other materials provided with the distribution.
18 .\" 3. Neither the name of the University nor the names of its contributors
19 .\" may be used to endorse or promote products derived from this software
20 .\" without specific prior written permission.
22 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
23 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
26 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 .\" from: @(#)cgsix.4 8.1 (Berkeley) 2/16/94
41 .Nd Sun accelerated 8-bit color frame buffer
43 .Cd "cgsix* at sbus? slot ? offset ?" Pq sun4c/sun4m
44 .Cd "cgsix0 at obio0 addr 0xfb000000 level 4" Pq sun4/300
45 .Cd "cgsix0 at obio0 addr 0x0b000000 level 4" Pq sun4/100
49 is a memory based color frame buffer.
50 It supports the minimal ioctl's needed to run
53 There are several versions of the
56 The Sun part numbers and board types are:
58 .Bl -tag -width "501-1717, 501-2018, 501-2039" -compact
59 .It "501-1374, 501-1532"
62 P4 GX with 3/80 backpanel
63 .It "501-1481, 501-1645"
65 .It "501-1672, 501-1996"
67 .It "501-1717, 501-2018, 501-2039"
69 .It "501-2325, 501-2922"
71 .It "501-2253, 501-2955"
75 There are also on-board
87 cards have 1Mb of on-board memory and support a maximum graphics resolution
91 cards have 4Mb of on-board memory and support a maximum resolution of
96 of on-board memory and support a maximum resolution of 1600x1280.
99 (Turbo GX) cards are faster than the
103 The number of supported resolutions varies by card type.
104 All cards support a resolution of 1152x900 at 66Hz.
105 All but the P4 and double-width cards support a resolution of 1152x900
107 The cards default to a resolution dependent on the attached monitor
110 It is only possible to change the resolution of a
112 card from the PROM before the operating system is loaded.
113 For the primary card, this can be done using the
118 card, the following PROM command will set the resolution to 1280x1024 at
120 .Bd -literal -offset indent
121 setenv output-device screen:r1280x1024x76
124 For secondary cards, a different method must be used to set the resolution.
125 For a machine with OpenBoot 2.x or 3.x, and assuming a
127 card at Sbus slot 1, the following PROM commands will set the resolution to
129 .Bd -literal -offset indent
132 " /iommu/sbus/cgsix@1" select-dev
134 " /iommu/sbus/cgsix@1" " set-resolution" execute-device-method
140 setenv use-nvramrc? true
144 For Sun4c machines, the device-path above would be:
145 .Bd -literal -offset indent
149 For Sun-4 and Sun-3 systems, it is only possible to change PROM fields by
150 altering byte values.
151 For these systems, it is probably easier to use the
155 field to the desired resolution.
157 .Cd "cgsix0 at obio0 addr 0xfb000000 level 4: cgsix/p4, 1152 x 900, rev 1"
158 .Cd "cgsix0 at sbus0 slot 0 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11"
159 .Cd "cgsix0 at sbus0 slot 0 offset 0x0 level 9: SUNW,501-2253, 1280 x 1024, rev 11"
174 cards are not compatible with UltraSPARC machines.
176 On Sun-4 systems using a P4 GX card as console, the
178 field in the PROM must be set to
180 otherwise the card will not be recognised as the console output device.
182 Several firmware revisions on
184 boards have a terminal emulation bug that shows up when using the
185 screen control sequences for inserting blank lines
186 near the bottom end of the screen
187 (i.e., the control sequences produced by the
188 .So al Sc and So AL Sc
189 capabilities found in the
192 The most likely occasion for triggering
193 this bug is to use a full-screen editor such as
195 on the workstation's console.
197 To work around this you can set your
199 environment variable to the
201 terminal definition which is the same as the
203 entry, except that the
207 capabilities have been removed (at the cost of making the scrolling of