NES: Fix N163 internal RAM address auto-increasement wrapping behavior#102
NES: Fix N163 internal RAM address auto-increasement wrapping behavior#102HeeminTV wants to merge 1 commit intonesdev-org:masterfrom
Conversation
|
Do you have a non-interactive test ROM for this? That would probably be better for automated testing.
|
|
I don't. does it have to be hotswapped? My two COB N163s and two QFP N163s all had "clipping" behavior. |
|
At least for MesenCE, it doesn't matter if it's interactive or not because automated testing uses movie playback. However, the hotswap behavior is a problem, because basically no emulators allow doing something like this. An emulator test ROM needs to for the target mapper (and in this case, it may as well be automated). As for the code, if seems to me like these lines:
should be changed to just |
The real N163 just clips the address when you try to read or write in auto-inc mode.
Test ROM: https://github.com/HeeminTV/Famicom-Tests/tree/main/n163_addresswrappingtest