Uffe Jakobsen
11fee496a4
Added README.md
2025-10-23 18:40:41 +00:00
marcobaye
5cee2c0f2a
added a comment on where to fix a bug
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@448 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-08-09 15:37:55 +00:00
marcobaye
68c20bbc8e
added "!break", "!continue" and "!return" (for loops and macros, respectively)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@447 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-07-29 20:33:10 +00:00
marcobaye
4b25464181
moved test files around
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@446 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-07-11 09:17:27 +00:00
marcobaye
42d5a128cb
fixed bug where "!if" complained about undefined conditions even if user had
...
added "!ifdef"/"!ifndef" to inhibit this.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@445 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-07-10 22:55:08 +00:00
marcobaye
1051dc6248
"else if" can now also be written as "elif"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@444 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-07-10 21:49:27 +00:00
marcobaye
196c2522b2
added FIXMEs
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@443 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-07-10 10:55:16 +00:00
marcobaye
e1ea89bdb9
"fix" for previous commit
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@442 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-06-23 10:46:15 +00:00
marcobaye
c5819c02a2
added "denial of service" example source code
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@441 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-06-22 21:31:24 +00:00
marcobaye
db020f6607
small cleanup in src and docs concerning ACME library
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@440 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-06-19 15:55:22 +00:00
marcobaye
6669fe8b50
added some comments and "!byt" and "!outfilestop" aliases.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@439 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-06-17 11:17:38 +00:00
marcobaye
ed36ca72da
added CLI option to override path to ACME library
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@438 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-06-16 21:15:35 +00:00
marcobaye
1a6184fd85
minor change in arrangement of mnemo tables
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@437 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-05-08 21:25:26 +00:00
marcobaye
8647561ac0
fixed addressing modes for M65 cpu (see tickets 22 and 23)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@436 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-05-07 11:08:18 +00:00
marcobaye
b27022ac4b
updated link in docs to "No More Secrets" document
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@435 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-05-04 17:47:11 +00:00
marcobaye
b09b02f4b4
updated toacme: v0.19 now has support for the "C128 Top-Assembler".
...
Thanks to Friddy for writing this patch!
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@434 4df02467-bbd4-4a76-a152-e7ce94205b78
2025-01-26 16:51:26 +00:00
marcobaye
9ad03311c5
the "-D" switch can now assign strings in double quotes (but check your shell's quoting rules!)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@433 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-11-25 00:44:37 +00:00
marcobaye
e5f2ec2dbc
reworked previous commit, added error checking and test cases
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@432 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-11-23 14:51:02 +00:00
marcobaye
5a1f108243
added support for \x hex values in strings (thanks to Gurce for the patch, see ticket #28 )
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@431 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-11-23 14:41:38 +00:00
marcobaye
883aa3fbd5
updated list of warnings/errors
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@430 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-27 12:56:53 +00:00
marcobaye
9be165ae3f
file names can now be specified via string symbols
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@429 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-27 12:42:37 +00:00
marcobaye
6be05e040c
refactored handling of dialects, newest behavior is now always given first
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@428 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-23 12:32:26 +00:00
marcobaye
68615f8ab5
renamed a function and changed some comments, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@427 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-20 22:19:38 +00:00
marcobaye
7c1fd35a34
cleaned up previous fix
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@426 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-07 11:13:48 +00:00
marcobaye
b215aecd22
added regression test for previous fix
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@425 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-07 08:34:55 +00:00
marcobaye
7bc9323503
fixed bug introduced in rev 419 (see ticket #25 , thanks for reporting!)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@424 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-10-06 23:21:00 +00:00
marcobaye
e367471c53
refactored string handling
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@423 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-08 09:55:00 +00:00
marcobaye
4d260b2826
refactored !bin, !fill and !align a bit
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@422 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-05 22:18:29 +00:00
marcobaye
df8e52b544
refactored last commit
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@421 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-05 11:48:06 +00:00
marcobaye
ad9ef576ec
now ignores BOM at start of source file
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@420 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-05 09:47:49 +00:00
marcobaye
b7037ea990
fixed bug where "!skip" areas at start/end were included in output file
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@419 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-03 10:01:43 +00:00
marcobaye
fc98be0ee1
fixed bug where a segment warning could cause another segment warning to disappear
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@418 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-03 09:49:12 +00:00
marcobaye
adb0852767
refactored "segment list" functions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@417 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-03 00:11:41 +00:00
marcobaye
01313f1182
moved segment checks to final pass, made v0.98 force --strict-segments
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@416 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-02 22:36:23 +00:00
marcobaye
a037bcc41e
throwing of some errors can now be delayed until symbol changes are done
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@415 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-01 17:59:06 +00:00
marcobaye
134ba39638
small fix so "label" and "label=*" throw the same error if pc undefined
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@414 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-01 16:23:08 +00:00
marcobaye
67b338e667
a bit of refactoring concerning "unpseudopc"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@413 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-09-01 13:50:36 +00:00
marcobaye
f1a80756d1
fixed bug in anonymous backward labels
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@412 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-31 20:28:50 +00:00
marcobaye
5eba16ed6c
tiny refactoring
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@411 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-31 14:55:41 +00:00
marcobaye
4b28af64a7
added code so release 0.98 will always use the smallest possible addressing mode
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@410 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-30 19:49:36 +00:00
marcobaye
514eb38177
added dec() and hex() functions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@409 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-30 16:54:55 +00:00
marcobaye
a6a43015a8
added missing sanity check
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@408 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-29 21:02:25 +00:00
marcobaye
5f8918c774
added code to tell "symbol already defined" (in this pass) and "symbol
...
changed" (compared to previous pass) apart, which I need for version 0.98
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@407 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-29 20:38:39 +00:00
marcobaye
158379ce9a
"symbol twice" error now outputs location of previous definition,
...
just as "macro twice" does.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@406 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-29 18:27:50 +00:00
marcobaye
45ce8164e9
refactored "macro twice" code. messages about initial definitions and macro
...
call stacks are now output as "info" instead of "warning".
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@405 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-29 15:14:11 +00:00
marcobaye
be1b072288
refactored error/warning stuff
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@404 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-28 16:45:31 +00:00
marcobaye
ec4db48d07
refactored program counter / outbuffer stuff
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@403 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-28 13:12:07 +00:00
marcobaye
be4580af53
finally removed the 64 KiB limit, the outbuffer size is now determined at
...
runtime. I added a hard limit of 64 MiB, but that value is completely
arbitrary.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@402 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-27 18:54:07 +00:00
marcobaye
d0b1ad84b7
writing to output buffer now only happens in final pass
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@401 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-21 00:00:31 +00:00
marcobaye
df7f1bf06b
added "output pass", to ease adding of new features.
...
I had to modify two regression tests because they barfed in the second pass,
but real-world code would not do this, so I'm okay with this incompatibility.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@400 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-18 22:49:35 +00:00