Mapper 444: Add NC-8000M as submapper bit 2

This commit is contained in:
NewRisingSun
2022-03-23 17:47:58 +01:00
parent d03005689f
commit 5ea4d73e6f
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
/* NC7000M PCB, with incorrect UNIF MAPR BS-110 due to a mix-up. Submappers denote the setting of two solder pads that configure CHR banking. */ /* NC7000M PCB, with incorrect UNIF MAPR BS-110 due to a mix-up. Submapper bits 0 and 1. denote the setting of two solder pads that configure CHR banking. */
/* NC8000M PCB, indicated by submapper bit 2. */
#include "mapinc.h" #include "mapinc.h"
#include "mmc3.h" #include "mmc3.h"
@@ -27,7 +28,7 @@ static uint8 pads;
static uint8 dip; static uint8 dip;
static void Mapper444_PRGWrap(uint32 A, uint8 V) { static void Mapper444_PRGWrap(uint32 A, uint8 V) {
int prgAND =0x0F; int prgAND =pads &4 && EXPREGS[0] &0x02? 0x1F: 0x0F;
int prgOR =EXPREGS[0] <<4; int prgOR =EXPREGS[0] <<4;
if (EXPREGS[0] &0x04) { if (EXPREGS[0] &0x04) {
if (~A &0x4000) { if (~A &0x4000) {

View File

@@ -813,7 +813,7 @@ INES_BOARD_BEGIN()
INES_BOARD( "NTDEC TH2348", 437, Mapper437_Init ) INES_BOARD( "NTDEC TH2348", 437, Mapper437_Init )
INES_BOARD( "K-3071", 438, Mapper438_Init ) INES_BOARD( "K-3071", 438, Mapper438_Init )
INES_BOARD( "NC-3000M", 443, Mapper443_Init ) INES_BOARD( "NC-3000M", 443, Mapper443_Init )
INES_BOARD( "NC-7000M", 444, Mapper444_Init ) INES_BOARD( "NC-7000M/NC-8000M", 444, Mapper444_Init )
INES_BOARD( "DS-9-27", 452, Mapper452_Init ) INES_BOARD( "DS-9-27", 452, Mapper452_Init )
INES_BOARD( "K6C3001A", 456, Mapper456_Init ) INES_BOARD( "K6C3001A", 456, Mapper456_Init )
INES_BOARD( "SA-9602B", 513, SA9602B_Init ) INES_BOARD( "SA-9602B", 513, SA9602B_Init )