1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen
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
..
AsmGen ORG rework, part 6 2021-09-30 21:11:26 -07:00
Examples Add multi-inline extension script to tutorial 2021-08-15 10:00:00 -07:00
Properties
Res ORG rework, part 6 2021-09-30 21:11:26 -07:00
RuntimeData Fix L1/L2 ASCII string editing 2021-09-12 09:46:55 -07:00
Sandbox ORG rework, part 1 2021-09-16 17:02:19 -07:00
SGTestData ORG rework, part 3 2021-09-22 15:28:11 -07:00
Tests Fix 64tass output for non-loadable files 2021-08-01 17:21:20 -07:00
Tools ORG rework, part 4 2021-09-26 17:17:54 -07:00
WpfGui ORG rework, part 6 2021-09-30 21:11:26 -07:00
Anattrib.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
App.config
App.xaml Improve visualization 2019-12-04 15:59:37 -08:00
App.xaml.cs Version 1.7.5 2021-08-16 12:38:58 -07:00
AppSettings.cs Split "show cycle counts" in two 2020-08-27 13:59:53 -07:00
AutoLabel.cs Label rework, part 1 2019-11-08 21:02:15 -08:00
ChangeSet.cs
CodeAnalysis.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
DataAnalysis.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
DefSymbol.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
DisasmProject.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
DisplayList.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
DisplayListSelection.cs
Exporter.cs ORG rework, part 3 2021-09-22 15:28:11 -07:00
ExternalFile.cs
FormatDescriptor.cs Fix junk alignment check 2019-10-23 13:25:50 -07:00
FormattedOperandCache.cs
HelpAccess.cs
LineListGen.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
LocalVariableLookup.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
LocalVariableTable.cs Fix various local variable de-duplication bugs 2020-01-13 18:32:56 -08:00
MainController.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
MessageList.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
MultiLineComment.cs Tweak line folding code 2019-11-01 19:47:56 -07:00
NavStack.cs Tweak navigation 2019-10-10 11:57:36 -07:00
PlatformSymbols.cs Expand 20152-local-variables test 2021-07-20 11:28:26 -07:00
ProjectFile.cs ORG rework, part 5 2021-09-27 18:13:06 -07:00
ProjectProperties.cs Default "smart PLP handling" to off 2020-07-24 21:38:45 -07:00
PseudoOp.cs ORG rework, part 3 2021-09-22 15:28:11 -07:00
RenderAddressMap.cs ORG rework, part 6 2021-09-30 21:11:26 -07:00
RuntimeDataAccess.cs
Sgec.cs SGEC tweaks 2020-07-16 10:14:28 -07:00
SourceGen.csproj ORG rework, part 5 2021-09-27 18:13:06 -07:00
Symbol.cs Fix symbol entry bug in operand editors 2019-12-26 11:04:37 -08:00
SymbolTable.cs Prefer narrower project/platform symbols 2020-01-23 10:49:22 -08:00
SystemDefaults.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
SystemDefs.cs Progress toward OMF file handling 2020-06-30 08:20:12 -07:00
UndoableChange.cs ORG rework, part 4 2021-09-26 17:17:54 -07:00
VisBitmapAnimation.cs Progress toward wireframe animations 2020-03-08 17:05:08 -07:00
Visualization.cs Add Export feature to visualization editor 2020-06-20 17:32:57 -07:00
VisualizationSet.cs Add a progress bar to HTML export 2020-03-15 14:07:05 -07:00
VisWireframeAnimation.cs Add Atari AVG visualizer 2020-04-11 17:24:21 -07:00
WeakSymbolRef.cs
WireframeObject.cs Consolidate wireframe data validation 2020-04-23 11:25:45 -07:00
XrefSet.cs Show "ptr" for pointer use in cross-reference list 2020-09-04 13:26:41 -07:00