diff options
Diffstat (limited to 'src/mess/drivers/thomson.c')
-rw-r--r-- | src/mess/drivers/thomson.c | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/mess/drivers/thomson.c b/src/mess/drivers/thomson.c index 93730444be8..663dbaf3140 100644 --- a/src/mess/drivers/thomson.c +++ b/src/mess/drivers/thomson.c @@ -73,10 +73,11 @@ #include "includes/thomson.h" #include "bus/rs232/rs232.h" #include "machine/6821pia.h" -#include "machine/wd17xx.h" +#include "machine/wd_fdc.h" #include "machine/clock.h" #include "bus/centronics/ctronics.h" #include "imagedev/flopdrv.h" +#include "formats/cd90_640_dsk.h" #include "formats/basicdsk.h" #include "machine/ram.h" @@ -593,6 +594,17 @@ static const floppy_interface thomson_floppy_interface = NULL }; +FLOPPY_FORMATS_MEMBER( thomson_state::cd90_640_formats ) + FLOPPY_CD90_640_FORMAT +FLOPPY_FORMATS_END + +static SLOT_INTERFACE_START( cd90_640_floppies ) + SLOT_INTERFACE("sssd", FLOPPY_525_SSSD) + SLOT_INTERFACE("sd", FLOPPY_525_SD) + SLOT_INTERFACE("ssdd", FLOPPY_525_SSDD) + SLOT_INTERFACE("dd", FLOPPY_525_DD) +SLOT_INTERFACE_END + /* ------------ driver ------------ */ @@ -649,8 +661,10 @@ static MACHINE_CONFIG_START( to7, thomson_state ) /* floppy */ MCFG_DEVICE_ADD("mc6843", MC6843, 0) - MCFG_DEVICE_ADD("wd2793", WD2793, 0) - MCFG_WD17XX_DEFAULT_DRIVE4_TAGS + MCFG_WD2793_ADD("wd2793", XTAL_1MHz) + + MCFG_FLOPPY_DRIVE_ADD("wd2793:0", cd90_640_floppies, "dd", thomson_state::cd90_640_formats) + MCFG_FLOPPY_DRIVE_ADD("wd2793:1", cd90_640_floppies, "dd", thomson_state::cd90_640_formats) MCFG_DEVICE_ADD(FLOPPY_0, LEGACY_FLOPPY, 0) MCFG_DEVICE_CONFIG(thomson_floppy_interface) |