New working clones

------------------
Sphinx Granada [hap, Sean Riddle]
Sphinx Supra [hap, Sean Riddle]
This commit is contained in:
hap 2024-09-21 01:45:33 +02:00
parent 16b9a5036c
commit daf3c7011d
8 changed files with 1040 additions and 8 deletions

View file

@ -179,11 +179,11 @@ static INPUT_PORTS_START( professor )
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_I) PORT_NAME("Monitor")
PORT_START("IN.2")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_F) PORT_NAME("Off")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_POWER_OFF)
PORT_BIT(0xfe, IP_ACTIVE_HIGH, IPT_UNUSED)
PORT_START("RESET")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_O) PORT_CHANGED_MEMBER(DEVICE_SELF, professor_state, on_button, 0) PORT_NAME("On")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_POWER_ON) PORT_CHANGED_MEMBER(DEVICE_SELF, professor_state, on_button, 0)
INPUT_PORTS_END

View file

@ -3,7 +3,7 @@
// thanks-to:Sean Riddle
/*******************************************************************************
CXG Sphinx Royal (CXG-240)
CXG Sphinx Royal family
NOTE: Turn the power switch off before exiting MAME, otherwise NVRAM won't save
properly. Only turn power off when it's the user's turn to move.
@ -46,7 +46,9 @@ Excluding other brands with the same product name, HD614042SJ02 MCU was used in:
#include "speaker.h"
// internal artwork
#include "cxg_granada.lh"
#include "cxg_royal.lh"
#include "cxg_supra.lh"
namespace {
@ -66,6 +68,10 @@ public:
{ }
void royal(machine_config &config);
void granada(machine_config &config);
void supra(machine_config &config);
DECLARE_INPUT_CHANGED_MEMBER(granada_change_cpu_freq);
protected:
virtual void machine_start() override;
@ -107,6 +113,12 @@ void royal_state::machine_start()
save_item(NAME(m_lcd_select));
}
INPUT_CHANGED_MEMBER(royal_state::granada_change_cpu_freq)
{
// 1992 models run at lower speed
m_maincpu->set_unscaled_clock((newval & 1) ? 4_MHz_XTAL : 3.58_MHz_XTAL);
}
/*******************************************************************************
@ -227,6 +239,22 @@ static INPUT_PORTS_START( royal )
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_O) PORT_NAME("Sound")
INPUT_PORTS_END
static INPUT_PORTS_START( granada )
PORT_INCLUDE( royal )
PORT_START("CPU")
PORT_CONFNAME( 0x01, 0x01, "CPU Frequency" ) PORT_CHANGED_MEMBER(DEVICE_SELF, royal_state, granada_change_cpu_freq, 0) // factory set
PORT_CONFSETTING( 0x00, "3.58MHz (1992 version)" )
PORT_CONFSETTING( 0x01, "4MHz (1988 version)" )
INPUT_PORTS_END
static INPUT_PORTS_START( supra )
PORT_INCLUDE( royal )
PORT_START("RESET")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_POWER_ON)
INPUT_PORTS_END
/*******************************************************************************
@ -256,6 +284,7 @@ void royal_state::royal(machine_config &config)
// video hardware
PWM_DISPLAY(config, m_lcd_pwm).set_size(8, 8);
m_lcd_pwm->set_bri_levels(0.05);
m_lcd_pwm->set_segmask(0xff, 0x7f);
m_lcd_pwm->output_digit().set([this](offs_t offset, u64 data) { m_out_digit[offset] = data; });
@ -267,6 +296,19 @@ void royal_state::royal(machine_config &config)
DAC_1BIT(config, m_dac).add_route(ALL_OUTPUTS, "speaker", 0.25);
}
void royal_state::supra(machine_config &config)
{
royal(config);
m_maincpu->read_d().set(FUNC(royal_state::input_r)).exor(0x1000);
config.set_default_layout(layout_cxg_supra);
}
void royal_state::granada(machine_config &config)
{
supra(config);
config.set_default_layout(layout_cxg_granada);
}
/*******************************************************************************
@ -278,6 +320,9 @@ ROM_START( sroyal )
ROM_LOAD("1988_105_newcrest_hd614042sj02", 0x0000, 0x2000, CRC(47334ac9) SHA1(b4dc930e34926f1b33f6d247af45627c891202ff) )
ROM_END
#define rom_granada rom_sroyal
#define rom_supra rom_sroyal
} // anonymous namespace
@ -286,5 +331,7 @@ ROM_END
Drivers
*******************************************************************************/
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
SYST( 1988, sroyal, 0, 0, royal, royal, royal_state, empty_init, "CXG Systems / Newcrest Technology / Intelligent Chess Software", "Sphinx Royal", MACHINE_SUPPORTS_SAVE )
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
SYST( 1988, sroyal, 0, 0, royal, royal, royal_state, empty_init, "CXG Systems / Newcrest Technology / Intelligent Chess Software", "Sphinx Royal", MACHINE_SUPPORTS_SAVE )
SYST( 1988, granada, sroyal, 0, granada, granada, royal_state, empty_init, "CXG Systems / Newcrest Technology / Intelligent Chess Software", "Sphinx Granada", MACHINE_SUPPORTS_SAVE )
SYST( 1988, supra, sroyal, 0, supra, supra, royal_state, empty_init, "CXG Systems / Newcrest Technology / Intelligent Chess Software", "Sphinx Supra", MACHINE_SUPPORTS_SAVE )

