From 5cb84ec742fd33f78c8022863fadaa8d0d93e176 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 25 Apr 2026 15:32:58 -0400 Subject: feat: Added NetBSD man pages --- static/netbsd/man4/man4.atari/Makefile | 4 + static/netbsd/man4/man4.atari/et.4 | 100 +++++++++++++++++++++ static/netbsd/man4/man4.atari/floppy.4 | 59 +++++++++++++ static/netbsd/man4/man4.atari/intro.4 | 157 +++++++++++++++++++++++++++++++++ static/netbsd/man4/man4.atari/ms.4 | 90 +++++++++++++++++++ static/netbsd/man4/man4.atari/rtc.4 | 60 +++++++++++++ 6 files changed, 470 insertions(+) create mode 100644 static/netbsd/man4/man4.atari/Makefile create mode 100644 static/netbsd/man4/man4.atari/et.4 create mode 100644 static/netbsd/man4/man4.atari/floppy.4 create mode 100644 static/netbsd/man4/man4.atari/intro.4 create mode 100644 static/netbsd/man4/man4.atari/ms.4 create mode 100644 static/netbsd/man4/man4.atari/rtc.4 (limited to 'static/netbsd/man4/man4.atari') diff --git a/static/netbsd/man4/man4.atari/Makefile b/static/netbsd/man4/man4.atari/Makefile new file mode 100644 index 00000000..67434962 --- /dev/null +++ b/static/netbsd/man4/man4.atari/Makefile @@ -0,0 +1,4 @@ +MAN = $(wildcard *.4) + +include ../../../mandoc.mk + diff --git a/static/netbsd/man4/man4.atari/et.4 b/static/netbsd/man4/man4.atari/et.4 new file mode 100644 index 00000000..0b30cbf7 --- /dev/null +++ b/static/netbsd/man4/man4.atari/et.4 @@ -0,0 +1,100 @@ +.\" $NetBSD: et.4,v 1.14 2009/03/11 13:41:25 joerg Exp $ +.\" +.\" Copyright (c) 1998 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Julian Coleman. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd July 30, 1998 +.Dt ET 4 atari +.Os +.Sh NAME +.Nm et +.Nd driver for ET4000 VME graphics cards +.Sh SYNOPSIS +.Cd "et0 at vme0" +.Sh DESCRIPTION +The +.Nm +device driver supports VME graphics cards based on the Tseng ET4000 chipset. +It supports the minimal ioctl's needed to run X11. The 8Kb control registers +are mapped from offset 0x0 to offset 0x1fff and the 1MB frame buffer is mapped +from offset 0x400000 to offset 0x4fffff. VGA compatible memory is mapped from +offset 0xa0000 to offset 0xc0000. +.Sh HARDWARE +Cards supported by the +.Nm +driver include: +.Pp +.Bl -item -compact +.It +Crazy Dots II VME graphics card +.El +.Sh NOTES +The clock generator on the Crazy Dots card is an ICS 1394M. Setting the +clock is done by writing to a register at offset 0x0. This address cannot +be read. The values that can be written to the register and the associated +clock are: +.Bl -column "Value " "Clock" -offset indent +.It Em Value Ta Em Clock +.It Li 0x00 Ta +14318 +.It Li 0x10 Ta +16257 +.It Li 0x17 Ta +20000 +.It Li 0x0c Ta +24000 +.It Li 0x04 Ta +25175 +.It Li 0x14 Ta +28332 +.It Li 0x18 Ta +32514 +.It Li 0x1a Ta +36000 +.It Li 0x1c Ta +40000 +.It Li 0x03 Ta +44900 +.It Li 0x0f Ta +50000 +.It Li 0x13 Ta +50344 +.It Li 0x07 Ta +56644 +.It Li 0x11 Ta +65028 +.It Li 0x1f Ta +80000 +.El +.Sh FILES +.Bl -tag -width "xxxxxxxxxx" -compact +.It Pa /dev/etvme +.El +.Sh AUTHORS +.An Julian Coleman +.Sh BUGS +The driver does not support a text mode, so cannot be used as a console. diff --git a/static/netbsd/man4/man4.atari/floppy.4 b/static/netbsd/man4/man4.atari/floppy.4 new file mode 100644 index 00000000..6829d64c --- /dev/null +++ b/static/netbsd/man4/man4.atari/floppy.4 @@ -0,0 +1,59 @@ +.\" $NetBSD: floppy.4,v 1.8 2009/10/20 19:10:10 snj Exp $ +.\" +.\" Copyright (c) 1995 Leo Weppelman +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" +.Dd October 15, 1995 +.Dt FLOPPY 4 atari +.Os +.Sh NAME +.Nm floppy +.Nd +.Tn Atari +floppy interface +.Sh SYNOPSIS +.Cd "fd0 at fdc0 unit 0" +.Cd "fd1 at fdc0 unit 1" +.Sh DESCRIPTION +This is an interface to the builtin and external floppy drives on the Atari. +Currently, there is no disklabel support for the floppy drives. Instead, the +floppy interface uses the partition number embedded in the minor device number +to distinguish between various floppy formats. +.Pp +Currently, the following formats are supported: +.Bl -column Partition Size sides tracks sectors/track +.It Sy Partition Ta Sy Size Ta Sy sides Ta Sy tracks Ta Sy sectors/track +.It a Ta 360Kb Ta 1 Ta 80 Ta 9 +.It b Ta 720Kb Ta 2 Ta 80 Ta 9 +.It c Ta 1.44Mb Ta 2 Ta 80 Ta 18 +.El +.Sh FILES +.Bl -tag -width /dev/rfd[01][abc] -compact +.It Pa /dev/fd[01][abc] +Block files +.It Pa /dev/rfd[01][abc] +Raw files +.El +.Sh DIAGNOSTICS +None. diff --git a/static/netbsd/man4/man4.atari/intro.4 b/static/netbsd/man4/man4.atari/intro.4 new file mode 100644 index 00000000..836682a2 --- /dev/null +++ b/static/netbsd/man4/man4.atari/intro.4 @@ -0,0 +1,157 @@ +.\" $NetBSD: intro.4,v 1.12 2024/09/07 19:13:27 rillig Exp $ +.\" +.\" Copyright (c) 1997 Leo Weppelman +.\" Copyright (c) 1997 Jonathan Stone +.\" Copyright (c) 1994 Christopher G. Demetriou +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" 3. All advertising materials mentioning features or use of this software +.\" must display the following acknowledgement: +.\" This product includes software developed for the +.\" NetBSD Project. See https://www.NetBSD.org/ for +.\" information about NetBSD. +.\" 4. The name of the author may not be used to endorse or promote products +.\" derived from this software without specific prior written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" <> +.\" +.Dd June 6, 2000 +.Dt INTRO 4 atari +.Os +.Sh NAME +.Nm intro +.Nd introduction to atari special files and hardware support +.Sh DESCRIPTION +This section describes the special files, related driver functions, +and networking support +available in the system. +In this part of the manual, the +.Sx SYNOPSIS +section of +each configurable device gives a sample specification +for use in constructing a system description for the +.Xr config 1 +program. +The +.Tn DIAGNOSTICS +section lists messages which may appear on the console +and/or in the system error log +.Pa /var/log/messages +due to errors in device operation; +see +.Xr syslogd 8 +for more information. +.Pp +This section contains both devices +which may be configured into the system +and network related information. +The networking support is introduced in +.Xr netintro 4 . +.Sh LIST OF PLATFORMS SUPPORTED +Platforms supported by the atari port: +.Bl -tag -width Falcon -offset indent -compact +.It TT030 +A standard TT030 model with at least 4Mb of RAM. +.It Falcon +A standard Falcon with at least 4Mb of RAM. An FPU is not required as the +default kernels include FP-emulation support. +.It Hades +A standard Hades with either an 040 or 060 processor and at least 8 Mb of RAM. +.El +.Sh DEVICE SUPPORT +This section describes the hardware supported on the atari +(atari-clone) platform. +Software support for these devices comes in two forms. A hardware +device may be supported with a character or block +.Em device driver , +or it may be used within the networking subsystem and have a +.Em network interface driver . +Block and character devices are accessed through files in the file +system of a special type; see +.Xr mknod 8 . +Network interfaces are indirectly accessed through the interprocess +communication facilities provided by the system; see +.Xr socket 2 . +.Pp +A hardware device is identified to the system at configuration time +and the appropriate device or network interface driver is then compiled +into the system. When the resultant system is booted, the +autoconfiguration facilities in the system probe for the device +and, if found, enable the software support for it. +If a device does not respond at autoconfiguration +time it is not accessible at any time afterwards. +To enable a device which did not autoconfigure, +the system must be rebooted. +.Pp +The autoconfiguration system is described in +.Xr autoconf 4 . +A list of the supported devices is given below. +.Sh LIST OF DEVICES +The devices listed below are supported in this incarnation of +the system. Devices are indicated by their functional interface. +Not all supported devices are listed, not all devices exist on all models. +.Pp +Standard builtin devices: +.Bl -tag -width ncrscsi -offset indent -compact +.It clock +System clock +.It fd +Floppy device as found on the Falcon/TT030 +.It grf +The standard internal video as found on the Falcon and TT030. +.It grfet +The et4000-PCI video as found on the HADES +.It hdfd +Floppy device as found on the Hades (NEC 765 compatible) +.It isa +ISA I/O bus (Hades only) +.It kbd +Standard keyboard +.It lpt +Parallel port device interface +.It mem +Main memory interface +.It ncrscsi +Onboard 5380 SCSI-bus +.It nvr +Non-volatile RAM interface +.It pci +PCI I/O bus (Hades only). +.It ser0 +Serial1 (when connector available). +.It vme +VME I/O bus +.It wd +IDE interface (not on TT030) +.It zs0 +Serial2 and modem2 ports. +.El +.Sh SEE ALSO +.Xr config 1 , +.Xr autoconf 4 , +.Xr netintro 4 +.Sh HISTORY +The +.Tn atari +.Nm intro +appeared in +.Nx 1.3 . diff --git a/static/netbsd/man4/man4.atari/ms.4 b/static/netbsd/man4/man4.atari/ms.4 new file mode 100644 index 00000000..cdb3427b --- /dev/null +++ b/static/netbsd/man4/man4.atari/ms.4 @@ -0,0 +1,90 @@ +.\" $NetBSD: ms.4,v 1.5 2009/10/20 19:10:10 snj Exp $ +.\" +.\" Copyright (c) 1995 Leo Weppelman +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" +.Dd October 16, 1995 +.Dt MS 4 atari +.Os +.Sh NAME +.Nm ms +.Nd +.Tn Atari +mouse interface +.Sh SYNOPSIS +.Cd "pseudo-device mouse 1" +.Sh DESCRIPTION +The Atari mouse driver supports both the original Atari mouse and the third +party 3-button mouse that has its middle button connected to the up-switch +of the second joystick port. To accommodate X11 users with a standard mouse, +the driver is able to emulate the middle button. See the section on ioctls +for more info. +.Ss Supported ioctls +.Bl -tag -width MIOCG3B_EMUL -compact +.It MIOCS3B_EMUL +This ioctl turns the middle button emulation on or off depending on its +argument. The middle button event is triggered by simultaneously pressing +the left and right buttons. The default emulation mode is on. +.Pp +Note that the emulation status is retained across multiple open/close calls. +.It MIOCG3B_EMUL +This ioctl allows you to get the actual status of the emulation mode. +.El +.Ss Interface description +The Atari mouse interface works on a minimal emulation of Sun's Firm_event +structures. The primary reason for this is easy interfacing with X11. +.Pp +The movement and button events are read as structures of the form: +.Bd -literal +typedef struct Firm_event { + u_int_16_t id; /* key or MS_* or LOC_[XY]_DELTA */ + u_int_16_t pad; /* unused */ + int_16_t value; /* VKEY_{UP,DOWN} or locator delta */ + struct timeval time; /* time stamp of the event */ +} +.Ed +.Pp +The values of 'id' concerning the mouse: +.Bd -literal +#define MS_LEFT 0x7f20 /* left mouse button */ +#define MS_MIDDLE 0x7f21 /* middle mouse button */ +#define MS_RIGHT 0x7f22 /* right mouse button */ +#define LOC_X_DELTA 0x7f80 /* mouse delta-X */ +#define LOC_Y_DELTA 0x7f81 /* mouse delta-Y */ +.Ed +.Pp +The values of 'value' concerning a button event: +.Bd -literal +#define VKEY_UP 0 /* a button went up */ +#define VKEY_DOWN 1 /* a button went down */ +.Ed +.Sh FILES +.Bl -tag -width /dev/mouse0 -compact +.It Pa /dev/mouse0 +The real mouse device +.It Pa /dev/mouse +The currently active mouse device +.El +.Sh BUGS +The time interval that defines 'simultaneous' cannot be set. diff --git a/static/netbsd/man4/man4.atari/rtc.4 b/static/netbsd/man4/man4.atari/rtc.4 new file mode 100644 index 00000000..2b2e604f --- /dev/null +++ b/static/netbsd/man4/man4.atari/rtc.4 @@ -0,0 +1,60 @@ +.\" $NetBSD: rtc.4,v 1.8 2017/07/03 21:30:58 wiz Exp $ +.\" +.\" Copyright (c) 1998 The NetBSD Foundation, Inc. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to The NetBSD Foundation +.\" by Julian Coleman. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS +.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED +.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS +.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +.\" POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd November 21, 1999 +.Dt RTC 4 atari +.Os +.Sh NAME +.Nm rtc +.Nd Atari Real Time Clock +.Sh SYNOPSIS +.Cd "clock0 at mainbus0" +.Sh DESCRIPTION +The +.Nm +driver supports reading from and writing to the Atari real time clock (RTC). +When reading from the RTC, the format string of the output, as described in +the +.Xr strftime 3 +manual page, is: +.Bd -literal -offset indent +``%Y%m%d%H%M.%S'' +.Ed +.Pp +The same format is used to set the RTC to the current date. Note that the +kernel expects the RTC to run in UTC. +.Sh FILES +.Bl -tag -width "xxxxxxxxxx" -compact +.It Pa /dev/rtc +.El +.Sh EXAMPLES +date -u +%Y%m%d%H%M.%S > /dev/rtc +.Sh SEE ALSO +.Xr date 1 , +.Xr strftime 3 -- cgit v1.2.3