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

Calling PRIMM will break when not in ROM bank 0. #351

Open
Yazwh0 opened this issue Aug 17, 2024 · 1 comment
Open

Calling PRIMM will break when not in ROM bank 0. #351

Yazwh0 opened this issue Aug 17, 2024 · 1 comment
Labels
priority-low Low priority. Ok if not completed.

Comments

@Yazwh0
Copy link
Contributor

Yazwh0 commented Aug 17, 2024

Unlike other kernel functions such as BSOUT.

I can understand why, given PRIMM uses data after the return address on the stack, so using the trampoline would be problematic.

@mooinglemur
Copy link
Collaborator

Not sure if this will ever be fixed fully, as PRIMM would have to be modified to understand all possible variations of the jsrfar stack frame in order to unwind it.

It's probably best left as a documentation item for now.

@mooinglemur mooinglemur added the priority-low Low priority. Ok if not completed. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-low Low priority. Ok if not completed.
Projects
None yet
Development

No branches or pull requests

2 participants