Deleted Added
full compact
vga.4 (43725) vga.4 (43844)
1.\"
2.\" Copyright (c) 1999
3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 10 unchanged lines hidden (view full) ---

19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\"
1.\"
2.\" Copyright (c) 1999
3.\" Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 10 unchanged lines hidden (view full) ---

19.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\"
27.\" $Id: $
27.\" $Id: vga.4,v 1.1 1999/02/07 05:40:14 yokota Exp $
28.\"
28.\"
29.Dd February 6, 1999
30.Dt VGA 4 i386
29.Dd February 9, 1999
30.Dt VGA 4
31.Os FreeBSD
32.Sh NAME
33.Nm vga
34.Nd
35generic video card interface
36.Sh SYNOPSIS
37.Cd "options" \&"VESA\&"
38.Cd "options" \&"VESA_DEBUG=N\&"

--- 8 unchanged lines hidden (view full) ---

47.Nm
48driver is a generic video card driver which provides access to
49video cards. This driver is required for the console driver
50.Xr syscons 4 .
51The console driver will call the
52.Nm
53driver to manipulate video hardware (changing video modes, loading font, etc).
54.Pp
31.Os FreeBSD
32.Sh NAME
33.Nm vga
34.Nd
35generic video card interface
36.Sh SYNOPSIS
37.Cd "options" \&"VESA\&"
38.Cd "options" \&"VESA_DEBUG=N\&"

--- 8 unchanged lines hidden (view full) ---

