Commit Graph

335 Commits

Author SHA1 Message Date
Shamus Hammons 1cd9ca4c09 Version bump for last commit. Now at v2.0.16. 2020-07-04 11:30:11 -05:00
ggn 07781922ae Extend incbin to incbin "filename" [,][size][,][offset] 2020-07-04 11:18:53 -05:00
Shamus Hammons 63191aa1fc Fix for bug #149; thanks to ggn for the patch. Now at v2.0.15. 2020-07-04 11:09:52 -05:00
Shamus Hammons 357712f34a Accidentally committed wrong makefile. :-/ 2020-07-04 10:56:15 -05:00
Shamus Hammons 4cfac2b5cb Version bump for last commit; now at v2.0.14. 2020-07-04 10:54:16 -05:00
ggn e6faa71fc7 Fix gcc10/clang link errors by adding "extern" to exported variables and defining a couple in headers (issue #162) 2020-07-04 10:52:32 -05:00
Shamus Hammons 136a3405aa Version bump for latest patch. Now at v2.0.13. 2020-05-08 10:22:41 -05:00
James Jones fb7dbd1173 Properly advance past register bank specifier
Register banks, like all constants, are stored
in the token stream as uint64_t values.  Hence,
to advance the stream, the 32-bit tok pointer
must be advanced twice after parsing a register
bank.
2020-05-08 10:21:47 -05:00
Shamus Hammons febff0eb16 Version bump for last commit; now at v2.0.12. 2020-03-02 08:03:56 -06:00
ggn 39dff26a3b Supplementary fix for bug #140. Apparently bf4dbb2860 wasn't enough, we needed to add some extra logic to AddBSDSymEntry 2020-03-02 08:03:28 -06:00
Shamus Hammons 3f6e05a96f Added check to see that include paths actually exist.
RMAC will now yell at you if you give it a bogus include path.  Thanks
to ggn for the idea!  Now at v2.0.11.
2020-02-28 17:24:59 -06:00
Shamus Hammons cdf0e4fdb9 Version bump for last commits; now at v2.0.10. 2020-01-17 14:16:03 -06:00
ggn 3492e185b1 Add support for some missing ptestr/ptestrw/fsmove/fdmove. Add DSM in directives tab 2020-01-17 14:15:17 -06:00
ggn fbbe9b115f Added new optimisation option "+op" which enforces PC relative mode (#123) 2020-01-17 13:56:41 -06:00
ggn 2e916a913f Forgotten file for the VS project 2020-01-15 08:43:20 -06:00
Shamus Hammons d62ea9ab93 Fixes for bug #144 (unitialized code paths in 6502 codegen).
I was able to throw away a bunch of code in m6502cg(); things should be
much clearer vis-a-vis how things are parsed and code flow through that
function.  Plus it's always nice to be able to throw away code.  :-)
Now at v2.0.9.
2020-01-14 22:14:01 -06:00
Shamus Hammons daeae41fe4 Version bump for previous commits; now at v2.0.8. 2020-01-10 09:08:27 -06:00
Shamus Hammons 9518721db3 Further fix for bug #135 (added RISC error reporting). 2020-01-10 09:06:55 -06:00
ggn 8f287ee722 Introducing new switch -fr which outputs binaries assembled at a given address. 2020-01-10 09:04:35 -06:00
ggn e1087cbdea Fix for #145 - addressing mode mask was not restrictive enough for destinations 2020-01-10 08:53:19 -06:00
Shamus Hammons c8c1bd3b36 Fix for bug #135 (RISC error reporting for immediate values).
Thanks to Linkovitch for the report; now at v2.0.7.
2020-01-04 10:24:57 -06:00
Shamus Hammons 01dbdb3508 Version bump for last commits; now at v2.0.6. 2020-01-03 10:37:08 -06:00
ggn c38505ee4b Actually implement ^^FILESIZE this time :) 2020-01-03 09:56:36 -06:00
ggn 114298f750 Updated VS2015 project files, it should now build out of the box on VS2015 and later 2020-01-03 09:49:02 -06:00
Shamus Hammons 4205233c83 EOY minor update. 2020-01-03 09:25:26 -06:00
Shamus Hammons 0b6363381c Minor changes and version bump for prior commit; now at v2.0.5. 2020-01-03 09:21:02 -06:00
ggn 13baf8e167 Yet another fix for bug #77 - eval is now uint64_t so the check wasn't correct 2020-01-03 09:13:12 -06:00
Shamus Hammons bf4dbb2860 Fix for bug #140 (unusual COFF writer case); now at v2.0.4. 2020-01-02 16:06:56 -06:00
ggn c59f7a3373 Long forgotten helper script which is used to create tables for VS builds 2020-01-02 13:38:19 -06:00
Shamus Hammons e202a0d487 Version bump for the last few commits. Now at v2.0.3. 2020-01-02 12:37:24 -06:00
ggn 2037569179 Added DSM directive for 56001 mode (and not only). Updated doc. Condensed usage message. 2020-01-02 11:57:50 -06:00
ggn f733eb133e Updated documentation for v2.0.0 2020-01-02 11:13:15 -06:00
ggn c299aabe0a Implement ^^FILESIZE unary operator that returns the file size of a given file. Minor doc update 2020-01-02 08:42:49 -06:00
ggn 59c5357bbd When expanding macro parameters ("\{param_name}") inside strings don't warn about bad backslashes 2020-01-01 13:56:03 -06:00
ggn d3748ed651 More correct calculation of ^^ABSCOUNT. Also updated VS project. Now at version 2.0.1. 2020-01-01 13:46:40 -06:00
Shamus Hammons 412fe3614e Minor code cleanups. 2019-08-09 09:48:31 -05:00
Shamus Hammons 7d0d2b9ecd Fix a few minor problems with 030 mode PC relative fixups. 2019-08-09 09:12:14 -05:00
Shamus Hammons 7d364a21bf Added missing d_ds handling, add kludge for 56K fixups.
Also added code to prevent dumping a 6502 section that had nothing in
it, as this is very annoying.
2019-08-08 15:01:34 -05:00
Shamus Hammons 8d3be1d337 Forgot to update the copyright in rmac.c. D'oh! :-P 2019-08-07 21:21:55 -05:00
Shamus Hammons 1df40a4f5b One more minor fix: add back FP values for 56001 in d_dc. 2019-08-07 21:15:19 -05:00
Shamus Hammons 29fa5dcf50 The deed has been accomplished.
As far as I can tell, there should be no more regressions, but that's
no guarantee of anything.  Assuming no more are found, this should go
out as version 2.0.0.  :-D
2019-08-07 18:24:52 -05:00
Shamus Hammons bdbf34766f Added in DSP fixups to sect.c, misc. fixes for 6502 assembler. 2019-08-06 10:16:20 -05:00
Shamus Hammons 0561939cf6 Now we're pretty sure that the codebase doesn't cause any regressions. 2018-08-20 10:35:12 -05:00
Shamus Hammons 30a2086548 Cleanup of codebase and initial commit of 56K assembler by ggn.
There's still a ways to go before this will work properly as we need to
add proper fixup handling and origin (".org") bookkeeping. As it is now,
the addition of all the miscellaneous bits and bobs to support the main
56K assembler are in place but they don't cause any regressions to the
existing assemblers already present in RMAC. Stay tuned for Round 2!
2018-06-23 11:57:21 -05:00
Shamus Hammons 790cd95291 Minor fixups.
Basically give a more meaningful error message in incbin if the filename
is missing, and use the macros already defined in opkw.h instead of
cooking up our own and (possibly) getting out of sync later on down the
road.
2018-06-03 10:01:45 -05:00
Shamus Hammons 1f9660cc54 Version bump for last commit; now at version 1.13.5. 2018-05-16 12:58:03 -05:00
ggn 5c1e995754 Bug fix in flognp1. Better handling of cpbcc/fbcc/pbcc groups of instructions. 2018-05-16 12:57:53 -05:00
Shamus Hammons 66b362fa20 Version bump for last patch; now at v1.13.4. 2018-05-16 08:39:48 -05:00
ggn 42e0ca682d Fix for bug 120. AND can never accept an address register as destination in all 680x0 CPUs 2018-05-16 08:39:34 -05:00
ggn fce8ff3763 Don't print bogus message about optimising long address if it's suffixed with .l. Bump to version 1.13.3 2018-05-16 08:35:18 -05:00