Add mapper 446 using mapper emulation cores that can be included in other multi-ASIC mappers.

This commit is contained in:
NewRisingSun
2025-09-01 01:13:46 +02:00
parent 3544ff567e
commit a2fdeee096
57 changed files with 3063 additions and 441 deletions

View File

@@ -19,7 +19,7 @@
*/
#include "mapinc.h"
#include "vrc2and4.h"
#include "asic_vrc2and4.h"
static uint8 reg;
@@ -39,7 +39,7 @@ static void sync () {
DECLFW(Mapper542_writeExtra) {
if (A &0x800) {
reg =A >>12;
VRC24_Sync();
sync();
} else
VRC24_writeReg(A, V);
}
@@ -53,7 +53,7 @@ void Mapper542_power (void) {
}
void Mapper542_Init (CartInfo *info) {
VRC24_init(info, sync, 0x01, 0x02, 1, 1, 0);
VRC4_init(info, sync, 0x01, 0x02, 1, NULL, NULL, NULL, NULL, NULL);
info->Power =Mapper542_power;
AddExState(stateRegs, ~0, 0, 0);
SetupCartCHRMapping(0x10, NTARAM, 0x200, 1);