summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-09-21 01:20:44 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-09-21 01:21:13 -0400
commitc8e840105beb5282e470694bfc03c48200b81559 (patch)
tree119fd6844dc4fd2894209927f93a4276a47d0752
parentd1f9c79de853f353b9853351aebefb588db301e0 (diff)
lee1214: Interrupted (nw)
-rw-r--r--src/mame/drivers/lee1214.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/lee1214.cpp b/src/mame/drivers/lee1214.cpp
index 4c24308498d..f61babf9f1a 100644
--- a/src/mame/drivers/lee1214.cpp
+++ b/src/mame/drivers/lee1214.cpp
@@ -48,7 +48,7 @@ void lee1214_state::io_map(address_map &map)
{
map(0x0000, 0x0003).rw("mpsc", FUNC(i8274_new_device::cd_ba_r), FUNC(i8274_new_device::cd_ba_w));
//map(0x0100, 0x0100).w("crtc", FUNC(mc6845_device::address_w));
- //map(0x0101, 0x0101).w("crtc", FUNC(mc6845_device::register_w));
+ //map(0x0101, 0x0101).rw("crtc", FUNC(mc6845_device::register_r), FUNC(mc6845_device::register_w));
}
void lee1214_state::machine_start()
@@ -69,7 +69,8 @@ void lee1214_state::lee1214(machine_config &config)
m_maincpu->set_addrmap(AS_PROGRAM, &lee1214_state::mem_map);
m_maincpu->set_addrmap(AS_IO, &lee1214_state::io_map);
- I8274_NEW(config, "mpsc", 4'000'000);
+ i8274_new_device &mpsc(I8274_NEW(config, "mpsc", 4'000'000));
+ mpsc.out_int_callback().set("maincpu", FUNC(i80188_cpu_device::int0_w));
EEPROM_2816(config, "eeprom");
}