View file

@ -437,7 +437,7 @@ authors:hap
<group ref="sb_board"><bounds x="10" y="10" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-4.5" y="10" width="10" height="80" /></group>
<!-- leds -->
<!-- chessboard leds -->
<repeat count="8">
<param name="x" start="14.25" increment="10" />
<param name="i" start="7" increment="-1" />

View file

@ -0,0 +1,462 @@
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">
<!-- define elements -->
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
<disk state="0"><color red="0.14" green="0.014" blue="0.02" /></disk>
</element>
<element name="text_10"><text string="1" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_20"><text string="2" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_30"><text string="3" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_40"><text string="4" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_50"><text string="5" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_60"><text string="6" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_70"><text string="7" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_80"><text string="8" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_11"><text string="1" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_21"><text string="2" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_31"><text string="3" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_41"><text string="4" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_51"><text string="5" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_61"><text string="6" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_71"><text string="7" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_81"><text string="8" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_a0"><text string="A"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_b0"><text string="B"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_c0"><text string="C"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_d0"><text string="D"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_e0"><text string="E"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_f0"><text string="F"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_g0"><text string="G"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_h0"><text string="H"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_a1"><text string="A"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_b1"><text string="B"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_c1"><text string="C"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_d1"><text string="D"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_e1"><text string="E"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_f1"><text string="F"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_g1"><text string="G"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_h1"><text string="H"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<!-- sb board -->
<element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element>
<element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
<disk state="1">
<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
<color red="0" green="0" blue="0" />
</disk>
</element>
<element name="piece" defstate="0">
<image file="chess/wp.svg" state="1"/>
<image file="chess/wn.svg" state="2"/>
<image file="chess/wb.svg" state="3"/>
<image file="chess/wr.svg" state="4"/>
<image file="chess/wq.svg" state="5"/>
<image file="chess/wk.svg" state="6"/>
<image file="chess/bp.svg" state="7"/>
<image file="chess/bn.svg" state="8"/>
<image file="chess/bb.svg" state="9"/>
<image file="chess/br.svg" state="10"/>
<image file="chess/bq.svg" state="11"/>
<image file="chess/bk.svg" state="12"/>
<!-- selected pieces -->
<image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
<image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
<image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
<image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
<image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
<image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>
<image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
<image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
<image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
<image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
<image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
<image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
</element>
<group name="sb_board">
<bounds x="0" y="0" width="80" height="80" />
<!-- squares (avoid seams) -->
<element ref="cwhite"><bounds x="0" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element>
<element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element>
<element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element>
<element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element>
<element ref="cwhite"><bounds x="0" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element>
<element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element>
<element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element>
<element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element>
<element ref="cwhite"><bounds x="0" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element>
<element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element>
<element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element>
<element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element>
<element ref="cwhite"><bounds x="0" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element>
<element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element>
<element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element>
<element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>
<!-- coords -->
<element ref="text_80"><bounds x="0.25" y="4.3" width="2" height="1.4" /></element>
<element ref="text_70"><bounds x="0.25" y="14.3" width="2" height="1.4" /></element>
<element ref="text_60"><bounds x="0.25" y="24.3" width="2" height="1.4" /></element>
<element ref="text_50"><bounds x="0.25" y="34.3" width="2" height="1.4" /></element>
<element ref="text_40"><bounds x="0.25" y="44.3" width="2" height="1.4" /></element>
<element ref="text_30"><bounds x="0.25" y="54.3" width="2" height="1.4" /></element>
<element ref="text_20"><bounds x="0.25" y="64.3" width="2" height="1.4" /></element>
<element ref="text_10"><bounds x="0.25" y="74.3" width="2" height="1.4" /></element>
<element ref="text_81"><bounds x="77.75" y="4.3" width="2" height="1.4" /></element>
<element ref="text_71"><bounds x="77.75" y="14.3" width="2" height="1.4" /></element>
<element ref="text_61"><bounds x="77.75" y="24.3" width="2" height="1.4" /></element>
<element ref="text_51"><bounds x="77.75" y="34.3" width="2" height="1.4" /></element>
<element ref="text_41"><bounds x="77.75" y="44.3" width="2" height="1.4" /></element>
<element ref="text_31"><bounds x="77.75" y="54.3" width="2" height="1.4" /></element>
<element ref="text_21"><bounds x="77.75" y="64.3" width="2" height="1.4" /></element>
<element ref="text_11"><bounds x="77.75" y="74.3" width="2" height="1.4" /></element>
<element ref="text_a0"><bounds x="4" y="0" width="2" height="1.4" /></element>
<element ref="text_b0"><bounds x="14" y="0" width="2" height="1.4" /></element>
<element ref="text_c0"><bounds x="24" y="0" width="2" height="1.4" /></element>
<element ref="text_d0"><bounds x="34" y="0" width="2" height="1.4" /></element>
<element ref="text_e0"><bounds x="44" y="0" width="2" height="1.4" /></element>
<element ref="text_f0"><bounds x="54" y="0" width="2" height="1.4" /></element>
<element ref="text_g0"><bounds x="64" y="0" width="2" height="1.4" /></element>
<element ref="text_h0"><bounds x="74" y="0" width="2" height="1.4" /></element>
<element ref="text_a1"><bounds x="4" y="78.55" width="2" height="1.4" /></element>
<element ref="text_b1"><bounds x="14" y="78.55" width="2" height="1.4" /></element>
<element ref="text_c1"><bounds x="24" y="78.55" width="2" height="1.4" /></element>
<element ref="text_d1"><bounds x="34" y="78.55" width="2" height="1.4" /></element>
<element ref="text_e1"><bounds x="44" y="78.55" width="2" height="1.4" /></element>
<element ref="text_f1"><bounds x="54" y="78.55" width="2" height="1.4" /></element>
<element ref="text_g1"><bounds x="64" y="78.55" width="2" height="1.4" /></element>
<element ref="text_h1"><bounds x="74" y="78.55" width="2" height="1.4" /></element>
<!-- sensors, pieces -->
<repeat count="8">
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element name="piece_a~i~" ref="piece"><bounds x="0" y="~y~" width="10" height="10" /></element>
<element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element>
<element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element>
<element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element>
<element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element>
<element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element>
<element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element>
<element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element>
</repeat>
</group>
<!-- sb ui -->
<element name="hlub" defstate="0">
<rect state="1"><color red="0" green="0" blue="0" /></rect>
</element>
<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uib2"><text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uib3"><text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uih2"><text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uiu2a"><text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu2b"><text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu2c"><text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu2d"><text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uiu3a" defstate="0">
<simplecounter maxstate="999" digits="1" align="2">
<color red="0.81" green="0.8" blue="0.79" />
</simplecounter>
</element>
<element name="text_uiu3c" defstate="0">
<simplecounter maxstate="999" digits="1" align="1">
<color red="0.81" green="0.8" blue="0.79" />
</simplecounter>
</element>
<group name="sb_ui">
<bounds x="0" y="0" width="10" height="80" />
<element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
<element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
<element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
<element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
<element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>
<!-- board -->
<element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
<element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
<element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>
<element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
<element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element>
<!-- spawn -->
<element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element>
<element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element>
<element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element>
<element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element>
<element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element>
<element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element>
<element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element>
<element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element>
<element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element>
<element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element>
<element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element>
<element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element>
<element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element>
<element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element>
<element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element>
<!-- hand -->
<element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element>
<element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element>
<element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element>
<element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element>
<element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element>
<!-- undo -->
<element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element>
<element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element>
<element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element>
<element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element>
<element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element>
<element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element>
<element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element>
<element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element>
<element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element>
<element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element>
<element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element>
</group>
<!-- status leds -->
<element name="text_l1"><text string="LEVEL" align="1"></text></element>
<element name="text_l2"><text string="SET-UP" align="1"></text></element>
<element name="text_l3"><text string="THINK" align="1"></text></element>
<element name="text_l4"><text string="THREAT" align="1"></text></element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
<disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<group name="leds">
<bounds x="0" y="0" width="20" height="30" />
<repeat count="4">
<param name="y" start="10" increment="3" />
<param name="i" start="1" increment="1" />
<element ref="text_l~i~"><bounds x="12.5" yc="~y~" width="10" height="1.5" /></element>
<element ref="cwhite" blend="multiply"><bounds x="12.5" yc="~y~" width="10" height="1.5" /></element>
</repeat>
<element name="2.a" ref="led2"><bounds x="10" yc="10" width="1.5" height="1.5" /></element>
<element name="3.a" ref="led2"><bounds x="10" yc="13" width="1.5" height="1.5" /></element>
<element name="5.a" ref="led2"><bounds x="10" yc="16" width="1.5" height="1.5" /></element>
<element name="4.a" ref="led2"><bounds x="10" yc="19" width="1.5" height="1.5" /></element>
</group>
<!-- button panel -->
<element name="whiter"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="butw" defstate="0">
<rect state="0"><color red="0.9" green="0.9" blue="0.92" /></rect>
<rect state="1"><color red="0.9" green="0.9" blue="0.92" alpha="0.75" /></rect>
</element>
<element name="butr" defstate="0">
<rect state="0"><color red="0.65" green="0.12" blue="0.13" alpha="0.7" /></rect>
<rect state="1"><color red="0.65" green="0.12" blue="0.13" /></rect>
</element>
<element name="text_r1"><text string="NEW GAME" align="1"></text></element>
<element name="text_r2"><text string="SET-UP" align="1"></text></element>
<element name="text_r3"><text string="TAKE BACK" align="1"></text></element>
<element name="text_r4"><text string="SOUND" align="1"></text></element>
<element name="text_r5"><text string="LEVEL" align="1"></text></element>
<element name="text_r6"><text string="MOVE" align="1"></text></element>
<element name="text_p1"><image file="chess/wk.svg"/></element>
<element name="text_p2"><image file="chess/wq.svg"/></element>
<element name="text_p3"><image file="chess/wr.svg"/></element>
<element name="text_p4"><image file="chess/wb.svg"/></element>
<element name="text_p5"><image file="chess/wn.svg"/></element>
<element name="text_p6"><image file="chess/wp.svg"/></element>
<group name="buttons">
<bounds x="0" y="0" width="20" height="80" />
<repeat count="6">
<param name="y" start="8.2" increment="5" />
<param name="i" start="1" increment="1" />
<element ref="text_r~i~"><bounds x="10" y="~y~" width="15" height="1.5" /></element>
</repeat>
<repeat count="6">
<param name="y" start="37.3" increment="5" />
<param name="i" start="1" increment="1" />
<element ref="text_p~i~"><bounds x="9.7" y="~y~" width="2.5" height="2.5" /></element>
</repeat>
<element ref="cwhite" blend="multiply"><bounds x="5" y="5" width="20" height="70" /></element>
<element ref="butw" inputtag="IN.1" inputmask="0x08"><bounds x="10" yc="10.5" width="8" height="1.15" /></element>
<element ref="butw" inputtag="IN.1" inputmask="0x40"><bounds x="10" yc="15.5" width="8" height="1.15" /></element>
<element ref="butw" inputtag="IN.1" inputmask="0x02"><bounds x="10" yc="20.5" width="8" height="1.15" /></element>
<element ref="butw" inputtag="IN.1" inputmask="0x80"><bounds x="10" yc="25.5" width="8" height="1.15" /></element>
<element ref="butw" inputtag="IN.1" inputmask="0x20"><bounds x="10" yc="30.5" width="8" height="1.15" /></element>
<element ref="butw" inputtag="IN.1" inputmask="0x10"><bounds x="10" yc="35.5" width="8" height="1.15" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x40"><bounds x="10" yc="40.5" width="8" height="1.15" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x20"><bounds x="10" yc="45.5" width="8" height="1.15" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x10"><bounds x="10" yc="50.5" width="8" height="1.15" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x08"><bounds x="10" yc="55.5" width="8" height="1.15" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x04"><bounds x="10" yc="60.5" width="8" height="1.15" /></element>
<element ref="butr" inputtag="IN.0" inputmask="0x02"><bounds x="10" yc="65.5" width="8" height="1.15" /></element>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-6" right="101.5" top="6" bottom="94" />
<group ref="leds"><bounds x="82" y="0.25" width="20" height="30" /></group>
<group ref="buttons"><bounds x="82" y="24.5" width="20" height="80" /></group>
<element ref="cwhite"><bounds x="9.5" y="9.5" width="81" height="81" /></element>
<group ref="sb_board"><bounds x="10" y="10" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-4.5" y="10" width="10" height="80" /></group>
<!-- chessboard leds -->
<repeat count="8">
<param name="x" start="14.25" increment="10" />
<param name="i" start="0" increment="1" />
<element name="1.~i~" ref="led"><bounds x="~x~" y="91.5" width="1.5" height="1.5" /></element>
</repeat>
<repeat count="8">
<param name="y" start="14.25" increment="10" />
<param name="i" start="7" increment="-1" />
<element name="0.~i~" ref="led"><bounds x="7" y="~y~" width="1.5" height="1.5" /></element>
</repeat>
</view>
</mamelayout>

