Commit Graph

400 Commits

Author SHA1 Message Date
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
marcobaye
0af42c7a8a rearranged struct, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@399 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-18 17:23:23 +00:00
marcobaye
fc296d6abd in future versions, program counter in pseudopc blocks no longer silently wraps around to zero
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@398 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-16 22:19:54 +00:00
marcobaye
3c390cbde7 renamed struct component, no change in functionality
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@397 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-16 21:19:02 +00:00
marcobaye
3b2321c053 fixed bug in "file too large for apple format" message
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@396 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-14 10:30:17 +00:00
marcobaye
8ac8d98cd0 more test files for symbol substitutions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@395 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-13 10:49:56 +00:00
marcobaye
169541d452 changed experimental feature "dynamic symbol names" to "dynamic <ANYTHING>"
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@394 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-12 20:37:29 +00:00
marcobaye
fcfb32ed0a added test files for symbol substitutions
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@393 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-11 21:07:32 +00:00
marcobaye
b3ef885385 renamed some functions (to be moved to a separate file)
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@392 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-11 20:04:04 +00:00
marcobaye
fa0b186f66 in report file: macros are expanded, everything in loops is suppressed
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@391 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-07 09:37:41 +00:00
marcobaye
b9dd2d650d got rid of input_now pointer
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@390 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-06 11:02:55 +00:00
marcobaye
1fd0bee24c replaced known bugs in report generator code with new and improved ones
git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@389 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-08-06 00:22:04 +00:00
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