summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-08-18 00:36:26 +0200
committer hap <happppp@users.noreply.github.com>2019-08-18 00:36:39 +0200
commit78e33db911ecb79e5075a38a8ee6957628977a84 (patch)
tree0704a5cfd9237aff01cf920068c6edd16e756622
parent1bd37775dffd30469e54fc087e7cfcdbee5c9907 (diff)
New working clone added
---------- Mephisto MM I (ver. B) [Achim] New softwarelist item -------- mephisto_mm1: Mephisto HG 170 Opening Library [Achim]
-rw-r--r--hash/mephisto_mm1.xml17
-rw-r--r--src/mame/drivers/mephisto_mm1.cpp17
-rw-r--r--src/mame/mame.lst1
3 files changed, 31 insertions, 4 deletions
diff --git a/hash/mephisto_mm1.xml b/hash/mephisto_mm1.xml
new file mode 100644
index 00000000000..f2455393a5d
--- /dev/null
+++ b/hash/mephisto_mm1.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0"?>
+<!DOCTYPE softwarelist SYSTEM "softwarelist.dtd">
+
+<!-- HG 170 module is exclusively used with MM I -->
+
+<softwarelist name="mephisto_mm1" description="Mephisto MM I Modules">
+ <software name="hg170">
+ <description>Mephisto HG 170 Opening Library</description>
+ <year>1983</year>
+ <publisher>Hegener + Glaser</publisher>
+ <part name="cart" interface="mephisto_cart">
+ <dataarea name="rom" size="0x4000">
+ <rom name="170" size="0x4000" crc="eaa77329" sha1="7dbf0b4120731f7092940da18cc87253a3eb3164" />
+ </dataarea>
+ </part>
+ </software>
+</softwarelist>
diff --git a/src/mame/drivers/mephisto_mm1.cpp b/src/mame/drivers/mephisto_mm1.cpp
index 7ee20245139..f80a51e6490 100644
--- a/src/mame/drivers/mephisto_mm1.cpp
+++ b/src/mame/drivers/mephisto_mm1.cpp
@@ -32,8 +32,6 @@ TODO:
- remove external interrupt hack when timer interrupt is added to CDP1806 device
- mmirage unknown_w
- mm1 unknown expansion rom at $c000?
-- add mm1 opening book
-- add mm1 "B" version (1 mask rom)
- add mm1 STP/ON buttons? (they're off/on, game continues when ON again)
******************************************************************************/
@@ -44,6 +42,8 @@ TODO:
#include "sound/dac.h"
#include "sound/volt_reg.h"
#include "video/pwm.h"
+#include "bus/generic/slot.h"
+#include "bus/generic/carts.h"
#include "speaker.h"
// internal artwork
@@ -259,7 +259,7 @@ void mm1_state::mirage_map(address_map &map)
void mm1_state::mm1_map(address_map &map)
{
mirage_map(map);
- map(0x8000, 0xbfff).unmapr(); // bookrom?
+ map(0x8000, 0xbfff).r("cartslot", FUNC(generic_slot_device::read_rom)); // opening library
map(0xc000, 0xc000).nopr(); // looks for $c0, jumps to $c003 if true
}
@@ -409,6 +409,9 @@ void mm1_state::mm1(machine_config &config)
m_board->set_type(sensorboard_device::MAGNETS);
config.set_default_layout(layout_mephisto_mm1);
+
+ GENERIC_CARTSLOT(config, "cartslot", generic_plain_slot, "mephisto_cart");
+ SOFTWARE_LIST(config, "cart_list").set_original("mephisto_mm1");
}
@@ -423,6 +426,11 @@ ROM_START( mm1 )
ROM_LOAD("214", 0x4000, 0x4000, CRC(93734e49) SHA1(9ad6c191074c4122300f059e2ef9cfeff7b81463) ) // "
ROM_END
+ROM_START( mm1b )
+ ROM_REGION( 0x10000, "maincpu", 0 )
+ ROM_LOAD("mm1b.bin", 0x0000, 0x8000, CRC(90bf840e) SHA1(cdec6b02c1352b2a00d66964989a17c2b81ec79e) ) // HN613256P
+ROM_END
+
ROM_START( mmirage )
ROM_REGION( 0x10000, "maincpu", 0 )
@@ -438,6 +446,7 @@ ROM_END
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
-CONS( 1983, mm1, 0, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1983, mm1, 0, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I (ver. A)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1983, mm1b, mm1, 0, mm1, mm1, mm1_state, empty_init, "Hegener + Glaser", "Mephisto MM I (ver. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1984, mmirage, 0, 0, mirage, mirage, mm1_state, empty_init, "Hegener + Glaser", "Mephisto Mirage", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 75091b6195c..bd12b18937b 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -21438,6 +21438,7 @@ roma32 // Roma
@source:mephisto_mm1.cpp
mm1
+mm1b
mmirage
@source:mephisto_mm2.cpp