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.

This commit is contained in:
mahlemiut 2015-07-29 11:18:29 +12:00
parent 736e7918e8
commit 01164581f5
2 changed files with 9 additions and 6 deletions

View File

@ -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")

View File

@ -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);