summaryrefslogblamecommitdiffstats
path: root/development/ophis/ophis.1
blob: 747462d25051724c67a7b71bbc1df6c0f739c717 (plain) (tree)




























                                                           
                                                  



















                                                                                                                                                                                                                                                                                                                                       
                                   






































































                                                                           
                                                                










                                                                   
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "OPHIS" 1 "2024-08-14" "2.2" "SlackBuilds.org"
.SH NAME
ophis \- cross assembler for the 6502 and related CPUs
.\" RST source for ophis(1) man page. Convert with:
.
.\" rst2man.py ophis.rst > ophis.1
.
.SH SYNOPSIS
.sp
ophis [\fB\-o\fP \fIOUTFILE\fP] [\fB\-l\fP \fILISTFILE\fP] [\fB\-m\fP \fIMAPFILE\fP] [\fB\-u\fP | \fB\-\-undoc\fP] [\fB\-c\fP | \fB\-\-65c02\fP] [\fB\-4\fP | \fB\-\-4502\fP] [\fB\-v\fP | \fB\-\-verbose\fP] [\fB\-q\fP | \fB\-\-quiet\fP] [\fB\-\-no\-warn\fP] [\fB\-\-no\-branch\-extend\fP] \fIsourcefile\fP [\fIsourcefile ...\fP]
.SH DESCRIPTION
.sp
Ophis is a cross\-assembler for the 65xx series of chips. It supports
the stock 6502 opcodes, the 65c02 extensions, experimental support
for the 4502/4510 used in the Commodore 65 prototypes, and syntax for
the "undocumented opcodes" in the 6510 chip used on the Commodore
64.
.sp
The full \fBophis\fP manual is available at:
.INDENT 0.0
.INDENT 3.5
/usr/doc/ophis\-2.2/ophismanual.pdf
.UNINDENT
.UNINDENT
.sp
Or on the author\(aqs site at:
.INDENT 0.0
.INDENT 3.5
\fI\%https://michaelcmartin.github.io/Ophis/book/book1.html\fP
.UNINDENT
.UNINDENT
.sp
The platform headers and example code mentioned in the manual can be found
in \fB/usr/share/ophis/platform/\fP and \fB/usr/share/ophis/examples/\fP\&.
.SH OPTIONS
.INDENT 0.0
.INDENT 3.5
.INDENT 0.0
.TP
.B  \-\-version
show program\(aqs version number and exit
.TP
.B  \-h\fP,\fB  \-\-help
show this help message and exit
.TP
.BI \-o \ OUTFILE
Output filename (default \(aqophis.bin\(aq)
.TP
.BI \-l \ LISTFILE
Listing filename (not created by default)
.TP
.BI \-m \ MAPFILE
Label\-address map filename (not created by default)
.UNINDENT
.INDENT 0.0
.TP
.B Input options:
.INDENT 7.0
.TP
.B  \-u\fP,\fB  \-\-undoc
Enable 6502 undocumented opcodes
.TP
.B  \-c\fP,\fB  \-\-65c02
Enable 65c02 extended instruction set
.TP
.B  \-4\fP,\fB  \-\-4502
Enable 4502 extended instruction set
.UNINDENT
.TP
.B Console output options:
.INDENT 7.0
.TP
.B  \-v\fP,\fB  \-\-verbose
Verbose mode
.TP
.B  \-q\fP,\fB  \-\-quiet
Quiet mode
.TP
.B  \-\-no\-warn
Do not print warnings
.UNINDENT
.TP
.B Compilation options:
.INDENT 7.0
.TP
.B  \-\-no\-branch\-extend
Disable branch\-extension pass
.UNINDENT
.UNINDENT
.UNINDENT
.UNINDENT
.SH COPYRIGHT
.sp
See the file /usr/doc/ophis\-2.2/README for license information.
.SH AUTHORS
.sp
\fBophis\fP was written by Michael C. Martin.
.sp
This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.
.SH SEE ALSO
.sp
The ophis homepage: \fI\%https://michaelcmartin.github.io/Ophis/\fP
.\" Generated by docutils manpage writer.
.