Skip to content

Commit

Permalink
naomi: new rom ntvmys
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinghead committed Jan 31, 2024
1 parent e714e94 commit e286f98
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 4 deletions.
4 changes: 3 additions & 1 deletion core/hw/maple/maple_jvs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,9 @@ maple_naomi_jamma::maple_naomi_jamma()
INFO_LOG(MAPLE, "Enabling specific JVS setup for game %s", gameId.c_str());
io_boards.push_back(std::make_unique<jvs_837_13844_encoders>(1, this));
}
else if (gameId == " TOUCH DE UNOH -------------" || gameId == " TOUCH DE UNOH 2 -----------")
else if (gameId == " TOUCH DE UNOH -------------"
|| gameId == " TOUCH DE UNOH 2 -----------"
|| gameId == "MIRAI YOSOU STUDIO")
{
INFO_LOG(MAPLE, "Enabling specific JVS setup for game %s", gameId.c_str());
io_boards.push_back(std::make_unique<jvs_837_13844_touch>(1, this));
Expand Down
11 changes: 8 additions & 3 deletions core/hw/naomi/naomi_cart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,10 @@ void naomi_cart_LoadRom(const std::string& path, const std::string& fileName, Lo
// Use better game names
if (romName == "sgdrvsim")
gameId = "SEGA DRIVING SIMULATOR";
else if (romName == "dragntr")
gameId = "DRAGON TREASURE";
else if (romName == "dragntr2")
gameId = "DRAGON TREASURE 2";
else if (romName == "dragntr3")
gameId = "DRAGON TREASURE 3";
}
Expand Down Expand Up @@ -683,7 +687,8 @@ void naomi_cart_LoadRom(const std::string& path, const std::string& fileName, Lo
}
if (gameId == " TOUCH DE UNOH -------------"
|| gameId == " TOUCH DE UNOH 2 -----------"
|| (gameId == "F355 CHALLENGE JAPAN" && (config::MultiboardSlaves == 2 || romName == "f355")))
|| (gameId == "F355 CHALLENGE JAPAN" && (config::MultiboardSlaves == 2 || romName == "f355"))
|| gameId == "MIRAI YOSOU STUDIO")
{
printer::init();
}
Expand Down Expand Up @@ -1021,8 +1026,8 @@ void NaomiCartridge::WriteMem(u32 address, u32 data, u32 size)
return;

case NAOMI_LED_addr:
DEBUG_LOG(NAOMI, "LED %d %d %d %d %d %d %d %d", (data >> 7) & 1, (data >> 6) & 1, (data >> 5) & 1, (data >> 4) & 1,
(data >> 3) & 1, (data >> 2) & 1, (data >> 1) & 1, data & 1);
//DEBUG_LOG(NAOMI, "LED %d %d %d %d %d %d %d %d", (data >> 7) & 1, (data >> 6) & 1, (data >> 5) & 1, (data >> 4) & 1,
// (data >> 3) & 1, (data >> 2) & 1, (data >> 1) & 1, data & 1);
return;

default:
Expand Down
34 changes: 34 additions & 0 deletions core/hw/naomi/naomi_roms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4480,6 +4480,40 @@ const Game Games[] =
// ic 12-21 populated, empty
},
},
// Nittere Shiki! Mirai Yosou Studio / NTV Future Forecast Studio (Japan)
{
"ntvmys",
nullptr,
"Nittere Shiki! Mirai Yosou Studio / NTV Future Forecast Studio",
0x9800000,
0x281a6263,
"naomi",
M2,
ROT0,
{
{ "epr-23419a.ic22", 0x00000000, 0x00400000, 0x8639d1e5 },
{ "rom1.ic1s", 0x00800000, 0x00800000, 0x5f11a3ec },
{ "rom2.ic2s", 0x01000000, 0x00800000, 0x0d46bfe5 },
{ "rom3.ic3s", 0x01800000, 0x00800000, 0xac5c846e },
{ "rom4.ic4s", 0x02000000, 0x00800000, 0x6cb2153f },
{ "rom5.ic5s", 0x02800000, 0x00800000, 0xfd70ef17 },
{ "rom6.ic6s", 0x03000000, 0x00800000, 0xe52afefa },
{ "rom7.ic7s", 0x03800000, 0x00800000, 0x976b929d },
{ "rom8.ic8s", 0x04000000, 0x00800000, 0x7914b241 },
{ "rom9.ic9s", 0x04800000, 0x00800000, 0x2c50b20c },
{ "rom10.ic10s", 0x05000000, 0x00800000, 0xa4b8fbc8 },
{ "rom11.ic11s", 0x05800000, 0x00800000, 0x8a7dbf32 },
// ic 12s populated, empty (ff)
{ "rom11.ic11s", 0x06800000, 0x00800000, 0x523a20f9 },
{ "rom11.ic11s", 0x07000000, 0x00800000, 0x5ddf6931 },
{ "rom11.ic11s", 0x07800000, 0x00800000, 0x1ef1cbed },
{ "rom11.ic11s", 0x08000000, 0x00800000, 0x82fa259a },
{ "rom11.ic11s", 0x08800000, 0x00800000, 0x6c1207d4 },
{ "rom11.ic11s", 0x09000000, 0x00800000, 0xeb8201b0 },
// ROM_REGION( 0x84, "some_eeprom", 0 )
// ROM_LOAD( "sflash.ic37", 0x000000, 0x000084, CRC(44c05f0c) SHA1(daf3687282d2665837025261aadc4ac477bb43a1) )
},
},

// Naomi M4 Roms
// Akatsuki Blitzkampf Ausf. Achse (Japan)
Expand Down

0 comments on commit e286f98

Please sign in to comment.