AMIDISPLAYCC(4) | Device Drivers Manual (amiga) | 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.

The X11 server works in monochrome mode using the wsfb(4) driver.

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
- 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.

# SEE ALSO

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

November 12, 2003 | NetBSD 9.3