Commit Graph

50 Commits

Author SHA1 Message Date
marcobaye
1199c75025 more test programs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@229 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-13 23:12:06 +00:00
marcobaye
0588f0fffe improved error handling of "--cpu" and "--format" switches. started putting m65 in docs.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@222 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-09 15:58:48 +00:00
marcobaye
9db5ad6fdb first step to refactor symbol assignments
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@212 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-03 16:30:13 +00:00
marcobaye
f164b737ad in 6510 mode, DOP/TOP can now also be written as NOP
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@209 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-02 15:09:36 +00:00
marcobaye
c03d1145f6 made warning about "pointer at $ff" depend on cpu flag
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@205 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 13:07:40 +00:00
marcobaye
64a29e4504 amended docs on illegals
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@204 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-31 13:04:21 +00:00
marcobaye
9bbac556d3 worked on error messages
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@202 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-29 22:03:04 +00:00
marcobaye
636080ce25 started work on '&' operator
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@195 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-27 20:25:42 +00:00
marcobaye
98ae73381d updated error messages
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@190 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-24 21:16:50 +00:00
marcobaye
c055688355 small fix in docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@162 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-05-14 10:04:39 +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
cefa89c138 added 65ce02 and 4502 opcode tables to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@110 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-19 00:37:46 +00:00
marcobaye
c4487b9239 added r65c02 and w65c02 opcode tables to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@109 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 22:24:47 +00:00
marcobaye
c262cbe7b4 added 65816 opcode table to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@108 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 21:56:19 +00:00
marcobaye
6604877b54 added 65c02 opcode table to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@107 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 21:26:38 +00:00
marcobaye
aa611df8b7 added 6502 opcode table to docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@106 4df02467-bbd4-4a76-a152-e7ce94205b78
2019-03-18 21:13:41 +00:00
marcobaye
9628f69f4e ACME release 0.96.4: Fixed bug in zero page wrap-around warnings. Added "!xor" pseudo op. Added "-I" CLI switch.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@97 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-12-22 22:55:36 +00:00
marcobaye
3867147615 Fixed docs to include two error messages. Fixed a typo, no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@95 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-11-03 15:14:55 +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
a6daa92e63 tiny change in docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@91 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-10-21 19:01:48 +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
a21ff667a8 tweaked docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@83 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-01-05 20:26:51 +00:00
marcobaye
5120d12af4 tweaked docs/cputypes.txt
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@82 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-01-05 17:02:13 +00:00
marcobaye
9603d13031 ACME release 0.96.1: Fixed bug where 65ce02's "(zp),z" addressing mode could be used in 65816 mode.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@81 4df02467-bbd4-4a76-a152-e7ce94205b78
2017-01-05 10:39:19 +00:00
marcobaye
4979302d0d tweaked docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@80 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-12-29 12:02:12 +00:00
marcobaye
90dd2e0a36 fixed typo in docs
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@79 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-12-28 21:03:38 +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
fcbebf8343 ACME Release 0.95.7: Added pseudo opcodes to output big-endian values
(not really worth a separate release, but I wanted to get the changes
out of my system)
toacme Release 0.13: started work on converter for "Oliver Stiller's
Professional Assembler"


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@66 4df02467-bbd4-4a76-a152-e7ce94205b78
2016-02-16 23:11:04 +00:00
marcobaye
651b059e67 Tiny change to support compilers without snprintf(). Added Makefile for examples.
No change in functionality.



git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@65 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-08-16 20:19:00 +00:00
marcobaye
8d2719db8a Release 0.95.6 (intermediate release): Removed ANC from DTV2 mode, "Value not defined"
message now includes symbol name, fixed bug in type system (!for loop counters), added
address() as alternative to addr(), fixed bug in report listing generator (CR in input
caused additional blank lines in output).


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@63 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-06-14 23:16:23 +00:00
marcobaye
7c335b8828 Release 0.95.5: Fixed a pointer bug that caused crashes on program exit.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@54 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-05 18:29:01 +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
e85f677cbd Release 0.95.4: Added the last remaining undocumented ("illegal") opcodes: LAS, TAS, SHA, SHX, SHY and ANE.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@44 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-25 23:57:15 +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
808ccf39a3 Release 0.95.1: Tweaked type system and changed "label" to "symbol" in a lot of places.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@35 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-07 00:12:10 +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
c8ff626943 Release 0.94.12: Finally created new "!for" syntax so counting can start at zero. Added "0b" as alternative prefix for binary values.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@33 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-31 00:46:55 +00:00
marcobaye
8b2c8187a2 Release 0.94.11: Number arguments to !warn, !error and !serious are now output in hex format as well. Also changed docs accordingly.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@32 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-28 21:39:15 +00:00
marcobaye
6c59f05179 Release 0.94.10: Check for shift-space now works in UTF-8 as well. Docs contain list of built-in functions.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@31 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-17 09:40:55 +00:00
marcobaye
f9e55a0d13 Release 0.94.9: C-style "==" operator is now recognized (but gives a warning).
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@29 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-06 22:16:41 +00:00
marcobaye
f1341c44fd Release 0.94.8: Segment changes are now possible within pseudopc blocks.
Finally disabled obsolete pseudo opcodes "!cbm", "!subzone" and "!realpc".
!pseudopc now *must* be used with a block in {} braces.
Added support for illegal opcode LXA #$00 (opcode 0xba).


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@26 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-10 00:17:10 +00:00
marcobaye
e9999a07a4 Release 0.94.7: Fixed bug where setting the program counter to an address>$ffff
and writing a byte hung ACME. Thanks to groepaz/VICEteam for reporting this.
Cleaned up output.c while at it.
Verbose output now indicates hex values using "0x" instead of "$" more
consistently.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@25 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-05 23:33:19 +00:00
marcobaye
96a0f55818 Release 0.94.6: Made "power-of" operator right-associative.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@21 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-01-16 18:16:24 +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
82127995fe committed docs I forgot in last update
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@8 4df02467-bbd4-4a76-a152-e7ce94205b78
2012-10-25 15:36:35 +00:00
marcobaye
57ff3490e0 "Target out of range" errors now output how far off.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@6 4df02467-bbd4-4a76-a152-e7ce94205b78
2012-03-16 20:21:09 +00:00
marcobaye
da1a660666 Described latest changes in docs/Changes.txt
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@4 4df02467-bbd4-4a76-a152-e7ce94205b78
2012-02-27 21:35:16 +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