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"
#include "eeprom_93Cx6.h"
static uint8 eeprom_data[256];
@@ -30,7 +30,7 @@ static SFORMAT stateRegs[] ={
};
static void sync () {
setprg16(0x8000, VRC24_prg[1]);
setprg16(0x8000, VRC24_getPRGBank(1));
setprg16(0xC000, 0xFF);
VRC24_syncCHR(0x1FF, 0x000);
VRC24_syncMirror();
@@ -52,7 +52,7 @@ void UNLT230_power (void) {
}
void UNLT230_Init (CartInfo *info) {
VRC24_init(info, sync, 0x04, 0x08, 1, 1, 0);
VRC4_init(info, sync, 0x04, 0x08, 1, NULL, NULL, NULL, NULL, NULL);
if (info->PRGRamSaveSize) {
info->Power =UNLT230_power;
AddExState(stateRegs, ~0, 0, 0);