1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

Every command should have a manual page.

Even obscure ones.

Especially obscure ones.
This commit is contained in:
miod 2002-02-19 19:08:33 +00:00
parent a7d056270e
commit 0b8da1bdca
4 changed files with 121 additions and 2 deletions

View File

@ -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

65
usr.sbin/gspa/gspa/gspa.1 Normal file
View File

@ -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 .

View File

@ -1,6 +1,5 @@
PROG= gspahextoc
SRCS= gspahextoc.l
NOMAN= noman
LDADD= -ll
DPADD= ${LIBL}

View File

@ -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 .