1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/Asm65
Andy McFadden e6c5c7f8df ORG rework, part 6
Added support for non-addressable regions, which are useful for things
like file headers stripped out by the system loader, or chunks that
get loaded into non-addressable graphics RAM.  Regions are specified
with the "NA" address value.  The code list displays the address field
greyed out, starting from zero (which is kind of handy if you want to
know the relative offset within the region).

Putting labels in non-addressable regions doesn't make sense, but
symbol resolution is complicated enough that we really only have two
options: ignore the labels entirely, or allow them but warn of their
presence.  The problem isn't so much the label, which you could
legitimately want to access from an extension script, but rather the
references to them from code or data.  So we keep the label and add a
warning to the Messages list when we see a reference.

Moved NON_ADDR constants to Address class.  AddressMap now has a copy.
This is awkward because Asm65 and CommonUtil don't share.

Updated the asm code generators to understand NON_ADDR, and reworked
the API so that Merlin and cc65 output is correct for nested regions.

Address region changes are now noted in the anattribs array, which
makes certain operations faster than checking the address map.  It
also fixes a failure to recognize mid-instruction region changes in
the code analyzer.

Tweaked handling of synthetic regions, which are non-addressable areas
generated by the linear address map traversal to fill in any "holes".
The address region editor now treats attempts to edit them as
creation of a new region.
2021-09-30 21:11:26 -07:00
..
Properties Initial file commit 2018-09-28 10:05:11 -07:00
Address.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
Asm65.csproj Initial file commit 2018-09-28 10:05:11 -07:00
CharEncoding.cs PETSCII does DCI 2019-08-20 17:55:12 -07:00
CpuDef.cs Add W65C02S support, part 2 2020-10-10 18:34:19 -07:00
Formatter.cs Add W65C02S support, part 3 2020-10-11 14:35:17 -07:00
Helper.cs Add junk/align directives 2019-10-18 21:00:28 -07:00
Label.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
Number.cs Data Bank Register management, part 2 2020-07-09 11:14:55 -07:00
OpDef.cs Documentation / comment tweaks 2021-09-11 14:12:09 -07:00
OpDescription.cs Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
OpName.cs Add W65C02S support, part 1 2020-10-10 15:46:34 -07:00
StatusFlags.cs Fix application of reloc info in data areas 2020-07-07 11:48:51 -07:00
StringOpFormatter.cs Fix DCI string edge case 2021-08-10 14:08:39 -07:00
TriState16.cs Initial file commit 2018-09-28 10:05:11 -07:00