summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2014-10-02 01:51:46 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2014-10-02 01:51:46 +0000
commit98adcd4883f85aab579ddc97325724322dccce55 (patch)
tree111c5dfe2f71e373af9fb0e2d0fc80a4186035cf
parent1ee7c4165175dac6808340c3e7d5466e627b68d7 (diff)
(MESS) concept: signal tc_w at end of fdc02 pseudo-DMA, but 765 still won't cooperate (nw)
-rw-r--r--src/emu/bus/a2bus/corvfdc02.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/emu/bus/a2bus/corvfdc02.c b/src/emu/bus/a2bus/corvfdc02.c
index 46bca9d8f23..87c8e6d3500 100644
--- a/src/emu/bus/a2bus/corvfdc02.c
+++ b/src/emu/bus/a2bus/corvfdc02.c
@@ -269,8 +269,15 @@ WRITE_LINE_MEMBER(a2bus_corvfdc02_device::drq_w)
// pseudo-DMA direction?
if (m_fdc_local_command & 0x40)
{
- m_buffer[m_bufptr] = m_fdc->dma_r();
+ m_buffer[m_bufptr] = m_fdc->dma_r();
// printf("DMA %02x to buffer[%x]\n", m_buffer[m_bufptr], m_bufptr);
+
+ if (!m_bufptr)
+ {
+ m_fdc->tc_w(true);
+ m_fdc->tc_w(false);
+ }
+
m_bufptr--;
m_bufptr &= 0x1ff;
}