summaryrefslogtreecommitdiff
path: root/share/man/man4/sti.4
blob: cdea9899a57cd0df7ab7b09a0d2eeb24361d2760 (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
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
.\"	$OpenBSD: sti.4,v 1.25 2014/03/19 12:57:51 jmc Exp $
.\"
.\" Copyright (c) 2001 Michael Shalayeff
.\" All rights reserved.
.\"
.\" 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.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR OR HIS RELATIVES 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 MIND, 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.
.\"
.Dd $Mdocdate: March 19 2014 $
.Dt STI 4
.Os
.Sh NAME
.Nm sti
.Nd HP Standard Text Interface
.Sh SYNOPSIS
.Cd "sti*	at mainbus0"
.Cd "sti*	at pci?"
.Cd "sti*	at phantomas0"
.Cd "wsdisplay*	at sti?"
.Sh DESCRIPTION
The
.Nm
was created by HP to provide uniform frame-buffer access operations
for their 9000/300 and 9000/700 series of workstations.
.Pp
The following models are supported
(though not all features or frame buffer depths may be available):
.Bl -column "Visualize FX4/FX6" "Bits" "Mem" "3D" "Machines/Cards" -offset left
.It Sy "Model" Ta Sy "Bits" Ta Sy "Mem" Ta Sy "3D" Ta Sy "Machines/Cards"
.It "VRX" Ta 8 Ta "2" Ta "" Ta "HP9000/362/382"
.It "EVRX" Ta "8" Ta "2" Ta "" Ta "HP9000/425e"
.It "Timber" Ta "8" Ta "2" Ta "" Ta "HP9000/705/710"
.It "GRX" Ta "8g" Ta "2" Ta "" Ta "SGC"
.It "CRX" Ta "8" Ta "2" Ta "" Ta "SGC"
.It "Tomcat" Ta "8" Ta "2" Ta "" Ta "SGC"
.It "Stinger" Ta "8" Ta "2" Ta "" Ta "HP9000/7[12]5/74[257]i"
.It "Artist" Ta "8" Ta "2" Ta "" Ta "HP9000/712/7[12]5/74[38]i"
.It "CRX-24" Ta "24" Ta "16" Ta "" Ta "SGC"
.\" .It "CRX-24Z" Ta "24" Ta "16" Ta "y" Ta "SGC"
.\" .It "CRX-48Z" Ta "24" Ta "16" Ta "y" Ta "SGC/GSC"
.It "HCRX-8" Ta "8" Ta "2" Ta "" Ta "GSC"
.\" .It "HCRX-8Z" Ta "8" Ta "2" Ta "y" Ta "GSC"
.It "HCRX-24" Ta "24" Ta "16" Ta "" Ta "GSC"
.\" .It "HCRX-24Z" Ta "24" Ta "16" Ta "y" Ta "GSC"
.\" .It "Visualize 8" Ta "8" Ta "2" Ta "y" Ta "GSC"
.It "Visualize EG" Ta "16" Ta "2" Ta "" Ta "HP B/C-class, GSC/PCI"
.\" .It "Visualize 24" Ta "24" Ta "16" Ta "y" Ta "GSC"
.\" .It "Visualize 48" Ta "24" Ta "16" Ta "y" Ta "GSC"
.\" .It "Visualize 48XP" Ta "24" Ta "16" Ta "y" Ta "GSC"
.It "Visualize FXE" Ta "24" Ta "24" Ta "y" Ta "PCI 32/66"
.It "Visualize FX2" Ta "24" Ta "24" Ta "y" Ta "PCI 64/66"
.It "Visualize FX4/FX6" Ta "24" Ta "32" Ta "y" Ta "PCI 64/66"
.\" .It "Visualize FX5pro" Ta "24" Ta "64" Ta "y" Ta "PCI 64/66"
.\" .It "Visualize FX10pro" Ta "24" Ta "128" Ta "y" Ta "PCI 64/66"
.El
.Pp
Implementation consists of a set of functions burnt in to the PROM
on the card and providing the following set of functions (see below
for PROM revision history on functions supported by particular PROM
revision):
.Pp
.Bl -bullet -compact
.It
Initialize graphics.
.It
State management.
.It
Print a character onto the screen using currently selected font.
.It
Copy a region of the frame-buffer to another location.
.It
Self testing.
.It
Exception handling.
.It
Frame-buffer configuration enquiry.
.It
Setting colour-map entry.
.It
DMA parameters.
.It
Flow control.
.It
User timing.
.It
Processing management.
.It
Miscellaneous utility functions.
.El
.Pp
There are two modes for accessing the PROM:
.Dq byte
and
.Dq word
mode.
In
.Dq byte
mode each 4-byte word contains only the low-ordered big-endian
byte of data; i.e., to compose one word of data 4 words should be read
and low-ordered bytes of those should be shifted correspondingly.
In
.Dq word
mode each word contains all 4 bytes of valid data.
.Pp
PROM revision history:
.Bl -tag -width "00.00" -compact
.It 8.02
Original release.
.It 8.03
.Bl -bullet -compact
.It
OSF-extended self test (a.k.a fast).
.It
Restore display.
.El
.It 8.04
.Bl -bullet -compact
.\" global cfg
.\" rename global cfg ext
.\" global cfg ext
.It
Implement
.Nm curr_mon
function.
.It
Graphical boot screen.
.\" sti_mem_addr
.\" dd
.\" num mons
.\" mon tbl
.\" user data
.\" sti mem req
.\" user data size
.\" maxtime
.\" mon tbl desc struct
.\" init_inptr
.\" rename init_inptr_ext
.\" init_inptr_ext
.\" config mon type
.\" cmt change
.\" font unpmv
.\" non text
.It
Implement
.Dq block move .
.\" non-text
.It
Implement
.Dq set colour-map entry .
.It
Implement word mode.
.It
Support for multiple monitors.
.It
Support
.Nm user_data
.Nm
space usage.
.It
Support for extra memory.
.It
Support for
.Nm Windows NT (tm) .
.It
Monitor frequency reference.
.It
Early console.
.It
Support added for: PCXL,
.Nm GSC
bus, ROM-less operation.
.El
.It 8.05
.Bl -bullet -compact
.It
Interrupt support.
.It
Report card's power usage.
.It
Birds of Prey.
.It
User interrupts.
.El
.It 8.06
.Bl -bullet -compact
.It
Multiple fonts.
.It
Monitor table descriptor strings.
.It
PCXL2 and PCXU monitor descriptors.
.El
.It 8.08
.Bl -bullet -compact
.It
HP-UX 10 support for Visualize FX
.It
.Nm dma_ctrl
function added.
.It
.Nm flow_ctrl
function added.
.It
.Nm user_timing
function added.
.El
.It 8.09
.Bl -bullet -compact
.It
Addition changes for
.Nm Visualize FX
due to rearchitecture for performance.
.It
.Nm process_mgr
function added.
.El
.It 8.0a
PCXL2 and PCXU dual
.Nm PCI
EPROM map mode, implemented on
.Nm Visualize EG .
.It 8.0b
Support for HP-UX non-implicit locking DMA, implemented on
.Nm Visualize FXE .
.It 8.0c
.Nm sti_util
function added (flashing under HP-UX and other sideband traffic).
.It 8.0d
Colour frame buffer support.
.El
.Sh SEE ALSO
.Xr intro 4 ,
.Xr pci 4 ,
.Xr phantomas 4 ,
.Xr wsdisplay 4
.Pp
.Rs
.%T Standard Text Interface For Graphics Devices
.%N Revision 8.13
.%D March 1, 2000
.%I Hewlett-Packard
.Re
.Sh HISTORY
The
.Nm
driver was written by
.An Michael Shalayeff Aq Mt mickey@openbsd.org
for HPPA
port for
.Ox 2.7 .
.\" .Pp
.\" .Xr pci 4
.\" attachment code was written by
.\" .An Miod Vallat .
.Sh BUGS
Currently, neither scroll back nor screen blanking functions
are implemented.