summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/huebler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/huebler.cpp')
-rw-r--r--src/mame/drivers/huebler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/huebler.cpp b/src/mame/drivers/huebler.cpp
index bf61d2251ef..ac7aacc2a0b 100644
--- a/src/mame/drivers/huebler.cpp
+++ b/src/mame/drivers/huebler.cpp
@@ -313,10 +313,10 @@ GFXDECODE_END
MACHINE_CONFIG_START(amu880_state::amu880)
/* basic machine hardware */
- MCFG_DEVICE_ADD(Z80_TAG, Z80, XTAL(10'000'000)/4) // U880D
- MCFG_DEVICE_PROGRAM_MAP(amu880_mem)
- MCFG_DEVICE_IO_MAP(amu880_io)
- MCFG_Z80_DAISY_CHAIN(amu880_daisy_chain)
+ Z80(config, m_maincpu, XTAL(10'000'000)/4); // U880D
+ m_maincpu->set_addrmap(AS_PROGRAM, &amu880_state::amu880_mem);
+ m_maincpu->set_addrmap(AS_IO, &amu880_state::amu880_io);
+ m_maincpu->set_daisy_config(amu880_daisy_chain);
MCFG_TIMER_DRIVER_ADD_PERIODIC("keyboard", amu880_state, keyboard_tick, attotime::from_hz(1500))
@@ -336,14 +336,14 @@ MACHINE_CONFIG_START(amu880_state::amu880)
MCFG_Z80CTC_ZC2_CB(WRITELINE(*this, amu880_state, ctc_z2_w))
z80pio_device& pio1(Z80PIO(config, Z80PIO1_TAG, XTAL(10'000'000)/4));
- pio1.out_int_callback().set_inputline(Z80_TAG, INPUT_LINE_IRQ0);
+ pio1.out_int_callback().set_inputline(m_maincpu, INPUT_LINE_IRQ0);
z80pio_device& pio2(Z80PIO(config, Z80PIO2_TAG, XTAL(10'000'000)/4));
- pio2.out_int_callback().set_inputline(Z80_TAG, INPUT_LINE_IRQ0);
+ pio2.out_int_callback().set_inputline(m_maincpu, INPUT_LINE_IRQ0);
Z80SIO0(config, m_z80sio, XTAL(10'000'000)/4); // U856
m_z80sio->out_txda_callback().set(FUNC(amu880_state::cassette_w));
- m_z80sio->out_int_callback().set_inputline(Z80_TAG, INPUT_LINE_IRQ0);
+ m_z80sio->out_int_callback().set_inputline(m_maincpu, INPUT_LINE_IRQ0);
MCFG_CASSETTE_ADD("cassette")
MCFG_CASSETTE_DEFAULT_STATE(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_MUTED)