Mapper 052 CHR Setup

This is an archive of a topic from NESdev BBS, taken in mid-October 2019 before a server upgrade.
View original topic
Mapper 052 CHR Setup
by on (#170462)
According to the wiki, the bits in the CHR setup are arranged as:

Code:
%BC C000 0000


However, the upper 2 bits need to be reversed to make the mapper function properly:

Code:
%CB C000 0000


This is based on the source of Nintendulator:

Code:
   if (WhichGame & 0x40)
   {
      CHRmask = 0x7F;
      CHRbank = ((WhichGame & 0x20) >> 3) | ((WhichGame & 0x04) >> 1) | ((WhichGame & 0x10) >> 4);
   }
   else
   {
      CHRmask = 0xFF;
      CHRbank = ((WhichGame & 0x20) >> 3) | ((WhichGame & 0x04) >> 1);
   }
Re: Mapper 052 CHR Setup
by on (#170464)
What games do use this mapper???
Re: Mapper 052 CHR Setup
by on (#170465)
Please read this thread from FARID.

Nintendulator's implementation and Disch's notes are suspect in this case.
Re: Mapper 052 CHR Setup
by on (#170470)
lidnariq wrote:
Please read this thread from FARID.

Nintendulator's implementation and Disch's notes are suspect in this case.


The wiki is consistent with that link from FARID. I am testing Mario 7-in-1 and it requires the arrangement of bits described in the OP.