diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-12-31 16:32:50 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-12-31 16:32:50 -0500 |
commit | fb186f6091fe001fd5e96cf1f310e8530abb1c8e (patch) | |
tree | 7419a5c74492f387608a103935d5ee5c08687395 | |
parent | fd0f6becb5583c2520b2150edeb333e75efabfc4 (diff) |
att630: Configure DUART interrupts (DUART test still fails, though) (nw)
-rw-r--r-- | src/mame/drivers/att630.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/att630.cpp b/src/mame/drivers/att630.cpp index 98318baaab3..96e0626ea4a 100644 --- a/src/mame/drivers/att630.cpp +++ b/src/mame/drivers/att630.cpp @@ -108,9 +108,11 @@ void att630_state::att630(machine_config &config) screen.set_color(rgb_t::amber()); screen.set_screen_update(FUNC(att630_state::screen_update)); - SCN2681(config, "duart1", 3.6864_MHz_XTAL); + scn2681_device &duart1(SCN2681(config, "duart1", 3.6864_MHz_XTAL)); + duart1.irq_cb().set_inputline(m_maincpu, M68K_IRQ_3); - SCN2681(config, "duart2", 3.6864_MHz_XTAL); + scn2681_device &duart2(SCN2681(config, "duart2", 3.6864_MHz_XTAL)); + duart2.irq_cb().set_inputline(m_maincpu, M68K_IRQ_2); } void att630_state::att730x(machine_config &config) |