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

Identify more system utilities #233

Merged
merged 2 commits into from
Dec 29, 2023
Merged

Identify more system utilities #233

merged 2 commits into from
Dec 29, 2023

Conversation

UsernameFodder
Copy link
Owner

@UsernameFodder UsernameFodder commented Dec 29, 2023

These were found by correlating identical system code between EoS and Pokemon Heart Gold, for which various bits of library code (e.g., the Nitro SDK) are already known.

This is the first of a series of results from this correlation work. Some of the changes included in this commit:

  • init code
  • math utilities for fixed-point numbers, vectors, and matrices
  • graphics utilities

Note: GX_HBlankIntr is not the same between EoS and Heart Gold, but the label was added anyway because it is between GX_Init and GX_VBlankIntr in both games. The latter two functions DO match between games.

This was a BSS symbol defined in the decomp.
These were found by correlating identical system code between EoS and
Pokemon Heart Gold, for which various bits of library code (e.g., the
Nitro SDK) are already known.

This is the first of a series of results from this correlation work.
Some of the changes included in this commit:
- init code
- math utilities for fixed-point numbers, vectors, and matrices
- graphics utilities

Note: GX_HBlankIntr is not the same between EoS and Heart Gold, but the
label was added anyway because it is between GX_Init and GX_VBlankIntr
in both games. The latter two functions DO match between games.
@UsernameFodder UsernameFodder changed the title System functions Identify more system utilities Dec 29, 2023
@UsernameFodder UsernameFodder merged commit b270a0a into master Dec 29, 2023
10 checks passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant