mirror of
https://github.com/holub/mame
synced 2025-06-08 05:44:09 +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
|
First generation 6803 has 4x 7-digit displays, and a 6-digit display for the credits/balls (only
|
||||||
4 digits are visible).
|
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.
|
the bottom of the backbox. They show scores, moving messages, and anything else that's needed.
|
||||||
This also meant a more informative setup mode.
|
This also meant a more informative setup mode.
|
||||||
|
|
||||||
@ -269,9 +269,11 @@ WRITE_LINE_MEMBER( by6803_state::pia0_ca2_w )
|
|||||||
{
|
{
|
||||||
if (state)
|
if (state)
|
||||||
{
|
{
|
||||||
// comma info is available in m_pia1_a at this time.
|
for (u8 i = 0; i < 2; i++)
|
||||||
m_digits[m_digit] = m_segment[0];
|
{
|
||||||
m_digits[m_digit+16] = m_segment[1];
|
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)
|
if ((data & 15)==14)
|
||||||
{
|
{
|
||||||
m_digit = data >> 4;
|
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
|
else
|
||||||
if ((data & 15)==13)
|
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">
|
<mamelayout version="2">
|
||||||
|
|
||||||
<element name="digit" defstate="0">
|
<element name="digit" defstate="0">
|
||||||
<led8seg_gts1>
|
<led14segsc>
|
||||||
<color red="1.0" green="0.0" blue="0.0" />
|
<color red="1.0" green="0.0" blue="0.0" />
|
||||||
</led8seg_gts1>
|
</led14segsc>
|
||||||
</element>
|
</element>
|
||||||
|
|
||||||
<group name="score">
|
<group name="score">
|
||||||
@ -38,13 +38,13 @@ copyright-holders:Robbbert
|
|||||||
</group>
|
</group>
|
||||||
|
|
||||||
<!-- Player 3 Score -->
|
<!-- Player 3 Score -->
|
||||||
<param name="s" value="22" />
|
<param name="s" value="26" />
|
||||||
<group ref="score">
|
<group ref="score">
|
||||||
<bounds left="10" top="165" right="308" bottom="204" />
|
<bounds left="10" top="165" right="308" bottom="204" />
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<!-- Player 4 Score -->
|
<!-- Player 4 Score -->
|
||||||
<param name="s" value="29" />
|
<param name="s" value="33" />
|
||||||
<group ref="score">
|
<group ref="score">
|
||||||
<bounds left="10" top="225" right="308" bottom="264" />
|
<bounds left="10" top="225" right="308" bottom="264" />
|
||||||
</group>
|
</group>
|
||||||
|
Loading…
Reference in New Issue
Block a user