Skip to content

Add mapper 474 #54

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add mapper 474 #54

wants to merge 1 commit into from

Conversation

Akeraiotitasoft
Copy link

This is a new mapper that supports extra ROM space compared to the NROM but has no bank switching.

@amhndu
Copy link
Owner

amhndu commented Oct 21, 2024 via email

Copy link
Owner

@amhndu amhndu left a comment

Choose a reason for hiding this comment

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

Please also suggest any games you've tested with, so I can verify as well, thanks!

}
}

Byte MapperNROM::readPRG(Address addr)
Copy link
Owner

Choose a reason for hiding this comment

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

Suggested change
Byte MapperNROM::readPRG(Address addr)
Byte Mapper474::readPRG(Address addr)

Similar for the rest of the functions.

@@ -41,13 +41,34 @@ namespace sn
}
else if (addr < 0x6000)
{
LOG(InfoVerbose) << "Expansion ROM read attempted. This is currently unsupported" << std::endl;
if (m_mapper->getType() == NROM474)
Copy link
Owner

Choose a reason for hiding this comment

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

Can we get rid of the type check and simply call m_mapper? That we leave it to the mapper and the memory bus code remains generic.

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