s11a: Rearranged score layout, and added the proper diagnostic LED.

This commit is contained in:
mahlemiut 2012-12-19 10:54:53 +00:00
parent ae40882890
commit 40b442b25a
2 changed files with 57 additions and 49 deletions

View File

@ -10,7 +10,7 @@ ToDo:
- Can coin up but not start
- Doesn't react to the Advance button very well
- Some LEDs flicker
- Diagnostic LED flips between 7 and 0 regularly
- Diagnostic LED blinks constantly
*****************************************************************************************/
@ -304,11 +304,12 @@ READ_LINE_MEMBER( s11a_state::pia28_cb1_r )
WRITE8_MEMBER( s11a_state::dig0_w )
{
static const UINT8 patterns[16] = { 0x3f, 0x06, 0x5b, 0x4f, 0x66, 0x6d, 0x7c, 0x07, 0x7f, 0x67, 0x58, 0x4c, 0x62, 0x69, 0x78, 0 }; // 7447
data &= 0x7f;
m_strobe = data & 15;
m_diag = (data & 0x70) >> 4;
output_set_digit_value(60, patterns[m_diag]); // diag digit
output_set_digit_value(60, 0); // not connected to PA5 or PA6?
output_set_digit_value(61, m_diag & 0x01); // connected to PA4
output_set_digit_value(62, 0);
m_segment1 = 0;
m_segment2 = 0;
}

View File

