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

MMC5 arbitrary WRAM size support via iNES 2 #84

Merged
merged 3 commits into from
Nov 23, 2019

Conversation

bbbradsmith
Copy link
Contributor

@bbbradsmith bbbradsmith commented Nov 17, 2019

MMC5 pinout supports up to 128k (4-bits x 8k), and the register interface supports up to 1MB (7-bits).

Added iNES 2 header support for MMC5 to permit arbitrary WRAM sizes. Without iNES 2 header it will fall back to previous arrangements.

Previously known sizes retain their previous arrangements even with iNES 2, so 8k and 32k bit 2 will still toggle open bus, and 16k bit 2 will still select bank. Behaviour here should not change.

Test ROMs available here: https://forums.nesdev.com/viewtopic.php?p=244062#p244062

@bbbradsmith bbbradsmith merged commit 88d7f39 into TASEmulators:master Nov 23, 2019
@bbbradsmith bbbradsmith deleted the mmc5_ines2_ram branch November 23, 2019 04:30
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.

1 participant