summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/esq1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/esq1.cpp')
-rw-r--r--src/mame/drivers/esq1.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/esq1.cpp b/src/mame/drivers/esq1.cpp
index d6875199e45..743c65c506c 100644
--- a/src/mame/drivers/esq1.cpp
+++ b/src/mame/drivers/esq1.cpp
@@ -586,34 +586,34 @@ INPUT_CHANGED_MEMBER(esq1_state::key_stroke)
}
MACHINE_CONFIG_START(esq1_state::esq1)
- MCFG_CPU_ADD("maincpu", MC6809, XTAL(8'000'000)) // XTAL not directly attached to CPU
- MCFG_CPU_PROGRAM_MAP(esq1_map)
+ MCFG_DEVICE_ADD("maincpu", MC6809, XTAL(8'000'000)) // XTAL not directly attached to CPU
+ MCFG_DEVICE_PROGRAM_MAP(esq1_map)
MCFG_DEVICE_ADD("duart", SCN2681, XTAL(8'000'000) / 2)
MCFG_MC68681_SET_EXTERNAL_CLOCKS(XTAL(8'000'000) / 16, XTAL(8'000'000) / 16, XTAL(8'000'000) / 8, XTAL(8'000'000) / 8)
MCFG_MC68681_IRQ_CALLBACK(INPUTLINE("maincpu", M6809_IRQ_LINE))
- MCFG_MC68681_A_TX_CALLBACK(WRITELINE(esq1_state, duart_tx_a))
- MCFG_MC68681_B_TX_CALLBACK(WRITELINE(esq1_state, duart_tx_b))
- MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(esq1_state, duart_output))
+ MCFG_MC68681_A_TX_CALLBACK(WRITELINE(*this, esq1_state, duart_tx_a))
+ MCFG_MC68681_B_TX_CALLBACK(WRITELINE(*this, esq1_state, duart_tx_b))
+ MCFG_MC68681_OUTPORT_CALLBACK(WRITE8(*this, esq1_state, duart_output))
MCFG_ESQPANEL2X40_ADD("panel")
- MCFG_ESQPANEL_TX_CALLBACK(DEVWRITELINE("duart", scn2681_device, rx_b_w))
+ MCFG_ESQPANEL_TX_CALLBACK(WRITELINE("duart", scn2681_device, rx_b_w))
MCFG_MIDI_PORT_ADD("mdin", midiin_slot, "midiin")
- MCFG_MIDI_RX_HANDLER(DEVWRITELINE("duart", scn2681_device, rx_a_w)) // route MIDI Tx send directly to 68681 channel A Rx
+ MCFG_MIDI_RX_HANDLER(WRITELINE("duart", scn2681_device, rx_a_w)) // route MIDI Tx send directly to 68681 channel A Rx
MCFG_MIDI_PORT_ADD("mdout", midiout_slot, "midiout")
MCFG_SPEAKER_STANDARD_STEREO("lspeaker", "rspeaker")
- MCFG_SOUND_ADD("filters", ESQ1_FILTERS, 0)
+ MCFG_DEVICE_ADD("filters", ESQ1_FILTERS, 0)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)
MCFG_SOUND_ROUTE(1, "rspeaker", 1.0)
MCFG_ES5503_ADD("es5503", XTAL(8'000'000))
MCFG_ES5503_OUTPUT_CHANNELS(8)
- MCFG_ES5503_IRQ_FUNC(WRITELINE(esq1_state, esq1_doc_irq))
- MCFG_ES5503_ADC_FUNC(READ8(esq1_state, esq1_adc_read))
+ MCFG_ES5503_IRQ_FUNC(WRITELINE(*this, esq1_state, esq1_doc_irq))
+ MCFG_ES5503_ADC_FUNC(READ8(*this, esq1_state, esq1_adc_read))
MCFG_SOUND_ROUTE(0, "filters", 1.0, 0)
MCFG_SOUND_ROUTE(1, "filters", 1.0, 1)
@@ -627,8 +627,8 @@ MACHINE_CONFIG_END
MACHINE_CONFIG_START(esq1_state::sq80)
esq1(config);
- MCFG_CPU_MODIFY("maincpu")
- MCFG_CPU_PROGRAM_MAP(sq80_map)
+ MCFG_DEVICE_MODIFY("maincpu")
+ MCFG_DEVICE_PROGRAM_MAP(sq80_map)
MCFG_WD1772_ADD(WD1772_TAG, 4000000)
MACHINE_CONFIG_END