MMC3 WRAM control

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
MMC3 WRAM control
by on (#48791)
- It's breaking Super Mario 3. AFAIK, on writes to A001h, bit 80h=0 disables WRAM reads, bit 40h=1 disables WRAM writes.

- Is this correct?

by on (#48793)
Yes: you're correct about the behavior

But this does not break SMB3. Your problem must be elsewhere.

by on (#48796)
- Bah, never mind. My fault, I've found the problem. Sorry... -_-!

by on (#48797)
I don't know what to tell you. I emulate it as described in my emu and SMB3 works fine.

Try logging writes to $A001 and make sure the game is writing $80. It should be. And double-check your $A001 handling code to make sure you're not making a silly mistake.