summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/mz6500.c
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2012-11-22 19:33:19 +0000
committer Curt Coder <curtcoder@mail.com>2012-11-22 19:33:19 +0000
commit9046ce0dc516d3a8b947deaa67448068c198eb45 (patch)
tree0f3c1a6ba191584dfd05631c95c6a4d978d37fd4 /src/mess/drivers/mz6500.c
parent20f0cd1a58cfeff8d49437b9c34a344732939706 (diff)
sed1310: Cleanup. (nw)
(MESS) bw2: Fixed memory mapping. (nw) (MESS) msm6255: Refactored to use device_memory_interface. (nw) (MESS) floppy: Added macros for declaring modern floppy formats. The generic floppy formats (D88/DFI/IMD/IPF/MFI/MFM) are now automatically supported in each driver using the modern floppy code. [Curt Coder]
Diffstat (limited to 'src/mess/drivers/mz6500.c')
-rw-r--r--src/mess/drivers/mz6500.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mess/drivers/mz6500.c b/src/mess/drivers/mz6500.c
index 2ede1deafca..2ac213326ea 100644
--- a/src/mess/drivers/mz6500.c
+++ b/src/mess/drivers/mz6500.c
@@ -119,11 +119,6 @@ void mz6500_state::fdc_drq(bool state)
//printf("%02x DRQ\n",state);
}
-static const floppy_format_type mz6500_floppy_formats[] = {
- FLOPPY_MFI_FORMAT,
- NULL
-};
-
static SLOT_INTERFACE_START( mz6500_floppies )
SLOT_INTERFACE( "525hd", FLOPPY_525_HD )
SLOT_INTERFACE_END
@@ -162,8 +157,8 @@ static MACHINE_CONFIG_START( mz6500, mz6500_state )
/* Devices */
MCFG_UPD7220_ADD("upd7220", 4000000, hgdc_intf, upd7220_map)
MCFG_UPD765A_ADD("upd765", true, true)
- MCFG_FLOPPY_DRIVE_ADD("upd765:0", mz6500_floppies, "525hd", 0, mz6500_floppy_formats)
- MCFG_FLOPPY_DRIVE_ADD("upd765:1", mz6500_floppies, "525hd", 0, mz6500_floppy_formats)
+ MCFG_FLOPPY_DRIVE_ADD("upd765:0", mz6500_floppies, "525hd", 0, floppy_image_device::default_floppy_formats)
+ MCFG_FLOPPY_DRIVE_ADD("upd765:1", mz6500_floppies, "525hd", 0, floppy_image_device::default_floppy_formats)
MACHINE_CONFIG_END
/* ROM definition */