marcobaye
7a4237eb3c
fixed two bugs, added test files, did cleanup
...
bug 1: in some cases "--format" could not override "!to"
bug 2: "cannot open output file" resulted in "success" exit code
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@340 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 01:11:33 +00:00
marcobaye
496fde6f1a
more cleanup
...
added "outfilestart" keyword to "*="
added "file" keyword to "!convtab"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@339 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-17 16:52:32 +00:00
marcobaye
5e365a8723
fixed a bug and added test files
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@337 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-16 01:06:48 +00:00
marcobaye
444c7e858f
added "!outfilestart" and "!outfilelimit". made "--from-to" to use end+1 instead of end.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@335 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-13 00:08:17 +00:00
marcobaye
f52430f620
added "--from-to" (and did some internal cleanup)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@334 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-11 23:08:58 +00:00
marcobaye
10af90860d
added "--strict" and "!nowarn"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@333 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-10 17:21:54 +00:00
marcobaye
f660f26d2b
added --debuglevel cli switch and !debug/!info pseudo opcodes
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@332 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-10 12:43:56 +00:00
marcobaye
2092961bb8
another one of those "great rename" cleanup commits, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@331 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-08 19:17:07 +00:00
marcobaye
c6739be77d
slightly improved experimental feature to dynamically create symbol names
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@329 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-06 21:56:52 +00:00
marcobaye
aec6f8e99d
added experimental feature to dynamically create symbol names (and a bit of cleanup)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@328 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-01-29 22:02:28 +00:00
marcobaye
4d33e5db14
a bit of internal cleanup before adding new features...
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@326 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-01-28 19:38:20 +00:00
marcobaye
4f0f108494
Added MacOS build script provided by Claus. Thanks Claus!
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@325 4df02467-bbd4-4a76-a152-e7ce94205b78
2023-03-20 09:33:17 +00:00
marcobaye
3bb7fce2f0
removed warning about C-style "==" comparison operator.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@317 4df02467-bbd4-4a76-a152-e7ce94205b78
2021-01-31 21:56:37 +00:00
marcobaye
d5394bb5a7
made a fn static, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@316 4df02467-bbd4-4a76-a152-e7ce94205b78
2021-01-28 10:46:44 +00:00
marcobaye
8229fe47b0
Changed "Bin/Hex value without any digits" from warning to error.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@315 4df02467-bbd4-4a76-a152-e7ce94205b78
2021-01-27 19:59:25 +00:00
marcobaye
c9d148d345
added "!for VAR in ITERABLE { BLOCK }" possibility.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@306 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-23 23:13:26 +00:00
marcobaye
cc82e17cda
indexing of strings and lists can now be done from outside of expression parser.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@305 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-23 21:48:06 +00:00
marcobaye
1048e12fc7
another minor cleanup concerning "!for" loops, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@304 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-22 17:33:44 +00:00
marcobaye
ecab6ba3d6
fiddled with "!for" struct, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@303 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-21 18:42:50 +00:00
marcobaye
5b3fc9a805
fixed dependency in Makefiles
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@302 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-21 16:36:03 +00:00
marcobaye
f76c51e38d
fix to amend previous fix (it's complicated)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@300 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-18 23:34:50 +00:00
marcobaye
2a004d8153
fixed bug found two commits ago
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@299 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-18 22:19:27 +00:00
marcobaye
79e3950760
updated Makefiles for RISC OS version
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@298 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-18 17:11:05 +00:00
marcobaye
be040ebef2
inserted a comment about a bug I have to fix asap
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@297 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-10-16 16:10:13 +00:00
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
88cc8cd886
small fix to RISC OS makefile
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@293 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-08-22 22:31:33 +00:00
marcobaye
5b1fabc1f5
got rid of another init
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@292 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-08-20 18:00:20 +00:00
marcobaye
beb1e178cd
got rid of most of the *_init() functions
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@291 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-08-16 17:39:13 +00:00
marcobaye
2be25080aa
internal cleanup: keyword trees are now only built when needed.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@290 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-08-15 14:55:22 +00:00
marcobaye
b2b14cb176
minor cleanup, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@288 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-08-12 12:31:06 +00:00
marcobaye
b03b217979
disabled all indexed addressing for m65's "quad" mode, except for LDQ.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@287 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-29 23:30:33 +00:00
marcobaye
3db33bafb5
nmos6502 mode now also accepts ALR mnemonic (alias for ASR)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@286 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-28 23:08:07 +00:00
marcobaye
6dd15f7116
added BITQ and ASRQ to m65 cpu.
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@283 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-27 23:37: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
b8f9bb9d36
minor changes only (FIXMEs and docs)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@276 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-17 11:47:05 +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
eb138ae785
added experimental support for 16MiB outbuf using "--test"
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@274 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-07-04 13:43:20 +00:00
marcobaye
70b9ee222d
tweaked docs and removed some comments, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@273 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-30 09:24:30 +00:00
marcobaye
94f36db2e5
added support for hashbang lines (if file starts with '#', line is ignored)
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@270 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-29 09:53:03 +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
9d637eee25
comments only, no change in functionality
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@262 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-28 00:05:35 +00:00
marcobaye
c85081cbe4
allowed # characters in MVP/MVN syntax
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@261 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-26 10:45:20 +00:00
marcobaye
296ecefa6c
explained more errors in docs
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@260 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-23 15:30:49 +00:00
marcobaye
a5851cd51a
removed a few lines that are not really needed
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@259 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-22 22:24:28 +00:00
marcobaye
6c869568cd
amended last change, now depends on v0.97
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@258 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-22 20:40:38 +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
9f5ac5b212
fixed buffer overrun when printing long ints on 64bit machines
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@256 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-22 13:39:27 +00:00
marcobaye
1441da12ac
removed useless code concerning FITS_BYTE flag
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@255 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-22 11:09:43 +00:00
marcobaye
be72f71faa
simplified state machine of expression parser
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@253 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-21 22:30:06 +00:00
marcobaye
89344d34ee
added more auto-conversions from 1-char-strings to integer
...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@252 4df02467-bbd4-4a76-a152-e7ce94205b78
2020-06-21 19:51:55 +00:00