]> Shamusworld >> Repos - rmac/log
rmac
9 months agoVersion bump for last commit. :-) master v2.2.18
Shamus Hammons [Mon, 19 Jun 2023 21:27:57 +0000 (16:27 -0500)]
Version bump for last commit.  :-)

9 months ago- If ^^filesize could not open the requested file, it would show "(null)" as the...
ggn [Sun, 18 Jun 2023 13:05:01 +0000 (16:05 +0300)]
- If ^^filesize could not open the requested file, it would show "(null)" as the filename

- Changed one '#include <...>' to 'include "..."'
- Minor doc additions
- Added 'dirent_lose.c/.h' to Visual Studio project

12 months agoFix to placate the Visual Studio(TM) gods. v2.2.17
Shamus Hammons [Mon, 20 Mar 2023 19:57:12 +0000 (14:57 -0500)]
Fix to placate the Visual Studio(TM) gods.

N.B.: Even MXE (which makes Windows(TM) executables), doesn't need this
      kind of special treatment.  So, meh.  :-/

12 months agoFix bug in d_incbin() (found by ggn). :-) v2.2.16
Shamus Hammons [Mon, 20 Mar 2023 18:22:25 +0000 (13:22 -0500)]
Fix bug in d_incbin() (found by ggn).  :-)

12 months agoVersion bump for last commit. v2.2.15
Shamus Hammons [Sun, 19 Mar 2023 20:40:37 +0000 (15:40 -0500)]
Version bump for last commit.

12 months agoTentative fix for bug #218 - allow unresolved symbols with trivial expressions to...
ggn [Sun, 15 Jan 2023 15:53:15 +0000 (17:53 +0200)]
Tentative fix for bug #218 - allow unresolved symbols with trivial expressions to be exported

15 months agoFixes for bugs #211-213, submitted by Bastian Schick. :-) v2.2.14
Shamus Hammons [Wed, 21 Dec 2022 23:19:36 +0000 (17:19 -0600)]
Fixes for bugs #211-213, submitted by Bastian Schick.  :-)

15 months agoFix for #210 - 6502 mode with -fr working v2.2.13
ggn [Wed, 26 Oct 2022 18:30:21 +0000 (21:30 +0300)]
Fix for #210 - 6502 mode with -fr working

15 months agoFix for #209 - forbid exporting expressions with unresolved symbols v2.2.12
ggn [Mon, 17 Oct 2022 16:49:32 +0000 (19:49 +0300)]
Fix for #209 - forbid exporting expressions with unresolved symbols

15 months agoFiles missed in the last commit. :-P v2.2.11
Shamus Hammons [Wed, 21 Dec 2022 22:37:53 +0000 (16:37 -0600)]
Files missed in the last commit.  :-P

