aboutsummaryrefslogtreecommitdiff
path: root/crates/readrom
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-16 15:46:21 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-16 16:10:15 +0100
commit1d0bb4d384d391b5603622d813a63cb192e0defb (patch)
treec5800c99e8657d1dade5b5f0eb13e7ee575abecd /crates/readrom
parent7ade650065a2693f41e3a858bfb25881bac06e9d (diff)
downloadtools.nes-1d0bb4d384d391b5603622d813a63cb192e0defb.tar.gz
tools.nes-1d0bb4d384d391b5603622d813a63cb192e0defb.zip
Fix the mapping of addresses on labels
There was a big missunderstanding on how things were to be laid out in the end file, and so it was needed to create a proper understanding on what's a Mapping and what's a Segment. These turned out to be fundamental concepts that I failed to grok up until this commit. Hence, this commit re-arranges completely how variables and labels are stored in the Context, and how these objects can then be translated into bundles that can be spit out to the caller. This commit, besides introducing the new Mapping struct, also introduced a more general Object, which abstracts things from the Bundle struct, and allows us to pass certain metadata about the bundle at hand. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates/readrom')
0 files changed, 0 insertions, 0 deletions