diff options
Diffstat (limited to 'src/mame/drivers/hp9k_3xx.cpp')
-rw-r--r-- | src/mame/drivers/hp9k_3xx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/hp9k_3xx.cpp b/src/mame/drivers/hp9k_3xx.cpp index f74f87f1c35..f28e296a6a7 100644 --- a/src/mame/drivers/hp9k_3xx.cpp +++ b/src/mame/drivers/hp9k_3xx.cpp @@ -471,10 +471,10 @@ MACHINE_CONFIG_START(hp9k3xx_state::hp9k300) MCFG_DEVICE_ADD(m_mlc, HP_HIL_MLC, XTAL(8'000'000)) MCFG_HP_HIL_SLOT_ADD(MLC_TAG, "hil1", hp_hil_devices, "hp_46021a") - MCFG_DEVICE_ADD(PTM6840_TAG, PTM6840, 250000) // from oscillator module next to the 6840 - MCFG_PTM6840_EXTERNAL_CLOCKS(250000.0f, 0.0f, 250000.0f) - MCFG_PTM6840_O3_CB(WRITELINE(PTM6840_TAG, ptm6840_device , set_c2)) - MCFG_PTM6840_IRQ_CB(INPUTLINE("maincpu", M68K_IRQ_6)) + ptm6840_device &ptm(PTM6840(config, PTM6840_TAG, 250000)); // from oscillator module next to the 6840 + ptm.set_external_clocks(250000.0f, 0.0f, 250000.0f); + ptm.o3_callback().set(PTM6840_TAG, FUNC(ptm6840_device::set_c2)); + ptm.irq_callback().set_inputline("maincpu", M68K_IRQ_6); SPEAKER(config, "mono").front_center(); MCFG_DEVICE_ADD(SN76494_TAG, SN76494, SN76494_CLOCK) |