summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-05-15 14:56:14 -0400
committer AJR <ajrhacker@users.noreply.github.com>2018-05-15 14:56:19 -0400
commit4acb7f4baddcb59c2087b1ad548e84eaee070bc5 (patch)
tree5431301ab832324388e2cdcc6fa8f9a94428f512 /src/mame/machine
parentbbf9a9cf40a0e6ef160ebe173b61c180def3fdc8 (diff)
Start killing off non-diexec PULSE_LINE hacks (nw)
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/namcoio.cpp5
-rw-r--r--src/mame/machine/saturn.cpp8
2 files changed, 8 insertions, 5 deletions
diff --git a/src/mame/machine/namcoio.cpp b/src/mame/machine/namcoio.cpp
index 2eaa9079f31..2a73c02605a 100644
--- a/src/mame/machine/namcoio.cpp
+++ b/src/mame/machine/namcoio.cpp
@@ -177,7 +177,10 @@ void namcoio_device::device_reset()
elem = 0;
if (m_reset != ASSERT_LINE)
- set_reset_line(PULSE_LINE);
+ {
+ set_reset_line(ASSERT_LINE);
+ set_reset_line(CLEAR_LINE);
+ }
}
/*****************************************************************************
diff --git a/src/mame/machine/saturn.cpp b/src/mame/machine/saturn.cpp
index 2fbc430a1f7..2975b4cb393 100644
--- a/src/mame/machine/saturn.cpp
+++ b/src/mame/machine/saturn.cpp
@@ -79,7 +79,7 @@ WRITE32_MEMBER(saturn_state::minit_w)
machine().scheduler().boost_interleave(m_minit_boost_timeslice, attotime::from_usec(m_minit_boost));
machine().scheduler().trigger(1000);
machine().scheduler().synchronize(); // force resync
- m_slave->sh2_set_frt_input(PULSE_LINE);
+ m_slave->pulse_frt_input();
}
WRITE32_MEMBER(saturn_state::sinit_w)
@@ -87,7 +87,7 @@ WRITE32_MEMBER(saturn_state::sinit_w)
//logerror("%s SINIT write = %08x\n", machine().describe_context(),data);
machine().scheduler().boost_interleave(m_sinit_boost_timeslice, attotime::from_usec(m_sinit_boost));
machine().scheduler().synchronize(); // force resync
- m_maincpu->sh2_set_frt_input(PULSE_LINE);
+ m_maincpu->pulse_frt_input();
}
/*
@@ -120,7 +120,7 @@ WRITE32_MEMBER(saturn_state::saturn_minit_w)
machine().scheduler().trigger(1000);
}
- m_slave->sh2_set_frt_input(PULSE_LINE);
+ m_slave->pulse_frt_input();
}
WRITE32_MEMBER(saturn_state::saturn_sinit_w)
@@ -131,7 +131,7 @@ WRITE32_MEMBER(saturn_state::saturn_sinit_w)
else
machine().scheduler().boost_interleave(m_sinit_boost_timeslice, attotime::from_usec(m_sinit_boost));
- m_maincpu->sh2_set_frt_input(PULSE_LINE);
+ m_maincpu->pulse_frt_input();
}