Commit Graph

215 Commits

Author SHA1 Message Date
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
ba348db03e Used #ifdef to make sure GNU-C-specific stuff only is used with GCC (so now it compiles with VS).
No change in functionality.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@64 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-06-20 14:44:17 +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
9c3d91adfa Library: added comment for fac1_divide_by_10 ($bafe) because result is always positive
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@62 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-03-01 15:54:11 +00:00
marcobaye
c3e12f91db Library: added symbol for c64 float call $bcf3, also fixed typo
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@61 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-03-01 15:36:59 +00:00
marcobaye
b2afe0d5f4 updated "toacme" sources to current version (release 0.12 from 2015-02-04),
now including a converter for "VisAss".


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@60 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-12 00:57:01 +00:00
marcobaye
b451573f00 updated "toacme" sources to version 0.11 from 2012-10-08 (source cleanup)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@59 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-12 00:43:02 +00:00
marcobaye
b11d8771e6 updated "toacme" sources to version 0.10 from 2006-10-04 (better support for illegals)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@58 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-12 00:38:22 +00:00
marcobaye
8689aac860 updated "toacme" sources to version 0.9 from 2006-03-12 (improved Giga-Assembler conversion)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@57 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-12 00:32:11 +00:00
marcobaye
6cd245dc76 added "toacme" docs (program is release 0.8 from 2005-06-16, btw)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@56 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-12 00:22:38 +00:00
marcobaye
56ee1d304e Added "toacme" source code converter to "contrib" directory.
Do not compile it yet, I have more (newer) versions to commit... ;)


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@55 4df02467-bbd4-4a76-a152-e7ce94205b78
2015-02-11 23:18:55 +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
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
cc2ddb9b42 guess what, more refactoring. no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@51 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-05 17:46:48 +00:00
marcobaye
913d8cb005 A bit more refactoring; no change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@50 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-04 23:58:00 +00:00
marcobaye
e042ec8602 still more refactoring (almost there, almost there) - no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@49 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-12-04 15:31:54 +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
bff56ae803 Removed another silly two-entry keyword tree. Minor refactoring. No change in functionality.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@46 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-30 17:00:13 +00:00
marcobaye
8495ba9ddf minor edits only
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@45 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-26 17:30:51 +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
ded7f1a065 Removed a keyword tree with only two entries ("while" and "until") - that was just silly.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@43 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-25 16:15:22 +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
2a30237ac4 Changed "kernel" to "kernal" in library. Added redirections for old sources.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@39 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-11-02 17:48:33 +00:00
hoeppie
b64e051e11 Update vom Makefile.mingw
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@38 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-07-12 11:11:41 +00:00
marcobaye
c5406dd909 Fixed error message for "unknown output format" so it includes "apple".
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@37 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-30 13:16:32 +00:00
marcobaye
dc12e23b95 added "contrib" directory with syntax coloring files. added two library files (cbm i/o error codes and basic error codes)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@36 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-06-08 17:59:41 +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
af1521f258 "==" warning is now only given in first pass
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@30 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-05-07 09:40:50 +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
e1516161ce more cleanup - moved some stuff between files
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@28 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-03-11 14:22:32 +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
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
hoeppie
d206b62eeb update changes in creating windows release
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@24 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-01-26 21:10:36 +00:00
hoeppie
c5d30101a1 update windows creation
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@23 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-01-26 21:09:42 +00:00
hoeppie
c7b964316b added my name as windows compiler.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@22 4df02467-bbd4-4a76-a152-e7ce94205b78
2014-01-26 21:08:43 +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
1683e2bb3c added more constants to vdc.a
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@20 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-11-30 15:17:24 +00:00
marcobaye
70a5f68708 added indentation to label dump
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@19 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-09-25 16:27:23 +00:00
marcobaye
33640766b1 Fixed name of petscii constant for light blue
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@18 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-08-19 17:30:47 +00:00
marcobaye
ffabea98c1 Added library file for FLPT format.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@17 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-06-27 20:29:08 +00:00
marcobaye
816bf713f2 Fixed comments in library.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@16 4df02467-bbd4-4a76-a152-e7ce94205b78
2013-06-27 11:51:46 +00:00