summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/newbrain
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-08-11 00:18:30 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-08-11 00:18:54 +0200
commit372ac5c7e7d912fa39ec23670cb5afe8bbf547e1 (patch)
treeda9cb881d76ad74d64dc61d8023da25bac9ecd9d /src/devices/bus/newbrain
parent6ad145975588ca3361d0cc54dfaf0ad87b1dad74 (diff)
-68230pit, 68307, 68340, 6840ptm, 6850acia, 68561mpcc: Removed MCFG macros and old devcb. [Ryan Holtz]
Let's see what I messed up this time, AJR. :) nw
Diffstat (limited to 'src/devices/bus/newbrain')
-rw-r--r--src/devices/bus/newbrain/eim.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/bus/newbrain/eim.cpp b/src/devices/bus/newbrain/eim.cpp
index b778b092694..698a1ebfbe9 100644
--- a/src/devices/bus/newbrain/eim.cpp
+++ b/src/devices/bus/newbrain/eim.cpp
@@ -87,8 +87,9 @@ MACHINE_CONFIG_START(newbrain_eim_device::device_add_mconfig)
MCFG_ADC0808_IN6_CB(CONSTANT(0))
MCFG_ADC0808_IN7_CB(CONSTANT(0))
- MCFG_DEVICE_ADD(MC6850_TAG, ACIA6850, 0)
- MCFG_ACIA6850_IRQ_HANDLER(WRITELINE(*this, newbrain_eim_device, acia_interrupt))
+ ACIA6850(config, m_acia, 0);
+ m_acia->irq_handler().set(FUNC(newbrain_eim_device::acia_interrupt));
+
MCFG_DEVICE_ADD(RS232_TAG, RS232_PORT, default_rs232_devices, nullptr)
MCFG_NEWBRAIN_EXPANSION_SLOT_ADD(NEWBRAIN_EXPANSION_SLOT_TAG, XTAL(16'000'000)/8, newbrain_expansion_cards, "fdc")