summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/hfdc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/hfdc.cpp')
-rw-r--r--src/devices/bus/ti99/peb/hfdc.cpp19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/devices/bus/ti99/peb/hfdc.cpp b/src/devices/bus/ti99/peb/hfdc.cpp
index f7de42cf4b5..160a699966a 100644
--- a/src/devices/bus/ti99/peb/hfdc.cpp
+++ b/src/devices/bus/ti99/peb/hfdc.cpp
@@ -1065,7 +1065,13 @@ static SLOT_INTERFACE_START( hfdc_harddisks )
SLOT_INTERFACE( "st251", MFMHD_ST251 ) // Seagate ST-251 (40 MB)
SLOT_INTERFACE_END
-MACHINE_CONFIG_START( ti99_hfdc )
+ROM_START( ti99_hfdc )
+ ROM_REGION(0x4000, TI99_DSRROM, 0)
+ ROM_LOAD("hfdc_dsr.u34", 0x0000, 0x4000, CRC(66fbe0ed) SHA1(11df2ecef51de6f543e4eaf8b2529d3e65d0bd59)) /* HFDC disk DSR ROM */
+ROM_END
+
+
+MACHINE_CONFIG_MEMBER( myarc_hfdc_device::device_add_mconfig )
MCFG_DEVICE_ADD(FDC_TAG, HDC9234, 0)
MCFG_HDC92X4_INTRQ_CALLBACK(WRITELINE(myarc_hfdc_device, intrq_w))
MCFG_HDC92X4_DIP_CALLBACK(WRITELINE(myarc_hfdc_device, dip_w))
@@ -1097,17 +1103,6 @@ MACHINE_CONFIG_START( ti99_hfdc )
MCFG_RAM_DEFAULT_VALUE(0)
MACHINE_CONFIG_END
-ROM_START( ti99_hfdc )
- ROM_REGION(0x4000, TI99_DSRROM, 0)
- ROM_LOAD("hfdc_dsr.u34", 0x0000, 0x4000, CRC(66fbe0ed) SHA1(11df2ecef51de6f543e4eaf8b2529d3e65d0bd59)) /* HFDC disk DSR ROM */
-ROM_END
-
-
-machine_config_constructor myarc_hfdc_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( ti99_hfdc );
-}
-
const tiny_rom_entry *myarc_hfdc_device::device_rom_region() const
{
return ROM_NAME( ti99_hfdc );