Commit Graph

46 Commits

Author SHA1 Message Date
marcobaye
d59b45036d "Cannot open input file" error message now contains file name.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@294 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-08-24 16:31:36 +00:00
marcobaye
465da8c139 several small changes:
fixed a bug where "number out of range" error led to bogus "label already defined" errors
 made "number out of range" errors more specific (8/16/24 bit range)
 re-phrased two error messages
 cleaned up docs concerning "command/opcode/mnemonic/instruction"
 added test program to trigger "out of range" errors
 internal cleanup concerning INW/DEW/JAM mnemonics


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@278 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-18 13:50:46 +00:00
marcobaye
ca08a1d150 started work on !watch and !trace (commented out), minor cleanup, no changes
in functionality


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@275 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-12 18:46:06 +00:00
marcobaye
d2683cc64d Release 0.97: Now with string symbols, lists, backslash escaping,
"unpseudopc" operator, MEGA65 support, !while, else if, and a CLI switch to
mimic older versions.
Make sure to read "docs/Changes.txt" and "docs/Upgrade.txt"!


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@266 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-28 18:56:55 +00:00
marcobaye
aa51fde056 Added warning about unusual number of digits in binary literals,
and a CLI switch to disable that warning.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@257 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-22 20:32:38 +00:00
marcobaye
1261960cad adjusted docs (added !WHILE, ELSE IF, etc)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@251 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-21 19:06:12 +00:00
marcobaye
5b37c4d24e cleanup (moved functions between files; no change in functionality!)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@245 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-20 16:45:37 +00:00
marcobaye
c3e651f4ca pseudo opcodes like !by, !wo, !tx and friends now accept lists
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@240 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-18 23:38:24 +00:00
marcobaye
c2978f7e15 "unpseudopc" operator & now also works with program counter *
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@236 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-16 23:12:44 +00:00
marcobaye
f64780a3bd added typedef for "bits"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@231 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-14 00:26:38 +00:00
marcobaye
4643e841f9 symbol assignment refactoring seems to be finished now
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@228 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:11:10 +00:00
marcobaye
b17203faa7 lists can now be concatenated using '+'
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@218 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-06 12:01:44 +00:00
marcobaye
00d0462f74 refactored symbol assignment (unfinished)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@214 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-05 01:11:51 +00:00
marcobaye
5ea2a03174 removed warning about decimal mode from m65 cpu
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@210 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-03 00:51:09 +00:00
marcobaye
8c751f3552 removed 0.93 dialect, as it was buggy and not really useful
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@208 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-01 17:49:46 +00:00
marcobaye
8a3bdb265f added "--dialect" CLI switch to set which older version to mimic
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@207 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 20:55:38 +00:00
marcobaye
8e4857de4c can now mimic older versions, but still needs a CLI switch to select one
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@206 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 15:04:12 +00:00
marcobaye
47b1fab4fe more work to be able to mimic older versions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@203 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 23:33:03 +00:00
marcobaye
8c8f425559 some renaming/cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@198 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 10:57:01 +00:00
marcobaye
a6eae58032 internal cleanup for next change
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@193 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-27 17:32:48 +00:00
marcobaye
64a4b336b0 small change so associativity of powerof operator can be made configurable later on
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@189 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-24 20:19:19 +00:00
marcobaye
4eb3ffa149 "Garbage data at end of statement" message now includes the unexpected character.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@170 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-18 21:51:43 +00:00
marcobaye
4565070849 improved "Value not defined" output: Now all undefined symbols of expression
are reported, but never more than once.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@135 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 21:59:20 +00:00
marcobaye
d1ac849272 still more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@133 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 14:58:17 +00:00
marcobaye
e3e68af762 more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@131 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-02 10:40:10 +00:00
marcobaye
7286e00855 typedef'd boolean to make source more readable. added "--test" option
(unused atm). no change in functionality.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@130 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-01 21:01:23 +00:00
marcobaye
0a4c13bb2e internal cleanup, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@127 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-28 11:18:22 +00:00
marcobaye
2ad798bef2 ACME release 0.96.5: Added "//" comments, added "--ignore-zeroes" and "--strict-segments" CLI switches.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@121 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-04-14 00:28:31 +00:00
marcobaye
7cb100c480 ACME release 0.96.3: Added "!hex" and "!skip" pseudoops. Added cheap locals.
Added CLI switch to change pseudoop prefix to '.'
Fixed a bug in expression parser and added a warning.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@94 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-29 23:29:07 +00:00
marcobaye
47f09e9804 a bit of internal cleanup of names and comments, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@92 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-21 19:59:56 +00:00
marcobaye
a5e984f158 comments only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@89 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-16 17:01:44 +00:00
marcobaye
a915eef8e9 ACME release 0.96.2: Error output now in color using ANSI escape codes. Thanks to Clifford Carnmo for submitting this patch!
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@86 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-03-10 12:19:15 +00:00
marcobaye
294fe25c36 ACME Release 0.96: Added experimental support for instruction sets of Rockwell 65C02, WDC 65C02(S), CSG 65CE02 and CSG 4502.
Stack indexing can now be given either as ",s" or as ",sp" (only relevant for 65816 and 65CE02).


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@78 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-12-28 20:32:00 +00:00
marcobaye
222f06c905 ACME Release 0.95.8: Errors in macros are now shown with call stack.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@75 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-10-08 12:19:12 +00:00
marcobaye
9dcb622b3d Tweaked some CLI error messages and renamed some functions, no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@67 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-02-21 12:58:22 +00:00
marcobaye
4bcae073f9 refactoring - now all pseudo opcodes are back together in one file. no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@53 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-22 00:47:52 +00:00
marcobaye
2331709a35 yet more refactoring. no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@52 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-16 08:21:44 +00:00
marcobaye
de896f41f2 Refactoring only; no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@48 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-04 11:26:42 +00:00
marcobaye
c53505915d Refactoring only; no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@47 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-03 22:18:06 +00:00
marcobaye
653ce7549c Changed comments and struct names; no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@42 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-24 14:52:05 +00:00
marcobaye
0e66c1fcb2 Release 0.95.3: Added support for C64DTV, MSVC error output and VICE label dump.
Added "c64dtv2" cpu type so you can use its SIR, SAC and BRA opcodes;
	along with the undocumented ("illegal") opcodes of the 6510.
