diff options
author | Nigel Barnes <Pernod70@users.noreply.github.com> | 2016-05-30 01:58:14 +0100 |
---|---|---|
committer | Nigel Barnes <Pernod70@users.noreply.github.com> | 2016-06-05 22:53:37 +0100 |
commit | e4ea1303b344515c49ae451e0accc7f4a079d41e (patch) | |
tree | e56b41526a3306fc94a601b6ad42a2f6e130bc0e /src/devices | |
parent | 6ea15072a718b093e3688d22f7f6954e44e383b6 (diff) |
e01: added acorn filestore floppy format and softlist
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/bus/econet/e01.cpp | 11 | ||||
-rw-r--r-- | src/devices/bus/econet/e01.h | 3 |
2 files changed, 11 insertions, 3 deletions
diff --git a/src/devices/bus/econet/e01.cpp b/src/devices/bus/econet/e01.cpp index ed60ccc2d28..6176268d6d7 100644 --- a/src/devices/bus/econet/e01.cpp +++ b/src/devices/bus/econet/e01.cpp @@ -53,7 +53,7 @@ #include "e01.h" #include "bus/scsi/scsihd.h" - +#include "softlist.h" //************************************************************************** @@ -166,6 +166,10 @@ WRITE_LINE_MEMBER( e01_device::clk_en_w ) m_clk_en = state; } +FLOPPY_FORMATS_MEMBER( floppy_formats_afs ) + FLOPPY_AFS_FORMAT +FLOPPY_FORMATS_END0 + static SLOT_INTERFACE_START( e01_floppies ) SLOT_INTERFACE( "35dd", FLOPPY_35_DD ) // NEC FD1036 A SLOT_INTERFACE_END @@ -253,8 +257,9 @@ static MACHINE_CONFIG_FRAGMENT( e01 ) MCFG_WD2793_ADD(WD2793_TAG, XTAL_8MHz/4) MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(e01_device, fdc_irq_w)) MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(e01_device, fdc_drq_w)) - MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":0", e01_floppies, "35dd", floppy_image_device::default_floppy_formats) - MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":1", e01_floppies, "35dd", floppy_image_device::default_floppy_formats) + MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":0", e01_floppies, "35dd", floppy_formats_afs) + MCFG_FLOPPY_DRIVE_ADD(WD2793_TAG":1", e01_floppies, "35dd", floppy_formats_afs) + MCFG_SOFTWARE_LIST_ADD("flop_ls_e01", "e01_flop") MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_devices, "printer") MCFG_CENTRONICS_ACK_HANDLER(DEVWRITELINE(R6522_TAG, via6522_device, write_ca1)) diff --git a/src/devices/bus/econet/e01.h b/src/devices/bus/econet/e01.h index e83b9a0b6bd..02a432c936d 100644 --- a/src/devices/bus/econet/e01.h +++ b/src/devices/bus/econet/e01.h @@ -22,6 +22,7 @@ #include "machine/mc6854.h" #include "machine/ram.h" #include "machine/wd_fdc.h" +#include "formats/afs_dsk.h" class e01_device : public device_t, public device_econet_interface @@ -37,6 +38,8 @@ public: TYPE_E01S }; + DECLARE_FLOPPY_FORMATS(floppy_formats_afs); + DECLARE_READ8_MEMBER( read ); DECLARE_WRITE8_MEMBER( write ); DECLARE_READ8_MEMBER( ram_select_r ); |