diff options
author | 2018-09-28 19:04:34 +0200 | |
---|---|---|
committer | 2018-09-28 19:04:34 +0200 | |
commit | f211cf034303a495cc07e7d01b6ed38bf098545b (patch) | |
tree | 4c71262efd887b9082557fb7ff60ad05a290a217 /src/devices/bus/newbrain | |
parent | fff30faa4f965b1b87dfe0012532a17d7eccb436 (diff) |
pc_lpt, upd765: removed MCFG macros (nw)
Diffstat (limited to 'src/devices/bus/newbrain')
-rw-r--r-- | src/devices/bus/newbrain/fdc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/newbrain/fdc.cpp b/src/devices/bus/newbrain/fdc.cpp index 733a277d49f..c3378dd5108 100644 --- a/src/devices/bus/newbrain/fdc.cpp +++ b/src/devices/bus/newbrain/fdc.cpp @@ -84,7 +84,7 @@ void newbrain_fdc_device::newbrain_fdc_io(address_map &map) { map.unmap_value_high(); map.global_mask(0x71); - map(0x00, 0x01).mirror(0x10).m(UPD765_TAG, FUNC(upd765a_device::map)); + map(0x00, 0x01).mirror(0x10).m(m_fdc, FUNC(upd765a_device::map)); map(0x20, 0x20).mirror(0x11).w(FUNC(newbrain_fdc_device::fdc_auxiliary_w)); map(0x40, 0x40).mirror(0x11).r(FUNC(newbrain_fdc_device::fdc_control_r)); } @@ -109,8 +109,8 @@ MACHINE_CONFIG_START(newbrain_fdc_device::device_add_mconfig) MCFG_DEVICE_PROGRAM_MAP(newbrain_fdc_mem) MCFG_DEVICE_IO_MAP(newbrain_fdc_io) - MCFG_UPD765A_ADD(UPD765_TAG, false, true) - MCFG_UPD765_INTRQ_CALLBACK(WRITELINE(*this, newbrain_fdc_device, fdc_int_w)) + UPD765A(config, m_fdc, false, true); + m_fdc->intrq_wr_callback().set(FUNC(newbrain_fdc_device::fdc_int_w)); MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":0", newbrain_floppies, "525dd", floppy_image_device::default_floppy_formats) MCFG_FLOPPY_DRIVE_ADD(UPD765_TAG ":1", newbrain_floppies, "525dd", floppy_image_device::default_floppy_formats) |