47.Nm
48driver is a generic video card driver which provides access to
49video cards. This driver is required for the console driver
50.Xr syscons 4 .
51The console driver will call the
52.Nm
53driver to manipulate video hardware (changing video modes, loading font, etc).
54.Pp
55The keyword
56.Em conflicts
57is required, as the video card may use I/O ports in the same range
58as other drivers.
59.Pp
55The
56.Nm
60The
61.Nm
57driver supports the standard video cards: MDA, CGA, EGA and VGA.
58In addition, the driver can utilize the VESA BIOS extension,
59if the video card has one.
60VESA support can either be statically included in the kernel or
61available as a separate module.
62driver supports the standard video cards: MDA, CGA, EGA and VGA. In
63addition, the driver can utilize VESA BIOS extensions if the video card
64supports them. VESA support can either be statically included in the kernel
65or can be loaded as a separate module.
62.Pp
66.Pp
63In order to statically link the support to the kernel, define the
67In order to statically link the support to the kernel, the
64.Em VESA
65option (see below) and the
66.Em VM86
68.Em VESA
69option (see below) and the
70.Em VM86
67option in the kernel configuration file.
71option must be defined in the kernel configuration file.
68.Pp
69The
70.Nm vesa
72.Pp
73The
74.Nm vesa
71module can be loaded to the kernel, without static VESA support, by
75module can be dynamically loaded into the kernel using
72.Xr kldload 8 .
76.Xr kldload 8 .
73The
77This requires the
74.Em VM86
78.Em VM86
75option is required in the kernel configuration file in this case too.
79option to be defined in the kernel configuration file.
76.Sh DRIVER CONFIGURATION
77.Ss Kernel Configuration Options
80.Sh DRIVER CONFIGURATION
81.Ss Kernel Configuration Options
78The following kernel configuration options control the
82The following kernel configuration options
83.Pq see Xr config 8
84can be used to control the
79.Nm
80driver.
85.Nm
86driver.
81They may be set in the kernel configuration file
82.Pq see Xr config 8 .
83.Pp
84The following options are to provide compatibility with certain VGA
85cards.
87These options provide compatibility with certain VGA cards.
86.Bl -tag -width MOUSE
87.It Em VGA_ALT_SEQACCESS
88You may want to try this option if the mouse pointer is not drawn correctly
88.Bl -tag -width MOUSE
89.It Em VGA_ALT_SEQACCESS
90You may want to try this option if the mouse pointer is not drawn correctly
89or font does not seem to be loaded properly on the VGA card.
91or the font does not seem to be loaded properly on the VGA card.
90However, it may cause flicker on some systems.
91.It Em VGA_SLOW_IOACCESS
92Older VGA cards may require this option for proper operation.
93It makes the driver perform byte-wide I/O to VGA registers and
94slow down a little.
95.El
96.Pp
97The following options add optional features to the driver.
98.Bl -tag -width MOUSE
99.It Em VESA
100Add VESA BIOS support to the driver.
101If the VGA card has the VESA BIOS extension 1.2 or later,
102this option will utilize the VESA BIOS service to switch to high
103resolution modes.
104This option requires the
105.Em VM86
106option.
107.It Em VESA_DEBUG=N
92However, it may cause flicker on some systems.
93.It Em VGA_SLOW_IOACCESS
94Older VGA cards may require this option for proper operation.
95It makes the driver perform byte-wide I/O to VGA registers and
96slow down a little.
97.El
98.Pp
99The following options add optional features to the driver.
100.Bl -tag -width MOUSE
101.It Em VESA
102Add VESA BIOS support to the driver.
103If the VGA card has the VESA BIOS extension 1.2 or later,
104this option will utilize the VESA BIOS service to switch to high
105resolution modes.
106This option requires the
107.Em VM86
108option.
109.It Em VESA_DEBUG=N
108Set the VESA support debug level to N.
109The default value is zero (all debugging output is suppressed).
110Set the VESA support debug level to
111.Fa N .
112The default value is zero, which suppresses all debugging output.
110.El
111.Pp
112The following options will remove some features from the
113.Nm
114driver and save kernel memory.
115.Bl -tag -width MOUSE
116.It Em VGA_NO_FONT_LOADING
117The
118.Nm
119driver can load software font to EGA and VGA cards.
120This option removes this feature.
121.It Em VGA_NO_MODE_CHANGE
113.El
114.Pp
115The following options will remove some features from the
116.Nm
117driver and save kernel memory.
118.Bl -tag -width MOUSE
119.It Em VGA_NO_FONT_LOADING
120The
121.Nm
122driver can load software font to EGA and VGA cards.
123This option removes this feature.
124.It Em VGA_NO_MODE_CHANGE
122This option disallows the driver to change video modes.
125This option prevents the driver from changing video modes.
123.El
124.\".Sh FILES
125.Sh EXAMPLE
126Your kernel configuration should normally have:
127.Pp
128.Dl "device vga0 at isa? port ? conflicts"
129.Pp
130The following lines should be included in the kernel configuration file
131in order to enable the VESA BIOS Extension support.
132.Pp
133.Dl "options" \&"VM86\&"
134.Dl "options" \&"VESA\&"
135.Dl "device vga0 at isa? port ? conflicts"
136.Pp
126.El
127.\".Sh FILES
128.Sh EXAMPLE
129Your kernel configuration should normally have:
130.Pp
131.Dl "device vga0 at isa? port ? conflicts"
132.Pp
133The following lines should be included in the kernel configuration file
134in order to enable the VESA BIOS Extension support.
135.Pp
136.Dl "options" \&"VM86\&"
137.Dl "options" \&"VESA\&"
138.Dl "device vga0 at isa? port ? conflicts"
139.Pp
137If you do not want the VESA support always included in the kernel, but
140If you do not want VESA support included in the kernel, but
138want to use occasionally, add the following lines to the kernel configuration
141want to use occasionally, add the following lines to the kernel configuration
139file.
142file:
140.Pp
141.Dl "options" \&"VM86\&"
142.Dl "device vga0 at isa? port ? conflicts"
143.Pp
143.Pp
144.Dl "options" \&"VM86\&"
145.Dl "device vga0 at isa? port ? conflicts"
146.Pp
144And load the
147Then load the
145.Nm vesa
148.Nm vesa
146module, when desired, as follows.
149module as desired:
147.Pp
148.Dl kldload vesa
149.Pp
150.\".Sh DIAGNOSTICS
151.\".Sh CAVEATS
152.\".Sh BUGS
153.Sh SEE ALSO
150.Pp
151.Dl kldload vesa
152.Pp
153.\".Sh DIAGNOSTICS
154.\".Sh CAVEATS
155.\".Sh BUGS
156.Sh SEE ALSO
157.Xr syscons 4 ,
158.Xr config 8 ,
154.Xr kldload 8 ,
155.Xr kldunload 8 .
156.Sh STANDARD
157.Rs
158.%T "VESA BIOS Extension (VBE)"
159.%A Video Electronics Standards Association
160.Re
161.Sh HISTORY

--- 13 unchanged lines hidden ---
159.Xr kldload 8 ,
160.Xr kldunload 8 .
161.Sh STANDARD
162.Rs
163.%T "VESA BIOS Extension (VBE)"
164.%A Video Electronics Standards Association
165.Re
166.Sh HISTORY

--- 13 unchanged lines hidden ---