summaryrefslogtreecommitdiffstats
path: root/development/ophis/ophis.1
blob: 3706106b8b2cf413ac7c9b7c9fc4708fb4d202f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
.\" 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 "2023-04-21" "2.1" "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.1/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.1/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.
.