Skip to content

NES: Implement mapper 595 (4MROM) - #310

Open
jordigh wants to merge 1 commit into
nesdev-org:masterfrom
jordigh:FourMROM
Open

jordigh wants to merge 1 commit into
nesdev-org:masterfrom
jordigh:FourMROM

Conversation

@jordigh

@jordigh jordigh commented Nov 30, 2026 •

Copy link
Copy Markdown

This mapper so far has only appeared in Malasombra, as documented by NewRisingSun: https://www.nesdev.org/wiki/NES_2.0_Mapper_595

Its flash usage is similar to UNROM-512, so I copied some functions verbatim. I didn't think it was reasonable to move the duplicate code into a common class, as the amount of duplication is relatively small.

The most interesting feature is that the register for choosing a PRG bank is a shift register, where every intermediate shift also picks a bank.

I agree to submitting this code under the MIT license.

This mapper so far has only appeared in Malasombra, as documented by
NewRisingSun: https://www.nesdev.org/wiki/NES_2.0_Mapper_595

Its flash usage is similar to UNROM-512, so I copied some functions
verbatim. I didn't think it was reasonable to move the duplicate code
into a common class, as the amount of duplication is relatively small.

The most interesting feature is that the register for choosing a PRG
bank is a shift register, where every intermediate shift also picks a
bank.
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