From 518b7ac708049d53523e5a1608102ce3d0669adc Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Tue, 21 Aug 2012 12:38:08 +0000 Subject: [PATCH] (MESS) mz2000: added and hooked up software lists for tapes and floppies. tapes do not work, and we need proper dumps of the cassette BASIC. [Fabio Priuli] out of whatsnew: the disk dumps do not come from original media, but given that no more program disks ever appeared in the past two years and that even the website which originally hosted these disks disappeared, it is definitely worth documenting them before they get lost forever... --- .gitattributes | 2 + hash/mz2000_cass.xml | 63 ++++++++++++++++++++ hash/mz2000_flop.xml | 122 ++++++++++++++++++++++++++++++++++++++ src/mess/drivers/mz2000.c | 15 ++++- 4 files changed, 201 insertions(+), 1 deletion(-) create mode 100644 hash/mz2000_cass.xml create mode 100644 hash/mz2000_flop.xml diff --git a/.gitattributes b/.gitattributes index 16c5feea845..df9f9aff79b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -104,6 +104,8 @@ hash/msx.hsi svneol=native#text/plain hash/msx1_cart.xml svneol=native#text/xml hash/msx2.hsi svneol=native#text/plain hash/msx2_cart.xml svneol=native#text/xml +hash/mz2000_cass.xml svneol=native#text/xml +hash/mz2000_flop.xml svneol=native#text/xml hash/mz2500.xml svneol=native#text/xml hash/n64.xml svneol=native#text/xml hash/neogeo.xml svneol=native#text/plain diff --git a/hash/mz2000_cass.xml b/hash/mz2000_cass.xml new file mode 100644 index 00000000000..6c8dad84287 --- /dev/null +++ b/hash/mz2000_cass.xml @@ -0,0 +1,63 @@ + + + + + + + + Harvest (Color?) + 19?? + <unknown> + + + + + + + + + Harvest (Green?) + 19?? + <unknown> + + + + + + + + + Jelda + 19?? + <unknown> + + + + + + + + + Jelda 2 + 19?? + <unknown> + + + + + + + + + Vosque 2000 + 19?? + <unknown> + + + + + + + + + diff --git a/hash/mz2000_flop.xml b/hash/mz2000_flop.xml new file mode 100644 index 00000000000..ecb8df30b6b --- /dev/null +++ b/hash/mz2000_flop.xml @@ -0,0 +1,122 @@ + + + + + + + + + + + CP/M 2.2 + 2002 + Toshio Fukui + + + + + + + + + + + + + + + + + + TF-DOS Ver2.1 + 200? + Toshio Fukui + + + + + + + + + + + + + + + + + TF-DOS Ver2.0B (on TS-2000) + 200? + Toshio Fukui + + + + + + + + + Graphic Editor III "Art Magic" + 200? + Toshio Fukui + + + + + + + + + Brave + 200? + Toshio Fukui + + + + + + + + + Lilas + 200? + Toshio Fukui + + + + + + + + + TF-DOS Programs 1 + 200? + Toshio Fukui + + + + + + + + + + Sharp BASIC Programs 1 + 200? + <unknown> + + + + + + + + diff --git a/src/mess/drivers/mz2000.c b/src/mess/drivers/mz2000.c index 9328201d0a2..4874807268e 100644 --- a/src/mess/drivers/mz2000.c +++ b/src/mess/drivers/mz2000.c @@ -27,6 +27,7 @@ #include "imagedev/cassette.h" #include "imagedev/flopdrv.h" #include "formats/basicdsk.h" +#include "formats/mz_cas.h" @@ -749,6 +750,16 @@ static const struct pit8253_config mz2000_pit8253_intf = } }; + +static const cassette_interface mz2000_cassette_interface = +{ + mz700_cassette_formats, + NULL, + (cassette_state)(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED), + "mz_cass", + NULL +}; + static MACHINE_CONFIG_START( mz2000, mz2000_state ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu",Z80, XTAL_4MHz) @@ -763,8 +774,10 @@ static MACHINE_CONFIG_START( mz2000, mz2000_state ) MCFG_MB8877_ADD("mb8877a",mz2000_mb8877a_interface) MCFG_LEGACY_FLOPPY_4_DRIVES_ADD(mz2000_floppy_interface) + MCFG_SOFTWARE_LIST_ADD("flop_list","mz2000_flop") - MCFG_CASSETTE_ADD( CASSETTE_TAG, default_cassette_interface ) + MCFG_CASSETTE_ADD( CASSETTE_TAG, mz2000_cassette_interface ) + MCFG_SOFTWARE_LIST_ADD("cass_list","mz2000_cass") /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER)