summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2017-03-05 00:24:28 -0500
committer AJR <ajrhacker@users.noreply.github.com>2017-03-05 00:24:56 -0500
commitea734065c795b19ae511d29326e5644f80c116dc (patch)
treeba890e5d3317a978dce78cc97b31d04d17452550 /src
parenta21905c738ee87923485240d4721cd2b2fb9f160 (diff)
Correct MMOD bit for Z180 DMA
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/z180/z180.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/z180/z180.cpp b/src/devices/cpu/z180/z180.cpp
index 1c7d58dff75..eb36b73548c 100644
--- a/src/devices/cpu/z180/z180.cpp
+++ b/src/devices/cpu/z180/z180.cpp
@@ -627,9 +627,9 @@ offs_t z180_device::disasm_disassemble(std::ostream &stream, offs_t pc, const ui
#define Z180_DSTAT_WMASK 0xcc
/* 31 DMA mode register */
-#define Z180_DMODE_DM 0x30
-#define Z180_DMODE_SM 0x0c
-#define Z180_DMODE_MMOD 0x04
+#define Z180_DMODE_DM 0x30 /* DMA ch 1/0 destination select */
+#define Z180_DMODE_SM 0x0c /* DMA ch 1/0 source select */
+#define Z180_DMODE_MMOD 0x02 /* DMA cycle steal/burst mode select */
#define Z180_DMODE_RESET 0x00
#define Z180_DMODE_RMASK 0x3e