summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-10-24 03:36:42 +1100
committer Vas Crabb <vas@vastheman.com>2020-10-24 03:36:42 +1100
commitf21bb19990ebade8a70971a46983f53e4332588f (patch)
treefbd1141c4975683c996a89251d7b18be6a448562 /src
parentdab33e9990a021598a0731ffa668572e565a5304 (diff)
bus/a2bus: Removed some unused LOG arguments, added another assertion.
Diffstat (limited to 'src')
-rw-r--r--src/devices/bus/a2bus/grapplerplus.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/a2bus/grapplerplus.cpp b/src/devices/bus/a2bus/grapplerplus.cpp
index 6523392f2f5..8de41067385 100644
--- a/src/devices/bus/a2bus/grapplerplus.cpp
+++ b/src/devices/bus/a2bus/grapplerplus.cpp
@@ -126,14 +126,14 @@ void a2bus_grapplerplus_device::write_c0nx(u8 offset, u8 data)
}
else
{
- LOG("/ACK asserted, not clearing acknowledge latch\n", data);
+ LOG("/ACK asserted, not clearing acknowledge latch\n");
}
// generate strobe pulse after one clock cycle
m_next_strobe = 0U;
if (!m_strobe_timer->enabled())
{
- LOG("Start strobe timer\n", m_next_strobe);
+ LOG("Start strobe timer\n");
m_strobe_timer->adjust(attotime::from_ticks(1, clock()));
}
}
@@ -156,6 +156,7 @@ void a2bus_grapplerplus_device::write_c0nx(u8 offset, u8 data)
m_irq_disable = 1U;
if (m_irq)
{
+ assert(m_ack_latch);
LOG("Releasing slot IRQ\n");
m_irq = 0x00U;
lower_slot_irq();
@@ -329,7 +330,7 @@ TIMER_CALLBACK_MEMBER(a2bus_grapplerplus_device::update_strobe)
m_printer_conn->write_strobe(m_next_strobe);
if (!m_next_strobe)
{
- LOG("Start strobe timer\n", m_next_strobe);
+ LOG("Start strobe timer\n");
m_next_strobe = 1U;
m_strobe_timer->adjust(attotime::from_ticks(1, clock()));
}