Commit Graph

388 Commits

Author SHA1 Message Date
marcobaye
25fcf4f1f4 "input_now" ptr is no longer exported
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@388 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-05 10:49:33 +00:00
marcobaye
7015508538 yet more refactoring
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@387 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-04 09:53:16 +00:00
marcobaye
a53aa01a1e more refactoring of input
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@386 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-31 12:36:47 +00:00
marcobaye
b11bdcded0 moved filename-used-for-resolving-relative-paths out of input struct
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@385 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-30 23:50:10 +00:00
marcobaye
e88aeab14c renamed fn and moved between files, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@384 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-30 13:46:45 +00:00
marcobaye
fb9bbc7c56 moved enum from .h to .c file
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@383 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-30 13:36:50 +00:00
marcobaye
9d71a86a74 small fix, added "const"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@382 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-30 09:40:12 +00:00
marcobaye
59ef7c71f8 inputstate enum is now only used in input.c
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@381 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-30 09:37:56 +00:00
marcobaye
73292e1b4f more refactoring of input
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@380 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-29 20:08:01 +00:00
marcobaye
ad6e86db12 fixed bug where "--dialect future" with file refs in macros could cause crashes
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@379 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-29 17:32:32 +00:00
marcobaye
47b1517777 started refactoring input
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@378 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-29 11:55:56 +00:00
marcobaye
42d71284a8 added REC pinout info to library
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@377 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-27 16:08:47 +00:00
marcobaye
3818f97723 in addition to "-DSYMBOL=VALUE", now "-D SYMBOL=VALUE" is also accepted
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@376 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-07-15 18:11:38 +00:00
marcobaye
b643115017 added examples to docs on how to iterate over list args in macros
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@375 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-06-24 13:37:50 +00:00
marcobaye
0e20eeafd5 moved "GotByte" var to input.{ch}
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@374 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-06-24 09:45:46 +00:00
marcobaye
5af37ed13f just some comments
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@373 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-27 08:36:58 +00:00
marcobaye
43759e6026 cleaned up error messages
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@372 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-25 00:51:11 +00:00
marcobaye
15aa8b3a3c added another test file and did a bit of cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@371 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-24 16:07:20 +00:00
marcobaye
5a504b4ff3 moved code around, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@370 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-21 00:47:33 +00:00
marcobaye
1e62973f99 fixed Makefile for MingW compiler
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@369 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-20 16:08:53 +00:00
marcobaye
5179714785 changed some longs to ints because using 64 bits is overkill
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@368 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-19 15:30:57 +00:00
marcobaye
242cdad5be a bit of cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@367 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-18 18:25:11 +00:00
marcobaye
1d7fa761d9 added ugly kluge to fix ugly limitation in RISC OS version
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@366 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-17 23:47:04 +00:00
marcobaye
538db084b5 small fix concerning pass numbers
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@365 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-17 22:45:00 +00:00
marcobaye
f8f9a64d86 more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@364 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-15 01:05:53 +00:00
marcobaye
daefa72aea tweaked pathname parsing for Amiga, DOS and RISC OS
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@363 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-15 00:18:21 +00:00
marcobaye
7a94c67990 fixed example programs to not throw warnings
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@362 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-13 12:00:42 +00:00
marcobaye
77ef4a7013 small change to prepare for new feature
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@361 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-13 01:08:45 +00:00
marcobaye
5e99b7bc1f next version's filespecs will be relative to current file for output files as well.
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@360 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-12 00:47:03 +00:00
marcobaye
b15c46e764 added check for absolute paths so current dir is not used as prefix
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@359 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-12 00:11:32 +00:00
marcobaye
dbf3cbd61e added more error checking when writing files
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@358 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-10 11:24:06 +00:00
marcobaye
640373c54f search paths (given via -I) are now also displayed in error messages.
also prepared filespecs to be relative to current file in next version.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@357 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-08 23:42:58 +00:00
marcobaye
117aab0d6d more cleanup, needed for next change
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@356 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-04 00:09:56 +00:00
marcobaye
a2103c167e improved "macro twice" error output and did some cleanup...
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@355 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 23:35:21 +00:00
marcobaye
45bb65d74d Un-pseudopc-operator '&' can now be applied to all address symbols, not only
to implicitly defined labels.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@354 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 14:31:08 +00:00
marcobaye
8f9e3a5855 more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@353 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-03 12:49:03 +00:00
marcobaye
5fc6a8a5e3 fixed bug introduced in previous commit
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@352 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-01 10:16:48 +00:00
marcobaye
a69968dc05 fixed a bug in "unpseudopc" operator "&" and did some cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@351 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-01 01:12:15 +00:00
marcobaye
b04af19d5c another tiny bit of cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@350 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-28 17:53:13 +00:00
marcobaye
5910081651 more cleanup and preparations for new features
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@349 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-26 23:54:10 +00:00
marcobaye
3deb9700dc added another choice for "--dialect"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@348 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-25 13:02:47 +00:00
marcobaye
d70988c09d added test files for "--dialect", a bit of cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@347 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-24 23:40:43 +00:00
marcobaye
09b4b16c10 fixed a bug and added more test files
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@346 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-24 14:09:01 +00:00
marcobaye
1b33ca7ae7 two more test files and a tiny bit of cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@345 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-23 16:46:40 +00:00
marcobaye
2e2eb5e60c fixed bug where labels could be used before pc definition,
added test files.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@344 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-21 01:26:13 +00:00
marcobaye
08dad45efb more cleanup
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@343 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-19 21:51:57 +00:00
marcobaye
58b04ba77c more test files
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@342 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 13:50:32 +00:00
marcobaye
36653b8cf1 forgot test files
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@341 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-02-18 01:14:07 +00:00
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