diff options
author | 2020-03-22 14:33:57 +1100 | |
---|---|---|
committer | 2020-03-22 14:33:57 +1100 | |
commit | 92d6e163a8e417c3ec527a70d3858b182e2e6d13 (patch) | |
tree | 6467713a3ef5dfc0dcffeae713ee6cdbac0be8c1 /src/devices/machine/scn_pci.cpp | |
parent | 6aef85534bf3077c3cd22aa33705f9abad3a5ffb (diff) |
srcclean (nw)
Diffstat (limited to 'src/devices/machine/scn_pci.cpp')
-rw-r--r-- | src/devices/machine/scn_pci.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/machine/scn_pci.cpp b/src/devices/machine/scn_pci.cpp index 2c77f3ac9fd..2f34f1a9be5 100644 --- a/src/devices/machine/scn_pci.cpp +++ b/src/devices/machine/scn_pci.cpp @@ -1212,18 +1212,18 @@ void scn_pci_device::write_mode(u8 data) if ((data & 0x03) != 0) { LOGMASKED(LOG_INIT, "Asynchronous %dX mode: %d data bits, %s parity, %s stop bit%s\n", - BIT(data, 1) ? (BIT(data, 0) ? 64 : 16) : 1, - ((data & 0x0c) >> 2) + 5, - BIT(data, 4) ? (BIT(data, 5) ? "even" : "odd") : "no", - s_stop_bit_desc[(data & 0xc0) >> 6], (data & 0xc0) != 0x40 ? "s" : ""); + BIT(data, 1) ? (BIT(data, 0) ? 64 : 16) : 1, + ((data & 0x0c) >> 2) + 5, + BIT(data, 4) ? (BIT(data, 5) ? "even" : "odd") : "no", + s_stop_bit_desc[(data & 0xc0) >> 6], (data & 0xc0) != 0x40 ? "s" : ""); } else { LOGMASKED(LOG_INIT, "Synchronous 1X mode: %s%s SYN, %d data bits, %s parity\n", - BIT(data, 6) ? "transparent " : "", - BIT(data, 7) ? "single" : "double", - ((data & 0x0c) >> 2) + 5, - BIT(data, 4) ? (BIT(data, 5) ? "even" : "odd") : "no"); + BIT(data, 6) ? "transparent " : "", + BIT(data, 7) ? "single" : "double", + ((data & 0x0c) >> 2) + 5, + BIT(data, 4) ? (BIT(data, 5) ? "even" : "odd") : "no"); if (m_is_aci) logerror("%s: Invalid synchronous mode configured\n", machine().describe_context()); } @@ -1258,9 +1258,9 @@ void scn_pci_device::write_mode(u8 data) else if (BIT(data, 4)) { LOGMASKED(LOG_INIT, "%sRxC (%.1f baud with %s output)\n", - BIT(data, 5) ? "Internal TxC/" : "External TxC, internal ", - baud_rate, - BIT(data, 7) ? "BKDET" : BIT(data, 6) ? "16X" : "1X"); + BIT(data, 5) ? "Internal TxC/" : "External TxC, internal ", + baud_rate, + BIT(data, 7) ? "BKDET" : BIT(data, 6) ? "16X" : "1X"); // BKDET output if (BIT(data, 7)) @@ -1269,8 +1269,8 @@ void scn_pci_device::write_mode(u8 data) else if (BIT(data, 5)) { LOGMASKED(LOG_INIT, "Internal TxC (%.1f baud with %s output), external RxC\n", - baud_rate, - BIT(data, 6) ? "16X" : "1X"); + baud_rate, + BIT(data, 6) ? "16X" : "1X"); } else LOGMASKED(LOG_INIT, "External TxC, external RxC (may be indepedent)\n"); |