summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/vga.4 4.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man4/vga.4 4.html')
-rw-r--r--static/netbsd/man4/vga.4 4.html131
1 files changed, 0 insertions, 131 deletions
diff --git a/static/netbsd/man4/vga.4 4.html b/static/netbsd/man4/vga.4 4.html
deleted file mode 100644
index 8a9f0f57..00000000
--- a/static/netbsd/man4/vga.4 4.html
+++ /dev/null
@@ -1,131 +0,0 @@
-<table class="head">
- <tr>
- <td class="head-ltitle">VGA(4)</td>
- <td class="head-vol">Device Drivers Manual</td>
- <td class="head-rtitle">VGA(4)</td>
- </tr>
-</table>
-<div class="manual-text">
-<section class="Sh">
-<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
-<p class="Pp"><code class="Nm">vga</code> &#x2014; <span class="Nd">VGA graphics
- driver for wscons</span></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1>
-<p class="Pp"><code class="Cd">options
- VGA_CONSOLE_SCREENTYPE=&quot;??x??&quot;</code>
- <br/>
- <code class="Cd">options VGA_CONSOLE_ATI_BROKEN_FONTSEL</code></p>
-<p class="Pp">
- <br/>
- <code class="Cd">vga0 at isa?</code>
- <br/>
- <code class="Cd">vga* at pci?</code>
- <br/>
- <code class="Cd">wsdisplay* at vga? console ?</code></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
-<p class="Pp">This driver handles VGA graphics hardware within the
- <a class="Xr">wscons(4)</a> console framework. It doesn't provide direct
- device driver entry points but makes its functions available via the
- internal <a class="Xr">wsdisplay(4)</a> interface.</p>
-<p class="Pp">The <code class="Nm">vga</code> driver supports text-mode hardware
- acceleration on the VGA hardware. Currently, the driver runs the display
- with a 720&#x00D7;400 pixel resolution. The VGA text-mode accelerator
- divides the display into fixed-size character cells. The size of the
- character cells specifies the number of characters available on the screen
- and the resolution of the font. The wsdisplay screen &#x201C;types&#x201D;
- supported by the <code class="Nm">vga</code> driver are described by the
- number of character cells available on the screen. See below for a complete
- list of supported screen modes in the <code class="Nm">vga</code>
- driver.</p>
-<p class="Pp">Each screen mode requires a suitable font to be loaded into the
- kernel by the <a class="Xr">wsfontload(8)</a> utility, before the screen can
- be used. The size of the font and the screen mode must match for use on the
- 720&#x00D7;400 display. For example, a screen mode with 80 columns and 40
- rows requires a font where each character is 8 pixels wide and 10 pixels
- high. The <code class="Nm">vga</code> driver can display fonts of the
- original IBM type and ISO-8859-1 encoded fonts. A builtin font of 256
- characters and 8&#x00D7;16 pixels is always present on the VGA hardware.</p>
-<p class="Pp">The colour VGA hardware supports the display of 16 different
- colours at the same time. It is possible with VGA colour systems to use
- fonts with 512 characters at any one time. This is due to the fact that with
- VGA adapters one can specify an alternate font to be used instead of bright
- letters (used for highlighting on the screen). As an experimental feature,
- the &#x201C;higher half&#x201D; fonts of the former
- <span class="Ux">NetBSD</span>/i386 <code class="Nm">pcvt</code> driver
- distribution can be used too if the kernel option
- &#x201C;WSCONS_SUPPORT_PCVTFONTS&#x201D; was set at compile time. This is
- only useful with the &#x201C;*bf&#x201D; screen types; a font containing the
- ASCII range of characters must be available too on this screen.</p>
-<p class="Pp">Currently, the following screen types are supported:</p>
-<dl class="Bl-hang">
- <dt>80x25</dt>
- <dd>This is the standard VGA text mode with 80 columns and 25 rows. Sixteen
- different colors can be displayed at the same time. Characters are
- 8&#x00D7;16 pixels, and a font consists of 256 characters.</dd>
- <dt>80x25bf</dt>
- <dd>is a modified version of the previous. It only allows 8 colors to be
- displayed. In exchange, it can access two fonts at the same time, so that
- 512 different characters can be displayed.</dd>
- <dt>80x40</dt>
- <dd>A text mode with 80 columns and 40 rows. Similar to the standard mode, 16
- colors and 256 characters are available. Characters are 8&#x00D7;10
- pixels. For this mode to be useful, a font of that character size must be
- downloaded.</dd>
- <dt>80x40bf</dt>
- <dd>is analogously to &#x201C;80x25bf&#x201D; a version with 512 displayable
- characters but 8 colors only.</dd>
- <dt>80x50</dt>
- <dd>A text mode with 80 columns and 50 rows. Similar to the standard mode, 16
- colors and 256 characters are available. Characters are 8&#x00D7;8 pixels.
- For this mode to be useful, a font of that character size must be
- downloaded.</dd>
- <dt>80x50bf</dt>
- <dd>is analogously to &#x201C;80x25bf&#x201D; a version with 512 displayable
- characters but 8 colors only.</dd>
- <dt>80x24</dt>
- <dd>is a variant of the &#x201C;80x25&#x201D; screen type which displays 24
- lines only. It uses the standard 8x16 VGA font. This mode might be useful
- for applications which depend on closer DEC VT100 compatibility.</dd>
- <dt>80x24bf</dt>
- <dd>Analogously, like &#x201C;80x24&#x201D; but with 512 character slots and 8
- colors.</dd>
-</dl>
-<p class="Pp">If you have an Ati videocard and you are experiencing problems
- with fonts other than 80x25, you can try to set <code class="Cd">options
- VGA_CONSOLE_ATI_BROKEN_FONTSEL</code> in you kernel configuration and see if
- it helps.</p>
-<p class="Pp">The <code class="Nm">vga</code> driver supports multiple virtual
- screens on one physical display. The screens allocated on one display can be
- of different &#x201C;types&#x201D;. The type is determined at the time the
- virtual screen is created and can't be changed later. Screens are either
- created at kernel startup (then the default type is used) or later with help
- of the <a class="Xr">wsconscfg(8)</a> utility.</p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
- ALSO</a></h1>
-<p class="Pp"><a class="Xr">isa(4)</a>, <a class="Xr">pcdisplay(4)</a>,
- <a class="Xr">pci(4)</a>, <a class="Xr">wscons(4)</a>,
- <a class="Xr">wsconscfg(8)</a>, <a class="Xr">wsfontload(8)</a></p>
-</section>
-<section class="Sh">
-<h1 class="Sh" id="BUGS"><a class="permalink" href="#BUGS">BUGS</a></h1>
-<p class="Pp">Only a subset of the possible text modes is supported.</p>
-<p class="Pp">VGA cards are supposed to emulate an MDA if a monochrome display
- is connected. In this case, the device will naturally not support colors at
- all, but offer the capability to display underlined characters instead. The
- &#x201C;80x25bf&#x201D;, &#x201C;80x40bf&#x201D;, &#x201C;80x50bf&#x201D;
- and &#x201C;80x24bf&#x201D; screen types will not be available. This mode of
- operation has not been tested.</p>
-</section>
-</div>
-<table class="foot">
- <tr>
- <td class="foot-date">May 4, 2003</td>
- <td class="foot-os">NetBSD 10.1</td>
- </tr>
-</table>