diff options
author | mahlemiut <bsr@xnet.co.nz> | 2015-07-29 11:18:29 +1200 |
---|---|---|
committer | mahlemiut <bsr@xnet.co.nz> | 2015-07-29 11:19:38 +1200 |
commit | 01164581f5fb9122ef4ed4a41bcd9ca428658a62 (patch) | |
tree | ba67f94de81d1072e7f924644b8a971924c2af65 | |
parent | 736e7918e8973b1dcd1d504e109f608431cfc496 (diff) |
al520ex: added back MSX disk image support (no idea where it went in the first place). Note that the disks in the softlist won't load due to extra superfluous text at the end of the image.
-rw-r--r-- | src/mess/drivers/amstrad.c | 13 | ||||
-rw-r--r-- | src/mess/includes/amstrad.h | 2 |
2 files changed, 9 insertions, 6 deletions
diff --git a/src/mess/drivers/amstrad.c b/src/mess/drivers/amstrad.c index 3c0bb5a8d9b..68714cd0134 100644 --- a/src/mess/drivers/amstrad.c +++ b/src/mess/drivers/amstrad.c @@ -106,11 +106,10 @@ Some bugs left : #include "imagedev/snapquik.h" #include "imagedev/cassette.h" #include "formats/tzx_cas.h" +#include "formats/msx_dsk.h" #include "machine/ram.h" - - #define MANUFACTURER_NAME 0x07 #define TV_REFRESH_RATE 0x10 @@ -784,9 +783,13 @@ static SLOT_INTERFACE_START( amstrad_floppies ) SLOT_INTERFACE_END static SLOT_INTERFACE_START( aleste_floppies ) - SLOT_INTERFACE( "35hd", FLOPPY_35_HD ) + SLOT_INTERFACE( "35dd", FLOPPY_35_DD ) SLOT_INTERFACE_END +FLOPPY_FORMATS_MEMBER( amstrad_state::aleste_floppy_formats ) + FLOPPY_MSX_FORMAT +FLOPPY_FORMATS_END + static MACHINE_CONFIG_FRAGMENT( cpcplus_cartslot ) MCFG_GENERIC_CARTSLOT_ADD("cartslot", generic_plain_slot, "gx4000_cart") MCFG_GENERIC_EXTENSIONS("bin,cpr") @@ -1125,8 +1128,8 @@ static MACHINE_CONFIG_DERIVED( aleste, cpc6128 ) MCFG_DEVICE_REMOVE("upd765") MCFG_I8272A_ADD("upd765", true) - MCFG_FLOPPY_DRIVE_ADD("upd765:0", aleste_floppies, "35hd", floppy_image_device::default_floppy_formats) - MCFG_FLOPPY_DRIVE_ADD("upd765:1", aleste_floppies, "35hd", floppy_image_device::default_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD("upd765:0", aleste_floppies, "35dd", amstrad_state::aleste_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD("upd765:1", aleste_floppies, "35dd", amstrad_state::aleste_floppy_formats) MCFG_DEVICE_REMOVE("flop_list") MCFG_SOFTWARE_LIST_ADD("flop_list", "aleste") diff --git a/src/mess/includes/amstrad.h b/src/mess/includes/amstrad.h index 9f60119ea16..ca95ff7e83a 100644 --- a/src/mess/includes/amstrad.h +++ b/src/mess/includes/amstrad.h @@ -243,7 +243,7 @@ public: DECLARE_WRITE_LINE_MEMBER( cpc_romen ); DECLARE_WRITE8_MEMBER(rom_select); - DECLARE_FLOPPY_FORMATS( floppy_formats ); + DECLARE_FLOPPY_FORMATS( aleste_floppy_formats ); IRQ_CALLBACK_MEMBER(amstrad_cpu_acknowledge_int); |