summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/apple2e.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-01-22 13:09:17 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-01-22 13:14:34 -0500
commit3de63dc88426f44098df5798459593b2d7f9d601 (patch)
treed23e246a595c08865e967b7f2bb4c6a3acb46124 /src/mame/drivers/apple2e.cpp
parent24f33f3cf40d03ecf0eacf60eb0b56282a65a045 (diff)
a2bus: Replace CPU finder with address space finder; make DMA line an explicitly configured callback; remove MCFG_ macros (nw)
Diffstat (limited to 'src/mame/drivers/apple2e.cpp')
-rw-r--r--src/mame/drivers/apple2e.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/apple2e.cpp b/src/mame/drivers/apple2e.cpp
index 6d19fe49f41..23944445982 100644
--- a/src/mame/drivers/apple2e.cpp
+++ b/src/mame/drivers/apple2e.cpp
@@ -4039,10 +4039,11 @@ MACHINE_CONFIG_START(apple2e_state::apple2e)
/* slot devices */
A2BUS(config, m_a2bus, 0);
- m_a2bus->set_cputag("maincpu");
+ m_a2bus->set_space(m_maincpu, AS_PROGRAM);
m_a2bus->irq_w().set(FUNC(apple2e_state::a2bus_irq_w));
m_a2bus->nmi_w().set(FUNC(apple2e_state::a2bus_nmi_w));
m_a2bus->inh_w().set(FUNC(apple2e_state::a2bus_inh_w));
+ m_a2bus->dma_w().set_inputline(m_maincpu, INPUT_LINE_HALT);
A2BUS_SLOT(config, "sl1", m_a2bus, apple2_cards, nullptr);
A2BUS_SLOT(config, "sl2", m_a2bus, apple2_cards, nullptr);
A2BUS_SLOT(config, "sl3", m_a2bus, apple2_cards, nullptr);