Commit Graph

335 Commits

Author SHA1 Message Date
Shamus Hammons bae6655682 Fix for last broken commit. Sorry about that! 2013-03-05 11:59:07 -06:00
Shamus Hammons b10167d557 More fixups to remove warnings, removal of more cruft. 2013-03-05 11:47:22 -06:00
Shamus Hammons 82307651be Various code cleanups, mainly to do with RISC assembly. 2013-03-04 07:36:09 -06:00
Shamus Hammons f6e6a55c4c Fix silly mask bugs, added check for use of undefined register equates. 2013-03-02 14:22:33 -06:00
Shamus Hammons bb94015a44 Fix for slow .incbin performance. 2013-02-27 08:44:33 -06:00
Shamus Hammons 9fb8931331 Fixed subtle bug in section marking code.
Thanks to Linkvitch for helping find this one! Also, found and removed
some more 'GPU in Main' cruft hiding out in sect.c. Gone!
2013-02-15 21:27:29 -06:00
Shamus Hammons 627f87694b Removing cruft... 2013-02-14 13:23:45 -06:00
Shamus Hammons adc2f2df31 Added optimization flags to makefile (how long was THAT missing?) 2013-02-14 13:22:54 -06:00
Shamus Hammons d7d2c7f147 Added win32 cross-compilation script. 2013-02-13 18:49:17 -06:00
Shamus Hammons 94655b0579 Forgot to bump patch level :-P 2013-02-13 12:52:49 -06:00
Shamus Hammons 49dca3f4aa Added new .cstruct construct. Thanks to GroovyBee for the suggestion! 2013-02-13 12:51:43 -06:00
Shamus Hammons 059c911b66 Fixed regression in RISC JR cc, <label> handling. 2013-02-12 21:01:34 -06:00
Shamus Hammons 11a78647f7 Fixed .cargs problem, more code cleanup/fixup
Thanks to GroovyBee for reporting the .cargs problem! Also, pretty much
all of the remaining cruft coming from the misguided "GPU in Main" cult
has been removed. Never do in an assembler what you can do with either
macros or a good preprocessor!
2013-02-12 20:14:47 -06:00
Shamus Hammons 295836a173 First stab at removing cruft.
Removing all automatic code munging in the background by the RISC
compiler, including GPU in main idiocy. This means there are no more
built-in macros either. If you really needed this functionality, you can
put macros in your source code to do it. It doesn't belong in the guts
of the assembler.
2013-02-12 12:32:56 -06:00
Shamus Hammons 26bc03271b Bumped object size from 4MB to 6MB (ggn). 2013-02-12 08:30:29 -06:00
Shamus Hammons 94c8d392f2 Forgot to bump patch level on version.h :-P 2013-02-03 16:44:40 -06:00
Shamus Hammons 322522e2a9 Fixed missing error reporting on fixup stage. 2013-02-03 11:59:21 -06:00
Shamus Hammons 44301fed8a Fixed error reporting wrong file, off-by-one error in file record system. 2013-02-03 10:39:51 -06:00
Shamus Hammons 2cc3049ac9 Fixed compiler not checking for INCBIN in BSS sections.
Apparently the compiler did not care if an INCBIN happened in a BSS
section or not. Now the compiler cares and gives an error if you try to
do this terrible, terrible thing. :-D
2013-02-02 15:04:59 -06:00
Shamus Hammons daf2f61a36 Fixed problem with nested MACROs.
While the assembler is in better shape vis-a-vis 64-bitness, there's
still a long way to go towards refactoring the thing to remove all
the problems it has with crufty data structures, and I'm sure there's
still bugs left in things like the .rept directive.
2012-11-25 22:49:46 -06:00
Shamus Hammons 233e5e908f Small fix for FU_JR fixups. 2012-11-24 14:00:29 -06:00
Shamus Hammons d16b8ea0ee First working 64-bit version of RMAC
There's still lots to do, like refactoring a bunch of stuff that's
still basically wrong, but that's par for the course. There may be
more things that need fixing (like the .rept function, for example).
2012-11-24 13:48:52 -06:00
Shamus Hammons 49cce96fba Code cleanup and prepartion for 64-bit host fixes
I removed a few functions that are better off being handled by the
native system libraries (malloc for amem, strdup for nstring). Also,
cleaned up files in preparation for removing pointers from the token
stream--which is preventing RMAC from working on 64-bit systems.
2012-11-23 10:39:09 -06:00
SCPCD a057cc27cc No more crash whith some assembler file :
the mask applied to "attr" in "fixup" function was wrong.

With a mask of 0x0200, other FU_xxx can match and unexpected behavior will arise.
2012-07-09 15:28:06 +00:00
James Hammons 3385b36663 More readability cleanups. 2012-01-19 22:28:32 +00:00
James Hammons d09274f3e3 Code cleanups. 2012-01-18 02:06:46 +00:00
James Hammons abbcaf39dc Fix problem in tokenizer that caused legit code to make assembler barf. 2012-01-18 01:23:27 +00:00
James Hammons 1eb7e52711 Fix submitted by partycle: Make errors GNU compatible. 2012-01-11 17:31:31 +00:00
James Hammons a77511e0ed Removed Interactive Mode. Sorry, but the 1980s called and said they wanted
their limited resource feature back. ;-)
2012-01-02 12:09:20 +00:00
Graeme Hinchliffe 2b2451777d Updated printf commands that were complaining about long-words as necessary.
Updated date in copyright from 2011 to 2011-2012
2012-01-01 18:22:47 +00:00
Graeme Hinchliffe 4c9357ac95 Created a quick and dirty windows based makefile.
Corrected definitions of BYTE, WORD and LONG to appropriate uintN_t values.. (it's warning like a mofo at the moment but tested and it assembled happily enough 68K and RISC)
2012-01-01 18:05:45 +00:00
Graeme Hinchliffe a71f443032 corrected main's deffinition and set it to return with 0 so make didn't cry 2011-12-28 12:38:51 +00:00
James Hammons c709b9722e Fix for USP token, submitted by ggn. 2011-12-27 14:10:26 +00:00
James Hammons 75cce0d9eb Various cleanups to fix compiler warnings. 2011-12-26 23:54:45 +00:00
James Hammons d28f432296 Initial commit. 2011-12-26 22:50:27 +00:00