Creating iNES Mapper 53

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Creating iNES Mapper 53
by on (#126200)
Is there anyone who interested in emulating iNES mapper 52 :
http://wiki.nesdev.com/w/index.php/INES_Mapper_052

And then create a new iNES mapper 53 which is very similar to mapper 52 but it is for mapper 1 games?
Thanks in advance
Re: Creating iNES Mapper 53
by on (#126201)
Well, I don't know the history of mapper 52, but creating such mapper "by software" makes no sense to me. Unless someone is interested to build a new board for homebrew, you have no chance of it.
Re: Creating iNES Mapper 53
by on (#126203)
Thanks for the answer

I will take care of the hardware :
8 IN 1 SLROM Multicartridge
Re: Creating iNES Mapper 53
by on (#126204)
The grid states that some pirate multi is already using the number 53. The grid is based on the source code of FCEUX, Nestopia, and Nintendulator. So someone ought to dig into the source code of those emulators to see what it's already assigned to.

The proposed behavior for this mapper is "mapper 52's outer bank selection wrapped around mapper 1 instead of 4", correct?
Re: Creating iNES Mapper 53
by on (#126205)
Oh, yeah!
It is like the Mandaliev Table!
They reserved mapper 53 for me and SLROM 8 IN 1! :mrgreen:
I need 54 and 55 too, one for UNROM 8 IN 1 and the other one for SNROM 4 IN 1 :D
Re: Creating iNES Mapper 53
by on (#126206)
FARID wrote:
I need 54 and 55 too, one for UNROM 8 IN 1 and the other one for SNROM 4 IN 1 :D


According to Nestopia (Undead)'s source, Mapper 054 is taken up by "BMC NOVELDIAMOND 9999999-IN-1", and Mapper 055 is used for "BTL GENIUS MERIO BROS"...
Re: Creating iNES Mapper 53
by on (#126208)
Every single iNES mapper number is (probably) taken; if not officially registered, then certainly used by some image somewhere in the wild that will conflict with emulators that try to implement your work.

If you really want numbers (not UNIF strings) for mappers, you probably want iNES 2.0 "Supplementary Multilingual Plane" mappers.
Re: Creating iNES Mapper 53
by on (#126217)
mapper 53 is already used by the Supervision 16-in-1 PCB
Re: Creating iNES Mapper 53
by on (#126224)
Please someone fix Mapper 52 for Nestopia :
Download Nestopia Source Code

I think these files must be modified :
Nestopia140src\source\core\board\NstBoardBmcMarioParty7in1.cpp
Nestopia140src\source\core\board\NstBoardBmcMarioParty7in1.hpp

And here is the correct code for Mapper 52

Oh, by the way, how can I compile the source code of Nestopia for windows?
It seems it is written in C++

Thanks in advance!
Re: Creating iNES Mapper 53
by on (#126248)
FARID wrote:
Please someone fix Mapper 52 for Nestopia :
This diff (against Nestopia UE) should be sufficient:
Code:
diff --git a/source/core/board/NstBoardBmcMarioParty7in1.cpp b/source/core/board/NstBoardBmcMarioParty7in1.cpp
index 821066a..4769b59 100644
--- a/source/core/board/NstBoardBmcMarioParty7in1.cpp
+++ b/source/core/board/NstBoardBmcMarioParty7in1.cpp
@@ -125,7 +125,7 @@ namespace Nes
                                        chr.SwapBank<SIZE_1K>
                                        (
                                                address,
-                                               (((exRegs[0] >> 3 & 0x4) | (exRegs[0] >> 1 & 0x2) | ((exRegs[0] >> 6) & (exRegs[0] >> 4) & 0x1)) << 7) |
+                                               (((exRegs[0]      & 0x4) | (exRegs[0] >> 4 & 0x2) | ((exRegs[0] >> 6) & (exRegs[0] >> 4) & 0x1)) << 7) |
                                                (bank & (((exRegs[0] & 0x40) << 1) ^ 0xFF))
                                        );
                                }
But I haven't been able to test for lack of a properly-ordered copy of Mario 7-in-1.

Any commits to upstream should also invalidate the relevant hash in NstDatabase.xml and adding a new one.

Quote:
Oh, by the way, how can I compile the source code of Nestopia for windows?
It seems it is written in C++
MSVC / Visual Studio Express 2010?
Re: Creating iNES Mapper 53
by on (#126263)
Thanks for the help!