diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 15:32:58 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 15:32:58 -0400 |
| commit | 5cb84ec742fd33f78c8022863fadaa8d0d93e176 (patch) | |
| tree | 1a81ca3665e6153923e40db7b0d988f8573ab59c /static/netbsd/man4/man4.mac68k/cpi.4 | |
| parent | a59214f344567c037d5776879bcfc5fcc1d4d5f6 (diff) | |
feat: Added NetBSD man pages
Diffstat (limited to 'static/netbsd/man4/man4.mac68k/cpi.4')
| -rw-r--r-- | static/netbsd/man4/man4.mac68k/cpi.4 | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/static/netbsd/man4/man4.mac68k/cpi.4 b/static/netbsd/man4/man4.mac68k/cpi.4 new file mode 100644 index 00000000..fff12ad4 --- /dev/null +++ b/static/netbsd/man4/man4.mac68k/cpi.4 @@ -0,0 +1,113 @@ +.\" $NetBSD: cpi.4,v 1.8 2017/02/18 22:39:01 wiz Exp $ +.\" +.\" Copyright (c) 2008 Hauke Fath. 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 February 17, 2017 +.Dt CPI 4 mac68k +.Os +.Sh NAME +.Nm cpi +.Nd parallel printer driver for Creative Systems Inc. Hurdler CPI Nubus card +.\" +.Sh SYNOPSIS +.Cd "cpi* at nubus? flags 0x1" +.\" +.Sh DESCRIPTION +The +.Nm +interface provides access to parallel printer ports. +.\" +.Sh CONFIGURATION +The +.Nm +driver supports the following +.Sy flags +for use in +.Xr config 1 +files: +.Pp +.Bl -tag -compact -width "bits 16-23:" +.It bit 0 : +use the CIO counters 1 and 2 as a 32 bit +.Xr timecounter 9 . +.El +.\" +.Sh HARDWARE +The +.Nm +interface supports the Creative Systems Inc. Hurdler CPI Nubus card, +which is based on a Zilog Z8536 CIO. +.\" +.Pp +The parallel port on the Hurdler CPI card is wired as follows: +.Bl -column "/STROBE" "Page error" "SubD pin" "Z8536 pin" "Z8536 signal" +.It Sy "Signal" SubD pin Z8536 pin Z8536 signal +.It /STROBE Strobe 1 22 PC3 +.It D0 2 33 PA0 +.It \&D1 3 32 PA1 +.It D2 4 31 PA2 +.It D3 5 30 PA3 +.It D4 6 29 PA4 +.It D5 7 28 PA5 +.It D6 8 27 PA6 +.It D7 9 26 PA7 +.It /ACK 10 21 + 11 PC2 + PB3 +.It BUSY 11 19 + 14 PC0 + PB6 +.It PE Paper Error 12 20 PC1 +.It SEL Select 13 13 PB5 +.It /AUTOFD Auto Feed 14 12 PB4 +.It /FAULT 15 9 PB1 +.It /RESET 16 8 PB0 +.It /SELIN Select \&In 17 10 PB2 +.El +.Pp +The Z8536 INT line (pin 24) is wired to PB7 (pin 15). +.\" +.Sh SEE ALSO +.Xr lpt 4 , +.Xr mac68k/autoconf 4 , +.Xr nubus 4 , +.Xr printcap 5 , +.Xr timecounter 9 +.Pp +.Tn IEEE Standard 1284-1994 +.\" .Sh STANDARDS +.\" +.Sh HISTORY +.Nm +first appeared in +.Nx 5.0 . +.\" +.Sh AUTHORS +The +.Nm +driver was written by +.An Hauke Fath +.Aq hauke@NetBSD.org . +.\" +.Sh CAVEATS +The Hurdler CPI Nubus card does not use a TTL buffer to +drive the parallel interface. +Instead, the card's Z8536 CIO drives the printer port directly. +Printers terminating the parallel interface with less +than 2 kOhms may cause permanent damage to the Z8536 CIO. |
