diff options
-rw-r--r-- | src/mame/drivers/by6803.cpp | 14 | ||||
-rw-r--r-- | src/mame/layout/by6803.lay | 8 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/mame/drivers/by6803.cpp b/src/mame/drivers/by6803.cpp index 59710025763..6bffb0abaa5 100644 --- a/src/mame/drivers/by6803.cpp +++ b/src/mame/drivers/by6803.cpp @@ -7,7 +7,7 @@ Bally MPU A084-91786-AH06 (6803) First generation 6803 has 4x 7-digit displays, and a 6-digit display for the credits/balls (only 4 digits are visible). -Then, the 2nd generation replaced all that with 4x 7-letter alphanumeric displays lined up along +Then, the 2nd generation replaced all that with 2x 14-letter alphanumeric displays lined up along the bottom of the backbox. They show scores, moving messages, and anything else that's needed. This also meant a more informative setup mode. @@ -269,9 +269,11 @@ WRITE_LINE_MEMBER( by6803_state::pia0_ca2_w ) { if (state) { - // comma info is available in m_pia1_a at this time. - m_digits[m_digit] = m_segment[0]; - m_digits[m_digit+16] = m_segment[1]; + for (u8 i = 0; i < 2; i++) + { + u16 t = bitswap<10>(u16(m_segment[i]), 0, 0, 7, 7, 6, 5, 4, 3, 2, 1); + m_digits[m_digit+i*20] = t; + } } } @@ -303,12 +305,12 @@ void by6803_state::pia0a_w(u8 data) if ((data & 15)==14) { m_digit = data >> 4; - m_segment[0] = bitswap<8>(m_pia1_a, 0, 7, 6, 5, 4, 3, 2, 1) ^ 0x80; + m_segment[0] = m_pia1_a ^ 1; } else if ((data & 15)==13) { - m_segment[1] = bitswap<8>(m_pia1_a, 0, 7, 6, 5, 4, 3, 2, 1) ^ 0x80; + m_segment[1] = m_pia1_a ^ 1; } } diff --git a/src/mame/layout/by6803.lay b/src/mame/layout/by6803.lay index 2dc42c17311..1782e7fff44 100644 --- a/src/mame/layout/by6803.lay +++ b/src/mame/layout/by6803.lay @@ -7,9 +7,9 @@ copyright-holders:Robbbert <mamelayout version="2"> <element name="digit" defstate="0"> - <led8seg_gts1> + <led14segsc> <color red="1.0" green="0.0" blue="0.0" /> - </led8seg_gts1> + </led14segsc> </element> <group name="score"> @@ -38,13 +38,13 @@ copyright-holders:Robbbert </group> <!-- Player 3 Score --> - <param name="s" value="22" /> + <param name="s" value="26" /> <group ref="score"> <bounds left="10" top="165" right="308" bottom="204" /> </group> <!-- Player 4 Score --> - <param name="s" value="29" /> + <param name="s" value="33" /> <group ref="score"> <bounds left="10" top="225" right="308" bottom="264" /> </group> |