supercon: add extra keypad overlay to layout

This commit is contained in:
hap 2020-06-29 00:17:54 +02:00
parent 784f1012e6
commit cda5d1c61e
4 changed files with 80 additions and 15 deletions

View File

@ -180,7 +180,7 @@ void elite_state::machine_reset()
void elite_state::set_cpu_freq()
{
// known official CPU speeds: 3MHz(EAS/EAS-B?), 3.57MHz(PC/Privat), 4MHz(PC/EAS-C)
// known official CPU speeds: 3MHz(EAS/EWC?), 3.57MHz(PC/Privat), 4MHz(PC/EAS-C)
u8 inp = ioport("FAKE")->read();
m_maincpu->set_unscaled_clock((inp & 2) ? 4_MHz_XTAL : ((inp & 1) ? 3.579545_MHz_XTAL : 3_MHz_XTAL));
div_refresh();

View File

@ -26,7 +26,8 @@ Known modules (*denotes undumped):
- CB9: Challenger Book Openings 1 - 8KB (label not known)
- CB16: Challenger Book Openings 2 - 8+8KB 101-1042A01,02
- *CG64: 64 Greatest Games
- *EOA-EOE: Challenger Book Openings - Chess Encyclopedia A-E (5 modules)
- *EOA-EOE: Challenger Book Openings: Chess Encyclopedia Volume A-E (5 modules)
- *TDF: Challenger Book Openings: Tarrasch Defense to the Queen's Gambit
The edge connector has D0-D7, A0-A13, 2 chip select lines, read/write lines, IRQ line.
IRQ and write strobe are unused. Maximum known size is 16KB.

View File

@ -485,4 +485,4 @@ CONS( 1988, smondial2, 0, 0, smondial2, smondial2, mephisto_montec_
CONS( 1987, montec, 0, 0, montec, montec, mephisto_montec_state, empty_init, "Hegener + Glaser", "Mephisto Monte Carlo (ver. MC3)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1987, monteca, montec, 0, montec, montec, mephisto_montec_state, empty_init, "Hegener + Glaser", "Mephisto Monte Carlo (ver. MC2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1990, monteciv, montec, 0, monteciv, montec, mephisto_montec_state, empty_init, "Hegener + Glaser", "Mephisto Monte Carlo IV - Limited Edition", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1990, monteciv, 0, 0, monteciv, montec, mephisto_montec_state, empty_init, "Hegener + Glaser", "Mephisto Monte Carlo IV - Limited Edition", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -10,6 +10,7 @@ license:CC0
<element name="static_gray"><rect><color red="0.51" green="0.5" blue="0.49" /></rect></element>
<element name="static_red"><rect><color red="0.7" green="0.13" blue="0.12" /></rect></element>
<element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
<element name="black"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
@ -138,6 +139,16 @@ license:CC0
<element name="text_rb18"><text string="Show Moves"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_rb19"><text string="Go"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro00"><text string="Start"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro01"><text string="Large Book"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro08"><text string="Priority"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro09"><text string="Pro-Op II"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro0c"><text string="Pro-Op I"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro0d"><text string="Delete"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro10"><text string="Enter"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_ro14"><text string="Clear Book"><color red="0.51" green="0.5" blue="0.49" /></text></element>
<element name="text_setup">
<rect><color red="0.0" green="0.0" blue="0.0" /></rect>
<text string="SET UP"><color red="0.51" green="0.5" blue="0.49" /></text>
@ -427,17 +438,16 @@ license:CC0
</group>
<!-- build screen -->
<!-- default view -->
<view name="Internal Layout">
<group name="default">
<bounds left="-19.5" right="116" top="-0.5" bottom="88.5" />
<bezel element="cblack"><bounds x="2.5" y="2.5" width="80.5" height="81" /></bezel>
<group ref="sb_board"><bounds x="3" y="3" width="80" height="80" /></group>
<bezel element="cwhite"><bounds x="82.95" y="2.5" width="1" height="81" /></bezel>
<!-- left side labels -->
<!-- left side labels -->
<bezel element="white"><bounds x="-5.5" y="5.833" width="2.2" height="30.333" /></bezel>
<bezel element="static_black"><bounds x="-5.166" y="6.166" width="2.2" height="29.666" /></bezel>
<bezel element="text_depth"><bounds x="-4.5" y="5.833" width="2" height="30.333" /><orientation rotate="90" /></bezel>
@ -448,8 +458,7 @@ license:CC0
<group ref="sb_ui"><bounds x="-17.5" y="3" width="10" height="80" /></group>
<!-- chessboard coords -->
<!-- chessboard coords -->
<bezel element="text_8"><bounds x="-0.3" y="5" width="2" height="2" /></bezel>
<bezel element="text_7"><bounds x="-0.3" y="15" width="2" height="2" /></bezel>
<bezel element="text_6"><bounds x="-0.3" y="25" width="2" height="2" /></bezel>
@ -473,8 +482,7 @@ license:CC0
<bezel element="text_g"><bounds x="65" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_h"><bounds x="75" y="84.75" width="2" height="2" /></bezel>
<!-- chessboard leds -->
<!-- chessboard leds -->
<bezel name="1.0" element="ledr"><bounds x="-0.5" y="7.5" width="2" height="1" /></bezel>
<bezel name="1.1" element="ledr"><bounds x="-0.5" y="17.5" width="2" height="1" /></bezel>
<bezel name="1.2" element="ledr"><bounds x="-0.5" y="27.5" width="2" height="1" /></bezel>
@ -493,8 +501,7 @@ license:CC0
<bezel name="2.6" element="ledr"><bounds x="67.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.7" element="ledr"><bounds x="77.5" y="84.5" width="1" height="2" /></bezel>
<!-- right side buttons -->
<!-- right side buttons -->
<bezel element="static_gray"><bounds x="95.333" y="12.5" width="9.333" height="29" /></bezel>
<bezel element="static_black"><bounds x="95.533" y="12.7" width="8.933" height="28.6" /></bezel>
<bezel element="text_setup"><bounds x="96.5" y="11.8" width="7" height="1.5" /></bezel>
@ -574,8 +581,7 @@ license:CC0
<bezel element="hlb" inputtag="IN.6" inputmask="0x01"><bounds x="97" y="66" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.7" inputmask="0x01"><bounds x="97" y="76" width="6" height="4" /><color alpha="0.25" /></bezel>
<!-- right side leds -->
<!-- right side leds -->
<bezel element="black"><bounds x="107" y="2.5" width="1" height="81" /></bezel>
<bezel element="text_rg0"><bounds x="107" y="5.7" width="10" height="1.5" /></bezel>
@ -602,6 +608,64 @@ license:CC0
<bezel name="0.5" element="ledg"><bounds x="111" y="57.5" width="2" height="1" /></bezel>
<bezel name="0.6" element="ledg"><bounds x="111" y="67.5" width="2" height="1" /></bezel>
<bezel name="0.7" element="ledg"><bounds x="111" y="77.5" width="2" height="1" /></bezel>
</group>
<!-- programmable openings keypad overlay sheet -->
<group name="overlay">
<bounds left="-19.5" right="116" top="-0.5" bottom="88.5" />
<!-- block buttons -->
<bezel element="hlb" inputtag="IN.1" inputmask="0x00" inputraw="1"><bounds x="88" y="16" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.2" inputmask="0x00" inputraw="1"><bounds x="88" y="26" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.5" inputmask="0x00" inputraw="1"><bounds x="88" y="56" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.1" inputmask="0x00" inputraw="1"><bounds x="97" y="16" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.2" inputmask="0x00" inputraw="1"><bounds x="97" y="26" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.4" inputmask="0x00" inputraw="1"><bounds x="97" y="46" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.5" inputmask="0x00" inputraw="1"><bounds x="97" y="56" width="6" height="4" /></bezel>
<bezel element="hlb" inputtag="IN.6" inputmask="0x00" inputraw="1"><bounds x="97" y="66" width="6" height="4" /></bezel>
<group ref="default"><bounds left="-19.5" right="116" top="-0.5" bottom="88.5" /></group>
<!-- erase -->
<bezel element="blackb"><bounds x="86" y="0" width="1" height="88" /></bezel>
<bezel element="blackb"><bounds x="95" y="0" width="1" height="88" /></bezel>
<bezel element="blackb"><bounds x="104" y="0" width="1" height="88" /></bezel>
<bezel element="blackb"><bounds x="84.5" y="0.8" width="22" height="5" /></bezel>
<bezel element="blackb"><bounds x="84.5" y="10.2" width="22" height="25.6" /></bezel>
<bezel element="blackb"><bounds x="84.5" y="40.2" width="22" height="5.6" /></bezel>
<bezel element="blackb"><bounds x="84.5" y="50.2" width="22" height="15.6" /></bezel>
<bezel element="blackb"><bounds x="84.5" y="70.2" width="22" height="5.6" /></bezel>
<bezel element="blackb"><bounds x="96" y="45" width="8" height="30" /></bezel>
<!-- labels -->
<bezel element="text_ro00"><bounds x="84" y="4.2" width="14" height="1.5" /></bezel>
<bezel element="text_ro01"><bounds x="84" y="10.3" width="14" height="1.5" /></bezel>
<bezel element="text_ro08"><bounds x="84" y="34.2" width="14" height="1.5" /></bezel>
<bezel element="text_ro09"><bounds x="84" y="44.2" width="14" height="1.5" /></bezel>
<bezel element="text_ro0c"><bounds x="84" y="64.2" width="14" height="1.5" /></bezel>
<bezel element="text_ro0d"><bounds x="84" y="74.2" width="14" height="1.5" /></bezel>
<bezel element="text_ro10"><bounds x="93" y="4.2" width="14" height="1.5" /></bezel>
<bezel element="text_ro14"><bounds x="93" y="34.2" width="14" height="1.5" /></bezel>
<bezel element="text_rb19"><bounds x="93" y="74.2" width="14" height="1.5" /></bezel>
</group>
<!-- build screen -->
<view name="Internal Layout (default)">
<bounds left="-19.5" right="116" top="-0.5" bottom="88.5" />
<group ref="default"><bounds left="-19.5" right="116" top="-0.5" bottom="88.5" /></group>
</view>
<view name="Internal Layout (P.O. overlay)">
<bounds left="-19.5" right="116" top="-0.5" bottom="88.5" />
<group ref="overlay"><bounds left="-19.5" right="116" top="-0.5" bottom="88.5" /></group>
</view>
</mamelayout>