1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-08-19 20:29:36 +00:00
6502bench/SourceGen/RuntimeData/Apple
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
..
A3-IO.sym65 More Apple /// details 2018-09-29 00:31:32 -04:00
A3-ROM.sym65 More Apple /// details 2018-09-29 00:31:32 -04:00
Apple1.sym65 Add Apple-1 symbols 2019-10-26 08:28:49 -07:00
Applesoft.sym65 Update Apple II data files 2019-10-03 15:18:59 -07:00
Cxxx-IO.sym65 Minor tweaks 2019-10-21 17:43:40 -07:00
DOS33.sym65 Update Apple II data files 2019-10-03 15:18:59 -07:00
F8-ROM-nozp.sym65 Add ability to "erase" previously-defined platform symbols 2019-10-27 11:09:16 -07:00
F8-ROM.sym65 Minor tweaks 2019-10-26 23:34:51 -07:00
GSOS.cs Pass operand to extension script JSR/JSL handlers 2019-10-17 13:15:25 -07:00
GSOS.sym65 Initial file commit 2018-09-28 10:05:11 -07:00
IIgs-ROM.sym65 Initial file commit 2018-09-28 10:05:11 -07:00
IIgs-Toolbox.cs Pass operand to extension script JSR/JSL handlers 2019-10-17 13:15:25 -07:00
ProDOS8.cs Pass operand to extension script JSR/JSL handlers 2019-10-17 13:15:25 -07:00
ProDOS8.sym65 Minor tweaks 2019-10-26 23:34:51 -07:00
SOS.cs Invoke extension scripts when labels they care about change 2019-10-13 18:32:53 -07:00
SOS.sym65 Optionally treat BRKs as two-byte instructions 2019-10-09 14:55:56 -07:00