| 1 |
|
| 2 |
|
| 3 |
ACME |
| 4 |
|
| 5 |
...the ACME Crossassembler for Multiple Environments |
| 6 |
|
| 7 |
--- change log --- |
| 8 |
|
| 9 |
|
| 10 |
This text only contains descriptions of changes independent of the |
| 11 |
platform used. There should be another help file in this archive |
| 12 |
outlining the platform specific changes. |
| 13 |
|
| 14 |
|
| 15 |
---------------------------------------------------------------------- |
| 16 |
Section: New in release 0.97 |
| 17 |
---------------------------------------------------------------------- |
| 18 |
|
| 19 |
FINALLY strings can be assigned to symbols! |
| 20 |
"anything in double quotes" is a string, while characters in |
| 21 |
single quotes are, just as before, immediately converted to their |
| 22 |
character code. Go and read "docs/Upgrade.txt" to learn about |
| 23 |
compatibility issues. |
| 24 |
Added backslash escaping in all string literals: |
| 25 |
\0 is a null byte, \t is a TAB, \n is a line feed, \r is a |
| 26 |
carriage return, \" is a double quote, \' is a single quote and |
| 27 |
\\ is a backslash. Go and read "docs/Upgrade.txt" to learn about |
| 28 |
compatibility issues. |
| 29 |
Added "--dialect" CLI switch: |
| 30 |
Because string symbols and backslash escaping introduce a few |
| 31 |
incompatibilities to older versions, ACME can now be told to mimic |
| 32 |
the behavior of older versions. So it's still possible to assemble |
| 33 |
older sources. |
| 34 |
Added lists: |
| 35 |
Lists can be used to pass an arbitrary number of arguments to |
| 36 |
macros, or to store any number of items (including other lists) in |
| 37 |
a single symbol. Example: my_list = [1, 2, label, "string", 9] |
| 38 |
Added "len()" operator: |
| 39 |
This returns the number of elements in a string or list. |
| 40 |
Added "[]" operator (for indexing): |
| 41 |
This returns a single element from a string or list. Negative |
| 42 |
indices are supported as well, they access the string/list from |
| 43 |
the other end. Examples: a = my_list[2] b = my_string[-1] |
| 44 |
Added "&" operator: |
| 45 |
This operator converts labels or the program counter from its |
| 46 |
value inside a "!pseudopc" block to the value outside of that |
| 47 |
block. Thanks to markusC64 for the suggestion! |
| 48 |
Added "!while {}" pseudo opcode. |
| 49 |
Added "else if", "else ifdef" and "else ifndef" possibilities. |
| 50 |
Added "M65" cpu: |
| 51 |
This instruction set includes the MEGA65 extensions, namely 32-bit |
| 52 |
pointers and 32-bit data operations using prefix bytes. |
| 53 |
Added "NMOS6502" as an alias for "6510" cpu. |
| 54 |
Improved NMOS6502/6510 mode: |
| 55 |
DOP and TOP can now also be written as NOP. |
| 56 |
Improved 65816 mode: |
| 57 |
MVN and MVP can now also be written with '#' before arguments. |
| 58 |
Added "--test" CLI switch: |
| 59 |
This is for people who want to help test experimental features. |
| 60 |
Improved error messages: |
| 61 |
"Garbage data at end of statement" now includes the unexpected |
| 62 |
character. |
| 63 |
"Symbol not defined" is only output once per symbol. |
| 64 |
Added warning: |
| 65 |
ACME complains about binary literals with an "unusual" number of |
| 66 |
digits. Thanks to groepaz for the suggestion! |
| 67 |
The warning can be disabled using the "-Wno-bin-len" CLI switch. |
| 68 |
Added warning: |
| 69 |
All mnemonics without indirect addressing now complain about |
| 70 |
unneeded parentheses. |
| 71 |
Fix: Characters are now unsigned (had been architecture-dependent). |
| 72 |
Improved error handling of "--cpu" and "--format" switches. |
| 73 |
Added opcode table for NMOS6502 cpu to docs. |
| 74 |
Added some test sources. |
| 75 |
Added support for "hashbang" lines (if file starts with a '#' |
| 76 |
character, the first line is ignored) |
| 77 |
Fixed some minor bugs no-one ever seems to have encountered. |
| 78 |
Rewritten "docs/Upgrade.txt". |
| 79 |
|
| 80 |
|
| 81 |
---------------------------------------------------------------------- |
| 82 |
Section: New in release 0.96.5 |
| 83 |
---------------------------------------------------------------------- |
| 84 |
|
| 85 |
Allowed C++-style comments via "//". Thanks to awsm for the |
| 86 |
suggestion (and please accept my apologies for taking so long to |
| 87 |
release this) |
| 88 |
Added "--ignore-zeroes" CLI switch. This disables the "leading zeroes |
| 89 |
determine number size" algorithm. Thanks to groepaz for the |
| 90 |
suggestion. |
| 91 |
Added "--strict-segments" CLI switch. This changes warnings about |
| 92 |
overlapping memory segments into errors. Thanks to groepaz for the |
| 93 |
suggestion. |
| 94 |
Added 6502 family tree to docs/cpu_types/all.txt |
| 95 |
|
| 96 |
|
| 97 |
---------------------------------------------------------------------- |
| 98 |
Section: New in release 0.96.4 |
| 99 |
---------------------------------------------------------------------- |
| 100 |
|
| 101 |
Bugfix: Removed warnings about zero page wrap-around for the 65816's |
| 102 |
24-bit pointers (because wrap-around does not actually happen). |
| 103 |
Thanks to Johann Klasek for reporting this. |
| 104 |
Added "!xor" pseudo opcode to compensate for the shortcomings of the |
| 105 |
"!scrxor" pseudo opcode. Thanks to spider-j for the initial bug |
| 106 |
report. |
| 107 |
Added "-I" CLI switch to add search paths for input files. Thanks to |
| 108 |
peiselulli for the suggestion. |
| 109 |
|
| 110 |
|
| 111 |
---------------------------------------------------------------------- |
| 112 |
Section: New in release 0.96.3 |
| 113 |
---------------------------------------------------------------------- |
| 114 |
|
| 115 |
Added "!h"/"!hex" pseudo opcode: Now external source code generator |
| 116 |
tools can easily put data in sources with minimal syntax overhead. |
| 117 |
Added "!skip" pseudo opcode: "!skip N" works like "*=*+N" without |
| 118 |
starting a new segment. |
| 119 |
Added "cheap locals": Labels with '@' prefix have automatic scoping, |
| 120 |
bounded by the preceding and the following global labels. |
| 121 |
Added "--fullstop" CLI switch to change pseudo opcode prefix from '!' |
| 122 |
to '.' (so other assemblers' sources need less conversion work) |
| 123 |
Fixed a bug where expressions like "1)+1" crashed ACME. Thanks to |
| 124 |
Bitbreaker for reporting this. |
| 125 |
Added warning when using zp-indirect addressing modes where argument |
| 126 |
is $ff because pointer wraps around to $00. Thanks to Gerrit for |
| 127 |
the suggestion. |
| 128 |
|
| 129 |
|
| 130 |
---------------------------------------------------------------------- |
| 131 |
Section: New in release 0.96.2 |
| 132 |
---------------------------------------------------------------------- |
| 133 |
|
| 134 |
Added "--color" CLI switch to enable colored error output using ANSI |
| 135 |
escape codes. Thanks to Clifford Carnmo for submitting this patch. |
| 136 |
|
| 137 |
|
| 138 |
---------------------------------------------------------------------- |
| 139 |
Section: New in release 0.96.1 |
| 140 |
---------------------------------------------------------------------- |
| 141 |
|
| 142 |
Fixed bug where 65ce02's "(zp),z" addressing mode could be used in |
| 143 |
65816 mode. |
| 144 |
|
| 145 |
|
| 146 |
---------------------------------------------------------------------- |
| 147 |
Section: New in release 0.96 |
| 148 |
---------------------------------------------------------------------- |
| 149 |
|
| 150 |
Added experimental support for instruction sets of Rockwell 65C02, |
| 151 |
WDC 65C02(S), CSG 65CE02 and CSG 4502. |
| 152 |
Stack indexing can now be given either as ",s" or as ",sp" (only |
| 153 |
relevant for 65816 and 65CE02). |
| 154 |
|
| 155 |
|
| 156 |
---------------------------------------------------------------------- |
| 157 |
Section: New in release 0.95.8 |
| 158 |
---------------------------------------------------------------------- |
| 159 |
|
| 160 |
Warnings and errors inside macros now cause the call stack to be |
| 161 |
displayed as well (does not yet work for serious errors, though). |
| 162 |
|
| 163 |
|
| 164 |
---------------------------------------------------------------------- |
| 165 |
Section: New in release 0.95.7 |
| 166 |
---------------------------------------------------------------------- |
| 167 |
|
| 168 |
New pseudo opcodes: |
| 169 |
"!be16", "!be24" and "!be32" for big-endian byte order output. |
| 170 |
"!le16", "!le24" and "!le32" for little-endian byte order output. |
| 171 |
The old pseudo opcodes ("!16", "!24", "!32") will now use the |
| 172 |
correct byte order for the chosen CPU (which is always little- |
| 173 |
endian, because there is no support for any big-endian CPU yet.;)) |
| 174 |
|
| 175 |
|
| 176 |
---------------------------------------------------------------------- |
| 177 |
Section: New in release 0.95.6 |
| 178 |
---------------------------------------------------------------------- |
| 179 |
|
| 180 |
Fixed a bug: The "C64 DTV2" does not support the undocumented |
| 181 |
("illegal") opcodes 0x0b and 0x2b, therefore the "ANC #8" |
| 182 |
mnemonic was removed from the "!cpu c64dtv2" mode. Thanks to |
| 183 |
peiselulli for testing and reporting this. |
| 184 |
"Value not defined" error message now includes the name of the |
| 185 |
undefined symbol. Thanks to Thomas Woinke for suggesting this |
| 186 |
improvement. |
| 187 |
Fixed a bug in type system: "!for" loop counters were not correctly |
| 188 |
flagged as "address" or "non-address". |
| 189 |
The "addr()" function can now also be written as "address()". |
| 190 |
Fixed a bug in report listing generator: CR characters in input caused |
| 191 |
additional blank lines in output. Thanks to Johann Klasek for |
| 192 |
submitting this patch. |
| 193 |
|
| 194 |
|
| 195 |
---------------------------------------------------------------------- |
| 196 |
Section: New in release 0.95.5 |
| 197 |
---------------------------------------------------------------------- |
| 198 |
|
| 199 |
Fixed a bug causing crashes on program exit (a pointer to a local |
| 200 |
struct kept being used later on, trashing the stack). Thanks to |
| 201 |
Hoeppie for reporting this. |
| 202 |
|
| 203 |
|
| 204 |
---------------------------------------------------------------------- |
| 205 |
Section: New in release 0.95.4 |
| 206 |
---------------------------------------------------------------------- |
| 207 |
|
| 208 |
Added the last remaining undocumented ("illegal") opcodes: LAS, TAS, |
| 209 |
SHA, SHX, SHY and ANE. |
| 210 |
|
| 211 |
|
| 212 |
---------------------------------------------------------------------- |
| 213 |
Section: New in release 0.95.3 |
| 214 |
---------------------------------------------------------------------- |
| 215 |
|
| 216 |
Added "c64dtv2" cpu type so you can use its SIR, SAC and BRA opcodes; |
| 217 |
along with the undocumented ("illegal") opcodes of the 6510. |
| 218 |
Added "--msvc" CLI switch so error output can be configured to be in |
| 219 |
Visual Studio format. Thanks to Martin Piper for writing this |
| 220 |
patch! |
| 221 |
Merged third-party patch (who wrote it?) to output label dump in VICE |
| 222 |
format. Still needs work to be configurable about the types of |
| 223 |
symbols actually output. |
| 224 |
|
| 225 |
|
| 226 |
---------------------------------------------------------------------- |
| 227 |
Section: New in release 0.95.2 |
| 228 |
---------------------------------------------------------------------- |
| 229 |
|
| 230 |
Changed "save labels" to "symbol list" in a lot of code, error |
| 231 |
messages and docs. |
| 232 |
Added "!symbollist" alias for "!sl" pseudo opcode. |
| 233 |
Change in undocumented ("illegal") opcodes: ANC #8 now generates 0x0b |
| 234 |
instead of 0x2b (both opcodes do the same thing). |
| 235 |
Added experimental support for generating a report listing. Thanks to |
| 236 |
Johann Klasek for writing this extension patch. |
| 237 |
|
| 238 |
|
| 239 |
---------------------------------------------------------------------- |
| 240 |
Section: New in release 0.95.1 |
| 241 |
---------------------------------------------------------------------- |
| 242 |
|
| 243 |
Fixed a bug: Anonymous forward labels were allowed to be redefined. |
| 244 |
Tweaked type system: When negating a value, address reference count |
| 245 |
will now be negated as well. |
| 246 |
When using type system, label dump file will now contain "!addr" to |
| 247 |
mark addresses. |
| 248 |
Changed "label" to "symbol" in a lot of code, error messages and docs. |
| 249 |
|
| 250 |
|
| 251 |
---------------------------------------------------------------------- |
| 252 |
Section: New in release 0.95 |
| 253 |
---------------------------------------------------------------------- |
| 254 |
|
| 255 |
Added an experimental type system to tell addresses and non-addresses |
| 256 |
apart (per default disabled; must be activated using the |
| 257 |
"-Wtype-mismatch" CLI switch). The new "!address" pseudo opcode is |
| 258 |
used to mark label definitions as setting address values. |
| 259 |
Added "-Wno-old-for" switch to disable warning about old "!for" |
| 260 |
syntax. However, this will in turn enable warnings about using the |
| 261 |
*new* syntax. |
| 262 |
|
| 263 |
|
| 264 |
---------------------------------------------------------------------- |
| 265 |
Section: New in release 0.94.12 |
| 266 |
---------------------------------------------------------------------- |
| 267 |
|
| 268 |
Finally created new "!for" syntax so counting can start at zero. The |
| 269 |
old syntax still works, but gives a warning. See AllPOs.txt for |
| 270 |
more info. |
| 271 |
Added "0b" as alternative prefix for binary values. |
| 272 |
|
| 273 |
|
| 274 |
---------------------------------------------------------------------- |
| 275 |
Section: New in release 0.94.11 |
| 276 |
---------------------------------------------------------------------- |
| 277 |
|
| 278 |
If !warn, !error and !serious are called with numbers, those will now |
| 279 |
be output in hex format as well. Also mentioned this in docs. |
| 280 |
|
| 281 |
|
| 282 |
---------------------------------------------------------------------- |
| 283 |
Section: New in release 0.94.10 |
| 284 |
---------------------------------------------------------------------- |
| 285 |
|
| 286 |
Warning about shift-space as first character of label name now works |
| 287 |
for UTF-8 as well. |
| 288 |
Operator priority list in docs now contains built-in function calls. |
| 289 |
|
| 290 |
|
| 291 |
---------------------------------------------------------------------- |
| 292 |
Section: New in release 0.94.9 |
| 293 |
---------------------------------------------------------------------- |
| 294 |
|
| 295 |
C-style equality checking ("==" operator) is now recognized (but gives |
| 296 |
a warning). Thanks to groepaz for the suggestion. |
| 297 |
|
| 298 |
|
| 299 |
---------------------------------------------------------------------- |
| 300 |
Section: New in release 0.94.8 |
| 301 |
---------------------------------------------------------------------- |
| 302 |
|
| 303 |
Finally disabled pseudo opcode "!cbm". It now gives an error instead |
| 304 |
of a warning. |
| 305 |
Finally disabled pseudo opcode "!realpc". It now gives an error |
| 306 |
instead of a warning. Therefore, "!pseudopc" now *must* be used |
| 307 |
with a block in {} braces. |
| 308 |
Finally disabled pseudo opcode "!subzone". It now gives an error |
| 309 |
instead of a warning. |
| 310 |
Added support for one more undocumented ("illegal") opcode: lxa. See |
| 311 |
Illegals.txt for more info. |
| 312 |
Removed "Offset assembly still active at end of segment" warning. New |
| 313 |
segments can now be started even from within pseudopc sections. |
| 314 |
|
| 315 |
|
| 316 |
---------------------------------------------------------------------- |
| 317 |
Section: New in release 0.94.7 |
| 318 |
---------------------------------------------------------------------- |
| 319 |
|
| 320 |
Fixed bug: Setting the program counter to an address > $ffff and |
| 321 |
writing a byte hung ACME. Thanks to groepaz/VICEteam for reporting |
| 322 |
this. |
| 323 |
Verbose output now uses "0x" instead of "$" to indicate hexadecimal in |
| 324 |
more places. |
| 325 |
|
| 326 |
|
| 327 |
---------------------------------------------------------------------- |
| 328 |
Section: New in release 0.94.6 |
| 329 |
---------------------------------------------------------------------- |
| 330 |
|
| 331 |
Made "power-of" operator right-associative. |
| 332 |
|
| 333 |
|
| 334 |
---------------------------------------------------------------------- |
| 335 |
Section: New in release 0.94.5 |
| 336 |
---------------------------------------------------------------------- |
| 337 |
|
| 338 |
Fixed bug: wrap-around branches (from $ff80+ to zp and back) were |
| 339 |
reported as errors. Thanks to Bitbreaker/VOZ for reporting this. |
| 340 |
Fixed bug: left-shifting float values went wrong for large shifts. |
| 341 |
New error message: "Target not in bank (0xTARGET)" for branches. |
| 342 |
Fixed example program to get it to assemble with current library. |
| 343 |
Streamlined "Floats.txt" docs. |
| 344 |
|
| 345 |
Changes in library files: |
| 346 |
<cbm/basicWHATEVER.a> files now contain opcode_* constants in addition |
| 347 |
to macros. |
| 348 |
Added <cbm/mflpt.a>, containing a macro to store a float value in the |
| 349 |
five-byte format used by CBM basic (and while writing that macro, |
| 350 |
found the left-shift-float bug mentioned above, so the macro needs |
| 351 |
this fixed version to work). |
| 352 |
Added <cbm/c64/float.a>, containing definitions for using the BASIC |
| 353 |
interpreter's float functions and constants. |
| 354 |
|
| 355 |
|
| 356 |
---------------------------------------------------------------------- |
| 357 |
Section: New in release 0.94.4 |
| 358 |
---------------------------------------------------------------------- |
| 359 |
|
| 360 |
Added "apple" output format. |
| 361 |
|
| 362 |
|
| 363 |
---------------------------------------------------------------------- |
| 364 |
Section: New in release 0.94.3 |
| 365 |
---------------------------------------------------------------------- |
| 366 |
|
| 367 |
"Target out of range" error now includes info on how much the range |
| 368 |
was exceeded. Thanks to Bitbreaker/VOZ for the suggestion. |
| 369 |
|
| 370 |
|
| 371 |
---------------------------------------------------------------------- |
| 372 |
Section: New in release 0.94.2 |
| 373 |
---------------------------------------------------------------------- |
| 374 |
|
| 375 |
Added missing newline after "no output file specified" message. |
| 376 |
Fixed bug in "!to" and "!sl" (colon in filename is interpreted as |
| 377 |
command separator in later passes). |
| 378 |
Changed verbose output hex prefix from $ to 0x. |
| 379 |
Changed --help output |
| 380 |
Changed EOR to XOR in docs and comments (the ACME operator, not the |
| 381 |
6502 opcode) |
| 382 |
|
| 383 |
|
| 384 |
---------------------------------------------------------------------- |
| 385 |
Section: New in release 0.94.1 |
| 386 |
---------------------------------------------------------------------- |
| 387 |
|
| 388 |
New CLI switch: "-D" allows to set global labels via the command line. |
| 389 |
New CLI switch: "-Wno-label-indent" switches off warnings about |
| 390 |
indented implicit label definitions. |
| 391 |
New PO: "!ifndef" (finally a companion for "!ifdef"...) |
| 392 |
When setting the program counter via "* =", modifiers ("overlay" and |
| 393 |
"invisible") allow to suppress warnings about segment overlap. |
| 394 |
Float values without leading digits are now accepted. |
| 395 |
|
| 396 |
|
| 397 |
---------------------------------------------------------------------- |
| 398 |
Section: New in release 0.93 |
| 399 |
---------------------------------------------------------------------- |
| 400 |
|
| 401 |
Change: If "Offset assembly still active at end of segment", it no |
| 402 |
longer gets switched off. |
| 403 |
Change: Operators ASR and LSL/ASL now can also handle FP (LSR still |
| 404 |
makes no sense). |
| 405 |
Change: Added distinction between '/' and "DIV" operators: DIV always |
| 406 |
gives integer results, while '/' depends on operands. |
| 407 |
New functions: added int() and float() functions. |
| 408 |
Internal change: default fill value for !align is now CPU-specific |
| 409 |
(but still 234) |
| 410 |
New CLI switch: "--use-stdout" prints errors to stdout instead of |
| 411 |
stderr (a fix for the "Relaunch64" IDE I have nothing to do with) |
| 412 |
|
| 413 |
|
| 414 |
---------------------------------------------------------------------- |
| 415 |
Section: New in release 0.92 |
| 416 |
---------------------------------------------------------------------- |
| 417 |
|
| 418 |
Text versions of arithmetic/logic operators (XOR, DIV, MOD, etc.) no |
| 419 |
longer need to be in upper case. |
| 420 |
Experimental support for floating point maths. |
| 421 |
Support for mathematical functions: |
| 422 |
sin(), cos(), tan(), arcsin(), arccos(), arctan() |
| 423 |
New errors: |
| 424 |
"Argument out of range.", "Unknown function." |
| 425 |
These operators always deliver ints: |
| 426 |
not, and, or, xor, lowbyteof, highbyteof, bankbyteof, mod, asl, |
| 427 |
lsl, asr, lsr |
| 428 |
|
| 429 |
|
| 430 |
---------------------------------------------------------------------- |
| 431 |
Section: New in release 0.91 |
| 432 |
---------------------------------------------------------------------- |
| 433 |
|
| 434 |
Added anonymous labels (- + -- ++ --- +++ etc.). Every other assembler |
| 435 |
seems to support them, so I added them to ACME as well... :) |
| 436 |
New POs: "!warn MESSAGE", "!error MESSAGE", "!serious MESSAGE" |
| 437 |
New CLI option: "--maxdepth NUMBER" sets maximum recursion depth for |
| 438 |
macro calls and the "!source" pseudo opcode. |
| 439 |
ACME now gives a warning when assembling JMP($xxff) on 6502/6510 |
| 440 |
because that instruction is broken on those CPUs. |
| 441 |
After giving the error "Target out of range", the error "Number out of |
| 442 |
range" is now suppressed. |
| 443 |
Corrected code example in QuickRef.txt (why didn't anyone tell me? :)) |
| 444 |
Added additional example source code. |
| 445 |
|
| 446 |
|
| 447 |
---------------------------------------------------------------------- |
| 448 |
Section: New in release 0.90 |
| 449 |
---------------------------------------------------------------------- |
| 450 |
|
| 451 |
Arithmetic shift right now has some watchdog code and should work |
| 452 |
regardless of compiler. |
| 453 |
Corrected some typos in error messages and docs. |
| 454 |
New CLI option: "--cpu CPU_TYPE" |
| 455 |
The output file format chosen with "--format FORMAT" is now used as |
| 456 |
default when "!to" is used without format keyword. |
| 457 |
Again: Tidier code. |
| 458 |
|
| 459 |
|
| 460 |
---------------------------------------------------------------------- |
| 461 |
Section: New in release 0.89 |
| 462 |
---------------------------------------------------------------------- |
| 463 |
|
| 464 |
Support for more undocumented ("illegal") opcodes: anc, arr, asr, sbx, |
| 465 |
dop, top, jam. See Illegals.txt for more info. |
| 466 |
Change in shift operators: Logical shift right (">>" or "LSR") has on |
| 467 |
most platforms actually been an arithmetic shift right all the |
| 468 |
time! Therefore, ">>" now *officially* performs an arithmetic |
| 469 |
shift right (can also be written as "ASR"), while ">>>" has been |
| 470 |
added to perform a logical shift right (can also be written as |
| 471 |
"LSR"). Note: This is about ACME's maths parser and has nothing to |
| 472 |
do with the 6502 mnemonics "asl" and "lsr". |
| 473 |
Finally added a "-o" command line option to set the output file! See |
| 474 |
QuickRef.txt for info on the other new CLI options (--format, |
| 475 |
--labeldump, --maxerrors, --setpc, --initmem, --version). |
| 476 |
Fixed bug: "!align" could be used while program counter undefined. |
| 477 |
Fixed bug: Numbers before mnemonics are no longer skipped (or rather, |
| 478 |
implicit label definitions are no longer accepted if the label |
| 479 |
name starts with a digit). |
| 480 |
Change: Much better algorithm to compute to-the-power-of (read: it's |
| 481 |
no longer braindead). |
| 482 |
Some more internal tidying. |
| 483 |
|
| 484 |
|
| 485 |
---------------------------------------------------------------------- |
| 486 |
Section: New in release 0.88 |
| 487 |
---------------------------------------------------------------------- |
| 488 |
|
| 489 |
Fixed architecture-dependent bug introduced in release 0.87. |
| 490 |
Fixed bug: Unknown !cpu keywords could cause crashes. |
| 491 |
Fixed bug in !ct "filename" nesting. |
| 492 |
|
| 493 |
|
| 494 |
---------------------------------------------------------------------- |
| 495 |
Section: New in release 0.87 |
| 496 |
---------------------------------------------------------------------- |
| 497 |
|
| 498 |
Support for some undocumented ("illegal") opcodes: slo, rla, sre, rra, |
| 499 |
sax, lax, dcp, isc. To use these, choose the 6510 cpu. |
| 500 |
Two error messages gone: "Sorry, feature not yet implemented." and |
| 501 |
"Chosen CPU does not support this command and/or addressing mode." |
| 502 |
Explanation of new error message ("There's more than one character.") |
| 503 |
added to docs. |
| 504 |
|
| 505 |
|
| 506 |
---------------------------------------------------------------------- |
| 507 |
Section: New in release 0.86 |
| 508 |
---------------------------------------------------------------------- |
| 509 |
|
| 510 |
The "!convtab" pseudo opcode can now be given the file name of a |
| 511 |
conversion table. The file must hold exactly 256 bytes. |
| 512 |
Improved docs a bit (more and better examples, more info on verbosity |
| 513 |
CLI switch). |
| 514 |
If no "!to" pseudo opcode has been found, ACME will tell you so. |
| 515 |
|
| 516 |
|
| 517 |
---------------------------------------------------------------------- |
| 518 |
Section: New in release 0.86 beta |
| 519 |
---------------------------------------------------------------------- |
| 520 |
|
| 521 |
Macros can now be used with call-by-reference semantics, therefore |
| 522 |
allowing some kind of return value. Call-by-reference is |
| 523 |
indicated by prefixing the relevant parameter(s) with a '~' |
| 524 |
character. This has to be done at both the macro definition and |
| 525 |
the macro call. |
| 526 |
Different macros are allowed to have the same name as long as their |
| 527 |
parameter lists differ in size (number of arguments) or type |
| 528 |
(call-by-value vs. call-by-reference) |
| 529 |
Macros do not have a limit on parameter count anymore. |
| 530 |
Macro size is unlimited now. |
| 531 |
The expression parser does not have a limit on recursion depth |
| 532 |
anymore, so you can use as many parentheses as you like. |
| 533 |
Loop block size is unlimited now. |
| 534 |
Label name and string lengths are unlimited now. |
| 535 |
The recursion depth of "!source" and macro calls is set to 64. The |
| 536 |
only reason there still *is* a limit is to be able to spot |
| 537 |
infinite recursions. |
| 538 |
Offset assembly now has block support and can be nested. Using the old |
| 539 |
syntax still works, but gives a warning. |
| 540 |
Pseudo opcodes "!convtab", "!cpu", "!al", "!as", "!rl" and "!rs" now |
| 541 |
have block support and can be nested. |
| 542 |
Using "!to" without file format indicator now gives a warning (but |
| 543 |
still works). |
| 544 |
Fixed bug: The statement |
| 545 |
!to "outfile" ANY_SPECIAL_CHARACTER_BUT_COMMA GARBAGE |
| 546 |
wasn't flagged as an error. |
| 547 |
Fixed bug: The statement |
| 548 |
!source "a file that cannot be opened" |
| 549 |
did not give an error, but was just ignored. |
| 550 |
If a global label starts with a shift-space character, a warning is |
| 551 |
issued (because it is highly likely that it is a typing error). |
| 552 |
*Much* cleaner internals. *Very* *much* cleaner internals actually. |
| 553 |
More bug checking at runtime. |
| 554 |
Tree lookups should be a bit faster. |
| 555 |
Initialising the memory should be a bit faster. |
| 556 |
Writing the output file should be a bit faster. |
| 557 |
The expression parser now uses repeated multiplication instead of the |
| 558 |
math library's pow() call, so it is no longer necessary to include |
| 559 |
the C math library when compiling. |
| 560 |
The number of errors displayed before assembly stops was reduced from |
| 561 |
20 to 10. I really should make this configurable via a CLI switch. |
| 562 |
|
| 563 |
|
| 564 |
---------------------------------------------------------------------- |
| 565 |
Section: New in release 0.85 alpha |
| 566 |
---------------------------------------------------------------------- |
| 567 |
|
| 568 |
Fixed bug: Handling of parentheses in new expression parser was badly |
| 569 |
screwed up. Thanks go to Nathan Smith for reporting that bug. |
| 570 |
Verbosity messages for segments and output file now contain size info. |
| 571 |
|
| 572 |
|
| 573 |
---------------------------------------------------------------------- |
| 574 |
Section: New in release 0.84 alpha |
| 575 |
---------------------------------------------------------------------- |
| 576 |
|
| 577 |
Some changes in documentation (mainly corrected typos) |
| 578 |
Usage count for labels (Unused ones are marked in label dump file) |
| 579 |
New PO: "!8" (for 8-bit values, as "!byte" / "!by" / "!08") |
| 580 |
Finally removed the dreaded only-two-input-files restriction |
| 581 |
Improved PO: "!to" has parameter for choosing output file format |
| 582 |
Fixed bug: Blanks after "!for"'s "}" character stopped assembly |
| 583 |
Rewritten expression parser and label tree handler (should be faster) |
| 584 |
Generally tidied up the source. |
| 585 |
Skipped some version numbers to get a "less frightening" one. :) |
| 586 |
|
| 587 |
|
| 588 |
---------------------------------------------------------------------- |
| 589 |
Section: New in release 0.08 beta |
| 590 |
---------------------------------------------------------------------- |
| 591 |
|
| 592 |
Fixed really serious bug: The 65816's indirect DP addressing caused |
| 593 |
wrong opcodes to be generated. Thanks to Doc Bacardi/The Dreams |
| 594 |
for reporting it. |
| 595 |
|
| 596 |
|
| 597 |
---------------------------------------------------------------------- |
| 598 |
Section: New in release 0.07 beta |
| 599 |
---------------------------------------------------------------------- |
| 600 |
|
| 601 |
Fixed really serious bug: Indirect JMP / JSR were assembled without |
| 602 |
target addresses. Thanks to YTM/Alliance for reporting that one. |
| 603 |
Fixed bug in value parser's handling of parentheses: Expressions like |
| 604 |
"a*(b-c)+d" gave "a*((b-c)+d)", obviously not the same. |
| 605 |
Fixed bug: "!set LABEL = VALUE" now *really* works correctly. |
| 606 |
Fixed bug: ACME gave "too late for postfix" error when reading a |
| 607 |
predefined label of known size. Only occurred when using macros. |
| 608 |
Fixed bug: Error messages given from within macro definitions used |
| 609 |
truncated file names. |
| 610 |
Fixed bug: Calling of local macros didn't work at all. |
| 611 |
Fixed bug: "}" chars directly after macro calls were not found. |
| 612 |
Fixed bug: Spaces after ":" and "{" gave syntax errors. |
| 613 |
Fixed bug: Line counting inside loops was screwed up. |
| 614 |
Fixed bug: Changed argument order of MVP and MVN (now it's "opcode, |
| 615 |
source, target") |
| 616 |
New PO: "!08" (for 8-bit values, as "!byte" / "!by") |
| 617 |
New PO: "!16" (for 16-bit values, as "!word" / "!wo") |
| 618 |
New PO: "!24" (for 24-bit values) |
| 619 |
New PO: "!32" (for *signed* 32-bit values) |
| 620 |
New PO: "!pseudopc" (starts offset assembly) |
| 621 |
New PO: "!realpc" (ends offset assembly) |
| 622 |
New PO: "!for LABEL, TIMES { LINES }" for easier loops. |
| 623 |
New PO: "!initmem BYTE" to define empty memory. |
| 624 |
New PO: "!endoffile" (short "!eof") replaces "!end". |
| 625 |
New PO: "!ifdef" (only use this if you *really* know what you are |
| 626 |
doing. Otherwise, just don't use it) |
| 627 |
New PO: "!convtab CONVERSION" (short "!ct") selects the default |
| 628 |
character conversion, making "!cbm" obsolete. |
| 629 |
Improved PO: "!binary" now has "skip" parameter. |
| 630 |
Change: "!cbm" outputs a warning when used - use "!ct pet" instead. |
| 631 |
Change: "!end" no longer works - use "!eof" instead. |
| 632 |
Change: "* = VALUE" is now segment change instead of offset assembly. |
| 633 |
Change: Argument order of MVN/MVP is now as is standard. |
| 634 |
The typecast system has been rewritten - now it works as intended. |
| 635 |
BIT without any parameters no longer works - use a macro instead. |
| 636 |
Leading zeros are stored in label structures and acted upon. |
| 637 |
The documentation is in several files now. |
| 638 |
Negative numbers are now handled much more sensibly. |
| 639 |
'ACME' environment variable only needed when *really* needed. |
| 640 |
|
| 641 |
|
| 642 |
---------------------------------------------------------------------- |
| 643 |
Section: New in release 0.05 beta |
| 644 |
---------------------------------------------------------------------- |
| 645 |
|
| 646 |
Fixed bug: No more multiple error messages. |
| 647 |
Fixed bug: Zone names now work correctly (First char wasn't stored). |
| 648 |
Fixed bug: "!set label = label" now works correctly (I hope). |
| 649 |
Fixed bug: "stz ...,y" gave "number too big" instead of "illegal |
| 650 |
combination of command and addressing mode" |
| 651 |
New PO: "!subzone" (short "!sz") for nested zones. |
| 652 |
Added support for library tree when using "!source" or "!binary". |
| 653 |
Single-character strings can now be given in single quotes as well. |
| 654 |
Real icons. |
| 655 |
Startup errors now exit correctly with EXIT_FAILURE code. |
| 656 |
Example program now includes "Expected_Output" file. |
| 657 |
Further tidied up the sources. |
| 658 |
Tidied up the general help file: |
| 659 |
-Changed "Freeware" to "free software" |
| 660 |
-Corrected the information given on "!align". |
| 661 |
-Added examples for most of the pseudo opcodes. |
| 662 |
|
| 663 |
|
| 664 |
---------------------------------------------------------------------- |
| 665 |
Section: New in release 0.04 beta |
| 666 |
---------------------------------------------------------------------- |
| 667 |
|
| 668 |
Corrected some small bugs. |
| 669 |
New PO: "!zone" (short "!zn") replaces "!module" (short "!mod") |
| 670 |
Tidied up the sources a lot. |
| 671 |
Changed bad style C code reported by lint. |
| 672 |
Added GNU GPL hint in every source file. |
| 673 |
Added startup message in verbose mode. |
| 674 |
Added "Error: " to startup error messages. |
| 675 |
Added Amiga, Linux and OS/2 versions |
| 676 |
|
| 677 |
|
| 678 |
---------------------------------------------------------------------- |
| 679 |
Section: New in release 0.03 beta |
| 680 |
---------------------------------------------------------------------- |
| 681 |
|
| 682 |
Generally tidied up the source. |
| 683 |
Moved RISC OS-specific CLI options to platform file. |
| 684 |
Added pathname conversion from UNIX style to current platform style. |
| 685 |
Added context variables (enabling "!source"s and macros). |
| 686 |
Translated all documentation to english. |
| 687 |
Changed string pseudo opcodes to allow numeric values. |
| 688 |
Added verbose mode (CLI option "v"). |
| 689 |
Added output buffer, removing the need for additional output pass (and |
| 690 |
now the "!to" pseudo opcode can be placed anywhere). |
| 691 |
More than one "label = pc" definition per statement now illegal. |
| 692 |
Instead added possibility to have several statements on a single line |
| 693 |
by using ":" as a separator character. |
| 694 |
Added new keywords: "!set", "!if", "else", "!do", "until", "while" and |
| 695 |
"!macro" |
| 696 |
Added support for "!source". |
| 697 |
Added basic support for blocks. |
| 698 |
Added support for "!if {...} else {...}". |
| 699 |
Added support for zone titles. |
| 700 |
Added support for loops (endless loops are only detected if producing |
| 701 |
code). |
| 702 |
Added support for macros (even nested definitions are possible now). |
| 703 |
Added DOS version. |
| 704 |
|
| 705 |
|
| 706 |
---------------------------------------------------------------------- |
| 707 |
Section: New in release 0.02 alpha |
| 708 |
---------------------------------------------------------------------- |
| 709 |
|
| 710 |
Er, I don't know anymore. It was a bad ugly hack and it only ran on |
| 711 |
RISC OS. :-) |