summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-02-19 19:09:04 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-02-19 19:09:04 +0000
commitcc03bdb70090357d2393b6ec82e3cde4d5ce5edd (patch)
treec6285149dc353755dc3ca5027e9135c0978d0a30
parentbea8b717d54e91bdbba807adc68bf55dd8e069ac (diff)
Every command should have a manual page.
Even obscure ones. Especially obscure ones.
-rw-r--r--usr.sbin/gspa/gspa/Makefile1
-rw-r--r--usr.sbin/gspa/gspa/gspa.165
-rw-r--r--usr.sbin/gspa/gspahextoc/Makefile1
-rw-r--r--usr.sbin/gspa/gspahextoc/gspahextoc.156
4 files changed, 121 insertions, 2 deletions
diff --git a/usr.sbin/gspa/gspa/Makefile b/usr.sbin/gspa/gspa/Makefile
index 06eb031b761..1b035c9d2f4 100644
--- a/usr.sbin/gspa/gspa/Makefile
+++ b/usr.sbin/gspa/gspa/Makefile
@@ -5,7 +5,6 @@ CFLAGS+=-I. -I${.CURDIR}
HDRS= gsp_ass.h gsp_code.h
SRCS= gsp_gram.c gspa.c gsp_out.c gsp_sym.c gsp_lex.c gsp_act.c \
gsp_eval.c gsp_inst.c gsp_pseu.c
-NOMAN= noman
CLEANFILES+=gsp_gram.c y.tab.h
gsp_eval.o gsp_lex.o gspa.o: gsp_gram.c
diff --git a/usr.sbin/gspa/gspa/gspa.1 b/usr.sbin/gspa/gspa/gspa.1
new file mode 100644
index 00000000000..ec3ac8fbe24
--- /dev/null
+++ b/usr.sbin/gspa/gspa/gspa.1
@@ -0,0 +1,65 @@
+.\" $OpenBSD: gspa.1,v 1.1 2002/02/19 19:08:33 miod Exp $
+.\"
+.\" Copyright (c) 2002 Miodrag Vallat.
+.\" 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. 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 ``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 19, 2002
+.Dt GSPA 1
+.Os
+.Sh NAME
+.Nm gspa
+.Nd TMS34010 GSP assembler
+.Sh SYNOPSIS
+.Nm gspa
+.Op Fl l Ar file
+.Op Fl o Ar file
+.Op Ar file
+.Sh DESCRIPTION
+The
+.Nm
+command is an assembler for the TMS34010 graphics processor assembly language.
+.Pp
+Input is taken from the named
+.Ar file ,
+or from standard input if no file is given.
+The options are as follows:
+.Bl -tag -width Ds
+.It Fl l Ar file
+Generate a listing file into
+.Ar file .
+.It Fl o Ar file
+Output the binary code into
+.Ar file .
+If this option is not specified, the standard output will be used.
+.El
+.Sh SEE ALSO
+.Xr gspahextoc 1
+.Sh AUTHORS
+Paul Mackerras
+.Sh HISTORY
+The
+.Nm
+command appared in
+.Nx 1.1 .
diff --git a/usr.sbin/gspa/gspahextoc/Makefile b/usr.sbin/gspa/gspahextoc/Makefile
index af3c76f0c9a..15e902417cf 100644
--- a/usr.sbin/gspa/gspahextoc/Makefile
+++ b/usr.sbin/gspa/gspahextoc/Makefile
@@ -1,6 +1,5 @@
PROG= gspahextoc
SRCS= gspahextoc.l
-NOMAN= noman
LDADD= -ll
DPADD= ${LIBL}
diff --git a/usr.sbin/gspa/gspahextoc/gspahextoc.1 b/usr.sbin/gspa/gspahextoc/gspahextoc.1
new file mode 100644
index 00000000000..cfa36016206
--- /dev/null
+++ b/usr.sbin/gspa/gspahextoc/gspahextoc.1
@@ -0,0 +1,56 @@
+.\" $OpenBSD: gspahextoc.1,v 1.1 2002/02/19 19:09:03 miod Exp $
+.\"
+.\" Copyright (c) 2002 Miodrag Vallat.
+.\" 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. 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 ``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 19, 2002
+.Dt GSPAHEXTOC 1
+.Os
+.Sh NAME
+.Nm gspahextoc
+.Nd Convert TMS34010 GSP binary data to C array
+.Sh SYNOPSIS
+.Nm gspahextoc
+.Op Ar file
+.Sh DESCRIPTION
+The
+.Nm
+command will convert the hex output of the
+.Xr gspa 1
+assembler into an initialized array of unsigned shorts, suitable for inclusion
+in C code.
+.Pp
+Input is taken from the named
+.Ar file ,
+or from standard input if no file is given.
+.Sh SEE ALSO
+.Xr gspa 1
+.Sh AUTHORS
+Ignatios Souvatzis
+.Sh HISTORY
+The
+.Nm
+command appared in
+.Nx 1.1 .