1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-06-13 14:29:30 +00:00
6502bench/SourceGen/Tools/Omf
Andy McFadden ea4ddc1071 Address region isolation, part 1
This adds a pair of flags to address regions that control how
address resolution is performed.

Generally, when we're trying to convert an address to a file offset,
we do a depth-first search through the hierarchy of address regions
to find a match.  For certain situations, such as multi-bank ROMs or
when code is executed in a separate subsystem, we don't want the
address resolver to specify an offset for something that's in a
different address space.

The search for a matching address starts from the region where the
address is referenced.  The flags will prevent the search from
progressing "outward" (to parent or sibling regions) or "inward"
(from parent or sibling regions).  Setting both flags effectively
makes the region an island.

Descending farther into the tree is not restricted by the "outward"
flag, i.e. addresses will still be found in child regions (assuming
they don't have the "disallow inward" flag set).

(issue #139)
2024-05-20 14:50:18 -07:00
..
WpfGui Update comments 2023-04-14 13:46:40 -07:00
Loader.cs Address region isolation, part 1 2024-05-20 14:50:18 -07:00
OmfFile.cs Minor updates 2024-03-02 11:17:52 -08:00
OmfRecord.cs Progress toward OMF file handling 2020-06-28 21:10:53 -07:00
OmfReloc.cs Progress toward OMF file handling 2020-06-28 21:10:53 -07:00
OmfSegment.cs Progress toward OMF file handling 2020-06-30 08:20:12 -07:00