View file

@ -462,7 +462,7 @@ authors:hap
<group ref="sb_board"><bounds x="10" y="10" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-4.5" y="10" width="10" height="80" /></group>
<!-- leds -->
<!-- chessboard leds -->
<repeat count="8">
<param name="x" start="14.25" increment="10" />
<param name="i" start="0" increment="1" />

View file

@ -508,7 +508,7 @@ authors:hap
<group ref="sb_board"><bounds x="10" y="10" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-4.5" y="10" width="10" height="80" /></group>
<!-- leds -->
<!-- chessboard leds -->
<repeat count="8">
<param name="x" start="14.25" increment="10" />
<param name="i" start="0" increment="1" />

View file

@ -0,0 +1,521 @@
<?xml version="1.0"?>
<!--
license:CC0-1.0
authors:hap
-->
<mamelayout version="2">
<!-- define elements -->
<element name="white2"><rect><color red="0.91" green="0.9" blue="0.89" /></rect></element>
<element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
<element name="led" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
</element>
<element name="text_10"><text string="1" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_20"><text string="2" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_30"><text string="3" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_40"><text string="4" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_50"><text string="5" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_60"><text string="6" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_70"><text string="7" align="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_80"><text string="8" align="1"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_11"><text string="1" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_21"><text string="2" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_31"><text string="3" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_41"><text string="4" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_51"><text string="5" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_61"><text string="6" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_71"><text string="7" align="2"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_81"><text string="8" align="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_a0"><text string="A"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_b0"><text string="B"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_c0"><text string="C"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_d0"><text string="D"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_e0"><text string="E"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_f0"><text string="F"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_g0"><text string="G"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_h0"><text string="H"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_a1"><text string="A"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_b1"><text string="B"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_c1"><text string="C"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_d1"><text string="D"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_e1"><text string="E"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_f1"><text string="F"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_g1"><text string="G"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_h1"><text string="H"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<!-- sb board -->
<element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element>
<element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
<disk state="1">
<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
<color red="0" green="0" blue="0" />
</disk>
</element>
<element name="piece" defstate="0">
<image file="chess/wp.svg" state="1"/>
<image file="chess/wn.svg" state="2"/>
<image file="chess/wb.svg" state="3"/>
<image file="chess/wr.svg" state="4"/>
<image file="chess/wq.svg" state="5"/>
<image file="chess/wk.svg" state="6"/>
<image file="chess/bp.svg" state="7"/>
<image file="chess/bn.svg" state="8"/>
<image file="chess/bb.svg" state="9"/>
<image file="chess/br.svg" state="10"/>
<image file="chess/bq.svg" state="11"/>
<image file="chess/bk.svg" state="12"/>
<!-- selected pieces -->
<image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
<image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
<image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
<image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
<image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
<image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>
<image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
<image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
<image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
<image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
<image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
<image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
</element>
<group name="sb_board">
<bounds x="0" y="0" width="80" height="80" />
<!-- squares (avoid seams) -->
<element ref="cwhite"><bounds x="0" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element>
<element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element>
<element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element>
<element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element>
<element ref="cwhite"><bounds x="0" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element>
<element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element>
<element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element>
<element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element>
<element ref="cwhite"><bounds x="0" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element>
<element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element>
<element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element>
<element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element>
<element ref="cwhite"><bounds x="0" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element>
<element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element>
<element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element>
<element ref="cblack"><bounds x="0" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element>
<element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element>
<element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element>
<element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
<element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>
<!-- coords -->
<element ref="text_80"><bounds x="0.25" y="4.3" width="2" height="1.4" /></element>
<element ref="text_70"><bounds x="0.25" y="14.3" width="2" height="1.4" /></element>
<element ref="text_60"><bounds x="0.25" y="24.3" width="2" height="1.4" /></element>
<element ref="text_50"><bounds x="0.25" y="34.3" width="2" height="1.4" /></element>
<element ref="text_40"><bounds x="0.25" y="44.3" width="2" height="1.4" /></element>
<element ref="text_30"><bounds x="0.25" y="54.3" width="2" height="1.4" /></element>
<element ref="text_20"><bounds x="0.25" y="64.3" width="2" height="1.4" /></element>
<element ref="text_10"><bounds x="0.25" y="74.3" width="2" height="1.4" /></element>
<element ref="text_81"><bounds x="77.75" y="4.3" width="2" height="1.4" /></element>
<element ref="text_71"><bounds x="77.75" y="14.3" width="2" height="1.4" /></element>
<element ref="text_61"><bounds x="77.75" y="24.3" width="2" height="1.4" /></element>
<element ref="text_51"><bounds x="77.75" y="34.3" width="2" height="1.4" /></element>
<element ref="text_41"><bounds x="77.75" y="44.3" width="2" height="1.4" /></element>
<element ref="text_31"><bounds x="77.75" y="54.3" width="2" height="1.4" /></element>
<element ref="text_21"><bounds x="77.75" y="64.3" width="2" height="1.4" /></element>
<element ref="text_11"><bounds x="77.75" y="74.3" width="2" height="1.4" /></element>
<element ref="text_a0"><bounds x="4" y="0" width="2" height="1.4" /></element>
<element ref="text_b0"><bounds x="14" y="0" width="2" height="1.4" /></element>
<element ref="text_c0"><bounds x="24" y="0" width="2" height="1.4" /></element>
<element ref="text_d0"><bounds x="34" y="0" width="2" height="1.4" /></element>
<element ref="text_e0"><bounds x="44" y="0" width="2" height="1.4" /></element>
<element ref="text_f0"><bounds x="54" y="0" width="2" height="1.4" /></element>
<element ref="text_g0"><bounds x="64" y="0" width="2" height="1.4" /></element>
<element ref="text_h0"><bounds x="74" y="0" width="2" height="1.4" /></element>
<element ref="text_a1"><bounds x="4" y="78.55" width="2" height="1.4" /></element>
<element ref="text_b1"><bounds x="14" y="78.55" width="2" height="1.4" /></element>
<element ref="text_c1"><bounds x="24" y="78.55" width="2" height="1.4" /></element>
<element ref="text_d1"><bounds x="34" y="78.55" width="2" height="1.4" /></element>
<element ref="text_e1"><bounds x="44" y="78.55" width="2" height="1.4" /></element>
<element ref="text_f1"><bounds x="54" y="78.55" width="2" height="1.4" /></element>
<element ref="text_g1"><bounds x="64" y="78.55" width="2" height="1.4" /></element>
<element ref="text_h1"><bounds x="74" y="78.55" width="2" height="1.4" /></element>
<!-- sensors, pieces -->
<repeat count="8">
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element name="piece_a~i~" ref="piece"><bounds x="0" y="~y~" width="10" height="10" /></element>
<element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element>
<element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element>
<element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element>
<element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element>
<element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element>
<element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element>
<element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element>
</repeat>
</group>
<!-- sb ui -->
<element name="hlub" defstate="0">
<rect state="1"><color red="0" green="0" blue="0" /></rect>
</element>
<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uib2"><text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uib3"><text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uih2"><text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uiu2a"><text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu2b"><text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu2c"><text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu2d"><text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text></element>
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uiu3a" defstate="0">
<simplecounter maxstate="999" digits="1" align="2">
<color red="0.81" green="0.8" blue="0.79" />
</simplecounter>
</element>
<element name="text_uiu3c" defstate="0">
<simplecounter maxstate="999" digits="1" align="1">
<color red="0.81" green="0.8" blue="0.79" />
</simplecounter>
</element>
<group name="sb_ui">
<bounds x="0" y="0" width="10" height="80" />
<element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
<element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
<element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
<element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
<element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>
<!-- board -->
<element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
<element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
<element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>
<element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
<element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element>
<!-- spawn -->
<element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element>
<element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element>
<element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element>
<element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element>
<element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element>
<element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element>
<element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element>
<element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element>
<element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element>
<element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element>
<element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element>
<element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element>
<element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element>
<element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element>
<element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element>
<!-- hand -->
<element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element>
<element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element>
<element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element>
<element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element>
<element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element>
<!-- undo -->
<element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element>
<element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element>
<element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element>
<element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element>
<element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element>
<element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element>
<element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element>
<element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element>
<element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
<element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element>
<element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element>
<element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element>
</group>
<!-- status leds -->
<element name="text_l1"><text string="LEVEL" align="1"></text></element>
<element name="text_l2"><text string="SET-UP" align="1"></text></element>
<element name="text_l3"><text string="THINK" align="1"></text></element>
<element name="text_l4"><text string="THREAT" align="1"></text></element>
<element name="led2" defstate="0">
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
<disk state="0"><color red="1.0" green="0.1" blue="0.15" alpha="0.17" /></disk>
</element>
<group name="leds">
<bounds x="0" y="0" width="100" height="30" />
<repeat count="4">
<param name="y" start="9.75" increment="4" />
<param name="i" start="1" increment="1" />
<element ref="text_l~i~"><bounds x="3.5" yc="~y~" width="10" height="2.5" /></element>
<element ref="white2" blend="multiply"><bounds x="3.5" yc="~y~" width="10" height="2.5" /></element>
</repeat>
<element name="2.a" ref="led2"><bounds x="0" yc="9.75" width="2" height="2" /></element>
<element name="3.a" ref="led2"><bounds x="0" yc="13.75" width="2" height="2" /></element>
<element name="5.a" ref="led2"><bounds x="0" yc="17.75" width="2" height="2" /></element>
<element name="4.a" ref="led2"><bounds x="0" yc="21.75" width="2" height="2" /></element>
</group>
<!-- lcd panel -->
<element name="lcd_bg"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>
<element name="digit" defstate="0">
<led7seg><color red="0.2" green="0.16" blue="0.16" /></led7seg>
</element>
<group name="lcd">
<element ref="lcd_bg"><bounds x="-0.3" yc="0" width="5.0" height="1.6" /></element>
<element name="digit3" ref="digit"><bounds x="0" yc="0" width="1" height="1" /></element>
<element name="digit2" ref="digit"><bounds x="1" yc="0" width="1" height="1" /></element>
<element name="digit1" ref="digit"><bounds x="2.4" yc="0" width="1" height="1" /></element>
<element name="digit0" ref="digit"><bounds x="3.4" yc="0" width="1" height="1" /></element>
</group>
<!-- button panel -->
<element name="cyan"><rect><color red="0.3" green="0.85" blue="0.85" /></rect></element>
<element name="text_b11"><text string="GAME"></text></element>
<element name="text_b11a"><text string="NEW"></text></element>
<element name="text_b12"><text string="SET-UP"></text></element>
<element name="text_b13"><text string="SOUND"></text></element>
<element name="text_b14"><text string="LEVEL"></text></element>
<element name="text_b15"><text string="MOVE"></text></element>
<element name="text_b16"><text string="BACK"></text></element>
<element name="text_b16a"><text string="TAKE"></text></element>
<element name="text_on"><text string="ON"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_off"><text string="OFF"><color red="0.05" green="0.05" blue="0.05" /></text></element>
<element name="text_save"><text string="SAVE"><color red="0.91" green="0.9" blue="0.89" /></text></element>
<element name="text_p1"><image file="chess/wp.svg"/></element>
<element name="text_p2"><image file="chess/wn.svg"/></element>
<element name="text_p3"><image file="chess/wb.svg"/></element>
<element name="text_p4"><image file="chess/wr.svg"/></element>
<element name="text_p5"><image file="chess/wq.svg"/></element>
<element name="text_p6"><image file="chess/wk.svg"/></element>
<element name="hlb" defstate="0">
<disk state="1"><color red="0.2" green="0.2" blue="0.2" /></disk>
</element>
<group name="buttons1">
<bounds x="0" y="0" width="100" height="30" />
<repeat count="3">
<param name="x" start="10" increment="10" />
<param name="i" start="1" increment="1" />
<element ref="text_p~i~"><bounds xc="~x~" y="3.9" width="6" height="6" /></element>
<element ref="white2" blend="multiply"><bounds xc="~x~" y="1" width="10" height="9" /></element>
<element ref="cyan"><bounds xc="~x~" y="10" width="8.5" height="1" /></element>
</repeat>
<repeat count="3">
<param name="x" start="10" increment="10" />
<param name="i" start="4" increment="1" />
<element ref="text_p~i~"><bounds xc="~x~" y="15.4" width="6" height="6" /></element>
<element ref="white2" blend="multiply"><bounds xc="~x~" y="12.5" width="10" height="9" /></element>
<element ref="cyan"><bounds xc="~x~" y="21.5" width="8.5" height="1" /></element>
</repeat>
<element ref="hlb" blend="add" inputtag="IN.0" inputmask="0x02"><bounds xc="10" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.0" inputmask="0x04"><bounds xc="20" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.0" inputmask="0x08"><bounds xc="30" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.0" inputmask="0x10"><bounds xc="10" y="15.5" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.0" inputmask="0x20"><bounds xc="20" y="15.5" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.0" inputmask="0x40"><bounds xc="30" y="15.5" width="10" height="10" /></element>
</group>
<group name="buttons2">
<bounds x="0" y="0" width="100" height="30" />
<element ref="text_b11a"><bounds xc="10" y="4.8" width="10" height="2.5" /></element>
<element ref="text_b16a"><bounds xc="60" y="4.8" width="10" height="2.5" /></element>
<repeat count="6">
<param name="x" start="10" increment="10" />
<param name="i" start="1" increment="1" />
<element ref="text_b1~i~"><bounds xc="~x~" y="7.0" width="10" height="2.5" /></element>
<element ref="white2" blend="multiply"><bounds xc="~x~" y="1" width="10" height="9" /></element>
<element ref="cyan"><bounds xc="~x~" y="10" width="8.5" height="1" /></element>
</repeat>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x08"><bounds xc="10" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x40"><bounds xc="20" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x80"><bounds xc="30" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x20"><bounds xc="40" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x10"><bounds xc="50" y="4" width="10" height="10" /></element>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x02"><bounds xc="60" y="4" width="10" height="10" /></element>
</group>
<group name="buttons3">
<bounds x="0" y="0" width="20" height="30" />
<element ref="white2"><bounds xc="10" y="8.5" width="8.5" height="2.5" /></element>
<element ref="text_on"><bounds xc="10" y="8.5" width="10" height="2.5" /></element>
<element ref="hlb" blend="add" inputtag="RESET" inputmask="0x01"><bounds xc="10" y="4" width="10" height="10" /></element>
<element ref="white2"><bounds xc="10" y="20.0" width="8.5" height="2.5" /></element>
<element ref="text_off"><bounds xc="10" y="20.0" width="10" height="2.5" /></element>
<element ref="text_save"><bounds xc="10" y="22.5" width="10" height="2.5" /></element>
<element ref="hlb" blend="add" inputtag="IN.1" inputmask="0x04"><bounds xc="10" y="15.5" width="10" height="10" /></element>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-5" right="96.5" top="6.5" bottom="106.5" />
<group ref="leds"><bounds x="34.5" y="91" width="50" height="15" /></group>
<group ref="buttons1"><bounds x="74.25" y="91" width="50" height="15" /></group>
<group ref="buttons2"><bounds x="44.25" y="93.75" width="50" height="15" /></group>
<group ref="buttons3"><bounds x="39.25" y="91" width="10" height="15" /></group>
<element ref="white2"><bounds xc="25" yc="98.75" width="11.5" height="6.8" /></element>
<element ref="blackb"><bounds xc="25" yc="98.75" width="11" height="6.3" /></element>
<group ref="lcd"><bounds xc="25" yc="98.75" width="8" height="4.3" /></group>
<element ref="white2"><bounds x="8.5" y="8.5" width="83" height="83" /></element>
<group ref="sb_board"><bounds x="10" y="10" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-3.5" y="10" width="10" height="80" /></group>
<!-- chessboard leds -->
<repeat count="8">
<param name="y" start="15" increment="10" />
<param name="i" start="7" increment="-1" />
<element name="0.~i~" ref="led"><bounds x="90.25" yc="~y~" width="1" height="1" /></element>
</repeat>
<repeat count="8">
<param name="x" start="15" increment="10" />
<param name="i" start="0" increment="1" />
<element name="1.~i~" ref="led"><bounds xc="~x~" y="90.25" width="1" height="1" /></element>
</repeat>
</view>
</mamelayout>

View file

@ -16657,7 +16657,9 @@ sgalaxyb
scprof
@source:cxg/royal.cpp
granada
sroyal
supra
@source:cxg/senterprise.cpp
senterp