1.\" 2.\" Copyright (c) 2000 Jukka Andberg 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright 9.\" notice, this list of conditions and the following disclaimer. 10.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" notice, this list of conditions and the following disclaimer in the 12.\" documentation and/or other materials provided with the distribution. 13.\" 14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" 25.\" $NetBSD: amidisplaycc.4,v 1.17 2024/04/11 13:06:29 jandberg Exp $ 26.Dd November 12, 2003 27.Dt AMIDISPLAYCC 4 amiga 28.Os 29.Sh NAME 30.Nm amidisplaycc 31.Nd wscons interface to amiga custom chips drivers 32.Sh SYNOPSIS 33.Cd amidisplaycc0 at mainbus0 34.Cd wsdisplay0 at amidisplaycc0 35.Sh DESCRIPTION 36This device acts as an adapter between the 37.Xr wscons 4 38framework and the Amiga custom chip driver functions. 39It exports the internal 40.Xr wsdisplay 4 41interface and contains the necessary rendering functions to 42operate a text terminal with virtual screens. 43It uses the Amiga abstract graphic driver (grfabs) functions for 44the low-level display management. 45.Pp 46It supports foreground and background color, and the hilite (bold), 47underline, and reverse text attributes. 48.Ss Virtual terminals and screen types 49The number of virtual screens is limited only by 50the available chip memory. 51.Pp 52Each virtual screen can have a different screen type. 53A screen type defines the following things: height and width 54in pixels, number of colors, and font size. 55The supported screen types are listed below. 56.Bl -bullet -offset indent -compact 57.It 5880x64 - display size 640x512 with 8 colors, font size 8x8 59.It 6080x51 - display size 640x510 with 8 colors, font size 8x10 61.It 6280x50 - display size 640x400 with 8 colors, font size 8x8 63.It 6480x40 - display size 640x400 with 8 colors, font size 8x10 65.It 6680x32 - display size 640x512 with 8 colors, font size 8x16 67.It 6880x31 - display size 640x248 with 8 colors, font size 8x8 69.It 7080x25 - display size 640x400 with 8 colors, font size 8x16 71.It 7280x24 - display size 640x192 with 8 colors, font size 8x8 73.It 74default - same as either 80x64 or 80x50, depending on the presence 75of GRF_NTSC and GRF_PAL in the kernel configuration. 76.El 77.Pp 78The grfabs code determines the actual screen mode that is used. 79The config options GRF_NTSC, GRF_PAL, GRF_AGA, etc. determine 80what kind of chipsets/modes are available. 81.Ss Fonts 82Fonts of width 8 and any height are supported. 83Fonts can be compiled into the kernel by specifying "options FONT_[fontname]" 84in the configuration file, or loaded with the 85.Xr wsfontload 8 86utility runtime. 87.Ss X11 88The X11 server works using the 89.Xr wsfb 4 90driver. 91The driver supports 256 and 16 color modes. 92.Sh SEE ALSO 93.Xr wscons 4 , 94.Xr wsdisplay 4 , 95.Xr wsfontload 8 , 96.Xr wsfont 9 97