summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author David Haywood <28625134+DavidHaywood@users.noreply.github.com>2020-09-09 00:56:57 +0100
committer GitHub <noreply@github.com>2020-09-08 19:56:57 -0400
commit2190eb1c1b31a89e8e5983c926300196eb8f37b5 (patch)
treea8ae993217094ec709a363d40fd638b37a58f7ba
parenta03b22c555b509bf4dad5d38cb1f8dfd41aee9b1 (diff)
unk6502_st2xxx.cpp : load preliminary dump of internal ROM for several sets [David Haywood, Sean Riddle] (#7208)
* unk6502_st2xxx.cpp : load preliminary dump of internal ROM for several sets [David Haywood, Sean Riddle] * disable this for now
-rw-r--r--src/mame/drivers/unk6502_st2xxx.cpp22
1 files changed, 16 insertions, 6 deletions
diff --git a/src/mame/drivers/unk6502_st2xxx.cpp b/src/mame/drivers/unk6502_st2xxx.cpp
index 0573fb64299..24ddb72fd62 100644
--- a/src/mame/drivers/unk6502_st2xxx.cpp
+++ b/src/mame/drivers/unk6502_st2xxx.cpp
@@ -118,7 +118,9 @@ void bbl380_state::bbl380(machine_config &config)
ROM_START( bbl380 )
ROM_REGION( 0x800000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "bbl380_st2205u.bin", 0x000000, 0x004000, NO_DUMP ) // internal OTPROM BIOS
+ ROM_LOAD( "bbl380_st2205u.bin", 0x000000, 0x004000, NO_DUMP ) // internal OTPROM BIOS (addresses are different from other sets)
+
+ ROM_REGION( 0x800000, "spi", ROMREGION_ERASEFF )
ROM_LOAD( "bbl 380 180 in 1.bin", 0x000000, 0x400000, CRC(146c88da) SHA1(7f18526a6d8cf991f86febce3418d35aac9f49ad) BAD_DUMP )
// 0x0022XX, 0x0026XX, 0x002AXX, 0x002CXX, 0x002DXX, 0x0031XX, 0x0036XX, etc. should not be FF fill
ROM_END
@@ -126,19 +128,25 @@ ROM_END
ROM_START( ragc153 )
ROM_REGION( 0x800000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "ragc153_st2205u.bin", 0x000000, 0x004000, NO_DUMP ) // internal OTPROM BIOS (addresses are different from bbl380)
+ ROM_LOAD( "st2x_internal.bin", 0x000000, 0x002000, BAD_DUMP CRC(f4dc1fc2) SHA1(bbc11539c48eb612ebae50da45e03b6fde440941) ) // internal OTPROM BIOS, dumped from dgun2953 PCB, 6000-7fff range
+
+ ROM_REGION( 0x800000, "spi", ROMREGION_ERASEFF )
ROM_LOAD( "25q32ams.bin", 0x000000, 0x400000, CRC(de328d73) SHA1(d17b97e9057be4add68b9f5a26e04c9f0a139673) ) // first 0x100 bytes would read as 0xff at regular speed, but give valid looking consistent data at a slower rate
ROM_END
ROM_START( dphh8630 )
ROM_REGION( 0x800000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "ragc153_st2205u.bin", 0x000000, 0x004000, NO_DUMP ) // internal OTPROM BIOS
+ ROM_LOAD( "st2x_internal.bin", 0x000000, 0x002000, BAD_DUMP CRC(f4dc1fc2) SHA1(bbc11539c48eb612ebae50da45e03b6fde440941) ) // internal OTPROM BIOS, dumped from dgun2953 PCB, 6000-7fff range
+
+ ROM_REGION( 0x800000, "spi", ROMREGION_ERASEFF )
ROM_LOAD( "bg25q16.bin", 0x000000, 0x200000, CRC(277850d5) SHA1(740087842e1e63bf99b4ca9c1b2053361f267269) )
ROM_END
ROM_START( dgun2953 )
ROM_REGION( 0x800000, "maincpu", ROMREGION_ERASEFF )
- ROM_LOAD( "dgun2953_st2205u.bin", 0x000000, 0x004000, NO_DUMP ) // internal OTPROM BIOS
+ ROM_LOAD( "st2x_internal.bin", 0x000000, 0x002000, BAD_DUMP CRC(f4dc1fc2) SHA1(bbc11539c48eb612ebae50da45e03b6fde440941) ) // internal OTPROM BIOS, dumped from dgun2953 PCB, 6000-7fff range
+
+ ROM_REGION( 0x800000, "spi", ROMREGION_ERASEFF )
ROM_LOAD( "dg160_25x32v_ef3016.bin", 0x000000, 0x400000, CRC(2e993bac) SHA1(4b310e326a47df1980aeef38aa9a59018d7fe76f) )
ROM_END
@@ -146,13 +154,15 @@ ROM_END
void bbl380_state::init_ragc153()
{
- uint8_t *ROM = memregion("maincpu")->base();
- int size = memregion("maincpu")->bytes();
+#if 0 // probably done in software or by hardware DMA
+ uint8_t *ROM = memregion("spi")->base();
+ int size = memregion("spi")->bytes();
for (int i = 0; i < size; i++)
{
ROM[i] = ROM[i] ^ 0xe4;
}
+#endif
}
CONS( 200?, bbl380, 0, 0, bbl380, bbl380, bbl380_state, empty_init, "BaoBaoLong", "BBL380 - 180 in 1", MACHINE_IS_SKELETON )