summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2015-06-10 09:58:44 +0200
committer Dirk Best <mail@dirk-best.de>2015-06-10 10:11:57 +0200
commit9de83ac835aaf4d0212a3aa9859c5b0f61a72f76 (patch)
tree5594ef7da7696a42b09decea3f869f23e424a6c2 /src/emu
parent7981db6aef088506e67a34402027c88f62b795d5 (diff)
i8089: add support for wait for destination drq
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/cpu/i8089/i8089_channel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/emu/cpu/i8089/i8089_channel.c b/src/emu/cpu/i8089/i8089_channel.c
index eb5d49823c7..fe7666ac17c 100644
--- a/src/emu/cpu/i8089/i8089_channel.c
+++ b/src/emu/cpu/i8089/i8089_channel.c
@@ -312,7 +312,9 @@ int i8089_channel::execute_run()
fatalerror("%s('%s'): dma translate requested\n", shortname(), tag());
case DMA_WAIT_FOR_DEST_DRQ:
- fatalerror("%s('%s'): wait for destination drq not supported\n", shortname(), tag());
+ if (m_drq)
+ m_dma_state = DMA_STORE;
+ break;
case DMA_STORE:
if (VERBOSE_DMA)