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

Split into smaller SECTIONs #264

Open
Rangi42 opened this issue Jul 7, 2020 · 1 comment
Open

Split into smaller SECTIONs #264

Rangi42 opened this issue Jul 7, 2020 · 1 comment

Comments

@Rangi42
Copy link
Member

Rangi42 commented Jul 7, 2020

Some banks have many pieces of independent code or data, which could all go in their own SECTIONs with less generic names than "bank1", "bank2", etc. They don't have to be as finely subdivided as possible, e.g. a SECTION "Tilesets 1" is fine even if the individual tilesets in it are independent, but for the large SECTIONs of miscellaneous engine code this could be helpful.

See also: pret/pokecrystal#631 and https://github.com/mid-kid/pokecrystal/tree/splitting

@Rangi42
Copy link
Member Author

Rangi42 commented Jul 7, 2020

"An Exclusive Look At Pokémon's Early Design Documents" at 00:37 gives some insight into the original bank structure:

Pocket Monsters Program Bank List

BANK  0  Global Routine
      1  Others Routine
      2  Music & Sound Effects (Town, Road)
      3  Monsters Image Data 1 (First Type - Front & Back)
      4  Monsters Image Data 2 (First Type - Front & Back)
      5  Map Data 1
      6  Map Data 2
      7  Message
ROM Expand (2M Bit)
      8  Music & Sound Effects (Fight)
      9  Monster Image Data 3 (Second Type - Front & Back)
      A  Monster Image Data 4 (Second Type - Front & Back)
      B  Map Data 3
      C  Map Data 4 (Graphics Change Data... Etc)
      D  Message
      E  Message
      F  Others

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

No branches or pull requests

1 participant