mirror of
https://github.com/holub/mame
synced 2025-06-07 21:33:45 +03:00
by6803: prepared layout for commas
This commit is contained in:
parent
559bebf50e
commit
53bfaabe4c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user