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
|
.\" $OpenBSD: tga.4,v 1.10 2007/05/31 19:19:53 jmc Exp $
.\"
.\" Copyright (c) 2001 Nathan L. Binkert <binkertn@umich.edu>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.Dd $Mdocdate: May 31 2007 $
.Dt TGA 4 alpha
.Os
.Sh NAME
.Nm tga
.Nd TGA graphics driver
.Sh SYNOPSIS
.Cd "tga* at pci?"
.Cd "wsdisplay* at tga?"
.Sh DESCRIPTION
This driver handles TGA graphics hardware within the
.Xr wscons 4
console framework.
.Pp
On TGA adapters, the resolution is set on the card and is not changed
at runtime.
On some TGA models, there are four dip switches.
On other models, there is a rotary switch with positions 0-F.
There are also some that use jumpers.
.Ss TGA Switch Settings
.Bl -column "Setting" "Pixel Freq" "Resolution" "Refresh Rate" -offset indent
.It Li Switch Ta Pixel Ta Monitor Ta Refresh
.It Em "Setting Freq (MHz) Resolution Rate (MHz)"
.It " "
.It Li 0 Ta 130 Ta 1280x1024 Ta 72
.It Li 1 Ta 119 Ta 1280x1024 Ta 66
.It Li 2 Ta 108 Ta 1280x1024 Ta 60
.It Li 3 Ta 104 Ta 1152x900 Ta 72
.It Li 4 Ta 93 Ta 1152x900 Ta 66
.It Li 5 Ta 75 Ta 1024x768 Ta 70
.It Li 6 Ta 74 Ta 1024x768 Ta 72
.It Li 7 Ta 69 Ta 1024x864 Ta 60
.It Li 8 Ta 65 Ta 1024x768 Ta 60
.It Li 9 Ta 50 Ta 800x600 Ta 72
.It Li A Ta 40 Ta 800x600 Ta 60
.It Li B Ta 32 Ta 640x480 Ta 72
.It Li C Ta 25 Ta 640x480 Ta 60
.El
.Pp
The settings for D, E, and F are for 1600x1200 on some cards, but
there are no guarantees.
.Pp
There are also a couple of extra jumpers on some cards.
One of these jumpers often selects the card to be the primary display.
Exactly one of the cards in your machine should have that jumper on.
If you have extra cards, they should have the jumper off.
.Sh SEE ALSO
.Xr intro 4 ,
.Xr pci 4 ,
.Xr wscons 4 ,
.Xr wsdisplay 4 ,
.Xr wsconscfg 8
.Sh BUGS
There are some problems with the background randomly switching between
black and blue.
|