Skip to content
This repository was archived by the owner on Oct 5, 2025. It is now read-only.

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.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants