diff options
-rw-r--r-- | src/devices/machine/am79c30.cpp | 12 | ||||
-rw-r--r-- | src/mame/drivers/eurit.cpp | 4 |
2 files changed, 9 insertions, 7 deletions
diff --git a/src/devices/machine/am79c30.cpp b/src/devices/machine/am79c30.cpp index 77b87733044..ed31a517398 100644 --- a/src/devices/machine/am79c30.cpp +++ b/src/devices/machine/am79c30.cpp @@ -386,7 +386,7 @@ void am79c30a_device::set_lmr1(u8 data) if (BIT(data, 6) != BIT(m_lmr1, 6)) LOG("%s: LIU receiver/transmitter %sabled\n", machine().describe_context(), BIT(data, 6) ? "en" : "dis"); if (BIT(data, 7)) - logerror("%s: LMR1 reserved bit 7 set\n"); + logerror("%s: LMR1 reserved bit 7 set\n", machine().describe_context()); m_lmr1 = data; } @@ -414,7 +414,7 @@ void am79c30a_device::set_lmr2(u8 data) if (BIT(data, 6) != BIT(m_lmr2, 6)) LOG("%s: F7 change of state interrupt %sabled\n", machine().describe_context(), BIT(data, 6) ? "en" : "dis"); if (BIT(data, 7)) - logerror("%s: LMR2 reserved bit 7 set\n"); + logerror("%s: LMR2 reserved bit 7 set\n", machine().describe_context()); m_lmr2 = data; } @@ -492,9 +492,9 @@ void am79c30a_device::set_mcr(unsigned n, u8 data) if (data == 0) LOG("%s: No connect (MCR%d)\n", machine().describe_context(), n + 1); else if ((data & 0xf0) >> 4 == (data & 0x0f)) - LOG("%s: %s loopback (MCR%d)\n", machine().describe_context(), data & 0x0f, n + 1); + LOG("%s: %s loopback (MCR%d)\n", machine().describe_context(), s_mcr_channels[data & 0x0f], n + 1); else - LOG("%s: %s <-> %s (MCR%d)\n", machine().describe_context(), (data & 0xf0) >> 4, data & 0x0f, n + 1); + LOG("%s: %s <-> %s (MCR%d)\n", machine().describe_context(), s_mcr_channels[(data & 0xf0) >> 4], s_mcr_channels[data & 0x0f], n + 1); } m_mcr[n] = data; @@ -753,7 +753,9 @@ void am79c30a_device::set_stra(u8 data) else { u8 a = 15 - ((data & 0xf0) >> 4); - LOG("%s: Secondary tone ringer %.2f V peak-to-peak, %d dB relative\n", BIT(a, 0) ? 3.53553390593274 : 5.0 / (1 << (a / 2)), a * -3); + LOG("%s: Secondary tone ringer %.2f V peak-to-peak, %d dB relative\n", machine().describe_context(), + BIT(a, 0) ? 3.53553390593274 : 5.0 / (1 << (a / 2)), + a * -3); } } diff --git a/src/mame/drivers/eurit.cpp b/src/mame/drivers/eurit.cpp index f96f0bfb38e..f78d91840b4 100644 --- a/src/mame/drivers/eurit.cpp +++ b/src/mame/drivers/eurit.cpp @@ -120,8 +120,8 @@ static INPUT_PORTS_START(eurit30) PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("2 DEF") PORT_CODE(KEYCODE_2) PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("1 ABC") PORT_CODE(KEYCODE_1) PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Unknown Key D5") - PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Unknown Key D6") - PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Unknown Key D7") + PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME(UTF8_RIGHT) PORT_CODE(KEYCODE_RIGHT) + PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME(UTF8_LEFT) PORT_CODE(KEYCODE_LEFT) PORT_START("KEYE") PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Unknown Key E0") |