Add mapper 446 using mapper emulation cores that can be included in other multi-ASIC mappers.
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
*/
|
||||
|
||||
#include "mapinc.h"
|
||||
#include "vrc2and4.h"
|
||||
#include "asic_vrc2and4.h"
|
||||
|
||||
static void sync () {
|
||||
VRC24_syncPRG(0x01F, 0x000);
|
||||
@@ -28,8 +28,8 @@ static void sync () {
|
||||
}
|
||||
|
||||
DECLFW(UNLKS7021A_writeCHR) {
|
||||
VRC24_chr[A &7] =V;
|
||||
VRC24_Sync();
|
||||
VRC24_writeReg(0xB000 +(A <<11 &0x3000 | A <<1 &0x0002), V &0x0F);
|
||||
VRC24_writeReg(0xB001 +(A <<11 &0x3000 | A <<1 &0x0002), V >>4);
|
||||
}
|
||||
|
||||
void UNLKS7021A_power (void) {
|
||||
@@ -38,6 +38,6 @@ void UNLKS7021A_power (void) {
|
||||
}
|
||||
|
||||
void UNLKS7021A_Init (CartInfo *info) {
|
||||
VRC24_init(info, sync, 0x01, 0x02, 0, 0, 0);
|
||||
VRC2_init(info, sync, 0x01, 0x02, NULL, NULL, NULL, NULL);
|
||||
info->Power =UNLKS7021A_power;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user