AMIDISPLAYCC(4)

NAME
amidisplaycc - wscons interface to amiga custom chips drivers

SYNOPSIS
amidisplaycc0 at mainbus0
wsdisplay0 at amidisplaycc0

DESCRIPTION
This device acts as an adapter between the wscons(4) framework and the Amiga custom chip driver functions. It exports the internal wsdisplay(4) interface and contains the necessary rendering functions to operate a text terminal with virtual screens. It uses the Amiga abstract graphic driver (grfabs) functions for the low-level display management.

It supports foreground and background color, and the hilite (bold), underline, and reverse text attributes.

  Virtual terminals and screen types
The number of virtual screens is limited only by the available chip memory.

Each virtual screen can have a different screen type. A screen type defines the following things: height and width in pixels, number of colors, and font size. The supported screen types are listed below.
•   80x64 - display size 640x512 with 8 colors, font size 8x8
•   80x51 - display size 640x510 with 8 colors, font size 8x10
•   80x50 - display size 640x400 with 8 colors, font size 8x8
•   80x40 - display size 640x400 with 8 colors, font size 8x10
•   80x32 - display size 640x512 with 8 colors, font size 8x16
•   80x31 - display size 640x248 with 8 colors, font size 8x8
•   80x25 - display size 640x400 with 8 colors, font size 8x16
•   80x24 - display size 640x192 with 8 colors, font size 8x8
•   640x400x1 - display size 640x400 with 2 colors, font size 8x8
•   640x400x2 - display size 640x400 with 4 colors, font size 8x8
•   640x400x3 - display size 640x400 with 8 colors, font size 8x8
•   640x200x1 - display size 640x200 with 2 colors, font size 8x8
•   640x200x2 - display size 640x200 with 4 colors, font size 8x8
•   640x200x3 - display size 640x200 with 8 colors, font size 8x8
•   default - same as either 80x64 or 80x50, depending on the presence of GRF_NTSC and GRF_PAL in the kernel configuration.

The grfabs code determines the actual screen mode that is used. The config options GRF_NTSC, GRF_PAL, GRF_AGA, etc. determine what kind of chipsets/modes are available.

  Fonts
Fonts of width 8 and any height are supported. Fonts can be compiled into the kernel by specifying "options FONT_[fontname]" in the configuration file, or loaded with the wsfontload(8) utility runtime.

  X11
The X11 server works using the wsfb(4) driver. The driver supports 256 and 16 color modes. The 256-color mode is used when AGA chipset is enabled. The screen resolution is the same as the default terminal screen mode. Currently there is no way to configure a different screen mode for X11.

SEE ALSO
wscons(4), wsdisplay(4), wsfontload(8), wsfont(9)