diff options
author | 2018-09-28 19:04:34 +0200 | |
---|---|---|
committer | 2018-09-28 19:04:34 +0200 | |
commit | f211cf034303a495cc07e7d01b6ed38bf098545b (patch) | |
tree | 4c71262efd887b9082557fb7ff60ad05a290a217 /src/mame/drivers/tandy2k.cpp | |
parent | fff30faa4f965b1b87dfe0012532a17d7eccb436 (diff) |
pc_lpt, upd765: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/tandy2k.cpp')
-rw-r--r-- | src/mame/drivers/tandy2k.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/tandy2k.cpp b/src/mame/drivers/tandy2k.cpp index 03b12ee5e0c..2f76b848870 100644 --- a/src/mame/drivers/tandy2k.cpp +++ b/src/mame/drivers/tandy2k.cpp @@ -851,11 +851,11 @@ MACHINE_CONFIG_START(tandy2k_state::tandy2k) MCFG_DEVICE_ADD(I8259A_1_TAG, PIC8259, 0) MCFG_PIC8259_OUT_INT_CB(WRITELINE(I80186_TAG, i80186_cpu_device, int1_w)) - MCFG_I8272A_ADD(I8272A_TAG, true) - downcast<i8272a_device *>(device)->set_select_lines_connected(true); - MCFG_UPD765_INTRQ_CALLBACK(WRITELINE(I8259A_0_TAG, pic8259_device, ir4_w)) - MCFG_UPD765_DRQ_CALLBACK(WRITELINE(*this, tandy2k_state, fdc_drq_w)) - MCFG_UPD765_HDL_CALLBACK(WRITELINE(*this, tandy2k_state, fdc_hdl_w)) + I8272A(config, m_fdc, true); + m_fdc->set_select_lines_connected(true); + m_fdc->intrq_wr_callback().set(m_pic0, FUNC(pic8259_device::ir4_w)); + m_fdc->drq_wr_callback().set(FUNC(tandy2k_state::fdc_drq_w)); + m_fdc->hdl_wr_callback().set(FUNC(tandy2k_state::fdc_hdl_w)); MCFG_FLOPPY_DRIVE_ADD(I8272A_TAG ":0", tandy2k_floppies, "525qd", tandy2k_state::floppy_formats) MCFG_FLOPPY_DRIVE_ADD(I8272A_TAG ":1", tandy2k_floppies, "525qd", tandy2k_state::floppy_formats) |