Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis in banks yields excessively contextualized pointers #3

Open
kmeisthax opened this issue Feb 21, 2021 · 1 comment
Open

Analysis in banks yields excessively contextualized pointers #3

kmeisthax opened this issue Feb 21, 2021 · 1 comment

Comments

@kmeisthax
Copy link
Owner

kmeisthax commented Feb 21, 2021

In Telefang, disassemble 4:4000. The resulting code will have excessively contextualized pointers, like so:

ENTER_4_4000:
    ld a, [$PR_4!c3e1]
    ld hl, 16394
    call $PR_4!e97
    jp [hl]

The PR_4 is the internal string form of a ROM context on this platform; those are WRAM and HOME pointers though, so their contexts should be stripped when analyzing.

@kmeisthax
Copy link
Owner Author

I've managed to fix actual code references, but I'm not sure where or how to fix data references. Possibly because we don't actually do anything with data references.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant