Debian Codegraph @

docs/Help.txt

raw
1
2
3 ACME
4
5 ...the ACME Crossassembler for Multiple Environments
6
7 - free software -
8
9 (C) 1998-2020 Marco Baye
10
11
12 ----------------------------------------------------------------------
13 Section: Copyright
14 ----------------------------------------------------------------------
15
16 ACME - a crossassembler for producing 6502/65c02/65816 code.
17 Copyright (C) 1998-2020 Marco Baye
18 The ACME icon was designed by Wanja "Brix" Gayk
19
20 This program is free software; you can redistribute it and/or modify
21 it under the terms of the GNU General Public License as published by
22 the Free Software Foundation; either version 2 of the License, or (at
23 your option) any later version.
24
25 This program is distributed in the hope that it will be useful, but
26 WITHOUT ANY WARRANTY; without even the implied warranty of
27 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 General Public License for more details.
29
30 You should have received a copy of the GNU General Public License
31 along with this program; if not, write to the
32 Free Software Foundation, Inc., 59 Temple Place, Suite 330,
33 Boston, MA 02111-1307 USA
34
35
36 ----------------------------------------------------------------------
37 Section: Introduction
38 ----------------------------------------------------------------------
39
40 ACME is a crossassembler for the 65xx range of processors. It knows
41 about the standard 6502, the 65c02 and the 65816. It also supports
42 the undocumented ("illegal") opcodes of the NMOS versions of the 6502,
43 like the 6510 variant that is used in the Commodore C=64, and it also
44 supports extensions to the intruction set done by other parties.
45
46 This text and the other files in the same directory only describe the
47 basic functions independent of the platform used. There should be
48 another help file in this archive that outlines the features specific
49 to your platform.
50
51 The files in the docs directory and what they contain:
52
53 65816.txt Stuff specific to the 65816 processor
54 AddrModes.txt How to choose non-standard addressing modes
55 AllPOs.txt Lists ACME's pseudo opcodes. Use as a reference.
56 Changes.txt The change log
57 COPYING Version 2 of the GNU General Public License
58 Errors.txt Lists ACME's error messages and what they mean.
59 Example.txt Information on how to assemble the example sources.
60 Floats.txt About the support for floating-point values
61 Help.txt ...is this text.
62 Illegals.txt Support for undocumented opcodes
63 Lib.txt Information about the library
64 QuickRef.txt All the basic stuff about ACME <- START HERE!
65 Source.txt How to compile ACME
66 Upgrade.txt Incompatibilities to earlier versions
67 cputypes/ Instruction sets of target CPUs
68
69 IMPORTANT: If you upgrade from an earlier version of ACME, don't
70 forget to read the files "Changes.txt" and "Upgrade.txt". Adding new
71 features can not always be done in a 100% compatible way, so newer
72 versions may behave slightly differently. To solve this problem, the
73 "--dialect" CLI switch can be used.
74
75 If you want to start using ACME right away, read the file
76 "QuickRef.txt", it contains the main help text.
77
78
79 ----------------------------------------------------------------------
80 Section: What it can and does
81 ----------------------------------------------------------------------
82
83 ACME is a crossassembler.
84 ACME can produce code for the 6502, 65c02 and 65816 processors.
85 It does this *fast*.
86 You can use global labels, local labels and anonymous labels.
87 It is fast.
88 You can use global and local macros.
89 You can use conditional assembly.
90 You can use looping assembly.
91 You can include other source files.
92 You can include binary files (either whole or parts) directly into the
93 output.
94 You can use offset assembly (code that is designed to run at a
95 different address).
96 It is fast.
97 ACME's maths parser uses operator priorities, so 1+2*3 will correctly
98 give 7 (unlike some other free assemblers that give 9 instead).
99 ACME's maths parser has no problems concerning parentheses and
100 indirect addressing modes.
101 ACME's maths parser knows a shit load of different operations.
102 ACME supports both integer and floating point maths operations.
103 In addition to numbers, symbols can also hold strings or lists.
104 You can dump the global symbols into a file.
105 ACME supports a library of commonly used macros and symbols.
106 It always takes as many passes as are needed.
107 ACME exists on several platforms, meaning you can easily exchange your
108 sources with other people (preferring other OSes).
109 ACME can convert its strings to PetSCII and screen code (Okay, this is
110 C64-specific).
111 ACME has a rudimentary type checking system to catch errors like
112 missing '#' characters.
113 Did I mention that it is fast?
114
115
116 ----------------------------------------------------------------------
117 Section: What it can't and doesn't
118 ----------------------------------------------------------------------
119
120 ACME cannot transfer data to a C64 or another computer.
121 ACME does not produce ".o65"-format linkable object files.
122 ACME cannot disassemble or relocate given code files.
123
124
125 ----------------------------------------------------------------------
126 Section: Platform independence
127 ----------------------------------------------------------------------
128
129 ACME was initially developed under RISC OS. Currently there are
130 platform-specific versions available for AmigaOS, DOS, Linux, Windows
131 and RISC OS. The Linux sources should be ready to compile on most
132 other UNIX-like systems as well. In the future there will hopefully
133 also be a version that runs on the C64/128.
134 Though the source code does not exactly look like it *g*, ACME was
135 written with portability in mind: Some of its limitations were
136 included on purpose, just to allow a C64/128 version. To successfully
137 assemble multi-file source codes from other platforms, the file names
138 have to be altered as little as possible. Please name all your files
139 that may be distributed in a sensible way, for example by limiting
140 their file names to 8+3 format. I really hate this stupid will-it-
141 ever-die DOS convention, but using it is the only way to ensure
142 portability of files.
143
144 Please use ".a" as the file name extension of ACME source code files.
145
146 All file names used inside source code files have to be given in UNIX
147 style, ACME will convert them to the current host platform style if
148 needed.
149
150 There should be no problems concerning newline characters, ACME was
151 designed to cope with CR, LF and CRLF.
152
153 A minor problem is the different character tables used on different
154 systems. As all predefined ACME keywords only use 7-bit ASCII, the
155 assembler will work on any system that uses a superset of this
156 character table: UTF-8, ANSI, ISO 8859, etc.
157 Symbol names can contain top-bit-set characters - these may look
158 strange if the sources are edited on a different platform, but ACME
159 will still work.
160
161 If you want to port ACME to another platform, please inform me so that
162 I can add your version to the ones already present on the ACME
163 homepage. As the sources are released under the GNU General Public
164 License, you are not forced to do this; but it would help to make ACME
165 available to other users.
166 The same goes for any changes or enhancements to the sources: Please
167 send me a copy so that the changes can be incorporated into the next
168 "official" release on the ACME home page.
169
170
171 ----------------------------------------------------------------------
172 Section: Contacting the author
173 ----------------------------------------------------------------------
174
175 The newest version of ACME can be found at the ACME homepage:
176 http://sourceforge.net/p/acme-crossass/
177
178 If you want to report a bug or make a suggestion, then simply send
179 me an email:
180 mailto:[email protected]