1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-03 05:49:48 +00:00
6502bench/SourceGen/AsmGen
Andy McFadden 6e9ff395d2 Add offset to PlSymbol
It's useful for extension scripts to be able to get the file offset
of symbols in non-addressable regions.  One example of this is CHR
ROM data for an NES cartridge.  However, we were getting the offset
by doing an address-to-offset mapping on the plugin side, which by
definition doesn't work for non-addressable memory.

So we now add the offset to PlSymbol objects for user labels and
address region pre-labels.  The NES visualizer has been updated to
use the new field.

Also, fixed a bogus complaint about bank overruns for non-addressable
regions.
2021-10-23 21:35:30 -07:00
..
WpfGui
AsmAcme.cs
AsmCc65.cs
AsmMerlin32.cs
AsmTass64.cs
AssemblerConfig.cs
AssemblerInfo.cs
AssemblerVersion.cs
GenCommon.cs Add offset to PlSymbol 2021-10-23 21:35:30 -07:00
IAssembler.cs
IGenerator.cs
LabelLocalizer.cs