Added Martin Piper's "--msvc" patch so error output can be configured
	to be in Visual Studio format. Thanks Martin!
Merged third-party patch of unknown origin to output label dump in VICE
	format. Still needs work to be configurable about the types of
	symbols actually output.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@41 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-23 23:40:01 +00:00
marcobaye
af1bd69455 Release 0.95.2: Changed "save labels" to "symbol list" in a lot of code, error messages and docs.
Added "!symbollist" alias for "!sl" pseudo opcode.
Change in undocumented ("illegal") opcodes: ANC #8 now generates 0x0b instead of 0x2b (both opcodes do the same thing).
Added experimental support for generating a report listing. Thanks to Johann Klasek for writing this extension patch.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@40 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-22 01:36:02 +00:00
marcobaye
d152f60acd Release 0.95: Added experimental type checking system (still missing docs, however). Made warning about old "!for" syntax configurable.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@34 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-02 00:47:46 +00:00
marcobaye
538dd38861 added comments, cleaned up some struct and variable names - no change in functionality at all
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@27 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-11 12:07:11 +00:00
marcobaye
059238874d Release 0.94.5: Fixed bugs in wrap-around branches and left-shifting floats. Several changes in library.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@15 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-06-26 23:01:00 +00:00
marcobaye
721a2d7bbc fixed dir tree structure
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@3 4df02467-bbd4-4a76-a152-e7ce94205b78
2012-02-27 21:25:04 +00:00