summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/prophet600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/prophet600.cpp')
-rw-r--r--src/mame/drivers/prophet600.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/prophet600.cpp b/src/mame/drivers/prophet600.cpp
index 6c67d59fca7..d4b8201f856 100644
--- a/src/mame/drivers/prophet600.cpp
+++ b/src/mame/drivers/prophet600.cpp
@@ -278,12 +278,12 @@ MACHINE_CONFIG_START(prophet600_state::prophet600)
config.set_default_layout(layout_prophet600);
- MCFG_DEVICE_ADD(PIT_TAG, PIT8253, XTAL(8'000'000)/4)
- MCFG_PIT8253_CLK0(XTAL(8'000'000)/4)
- MCFG_PIT8253_CLK1(XTAL(8'000'000)/4)
- MCFG_PIT8253_CLK2(XTAL(8'000'000)/4)
- MCFG_PIT8253_OUT0_HANDLER(WRITELINE(*this, prophet600_state, pit_ch0_tick_w))
- MCFG_PIT8253_OUT2_HANDLER(WRITELINE(*this, prophet600_state, pit_ch2_tick_w))
+ pit8253_device &pit8253(PIT8253(config, PIT_TAG, XTAL(8'000'000)/4));
+ pit8253.set_clk<0>(XTAL(8'000'000)/4);
+ pit8253.set_clk<1>(XTAL(8'000'000)/4);
+ pit8253.set_clk<2>(XTAL(8'000'000)/4);
+ pit8253.out_handler<0>().set(FUNC(prophet600_state::pit_ch0_tick_w));
+ pit8253.out_handler<2>().set(FUNC(prophet600_state::pit_ch2_tick_w));
ACIA6850(config, m_acia, 0);
m_acia->txd_handler().set("mdout", FUNC(midi_port_device::write_txd));