diff options
Diffstat (limited to 'src/devices/bus/ti99/peb/ti_fdc.cpp')
-rw-r--r-- | src/devices/bus/ti99/peb/ti_fdc.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/bus/ti99/peb/ti_fdc.cpp b/src/devices/bus/ti99/peb/ti_fdc.cpp index 587e4a739f1..472a5d5d881 100644 --- a/src/devices/bus/ti99/peb/ti_fdc.cpp +++ b/src/devices/bus/ti99/peb/ti_fdc.cpp @@ -431,15 +431,15 @@ MACHINE_CONFIG_START(ti_fdc_device::device_add_mconfig) MCFG_FLOPPY_DRIVE_ADD("2", tifdc_floppies, nullptr, ti_fdc_device::floppy_formats) MCFG_FLOPPY_DRIVE_SOUND(true) - MCFG_DEVICE_ADD("crulatch", LS259, 0) // U23 - MCFG_ADDRESSABLE_LATCH_Q0_OUT_CB(WRITELINE(*this, ti_fdc_device, dskpgena_w)) - MCFG_ADDRESSABLE_LATCH_Q1_OUT_CB(WRITELINE(*this, ti_fdc_device, kaclk_w)) - MCFG_ADDRESSABLE_LATCH_Q2_OUT_CB(WRITELINE(*this, ti_fdc_device, waiten_w)) - MCFG_ADDRESSABLE_LATCH_Q3_OUT_CB(WRITELINE(*this, ti_fdc_device, hlt_w)) - MCFG_ADDRESSABLE_LATCH_Q4_OUT_CB(WRITELINE(*this, ti_fdc_device, dsel_w)) - MCFG_ADDRESSABLE_LATCH_Q5_OUT_CB(WRITELINE(*this, ti_fdc_device, dsel_w)) - MCFG_ADDRESSABLE_LATCH_Q6_OUT_CB(WRITELINE(*this, ti_fdc_device, dsel_w)) - MCFG_ADDRESSABLE_LATCH_Q7_OUT_CB(WRITELINE(*this, ti_fdc_device, sidsel_w)) + LS259(config, m_crulatch); // U23 + m_crulatch->q_out_cb<0>().set(FUNC(ti_fdc_device::dskpgena_w)); + m_crulatch->q_out_cb<1>().set(FUNC(ti_fdc_device::kaclk_w)); + m_crulatch->q_out_cb<2>().set(FUNC(ti_fdc_device::waiten_w)); + m_crulatch->q_out_cb<3>().set(FUNC(ti_fdc_device::hlt_w)); + m_crulatch->q_out_cb<4>().set(FUNC(ti_fdc_device::dsel_w)); + m_crulatch->q_out_cb<5>().set(FUNC(ti_fdc_device::dsel_w)); + m_crulatch->q_out_cb<6>().set(FUNC(ti_fdc_device::dsel_w)); + m_crulatch->q_out_cb<7>().set(FUNC(ti_fdc_device::sidsel_w)); MACHINE_CONFIG_END const tiny_rom_entry *ti_fdc_device::device_rom_region() const |