mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
(MESS) abc80: Added disk formats for slow controller. (nw)
This commit is contained in:
parent
225a410b29
commit
cf1bd76d25
@ -304,6 +304,10 @@ static SLOT_INTERFACE_START( abc_floppies )
|
||||
SLOT_INTERFACE( "8dsdd", FLOPPY_8_DSDD )
|
||||
SLOT_INTERFACE_END
|
||||
|
||||
FLOPPY_FORMATS_MEMBER( luxor_55_10828_device::floppy_formats )
|
||||
FLOPPY_ABC800_FORMAT
|
||||
FLOPPY_FORMATS_END
|
||||
|
||||
WRITE_LINE_MEMBER( luxor_55_10828_device::fdc_intrq_w )
|
||||
{
|
||||
m_fdc_irq = state;
|
||||
@ -341,8 +345,8 @@ static MACHINE_CONFIG_FRAGMENT( luxor_55_10828 )
|
||||
MCFG_WD_FDC_INTRQ_CALLBACK(WRITELINE(luxor_55_10828_device, fdc_intrq_w))
|
||||
MCFG_WD_FDC_DRQ_CALLBACK(WRITELINE(luxor_55_10828_device, fdc_drq_w))
|
||||
|
||||
MCFG_FLOPPY_DRIVE_ADD(MB8876_TAG":0", abc_floppies, "525dd", floppy_image_device::default_floppy_formats)
|
||||
MCFG_FLOPPY_DRIVE_ADD(MB8876_TAG":1", abc_floppies, "525dd", floppy_image_device::default_floppy_formats)
|
||||
MCFG_FLOPPY_DRIVE_ADD(MB8876_TAG":0", abc_floppies, "525dd", luxor_55_10828_device::floppy_formats)
|
||||
MCFG_FLOPPY_DRIVE_ADD(MB8876_TAG":1", abc_floppies, "525dd", luxor_55_10828_device::floppy_formats)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "abcbus.h"
|
||||
#include "cpu/z80/z80.h"
|
||||
#include "cpu/z80/z80daisy.h"
|
||||
#include "formats/abc800_dsk.h"
|
||||
#include "machine/wd_fdc.h"
|
||||
#include "machine/z80pio.h"
|
||||
|
||||
@ -71,6 +72,8 @@ public:
|
||||
DECLARE_WRITE_LINE_MEMBER( fdc_intrq_w );
|
||||
DECLARE_WRITE_LINE_MEMBER( fdc_drq_w );
|
||||
|
||||
DECLARE_FLOPPY_FORMATS( floppy_formats );
|
||||
|
||||
// optional information overrides
|
||||
virtual const rom_entry *device_rom_region() const;
|
||||
virtual machine_config_constructor device_mconfig_additions() const;
|
||||
|
Loading…
Reference in New Issue
Block a user