ggn
732c626abe
Fix for bug where in alcyon mode the tokenizer would read past the end of the line.
2017-05-05 08:29:54 -05:00
Shamus Hammons
a29cbeceea
Fix for bug #77 (ds with negative numbers).
...
Last time it didn't work because our target number was an unsigned int
(as opposed to a signed int). So now that we know, we have a proper
check for it now.
2017-05-02 13:02:47 -05:00
Shamus Hammons
2601908757
Version bump for last commits. :-)
2017-04-27 08:14:08 -05:00
ggn
6c68569fbf
Doc fixes/updates.
2017-04-27 08:11:41 -05:00
ggn
ba392fd1c6
Added -l* to enable listing without pagination. Fix bug where a wrong malloc would lead to explosions with listing enabled.
2017-04-27 08:06:49 -05:00
Shamus Hammons
9207a38ed4
Fixed code to remove warnings. Inching closer towards zero. :-)
2017-04-24 22:30:42 -05:00
Shamus Hammons
751aa148a9
Minor tweaking from last round of patching, version bump. :-)
2017-04-21 16:36:06 -05:00
ggn
a3feec3b2d
Much better implementation for A8 strings - introduced a new token called STRINGA8. Also, all this time we forgot to update mntab :).
2017-04-21 16:26:28 -05:00
Shamus Hammons
005275defa
Possible fix for bug #92 .
2017-04-21 14:31:10 -05:00
Shamus Hammons
968958cccf
Version bump for last commit. ;-)
2017-04-21 13:59:50 -05:00
ggn
2161b198b7
6502 mode: fix clearing of its RAM space with each .6502 invocation. Also fixed chptr resetting with each .6502 invocation. Also in this mode: dc.b strings with single quotes will get encoded to Atari 800 internal encoding (hardcoded mode for now, can be extended).
2017-04-21 13:42:40 -05:00
Shamus Hammons
945e321301
Tweaks to new 6502 assembler (ggn), added dependency info for makefile.
2017-04-20 16:09:14 -05:00
Shamus Hammons
feabdce307
Add missing files. I hate when that happens! >:-U
2017-04-20 15:41:10 -05:00
Shamus Hammons
ff2052bcaa
Code cleanup, version bump for last commit. :-)
2017-04-20 14:29:31 -05:00
ggn
052be802ba
6502 support added back from original Madmac sources!
...
- Source fixed to work with current rmac implementation
- Removed ultra kludgy output mode and replaced it with .com/.exe./.xex output module (activated using -fx)
- Added #< and #> to give low and high bytes off an immediate word
- Included tester in "tests" folder.
- Updated docs.
2017-04-20 09:26:42 -05:00
Shamus Hammons
a5aa8711ae
Version bump for last patch. :-)
2017-04-18 21:01:00 -05:00
ggn
f33d7fdb41
Fix movep size optimising when +o3 is enabled. Show available optimisations in the usage message.
2017-04-18 21:00:37 -05:00
Shamus Hammons
63e54cb8e4
Update makefile to fix bug #89 .
2017-04-18 09:18:04 -05:00
Shamus Hammons
0d4ab16ff1
Fix for bug #88 (allow DS in all sections).
2017-04-16 12:53:35 -05:00
Shamus Hammons
639cdbf73e
Version bump for last commit. :-)
2017-04-14 20:05:08 -05:00
ggn
5f3b8bc35e
Make .incbin and object writing work ok under MinGW.
2017-04-14 20:04:24 -05:00
Shamus Hammons
60f204cb9e
ELF support for RMAC.
...
ggn deserves most of the credit for this, as my job was going through
and tossing out the stuff that wasn't needed. ;-) There might be some
ELFish things that still need fixing; time, as usual, will tell.
2017-04-14 15:52:31 -05:00
Graeme Hinchliffe
1feb728a9e
Improved indexed reg error
...
- Added more helpful Indexing error message
- Added error condition for EQUR Indexing errors
- Updated patch # and copyright year
2017-01-31 08:57:11 -06:00
Shamus Hammons
603c75134d
Version bump. :-)
2016-09-27 10:46:14 -05:00
ggn
6056c16bf5
.incbin now uses the same directory sets as .include. Also some small cosmetic fixes.
2016-09-27 10:38:51 -05:00
Shamus Hammons
3c68061b9c
Version bump for last patch. :-)
2016-09-22 10:53:23 -05:00
ggn
be5c1cb1a3
Fixed bug when expanding macros with comments that have @, \, etc.
...
Signed-off-by: Shamus Hammons <jlhamm@acm.org>
2016-09-22 10:50:50 -05:00
Shamus Hammons
9d0b531582
Fix for bug #81 . Thanks to ggn for the patch!
2016-09-22 10:44:16 -05:00
Shamus Hammons
2d302cb8c2
Version bump. :-)
2016-09-12 22:27:30 -05:00
ggn
0fd4b86c98
Added .opt directive with similar syntax to command line. Example syntax: '.opt "~all" "+o1"' etc.
...
Signed-off-by: Shamus Hammons <jlhamm@acm.org>
2016-09-12 22:14:46 -05:00
Shamus Hammons
d570f2d80f
Version bump for last commit. ;-)
2016-09-12 21:34:19 -05:00
ggn
02523045dc
Removed -w flag, added +o[n], ~o[n] switches to control individual optimisations on/off, as well as +oall, ~oall for all optimisations.
...
Signed-off-by: Shamus Hammons <jlhamm@acm.org>
2016-09-12 21:25:48 -05:00
Shamus Hammons
3a5a7740b7
Fix for bug #77 . Thanks for ggn for reporting. :-)
2016-09-12 20:58:37 -05:00
Shamus Hammons
66be644c3e
Fix for bug #78 : Thanks to ggn for reporting and supplying the patch.
...
Bug fix for .w access for alcyon target, added new optimisation that
converts 0(ax) to (ax).
2016-09-12 20:37:51 -05:00
Shamus Hammons
171a457e86
Small fix to make compilation C99 compliant.
...
This probably won't help on Visual Studio, unless you can tell the build
system there to use a C99 compliant compiler (MS's track record in this
area is abysmal).
2016-09-12 19:16:03 -05:00
Shamus Hammons
40f1a3ec69
Fix for bug #67 (thanks to ggn for reporting!).
...
Turns out the tokenizer would not properly tokenize DOTx constructs
unless they were hanging off the end of a symbol. This should fix that
once and for all.
2016-05-15 18:25:37 -05:00
Shamus Hammons
e968236d06
Possible fix for bug #72 (no warning on unclosed .ifs).
2016-05-09 13:13:41 -05:00
Shamus Hammons
bf97c76e7e
Version bump. Thanks to ggn for the report & patch (bug #73 )!
2016-05-08 08:56:55 -05:00
ggn
ae7127773a
When selecting ST .o output (-fa), don't write a .prg but an object file instead.
2016-05-08 08:56:30 -05:00
Shamus Hammons
bbaae2c20d
Fix for bug #71 (thanks to ggn for reporting! :-)
2016-04-15 09:56:45 -05:00
Shamus Hammons
9e2fe1917a
Hopefully final fix for bug #68 (crash on ARM).
2016-01-07 07:35:17 -06:00
Shamus Hammons
5373852f57
Possible fix for bug #68 (crash when running on ARM).
2015-12-24 14:36:53 -06:00
Shamus Hammons
21b541fc47
Removed naked 'abs' (sans leading dot) from mntab.
...
The problem with having .abs *and* abs (as an alternate) is that the
naked abs conflicts with the RISC asm instruction ABS R#. There's no
good way to detect this ahead time, and it's a bad idea to do so anyway.
So don't do it!
2015-12-06 21:32:46 -06:00
Shamus Hammons
fda6ba8661
Bump version #.
2015-11-17 14:01:56 -06:00
ggn
c7c27ef02a
.error and .warn directives implemented.
2015-11-17 14:01:10 -06:00
ggn
1d8c5b2261
Moved some messages from -v to -x
2015-11-17 13:57:20 -06:00
ggn
0e4dead2b7
The rest of the .PRGFLAGS patch. Sorry!
2015-11-17 13:54:39 -06:00
Shamus Hammons
d62afdca3a
Bump version #.
2015-11-17 07:42:32 -06:00
ggn
917bfc1503
Extended switch -s to also warn about automatically applied 68000 optimisations. Added switch -w to turn off all automatic optimisations.
2015-11-17 07:40:58 -06:00
ggn
622cef2655
TEXT/DATA/BSS sizes printed at the end of assembly only when -v is invoked.
2015-11-17 07:38:20 -06:00