summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2016-12-20 13:37:09 +0100
committer Dirk Best <mail@dirk-best.de>2016-12-22 15:29:04 +0100
commit56700e5d902fb225be0d030b44c381c005a80caa (patch)
tree738294beb691e09ee64ff8597d5758e886db8a4f
parent7d7023cc0a58bf6f5a1fdbe9b73766a95d47ad23 (diff)
i8089: Silence DMA transfer log spam
-rw-r--r--src/devices/cpu/i8089/i8089_channel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/cpu/i8089/i8089_channel.cpp b/src/devices/cpu/i8089/i8089_channel.cpp
index 1b8d86d2b53..cbfd60b2280 100644
--- a/src/devices/cpu/i8089/i8089_channel.cpp
+++ b/src/devices/cpu/i8089/i8089_channel.cpp
@@ -18,7 +18,7 @@
//**************************************************************************
#define VERBOSE 1
-#define VERBOSE_DMA 1
+#define VERBOSE_DMA 0
// channel control register fields
#define CC_TMC ((m_r[CC].w >> 0) & 0x07) // terminate on masked compare
@@ -835,13 +835,14 @@ WRITE_LINE_MEMBER( i8089_channel::ext_w )
{
if (VERBOSE)
logerror("%s('%s'): ext_w: %d\n", shortname(), tag(), state);
- if(transferring() && state)
+
+ if (transferring() && state)
terminate_dma((CC_TX - 1) * 4);
}
WRITE_LINE_MEMBER( i8089_channel::drq_w )
{
- if (VERBOSE)
+ if (VERBOSE_DMA)
logerror("%s('%s'): drq_w: %d\n", shortname(), tag(), state);
m_drq = state;