1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-09-11 20:54:37 +00:00
6502bench/CommonUtil
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
AddressMap.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
BitTwiddle.cs Documentation / comment tweaks 2021-09-11 14:12:09 -07:00
CommonUtil.csproj Initial file commit 2018-09-28 10:05:11 -07:00
Container.cs Improve handling of C64 PRG header 2020-10-17 16:45:13 -07:00
CRC32.cs Add file concatenation tool 2019-12-28 17:22:19 -08:00
DebugLog.cs Initial file commit 2018-09-28 10:05:11 -07:00
FileLoadReport.cs Initial file commit 2018-09-28 10:05:11 -07:00
FileUtil.cs Add file concatenation tool 2019-12-28 17:22:19 -08:00
Font8x8.cs Update 8x8 font used by visualizers 2021-07-27 14:22:34 -07:00
Misc.cs Add Data Bank Register management, part 1 2020-07-08 17:56:27 -07:00
RangeSet.cs Experiment on uncategorized data analysis 2019-04-18 15:58:43 -07:00
RawData.cs Add support for points in wireframe meshes 2020-04-11 11:23:16 -07:00
ShellCommand.cs Initial file commit 2018-09-28 10:05:11 -07:00
TaskTimer.cs Initial file commit 2018-09-28 10:05:11 -07:00
TextUtil.cs Update project file formatting 2019-12-31 13:59:08 -08:00
TypedRangeSet.cs Experiment on uncategorized data analysis 2019-04-18 15:58:43 -07:00
UnpackedGif.cs Add animated GIF generation to HTML export 2019-12-24 18:15:03 -08:00
Version.cs Allow explicit widths in project/platform symbols, part 3 2019-10-02 16:50:15 -07:00