summaryrefslogtreecommitdiffstats
path: root/development/ophis/ophis.rst
blob: 85b96d0c8f0f8dc47fe2011d0d36a50702441935 (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
.. RST source for ophis(1) man page. Convert with:
..   rst2man.py ophis.rst > ophis.1

.. |version| replace:: 2.1
.. |date| date::

=====
ophis
=====

---------------------------------------------
cross assembler for the 6502 and related CPUs
---------------------------------------------

:Manual section: 1
:Manual group: SlackBuilds.org
:Date: |date|
:Version: |version|

SYNOPSIS
========

ophis [**-o** *OUTFILE*] [**-l** *LISTFILE*] [**-m** *MAPFILE*] [**-u** | **--undoc**] [**-c** | **--65c02**] [**-4** | **--4502**] [**-v** | **--verbose**] [**-q** | **--quiet**] [**--no-warn**] [**--no-branch-extend**] *sourcefile* [*sourcefile ...*]

DESCRIPTION
===========

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.

The full **ophis** manual is available at:

  /usr/doc/ophis-|version|/ophismanual.pdf

Or on the author's site at:

  https://michaelcmartin.github.io/Ophis/book/book1.html

The platform headers and example code mentioned in the manual can be found
in **/usr/share/ophis/platform/** and **/usr/share/ophis/examples/**.

OPTIONS
=======

  --version             show program's version number and exit
  -h, --help            show this help message and exit
  -o OUTFILE            Output filename (default 'ophis.bin')
  -l LISTFILE           Listing filename (not created by default)
  -m MAPFILE            Label-address map filename (not created by default)

  Input options:
    -u, --undoc         Enable 6502 undocumented opcodes
    -c, --65c02         Enable 65c02 extended instruction set
    -4, --4502          Enable 4502 extended instruction set

  Console output options:
    -v, --verbose       Verbose mode
    -q, --quiet         Quiet mode
    --no-warn           Do not print warnings

  Compilation options:
    --no-branch-extend  Disable branch-extension pass

COPYRIGHT
=========

See the file /usr/doc/ophis-|version|/README for license information.

AUTHORS
=======

**ophis** was written by Michael C. Martin.

This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.

SEE ALSO
========

The ophis homepage: https://michaelcmartin.github.io/Ophis/