From 672e6ea3a131fa37c2e3515dcc909183b838fcef Mon Sep 17 00:00:00 2001 From: David Haywood Date: Mon, 17 Feb 2014 03:42:14 +0000 Subject: [PATCH] make it a bit clearer how to load floppies in msx1 by actually recognizing the floppy ROM. added a skeleton list I used for some quick testing. the driver really needs a significant overhaul, but at least this makes usage a little less opaque. --- .gitattributes | 1 + hash/msx1_cart.xml | 16 +++++++++-- hash/msx1_flop.xml | 62 ++++++++++++++++++++++++++++++++++++++++++ src/mess/drivers/msx.c | 4 ++- src/mess/machine/msx.c | 1 + 5 files changed, 81 insertions(+), 3 deletions(-) create mode 100644 hash/msx1_flop.xml diff --git a/.gitattributes b/.gitattributes index 953d2d7d8e1..f27aa3e102d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -168,6 +168,7 @@ hash/mpz80.xml svneol=native#text/xml hash/msx.hsi svneol=native#text/xml hash/msx1_cart.xml svneol=native#text/xml hash/msx1_cass.xml svneol=native#text/xml +hash/msx1_flop.xml svneol=native#text/xml hash/msx2.hsi svneol=native#text/xml hash/msx2_cart.xml svneol=native#text/xml hash/myvision.xml svneol=native#text/xml diff --git a/hash/msx1_cart.xml b/hash/msx1_cart.xml index 9c6e24fb830..f98cbbadf83 100644 --- a/hash/msx1_cart.xml +++ b/hash/msx1_cart.xml @@ -16845,10 +16845,22 @@ kept for now until finding out what those bytes affect... + + + + Disk BASIC v1.0 for FS-FD1 (Japan) + 1987 + Matsushita + + + + + + + - - + diff --git a/hash/msx1_flop.xml b/hash/msx1_flop.xml new file mode 100644 index 00000000000..05802f60520 --- /dev/null +++ b/hash/msx1_flop.xml @@ -0,0 +1,62 @@ + + + + + + + + Jet Set Willy II (trained) + 1986 + bootleg + + + + + + + + + Oh Mummy!! + 1984 + Longman Software + + + + + + + + + Oh Shit! + 1986 + Aackosoft + + + + + + + + + Oh No! + 1986 + Eaglesoft + + + + + + + + + diff --git a/src/mess/drivers/msx.c b/src/mess/drivers/msx.c index 05b7d5f3d11..9c92d055a68 100644 --- a/src/mess/drivers/msx.c +++ b/src/mess/drivers/msx.c @@ -1062,7 +1062,7 @@ static const floppy_interface msx_floppy_interface = DEVCB_NULL, FLOPPY_STANDARD_5_25_DSHD, LEGACY_FLOPPY_OPTIONS_NAME(msx), - NULL, + "floppy_5_25", NULL }; @@ -1127,6 +1127,8 @@ static MACHINE_CONFIG_START( msx, msx_state ) MCFG_LEGACY_FLOPPY_2_DRIVES_ADD(msx_floppy_interface) + MCFG_SOFTWARE_LIST_ADD("flop_list","msx1_flop") + MCFG_FRAGMENT_ADD(msx_cartslot) /* Software lists */ diff --git a/src/mess/machine/msx.c b/src/mess/machine/msx.c index b403d836970..43fdce1b9ca 100644 --- a/src/mess/machine/msx.c +++ b/src/mess/machine/msx.c @@ -120,6 +120,7 @@ DEVICE_IMAGE_LOAD_MEMBER(msx_state,msx_cart) { "KONAMI-SCC", SLOT_KONAMI_SCC }, { "SUPERLODE", SLOT_SUPERLODERUNNER }, { "MAJUTSUSHI", SLOT_MAJUTSUSHI }, + { "DISK_ROM", SLOT_DISK_ROM }, }; for (int i = 0; i < ARRAY_LENGTH(mapper_types) && type < 0; i++)