Module Name: src Committed By: nat Date: Thu Aug 1 13:41:15 UTC 2024
Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4/man4.mac68k: Makefile Added Files: src/share/man/man4/man4.mac68k: ascaudio.4 Log Message: Add manual page for ascaudio(4). To generate a diff of this commit: cvs rdiff -u -r1.1777 -r1.1778 src/distrib/sets/lists/man/mi cvs rdiff -u -r1.13 -r1.14 src/share/man/man4/man4.mac68k/Makefile cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.mac68k/ascaudio.4 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/sets/lists/man/mi diff -u src/distrib/sets/lists/man/mi:1.1777 src/distrib/sets/lists/man/mi:1.1778 --- src/distrib/sets/lists/man/mi:1.1777 Fri Jul 12 21:02:22 2024 +++ src/distrib/sets/lists/man/mi Thu Aug 1 13:41:15 2024 @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1777 2024/07/12 21:02:22 christos Exp $ +# $NetBSD: mi,v 1.1778 2024/08/01 13:41:15 nat Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. ./etc/mtree/set.man man-sys-root @@ -1528,6 +1528,7 @@ ./usr/share/man/cat4/m25p.0 man-sys-catman .cat ./usr/share/man/cat4/mac68k/adb.0 man-obsolete obsolete ./usr/share/man/cat4/mac68k/ae.0 man-sys-catman .cat +./usr/share/man/cat4/mac68k/ascaudio.0 man-sys-catman .cat ./usr/share/man/cat4/mac68k/autoconf.0 man-sys-catman .cat ./usr/share/man/cat4/mac68k/cpi.0 man-sys-catman .cat ./usr/share/man/cat4/mac68k/intro.0 man-sys-catman .cat @@ -5081,6 +5082,7 @@ ./usr/share/man/man4/m25p.4 man-sys-man .man ./usr/share/man/man4/mac68k/adb.4 man-obsolete obsolete ./usr/share/man/man4/mac68k/ae.4 man-sys-man .man +./usr/share/man/man4/mac68k/ascaudio.4 man-sys-man .man ./usr/share/man/man4/mac68k/autoconf.4 man-sys-man .man ./usr/share/man/man4/mac68k/cpi.4 man-sys-man .man ./usr/share/man/man4/mac68k/intro.4 man-sys-man .man Index: src/share/man/man4/man4.mac68k/Makefile diff -u src/share/man/man4/man4.mac68k/Makefile:1.13 src/share/man/man4/man4.mac68k/Makefile:1.14 --- src/share/man/man4/man4.mac68k/Makefile:1.13 Thu May 22 19:51:48 2008 +++ src/share/man/man4/man4.mac68k/Makefile Thu Aug 1 13:41:14 2024 @@ -1,8 +1,8 @@ # from: @(#)Makefile 5.1 (Berkeley) 6/29/90 -# $NetBSD: Makefile,v 1.13 2008/05/22 19:51:48 hauke Exp $ +# $NetBSD: Makefile,v 1.14 2024/08/01 13:41:14 nat Exp $ -MAN= ae.4 autoconf.4 cpi.4 intro.4 iwm.4 mainbus.4 mem.4 netdock.4 \ - obio.4 zsc.4 +MAN= ae.4 ascaudio.4 autoconf.4 cpi.4 intro.4 iwm.4 mainbus.4 mem.4 \ + netdock.4 obio.4 zsc.4 MLINKS= mem.4 kmem.4 MANSUBDIR=/mac68k Added files: Index: src/share/man/man4/man4.mac68k/ascaudio.4 diff -u /dev/null src/share/man/man4/man4.mac68k/ascaudio.4:1.1 --- /dev/null Thu Aug 1 13:41:15 2024 +++ src/share/man/man4/man4.mac68k/ascaudio.4 Thu Aug 1 13:41:14 2024 @@ -0,0 +1,69 @@ +.\" $NetBSD: ascaudio.4,v 1.1 2024/08/01 13:41:14 nat Exp $ +.\" Copyright (c) 2024 Nathanial Sloss <nathanialsl...@yahoo.com.au> +.\" 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 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 29, 2024 +.Dt ASCAUDIO 4 mac68k +.Os +.Sh NAME +.Nm ascaudio +.Nd MAC68K Apple Sound Chip (ASC) built-in audio. +.Sh SYNOPSIS +.Cd ascaudio* at obio? flags 0x00 +.Cd audio* at audiobus? +.Cd spkr* at audio? +.Cd wsbell* at spkr? +.Sh DESCRIPTION +.Nm +provides an audio device for the (Enchanced) Apple Sound Chip. +It is implemented as an +.Xr audio 4 +device. +.Sh CONFIGURATION +The +.Nm +driver supports the following +.Sy flags +for use in +.Xr config 1 +files: +.Pp +.Bl -tag -compact -width "quality:" +.It 0x0 (DEFQUALTY) : +22257Hz Monaural playback. +.It 0x1 (LOWQUALITY) : +Half playback rate. +Monoaural, intended for machines with slower clock rates. +.It 0x2 (HIGHQUALITY) : +Best Quality supported by ASC. +This would be stereo on equipped machines. +.El +.\" +.Sh BUGS +Recording only works on some machines as audio routing is required, yet not fully analyzed. +.Sh SEE ALSO +.Xr mac68k/asc 4 , +.Xr audio 4 , +.Xr spkr 4 , +.Xr wsbell 4