diff options
| author | 2024-02-19 20:26:04 +0100 | |
|---|---|---|
| committer | 2024-02-19 20:26:10 +0100 | |
| commit | 2f69fdfd49f4dd03d3cbafc3452e97e31a784373 (patch) | |
| tree | 9bc386b02b43850bb51c806e4b244b94db005edd /src/devices/cpu/sh | |
| parent | 4db4b8067b076e7d0801bf2800e23ab30402658f (diff) | |
vl1: Add a lot of stuff. Need to find where the MIDI data error is coming from though
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; } |