@ -1,6 +1,7 @@
<!-- s11.lay -->
<!-- s11a.lay -->
<!-- 2012-11-04: Initial version. [Robbbert] -->
<!-- 2012-11-04: Initial version. [Robbbert]
2012-12-19: Rearranged layout, replaced diagnostic 7-digit LED with 3 single LEDs [Barry Rodewald]-->
<mamelayout version="2">
@ -9,10 +10,10 @@
<color red="1.0" green="0.0" blue="0.0" />
</led14segsc>
</element>
<element name="diag" defstate="0">
<led7seg>
<color red="1.0" green="0.0" blue="1.0" />
</led7seg>
<element name="diagled" defstate="0">
<disk>
<color red="1.0" green="0.0" blue="0.0" />
</disk>
</element>
<element name="background">
<rect>
@ -39,117 +40,123 @@
<!-- Player 1 Score -->
<bezel name="digit1" element="digit">
<bounds left="10" top="45" right="44" bottom="84" />
<bounds left="10" top="45" right="30" bottom="84" />
</bezel>
<bezel name="digit2" element="digit">
<bounds left="54" top="45" right="88" bottom="84" />
<bounds left="34" top="45" right="54" bottom="84" />
</bezel>
<bezel name="digit3" element="digit">
<bounds left="98" top="45" right="132" bottom="84" />
<bounds left="58" top="45" right="78" bottom="84" />
</bezel>
<bezel name="digit4" element="digit">
<bounds left="142" top="45" right="176" bottom="84" />
<bounds left="82" top="45" right="102" bottom="84" />
</bezel>
<bezel name="digit5" element="digit">
<bounds left="186" top="45" right="220" bottom="84" />
<bounds left="106" top="45" right="126" bottom="84" />
</bezel>
<bezel name="digit6" element="digit">
<bounds left="230" top="45" right="264" bottom="84" />
<bounds left="130" top="45" right="150" bottom="84" />
</bezel>
<bezel name="digit7" element="digit">
<bounds left="274" top="45" right="308" bottom="84" />
<bounds left="154" top="45" right="174" bottom="84" />
</bezel>
<!-- Player 2 Score -->
<bezel name="digit9" element="digit">
<bounds left="10" top="105" right="44" bottom="144" />
<bounds left="190" top="45" right="210" bottom="84" />
</bezel>
<bezel name="digit10" element="digit">
<bounds left="54" top="105" right="88" bottom="144" />
<bounds left="214" top="45" right="234" bottom="84" />
</bezel>
<bezel name="digit11" element="digit">
<bounds left="98" top="105" right="132" bottom="144" />
<bounds left="238" top="45" right="258" bottom="84" />
</bezel>
<bezel name="digit12" element="digit">
<bounds left="142" top="105" right="176" bottom="144" />
<bounds left="262" top="45" right="282" bottom="84" />
</bezel>
<bezel name="digit13" element="digit">
<bounds left="186" top="105" right="220" bottom="144" />
<bounds left="286" top="45" right="306" bottom="84" />
</bezel>
<bezel name="digit14" element="digit">
<bounds left="230" top="105" right="264" bottom="144" />
<bounds left="310" top="45" right="330" bottom="84" />
</bezel>
<bezel name="digit15" element="digit">
<bounds left="274" top="105" right="308" bottom="144" />
<bounds left="334" top="45" right="354" bottom="84" />
</bezel>
<!-- Player 3 Score -->
<bezel name="digit17" element="digit">
<bounds left="10" top="165" right="44" bottom="204" />
<bounds left="10" top="100" right="30" bottom="139" />
</bezel>
<bezel name="digit18" element="digit">
<bounds left="54" top="165" right="88" bottom="204" />
<bounds left="34" top="100" right="54" bottom="139" />
</bezel>
<bezel name="digit19" element="digit">
<bounds left="98" top="165" right="132" bottom="204" />
<bounds left="58" top="100" right="78" bottom="139" />
</bezel>
<bezel name="digit20" element="digit">
<bounds left="142" top="165" right="176" bottom="204" />
<bounds left="82" top="100" right="102" bottom="139" />
</bezel>
<bezel name="digit21" element="digit">
<bounds left="186" top="165" right="220" bottom="204" />
<bounds left="106" top="100" right="126" bottom="139" />
</bezel>
<bezel name="digit22" element="digit">
<bounds left="230" top="165" right="264" bottom="204" />
<bounds left="130" top="100" right="150" bottom="139" />
</bezel>
<bezel name="digit23" element="digit">
<bounds left="274" top="165" right="308" bottom="204" />
<bounds left="154" top="100" right="174" bottom="139" />
</bezel>
<!-- Player 4 Score -->
<bezel name="digit25" element="digit">
<bounds left="10" top="225" right="44" bottom="264" />
<bounds left="190" top="100" right="210" bottom="139" />
</bezel>
<bezel name="digit26" element="digit">
<bounds left="54" top="225" right="88" bottom="264" />
<bounds left="214" top="100" right="234" bottom="139" />
</bezel>
<bezel name="digit27" element="digit">
<bounds left="98" top="225" right="132" bottom="264" />
<bounds left="238" top="100" right="258" bottom="139" />
</bezel>
<bezel name="digit28" element="digit">
<bounds left="142" top="225" right="176" bottom="264" />
<bounds left="262" top="100" right="282" bottom="139" />
</bezel>
<bezel name="digit29" element="digit">
<bounds left="186" top="225" right="220" bottom="264" />
<bounds left="286" top="100" right="306" bottom="139" />
</bezel>
<bezel name="digit30" element="digit">
<bounds left="230" top="225" right="264" bottom="264" />
<bounds left="310" top="100" right="330" bottom="139" />
</bezel>
<bezel name="digit31" element="digit">
<bounds left="274" top="225" right="308" bottom="264" />
<bounds left="334" top="100" right="354" bottom="139" />
</bezel>
<!-- Credits and Balls -->
<bezel name="digit16" element="digit">
<bounds left="10" top="345" right="44" bottom="384" />
<bounds left="256" top="200" right="276" bottom="239" />
</bezel>
<bezel name="digit24" element="digit">
<bounds left="54" top="345" right="88" bottom="384" />
<bounds left="280" top="200" right="300" bottom="239" />
</bezel>
<bezel name="digit60" element="diag">
<bounds left="142" top="345" right="176" bottom="380" />
<bezel name="digit60" element="diagled">
<bounds left="200" top="200" right="210" bottom="210" />
</bezel>
<bezel name="digit61" element="diagled">
<bounds left="200" top="212" right="210" bottom="222" />
</bezel>
<bezel name="digit62" element="diagled">
<bounds left="200" top="224" right="210" bottom="234" />
</bezel>
<bezel name="digit0" element="digit">
<bounds left="186" top="345" right="220" bottom="384" />
<bounds left="310" top="200" right="330" bottom="239" />
</bezel>
<bezel name="digit8" element="digit">
<bounds left="230" top="345" right="264" bottom="384" />
<bounds left="334" top="200" right="354" bottom="239" />
</bezel>
<bezel element="P0"><bounds left="200" right="258" top="330" bottom="342" /></bezel>
<bezel element="P1"><bounds left="30" right="88" top="330" bottom="342" /></bezel>
<bezel element="P3"><bounds left="100" right="180" top="30" bottom="42" /></bezel>
<bezel element="P4"><bounds left="100" right="180" top="90" bottom="102" /></bezel>
<bezel element="P5"><bounds left="100" right="180" top="150" bottom="162" /></bezel>
<bezel element="P6"><bounds left="100" right="180" top="210" bottom="222" /></bezel>
<bezel element="P0"><bounds left="310" right="354" top="180" bottom="192" /></bezel>
<bezel element="P1"><bounds left="256" right="300" top="180" bottom="192" /></bezel>
<bezel element="P3"><bounds left="10" right="174" top="30" bottom="42" /></bezel>
<bezel element="P4"><bounds left="190" right="354" top="30" bottom="42" /></bezel>
<bezel element="P5"><bounds left="10" right="174" top="88" bottom="100" /></bezel>
<bezel element="P6"><bounds left="190" right="354" top="88" bottom="100" /></bezel>
</view>
</mamelayout>