1
0
mirror of https://github.com/fadden/6502bench.git synced 2026-04-20 04:16:47 +00:00

Fix bit rot in sample

Also, use the "uninitialized data" feature in the amper-fdraw
project.
This commit is contained in:
Andy McFadden
2021-11-14 09:18:12 -08:00
parent 4537f24958
commit 399a54efa7
3 changed files with 1237 additions and 235 deletions
File diff suppressed because it is too large Load Diff
@@ -33,6 +33,11 @@ namespace ExtensionScriptSample {
AppDomain.CurrentDomain.Id + "): prepare()");
}
public void Unprepare() {
mAppRef = null;
mFileData = null;
}
public void UpdateSymbolList(List<PlSymbol> plSyms) {
// reset this every time, in case they remove the symbol
mInlineL1StringAddr = -1;
@@ -33,9 +33,15 @@ namespace ExtensionScriptSample {
AppDomain.CurrentDomain.Id + "): prepare()");
}
public void Unprepare() {
mAppRef = null;
mFileData = null;
}
public void UpdateSymbolList(List<PlSymbol> plSyms) {
mNullStringAddrs.Clear();
// Find matching symbols.
foreach (PlSymbol sym in plSyms) {
if (sym.Label.StartsWith(LABEL_PREFIX)) {
mNullStringAddrs.Add(sym.Value, sym);