Skip to content

Fix MBC1M addressing diagram #602

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

Merged
merged 1 commit into from
Jun 14, 2025
Merged

Fix MBC1M addressing diagram #602

merged 1 commit into from
Jun 14, 2025

Conversation

TheThief
Copy link
Contributor

@TheThief TheThief commented Jun 9, 2025

No description provided.

@ISSOtm
Copy link
Member

ISSOtm commented Jun 13, 2025

Is there a source for this we could quote?

@TheThief
Copy link
Contributor Author

TheThief commented Jun 14, 2025

The current diagram directly contradicts the information in the text above it - the text says that in mode 1 banks $00, $10, $20 and $30 can be selected, changing the "zero bank" for games, but the diagram shows it selecting any arbitrary bank, which is something MBC1 can't do even in mode 1. Additionally, MBC1M is just MBC1 but with a single bit disconnected, so the table should be almost the same as the one further up the same file for $0000-$3FFF in a regular MBC1, but with a single bit removed. The table further up has zero in that spot too.

It seems to be an error introduced in the conversion from the old ascii art to the new tables, because the old diagram also said "always 0" for the middle bits: a3f9c08#diff-7e4b4fae3f0cddadcd95ba06293c452188c2dbf8ac964ce2eef35c081998eacdL217-L223

Mooneye's MBC1M test can be cited as confirmation that only the 2 bit bank register is used for the $0000-$3FFF region: https://github.com/Gekkio/mooneye-test-suite/blob/main/emulator-only/mbc1/multicart_rom_8Mb.s#L60-L68 (every two lines are a new value for the 2 bit register, with each separate number being a different value for the 5 bit register - which shows no change because it's not used :)

Copy link
Member

@ISSOtm ISSOtm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good to m,e then. Thank you for taking the time to fix this!

@ISSOtm ISSOtm merged commit 0890edd into gbdev:master Jun 14, 2025
2 of 3 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.

2 participants