summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2012-09-11 04:42:29 +0000
committer Olivier Galibert <galibert@pobox.com>2012-09-11 04:42:29 +0000
commite5bbf531533db76bdc34f102eec11494cdfda314 (patch)
treeafcd22df26a10e8163bf2e289a930fbbd42a6a95
parentd3e714fb9b94cba55d59f2e1f0f358484ae3e6ff (diff)
oops (nw)
-rw-r--r--src/mess/machine/at.c2
-rw-r--r--src/mess/machine/southbridge.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/at.c b/src/mess/machine/at.c
index 78350fb623d..1c184079d0c 100644
--- a/src/mess/machine/at.c
+++ b/src/mess/machine/at.c
@@ -227,7 +227,7 @@ WRITE_LINE_MEMBER( at_state::at_dma8237_out_eop )
{
m_cur_eop = state == ASSERT_LINE;
if(m_dma_channel != -1)
- m_isabus->eop_w(m_dma_channel, ASSERT_LINE );
+ m_isabus->eop_w(m_dma_channel, m_cur_eop ? ASSERT_LINE : CLEAR_LINE );
}
void at_state::pc_set_dma_channel(int channel, int state)
diff --git a/src/mess/machine/southbridge.c b/src/mess/machine/southbridge.c
index a0db7efb302..9226e432087 100644
--- a/src/mess/machine/southbridge.c
+++ b/src/mess/machine/southbridge.c
@@ -403,7 +403,7 @@ WRITE_LINE_MEMBER( southbridge_device::at_dma8237_out_eop )
{
m_cur_eop = state == ASSERT_LINE;
if(m_dma_channel != -1)
- m_isabus->eop_w(m_dma_channel, ASSERT_LINE );
+ m_isabus->eop_w(m_dma_channel, m_cur_eop ? ASSERT_LINE : CLEAR_LINE );
}
void southbridge_device::pc_select_dma_channel(int channel, bool state)