summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mpz80.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mpz80.cpp')
-rw-r--r--src/mame/drivers/mpz80.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/mpz80.cpp b/src/mame/drivers/mpz80.cpp
index 37d630d5cd3..4a5306dfdb6 100644
--- a/src/mame/drivers/mpz80.cpp
+++ b/src/mame/drivers/mpz80.cpp
@@ -714,14 +714,14 @@ void mpz80_state::machine_reset()
MACHINE_CONFIG_START(mpz80_state::mpz80)
// basic machine hardware
- MCFG_CPU_ADD(Z80_TAG, Z80, XTAL(4'000'000))
- MCFG_CPU_PROGRAM_MAP(mpz80_mem)
- MCFG_CPU_IO_MAP(mpz80_io)
+ MCFG_DEVICE_ADD(Z80_TAG, Z80, XTAL(4'000'000))
+ MCFG_DEVICE_PROGRAM_MAP(mpz80_mem)
+ MCFG_DEVICE_IO_MAP(mpz80_io)
// S-100
MCFG_DEVICE_ADD(S100_TAG, S100_BUS, XTAL(4'000'000) / 2)
- MCFG_S100_IRQ_CALLBACK(WRITELINE(mpz80_state, s100_pint_w))
- MCFG_S100_NMI_CALLBACK(WRITELINE(mpz80_state, s100_nmi_w))
+ MCFG_S100_IRQ_CALLBACK(WRITELINE(*this, mpz80_state, s100_pint_w))
+ MCFG_S100_NMI_CALLBACK(WRITELINE(*this, mpz80_state, s100_nmi_w))
MCFG_S100_RDY_CALLBACK(INPUTLINE(Z80_TAG, Z80_INPUT_LINE_BOGUSWAIT))
MCFG_S100_SLOT_ADD(S100_TAG ":1", mpz80_s100_cards, "mm65k16s")
MCFG_S100_SLOT_ADD(S100_TAG ":2", mpz80_s100_cards, "wunderbus")