15 months agoAdded support for C64 .PRG output format (#194)
ggn [Tue, 20 Dec 2022 21:48:39 +0000 (23:48 +0200)]
Added support for C64 .PRG output format (#194)

15 months agoFix for #216 - add token scanner to assist ea expression parsing v2.2.10
ggn [Mon, 19 Dec 2022 15:03:58 +0000 (17:03 +0200)]
Fix for #216 - add token scanner to assist ea expression parsing

15 months agoRewrote .incbin's parsing and checks for position and size to increase robustness v2.2.9
ggn [Mon, 19 Dec 2022 11:09:06 +0000 (13:09 +0200)]
Rewrote .incbin's parsing and checks for position and size to increase robustness

15 months agoFix for #199 - stop tokenising after the first symbol when inside a disabled code... v2.2.8
ggn [Tue, 20 Dec 2022 19:39:51 +0000 (21:39 +0200)]
Fix for #199 - stop tokenising after the first symbol when inside a disabled code blcok

20 months agoVersion bump for last commit. v2.2.7
Shamus Hammons [Tue, 16 Aug 2022 17:26:58 +0000 (12:26 -0500)]
Version bump for last commit.

20 months agoFix ccdef
James Jones [Mon, 15 Aug 2022 05:54:18 +0000 (22:54 -0700)]
Fix ccdef

ccdef was broken by the following commit:

  commit 7d748dc6e2259984c9093c48d84ae1ed280632ad
  Author: ggn <ggn@atari.org>
  Date:   Thu Mar 24 13:28:09 2022 +0200

      Fix for #159: Split register sets according to architecture into
      different tables so they don't clash with label/symbol names.
      Modified tokeniser to use different tables when scanning for
      registers

This change fixes it by moving the ccdef and .ccdef
tokens from the unary table to the keyword table.

20 months agoVersion bump for last commit. v2.2.6
Shamus Hammons [Tue, 16 Aug 2022 17:22:11 +0000 (12:22 -0500)]
Version bump for last commit.

20 months agoIntroducing .align directive, thanks to Bastian Schick for most of the implementation...
ggn [Tue, 16 Aug 2022 06:20:04 +0000 (09:20 +0300)]
Introducing .align directive, thanks to Bastian Schick for most of the implementation. Also, updated documentation and Windows script

20 months agoVersion bump for last round of patches. v2.2.5
Shamus Hammons [Tue, 16 Aug 2022 02:09:13 +0000 (21:09 -0500)]
Version bump for last round of patches.

20 months agoSupport -g debug info generation
James Jones [Mon, 18 Jul 2022 07:35:28 +0000 (00:35 -0700)]
Support -g debug info generation

-Add GenLineNoSym(), which will generate debug
 symbols for file names and line numbers when
 debug info generation is requested.

-Replace code that warns -g is not supported with
 code to set a flag.

-Complain if -g is specified for non-BSD output
 formats, as only stabs-in-symbol-table/a.out
 format debug information is supported currently.

-Document -g flag in usage information function.

-Document -g flag in manual.

v2:
-Only call debug symbol generation functions when
 dbg_sym != 0

20 months agoAdd NewDebugSymbol(): stabs symbol factory
James Jones [Mon, 18 Jul 2022 06:20:21 +0000 (23:20 -0700)]
Add NewDebugSymbol(): stabs symbol factory

This function, currently unused, generates a stabs
debugging symbol, as documented here:

https://sourceware.org/gdb/onlinedocs/stabs.html

It can be used to process stabs directives, also
documented at the above URL, generated by HLL
compilers such as GCC, as well as to generate line
number and file name debug symbols when assembling
hand-coded assembly files with the -g option.

v2:
-Don't double-init stabs symbol fields
-Consistently use tabs, not spaces

21 months agoVersion bump for latest commits. v2.2.4
Shamus Hammons [Mon, 27 Jun 2022 16:54:39 +0000 (11:54 -0500)]
Version bump for latest commits.

21 months agoFix for #203. Thanks to Steven Tattersall for the report.
ggn [Sun, 19 Jun 2022 20:16:23 +0000 (23:16 +0300)]
Fix for #203. Thanks to Steven Tattersall for the report.

21 months agoFix pack/unpack instructions
James Jones [Mon, 13 Jun 2022 03:54:39 +0000 (20:54 -0700)]
Fix pack/unpack instructions

The GPU-specific PACK and UNPACK instructions
share opcode 63. PACK is chosen by encoding '0'
in the source operand, and UNPACK is chosen by
encoding '1' in the source operand. RMAC had the
magic source operand values reversed.

21 months agoAdded "-4" switch that enables C style operator precedence (original work by Bastian...
ggn [Tue, 31 May 2022 19:42:55 +0000 (22:42 +0300)]
Added "-4" switch that enables C style operator precedence (original work by Bastian Schick)

21 months agoMinor fix to kill unnecessary field YPOS in gpuobj in the OP assembler. v2.2.3
Shamus Hammons [Mon, 27 Jun 2022 13:44:00 +0000 (08:44 -0500)]
Minor fix to kill unnecessary field YPOS in gpuobj in the OP assembler.

Turns out that the documentation we relied on was bogus; SCPCD confirmed
this (from the Jaguar netlists) as well.  Thanks to Bastian (42bs) for
the patch!  :-)

22 months agoFix to prevent defined registers/CCs from being exported in the symtab. v2.2.2
Shamus Hammons [Mon, 30 May 2022 22:40:19 +0000 (17:40 -0500)]
Fix to prevent defined registers/CCs from being exported in the symtab.

As it turns out, this was not due to malice but because RMAC was set up
to squeeze out every label ever defined in the assembly.  Hopefully,
with this patch, things should be a bit more sane.  :-)

22 months agoAdded more things to .gitignore. \o/ v2.2.1
Shamus Hammons [Mon, 30 May 2022 20:04:58 +0000 (15:04 -0500)]
Added more things to .gitignore.  \o/

22 months agoRemoved redundant table
ggn [Thu, 24 Mar 2022 11:43:45 +0000 (13:43 +0200)]
Removed redundant table

22 months agoPrinting a listing with -l* now doesn't print \f characters when printing the symbol...
ggn [Thu, 24 Mar 2022 11:29:40 +0000 (13:29 +0200)]
Printing a listing with -l* now doesn't print \f characters when printing the symbol table.

22 months agoFix for #159: Split register sets according to architecture into different tables...
ggn [Thu, 24 Mar 2022 11:28:09 +0000 (13:28 +0200)]
Fix for #159: Split register sets according to architecture into different tables so they don't clash with label/symbol names. Modified tokeniser to use different tables when scanning for registers

22 months agoGet rid of some old and deprecated macros
ggn [Thu, 24 Mar 2022 10:29:46 +0000 (12:29 +0200)]
Get rid of some old and deprecated macros

22 months agoVersion bump for following patch.
Shamus Hammons [Mon, 30 May 2022 19:53:46 +0000 (14:53 -0500)]
Version bump for following patch.

22 months agoAdded missing intern error text, version bump for last round of patches. v2.2.0
Shamus Hammons [Mon, 30 May 2022 19:30:11 +0000 (14:30 -0500)]
Added missing intern error text, version bump for last round of patches.

22 months agoAddendum for #193: Do less tokenisation processing when inside a disabled code block
ggn [Sun, 17 Apr 2022 06:48:35 +0000 (09:48 +0300)]
Addendum for #193: Do less tokenisation processing when inside a disabled code block

22 months ago.equr overhaul part 5: enabled .equr for all registers for all architectures
ggn [Mon, 7 Mar 2022 18:36:37 +0000 (20:36 +0200)]
.equr overhaul part 5: enabled .equr for all registers for all architectures

22 months agoRemoved some dead code, as well as all gpu/dsp regbank check code (not only it was...
ggn [Mon, 7 Mar 2022 17:49:09 +0000 (19:49 +0200)]
Removed some dead code, as well as all gpu/dsp regbank check code (not only it was complicated, it also was very incomplete - for example: no bank checks were performed during fixups)

22 months agoFix for ^^filesize (these kind of hacks need to go in the long game)
ggn [Mon, 7 Mar 2022 16:52:24 +0000 (18:52 +0200)]
Fix for ^^filesize (these kind of hacks need to go in the long game)

22 months ago.equr overhaul part 4: handle equrundef (and the other permutations of the directive)
ggn [Mon, 7 Mar 2022 16:50:33 +0000 (18:50 +0200)]
.equr overhaul part 4: handle equrundef (and the other permutations of the directive)

22 months ago.equr overhaul part 3: store and handle banks in .equr evaluation
ggn [Sun, 6 Mar 2022 21:42:43 +0000 (23:42 +0200)]
.equr overhaul part 3: store and handle banks in .equr evaluation

22 months ago.equr overhaul part 2: added equr evaluation during parsing. So far the gpu/dsp test...
ggn [Sun, 6 Mar 2022 19:37:58 +0000 (21:37 +0200)]
.equr overhaul part 2: added equr evaluation during parsing. So far the gpu/dsp test seems to assemble fine

22 months ago.equr overhaul part 1: remove gpu/dsp only restriction, make sure things still work...
ggn [Sun, 6 Mar 2022 18:07:19 +0000 (20:07 +0200)]
.equr overhaul part 1: remove gpu/dsp only restriction, make sure things still work (they do, but exported equrs do not match, which is weird considering they shouldn't be exported in the first place)

22 months agoVersion bump for latest patches. v2.1.14
Shamus Hammons [Mon, 30 May 2022 18:59:52 +0000 (13:59 -0500)]
Version bump for latest patches.

22 months agoDocumentation changes missing from last commit. :-P
Shamus Hammons [Mon, 30 May 2022 18:17:20 +0000 (13:17 -0500)]
Documentation changes missing from last commit.  :-P

22 months agoFixed a wrong optimisation switch test, corrected some messages, updated docs
ggn [Sun, 17 Apr 2022 08:40:46 +0000 (11:40 +0300)]
Fixed a wrong optimisation switch test, corrected some messages, updated docs

22 months agoProposed fix for bug #182 (ds.X doesn't work with relative expressions)
ggn [Sat, 6 Mar 2021 18:18:43 +0000 (20:18 +0200)]
Proposed fix for bug #182 (ds.X doesn't work with relative expressions)

22 months agoUpdate .s documentation
ggn [Sun, 17 Apr 2022 09:41:45 +0000 (12:41 +0300)]
Update .s documentation

2 years agoVersion bump for latest patches. v2.1.13
Shamus Hammons [Sat, 30 Oct 2021 15:24:34 +0000 (10:24 -0500)]
Version bump for latest patches.

2 years agoFix for incbin not including the exact requested bytes if offset is non zero
ggn [Mon, 11 Oct 2021 16:51:47 +0000 (19:51 +0300)]
Fix for incbin not including the exact requested bytes if offset is non zero

2 years agoAdded more descriptive names for internal errors. Thanks to Jean-Paul Mari for the...
ggn [Sun, 17 Oct 2021 09:10:32 +0000 (12:10 +0300)]
Added more descriptive names for internal errors. Thanks to Jean-Paul Mari for the patch

2 years agoPotential fix for bug #175: don't add EQURd symbols to the export list when exporting...
ggn [Mon, 18 Oct 2021 15:25:29 +0000 (18:25 +0300)]
Potential fix for bug #175: don't add EQURd symbols to the export list when exporting to ELF

2 years agoVersion bump for latest commits. v2.1.12
Shamus Hammons [Fri, 20 Aug 2021 15:57:53 +0000 (10:57 -0500)]
Version bump for latest commits.

2 years agoAdd new optimisation switches for 56001 mode that were missing. Added warnings to...
ggn [Fri, 16 Jul 2021 12:04:22 +0000 (15:04 +0300)]
Add new optimisation switches for 56001 mode that were missing. Added warnings to all optimisation messages, as well as mention which switch caused the optimisation. Moved opt +op to opt +30 (Issue #185)

2 years agoAddresses issue #185 - all optimisations off by default
ggn [Thu, 15 Jul 2021 16:08:10 +0000 (19:08 +0300)]
Addresses issue #185 - all optimisations off by default

2 years agoVersion bump for last commit. v2.1.11
Shamus Hammons [Fri, 20 Aug 2021 15:12:07 +0000 (10:12 -0500)]
Version bump for last commit.

2 years agoFix for bug #187 - add more strict checks for .incbin sizes
ggn [Sat, 14 Aug 2021 15:11:17 +0000 (18:11 +0300)]
Fix for bug #187 - add more strict checks for .incbin sizes

2 years agoVersion bump for last commit. v2.1.10
Shamus Hammons [Fri, 20 Aug 2021 15:08:24 +0000 (10:08 -0500)]
Version bump for last commit.

2 years agoRemove all remaining traces of "as68_flag" from the codebase (issue #186)
ggn [Thu, 15 Jul 2021 16:39:44 +0000 (19:39 +0300)]
Remove all remaining traces of "as68_flag" from the codebase (issue #186)

2 years agoVersion bump for last commit. v2.1.9
Shamus Hammons [Fri, 20 Aug 2021 14:59:30 +0000 (09:59 -0500)]
Version bump for last commit.

2 years agoExpand \~ in .REPTs to unique label names as in macros. (issue #75)
ggn [Tue, 31 Oct 2017 09:33:02 +0000 (11:33 +0200)]
Expand \~ in .REPTs to unique label names as in macros. (issue #75)

2 years agoSmall fix that should have gone into the last commit. :-P
Shamus Hammons [Wed, 9 Jun 2021 01:48:19 +0000 (20:48 -0500)]
Small fix that should have gone into the last commit.  :-P

2 years agoVersion bump for last commit. v2.1.8
Shamus Hammons [Wed, 9 Jun 2021 01:45:29 +0000 (20:45 -0500)]
Version bump for last commit.

2 years agoFix for bug #174 - when a macro contains an error, actually print the filename it...
ggn [Wed, 2 Sep 2020 19:49:42 +0000 (22:49 +0300)]
Fix for bug #174 - when a macro contains an error, actually print the filename it was defined in, instead of current filename

2 years agoVersion bump for last commit. v2.1.7
Shamus Hammons [Wed, 9 Jun 2021 01:21:16 +0000 (20:21 -0500)]
Version bump for last commit.

2 years agoFix for bug #181 (goto was never working corectly)
ggn [Sat, 6 Mar 2021 08:56:03 +0000 (10:56 +0200)]
Fix for bug #181 (goto was never working corectly)

2 years agoFix for issue #179: Don't touch o10 when +/~Oall is called. Made the o10 error messag... v2.1.6
ggn [Sun, 8 Nov 2020 14:27:45 +0000 (16:27 +0200)]
Fix for issue #179: Don't touch o10 when +/~Oall is called. Made the o10 error message more verbose. Updated documentation.

2 years agoVersion bump for last commit. v2.1.5
Shamus Hammons [Wed, 9 Jun 2021 00:50:10 +0000 (19:50 -0500)]
Version bump for last commit.

2 years agoProduce error when ".opt +o" or ".opt ~o" is encountered. Also, small doc additions
ggn [Tue, 13 Oct 2020 17:06:35 +0000 (20:06 +0300)]
Produce error when ".opt +o" or ".opt ~o" is encountered. Also, small doc additions

2 years agoSomehow these files slipped through the cracks... :-/
Shamus Hammons [Wed, 9 Jun 2021 00:41:45 +0000 (19:41 -0500)]
Somehow these files slipped through the cracks...  :-/

2 years agoFix for bug #176: During AddFixup(), evaluate as much of the expression as possible... v2.1.4
ggn [Mon, 12 Oct 2020 10:16:33 +0000 (13:16 +0300)]
Fix for bug #176: During AddFixup(), evaluate as much of the expression as possible to avoid changed symbols during the fixup pass

2 years agoVersion bump for last commit. v2.1.3
Shamus Hammons [Wed, 9 Jun 2021 00:05:30 +0000 (19:05 -0500)]
Version bump for last commit.

2 years agoFix for bug #173 - expressions that contain "*" are treated as absolute when ORG...
ggn [Tue, 1 Sep 2020 06:44:56 +0000 (09:44 +0300)]
Fix for bug #173 - expressions that contain "*" are treated as absolute when ORG is active. Also small cleanup of expr.c and doc update

2 years agoVersion bump for last commit. v2.1.2
Shamus Hammons [Tue, 8 Jun 2021 23:34:52 +0000 (18:34 -0500)]
Version bump for last commit.

2 years agoTreat ':' as a path separator on non-Windows platforms
James Jones [Thu, 27 Aug 2020 05:46:16 +0000 (22:46 -0700)]
Treat ':' as a path separator on non-Windows platforms

In addition to ';', allow the use of ':' as a path
separator in RMACPATH, the -i parameter, and any
other uses of nthpath. This makes rmac more
consistent with standard Unix tool behavior on
Unix-like systems.

2 years agoHarden RISC register parser and simplify expression evaluator. v2.1.1
Shamus Hammons [Tue, 8 Jun 2021 03:42:33 +0000 (22:42 -0500)]
Harden RISC register parser and simplify expression evaluator.

The bulk of this patch is ggn's; I rolled a few more macros after I
realized that the EOL check in the RISC assembler required checking its
return value as well as EvaluateRegisterFromTokenStream()'s.  :-/

3 years agoUpdate to the name (don't ask), and copyright dates. Now at v2.1.0. v2.1.0
Shamus Hammons [Sun, 7 Mar 2021 22:43:25 +0000 (16:43 -0600)]
Update to the name (don't ask), and copyright dates.  Now at v2.1.0.

3 years agoVersion bump for last commit; now at v2.0.23.
Shamus Hammons [Tue, 29 Sep 2020 03:05:23 +0000 (22:05 -0500)]
Version bump for last commit; now at v2.0.23.

3 years agoFix RMACPATH
James Jones [Thu, 27 Aug 2020 05:19:26 +0000 (22:19 -0700)]
Fix RMACPATH

Commit 9ecc6f5e49e1740adee78dd45e1115c7e4fcc314
(Fix for bug #167) fixed specifying multiple
include directories on the command line, but in
doing so broke specifying any include directories
via the RMACPATH environment variable.  Fix this
by restoring the old behavior of searchpath being
NULL if -i/-I were not specified.

3 years agoFix for bug #51. Now at v2.0.22.
Shamus Hammons [Tue, 29 Sep 2020 02:41:40 +0000 (21:41 -0500)]
Fix for bug #51.  Now at v2.0.22.

We bumped the # of tokens in the TOKENSTREAM structure from 32 to 64,
but also added some logic to the macro invocation code to check if we
break the limits and thus don't crash.  Will 64 be enough?  My crystal
ball is cloudy ATM...  :-P

3 years agoVersion bump for last commit; now at v2.0.21.
Shamus Hammons [Sun, 16 Aug 2020 21:43:05 +0000 (16:43 -0500)]
Version bump for last commit; now at v2.0.21.

3 years agoFix for bug #170 - ELF output module exports global,defined symbols as undefined
ggn [Sat, 8 Aug 2020 14:17:56 +0000 (17:17 +0300)]
Fix for bug #170 - ELF output module exports global,defined symbols as undefined

Signed-off-by: ggn <ggn.dbug@gmail.com>
3 years agoVersion bump for last commit; now a v2.0.20.;35M;35m
Shamus Hammons [Mon, 3 Aug 2020 17:28:57 +0000 (12:28 -0500)]
Version bump for last commit; now a v2.0.20.;35M;35m

3 years agoFix for bug #167
ggn [Thu, 23 Jul 2020 13:40:21 +0000 (16:40 +0300)]
Fix for bug #167

3 years agoVersion bump + cleanup for last commit; now at v2.0.19.
Shamus Hammons [Mon, 3 Aug 2020 17:16:38 +0000 (12:16 -0500)]
Version bump + cleanup for last commit; now at v2.0.19.

3 years agoSome clarifications in the docs regarding warnings and optimisations
ggn [Sat, 18 Jul 2020 17:47:31 +0000 (20:47 +0300)]
Some clarifications in the docs regarding warnings and optimisations

3 years agoRemove unused variables in amode.c
ggn [Sat, 18 Jul 2020 17:26:23 +0000 (20:26 +0300)]
Remove unused variables in amode.c

3 years agoFix move <ea>,<ea020> code generation
ggn [Sat, 18 Jul 2020 17:25:56 +0000 (20:25 +0300)]
Fix move <ea>,<ea020> code generation

3 years agoFix a bug in +o5 where outer displacement would not optimise to word size
ggn [Sat, 18 Jul 2020 16:34:16 +0000 (19:34 +0300)]
Fix a bug in +o5 where outer displacement would not optimise to word size

3 years agoTidy up ([bd,An/PC],Xn.W/L...) size and scale parse code
ggn [Sat, 18 Jul 2020 16:17:11 +0000 (19:17 +0300)]
Tidy up ([bd,An/PC],Xn.W/L...) size and scale parse code

3 years agoAll size optimisation warnings are hidden by default unless rmac is invoked with...
ggn [Sat, 18 Jul 2020 15:26:53 +0000 (18:26 +0300)]
All size optimisation warnings are hidden by default unless rmac is invoked with '-s' (TODO: add optimisation flag(s) for these)

3 years agoTighten up ea parsing for 020+ ea modes: PC relative 020+ modes are not allowed in...
ggn [Sat, 18 Jul 2020 15:15:43 +0000 (18:15 +0300)]
Tighten up ea parsing for 020+ ea modes: PC relative 020+ modes are not allowed in the destination field

3 years agoIn ([bd,An/PC],Xn,od) parsing check for forced .w first and fall back to .l otherwise...
ggn [Sat, 18 Jul 2020 15:13:49 +0000 (18:13 +0300)]
In ([bd,An/PC],Xn,od) parsing check for forced .w first and fall back to .l otherwise (worst case .l might get optimised to .w)

3 years agoReign in internal help back to 80 columns. :-P
Shamus Hammons [Mon, 20 Jul 2020 14:45:09 +0000 (09:45 -0500)]
Reign in internal help back to 80 columns.  :-P

3 years agoVersion bump for last commit + ws cleanups. Now at v2.0.18.
Shamus Hammons [Fri, 17 Jul 2020 23:45:33 +0000 (18:45 -0500)]
Version bump for last commit + ws cleanups.  Now at v2.0.18.

3 years agoSlight revamp of the optimisation system, featuring: strengthened flag parser, slight...
ggn [Fri, 17 Jul 2020 20:23:08 +0000 (23:23 +0300)]
Slight revamp of the optimisation system, featuring: strengthened flag parser, slight merge of two 020+ flags, fixes for +o6,+o8,+o9 and maybe more!

3 years agoFix for bug #165: apply checks when transforming adda to lea, and also negate value...
ggn [Thu, 16 Jul 2020 13:15:54 +0000 (16:15 +0300)]
Fix for bug #165: apply checks when transforming adda to lea, and also negate value in the case of suba

3 years agoUpdates to the manual for .opt and .incbin
ggn [Wed, 15 Jul 2020 15:05:00 +0000 (18:05 +0300)]
Updates to the manual for .opt and .incbin

3 years agoFix for bug #157 (token buffer overflow with long lines).
Shamus Hammons [Fri, 17 Jul 2020 23:05:25 +0000 (18:05 -0500)]
Fix for bug #157 (token buffer overflow with long lines).

Also fixed a bug reported by swapd0 where a source file was longer than
65535 lines.  Now at v2.0.17.

3 years agoAdd sanity checks to input line tokenizer. Probably will need more.
Shamus Hammons [Sat, 4 Jul 2020 17:29:20 +0000 (12:29 -0500)]
Add sanity checks to input line tokenizer.  Probably will need more.

3 years agoFix a small buglet in the last patch. :-)
Shamus Hammons [Sat, 4 Jul 2020 16:35:44 +0000 (11:35 -0500)]
Fix a small buglet in the last patch.  :-)