1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-07-31 07:29:00 +00:00
6502bench/SourceGen
Andy McFadden 0fc121c9cb Add ability to "erase" previously-defined platform symbols
While disassembling some code I found that I wanted the ROM entry
points, but the zero page usage was significantly different and the
ROM labels were distracting.  Splitting the symbol file in two was
a possibility, but I'm afraid this will lead to a very large
collection of very small files, and we'll lose any sense of relation
between the ROM entry points and the ZP addresses used to pass
arguments.

Platform symbols have the lowest priority when resolving by address,
but using that to hide the unwanted labels requires creating project
symbols or local variables for things that you might not know what
they do yet.  It's possible to hide a platform symbol by adding
another symbol with the same label and an invalid value.

This change formalizes and extends the "hiding" of platform symbols
to full erasure, so that they don't clutter up the symbol table.
This also tightens up the platform symbol parser to only accept
values in the range 0 <= value <= 0x00ffffff (24-bit positive
integers).

An "F8-ROM-nozp" symbol file is now part of the standard set.  A
project can include that to erase the zero-page definitions.

(I'm not entirely convinced this is the right approach, so I'm not
doing this treatment on other symbol files... consider this an
experiment.  Another approach would be some sort of conditional
inclusion, or perhaps erase-by-tag, but that requires some UI work
in the app to define what you want included or excluded.)
2019-10-27 11:09:16 -07:00
..
AsmGen Fix junk alignment check 2019-10-23 13:25:50 -07:00
Examples Add scripts and inline data to tutorials 2019-10-23 14:52:52 -07:00
Properties Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
Res Open damaged projects in read-only mode 2019-10-26 13:20:54 -07:00
RuntimeData Add ability to "erase" previously-defined platform symbols 2019-10-27 11:09:16 -07:00
Sandbox Invoke extension scripts when labels they care about change 2019-10-13 18:32:53 -07:00
SGTestData Add a blank line between constants and addresses 2019-10-22 22:45:13 -07:00
Tests Add issues & limitations for scripts to manual 2019-10-07 17:56:35 -07:00
Tools Minor updates 2019-10-25 18:16:09 -07:00
WpfGui Fix visibility binding 2019-10-27 10:38:29 -07:00
Anattrib.cs Correctly handle embedded instruction edge case 2019-10-19 17:28:45 -07:00
App.config Fix startup issues 2019-07-20 17:36:12 -07:00
App.xaml Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
App.xaml.cs Version 1.4.0-alpha1 2019-10-25 18:17:25 -07:00
AppSettings.cs Add instruction chart 2019-10-21 15:15:09 -07:00
AutoLabel.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
ChangeSet.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
CodeAnalysis.cs Correctly handle embedded instruction edge case 2019-10-19 17:28:45 -07:00
DataAnalysis.cs Check formatted string structure at load time 2019-10-06 17:07:07 -07:00
DefSymbol.cs Fix constants declared with MULTI_MASK 2019-10-18 16:19:42 -07:00
DisasmProject.cs Add ability to "erase" previously-defined platform symbols 2019-10-27 11:09:16 -07:00
DisplayList.cs Init all FormattedParts strings fields to an empty string 2019-10-06 15:24:22 -07:00
DisplayListSelection.cs Add C64 encodings to instruction and data operand editors 2019-08-15 17:53:12 -07:00
Exporter.cs Init all FormattedParts strings fields to an empty string 2019-10-06 15:24:22 -07:00
ExternalFile.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
FormatDescriptor.cs Fix junk alignment check 2019-10-23 13:25:50 -07:00
FormattedOperandCache.cs Add a string operand cache 2019-08-17 17:03:06 -07:00
HelpAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
LineListGen.cs Experiment with showing character value next to default data 2019-10-23 13:02:31 -07:00
LocalVariableLookup.cs Instruction operand editor rework, part 2 2019-09-07 20:56:43 -07:00
LocalVariableTable.cs Improve the "info" panel 2019-10-22 21:27:49 -07:00
MainController.cs Minor tweaks 2019-10-26 23:34:51 -07:00
MessageList.cs Add message list, part 2 (of 2) 2019-10-20 18:02:23 -07:00
MultiLineComment.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
NavStack.cs Tweak navigation 2019-10-10 11:57:36 -07:00
PlatformSymbols.cs Add ability to "erase" previously-defined platform symbols 2019-10-27 11:09:16 -07:00
ProjectFile.cs Add junk/align directives 2019-10-18 21:00:28 -07:00
ProjectProperties.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
PseudoOp.cs Improve the "info" panel 2019-10-22 21:27:49 -07:00
RuntimeDataAccess.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
SourceGen.csproj Add an Applesoft to HTML converter 2019-10-23 17:49:59 -07:00
Symbol.cs Improve the "info" panel 2019-10-22 21:27:49 -07:00
SymbolTable.cs Improve the "info" panel 2019-10-22 21:27:49 -07:00
SystemDefaults.cs Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00
SystemDefs.cs Move WPF code from SourceGenWPF to SourceGen 2019-07-20 13:28:37 -07:00
UndoableChange.cs Add LocalVariableTable list to project 2019-08-26 16:58:53 -07:00
WeakSymbolRef.cs Add local variable uniquification 2019-08-31 14:19:50 -07:00
XrefSet.cs Instruction operand editor rework, part 2 2019-09-07 20:56:43 -07:00