From d5ef03940b6bfae93283e6b121e660b90fc4464b Mon Sep 17 00:00:00 2001 From: paul75s Date: Mon, 27 Oct 2025 18:14:50 +0000 Subject: [PATCH] Update sharp\mz2000.cpp Add support for snapshot software list for Sharp MZ-2000/MZ-2200 --- hash/mz2000_snap.xml | 195 ++++++++++++++++++++++++++++++++++++++ src/mame/sharp/mz2000.cpp | 3 +- 2 files changed, 197 insertions(+), 1 deletion(-) create mode 100644 hash/mz2000_snap.xml diff --git a/hash/mz2000_snap.xml b/hash/mz2000_snap.xml new file mode 100644 index 0000000000000..2b73bac8c60b0 --- /dev/null +++ b/hash/mz2000_snap.xml @@ -0,0 +1,195 @@ + + + + + + + + + + BASIC MZ-1Z001 v1.0c + 1982 + Sharp + + + + + + + + + BASIC MZ-1Z002 v1.0a + 1982 + Sharp + + + + + + + + + + + Binary Land + 1983 + Hudson Soft + + + + + + + + + Cloud Kingdom + 1983 + Unison World Inc. + + + + + + + + + Dawn Patrol + 19?? + Silver Ball Software + + + + + + + + + Falcon Adventure + 1983 + Unison World Inc. + + + + + + + + + Flicky + 1985 + Sega + + + + + + + + + Front Line + 19?? + Carry Soft + + + + + + + + + Lucy + 19?? + Pasol + + + + + + + + + Mahjong + 1983 + Hudson Soft + + + + + + + + + Mario Bros. Special + 1984 + Hudson Soft + + + + + + + + + Plazma Line + 19?? + Techno Soft + + + + + + + + + Underground City + 19?? + Unknown + + + + + + + + + Wild Western + 19?? + Carry Soft + + + + + + + + + Xetter + 19?? + Unknown + + + + + + + + + Xetter II + 19?? + K.Kuromusha + + + + + + + + diff --git a/src/mame/sharp/mz2000.cpp b/src/mame/sharp/mz2000.cpp index bff9b3314f791..dd71b4e48f4b8 100644 --- a/src/mame/sharp/mz2000.cpp +++ b/src/mame/sharp/mz2000.cpp @@ -1412,7 +1412,7 @@ void mz80b_state::mz80b(machine_config &config) // mz800 actually reads $f8-$fa from IPL snapshot_image_device &snapshot(SNAPSHOT(config, "snapshot", "bin,dat", attotime::from_seconds(1))); snapshot.set_load_callback(FUNC(mz80b_state::snapshot_cb)); - + snapshot.set_interface("mz_snap"); SOFTWARE_LIST(config, "flop_list").set_original("mz80b_flop"); SOFTWARE_LIST(config, "cass_list").set_original("mz80b_cass"); } @@ -1428,6 +1428,7 @@ void mz2000_state::mz2000(machine_config &config) SOFTWARE_LIST(config.replace(), "flop_list").set_original("mz2000_flop"); SOFTWARE_LIST(config.replace(), "cass_list").set_original("mz2000_cass").set_filter("MONO"); + SOFTWARE_LIST(config,"snap_list").set_original("mz2000_snap"); SOFTWARE_LIST(config, "flop_generic_list").set_compatible("generic_flop_525").set_filter("mz2000"); }