diff options
Diffstat (limited to 'src/devices/cpu/sh')
| -rw-r--r-- | src/devices/cpu/sh/sh7042.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/devices/cpu/sh/sh7042.cpp b/src/devices/cpu/sh/sh7042.cpp index 1ae31e7077c..5a468b85969 100644 --- a/src/devices/cpu/sh/sh7042.cpp +++ b/src/devices/cpu/sh/sh7042.cpp @@ -90,7 +90,14 @@ void sh7042_device::adcsr_w(u8 data) void sh7042_device::adcr_w(u8 data) { - logerror("adcr_w %02x\n", data); + static const char *const tg_modes[4] = { "soft", "mtu", "?", "external" }; + static const char *const buf_modes[4] = { "normal", "a->b", "a,b->c,d", "a->b->c->d" }; + logerror("adcr_w speed=%d trigger=%s mode=%s sampling=%s buffering=%s\n", + BIT(data, 6) ? "high" : "low", + tg_modes[(data >> 4) & 3], + BIT(data, 3) ? "scan" : "single", + BIT(data, 2) ? "simultaneous" : "normal", + buf_modes[data & 3]); m_adcr = data; } |
