New working machines

--------------------
The Gambit (1989 version) [hap, Berger, Achim]
This commit is contained in:
hap 2020-05-17 14:16:04 +02:00
parent 24edb599d1
commit 79746e1e2f
8 changed files with 1062 additions and 29 deletions

View File

@ -58,7 +58,8 @@ HD44801C89 used in:
#include "speaker.h"
// internal artwork
#include "cxg_scptchess.lh" // clickable
#include "cxg_scptchess_v1.lh" // clickable
#include "cxg_prtchess_v2.lh" // clickable
namespace {
@ -75,7 +76,8 @@ public:
m_inputs(*this, "IN.%u", 0)
{ }
void scptchess(machine_config &config);
void scptchess_v1(machine_config &config);
void prtchess_v2(machine_config &config);
DECLARE_INPUT_CHANGED_MEMBER(reset_button);
DECLARE_INPUT_CHANGED_MEMBER(save_switch) { update_halt(); }
@ -173,7 +175,7 @@ u16 scptchess_state::input_r()
Input Ports
******************************************************************************/
static INPUT_PORTS_START( scptchess )
static INPUT_PORTS_START( shared_v1 )
PORT_START("IN.0")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_S) PORT_NAME("Sound") // only hooked up on 1st version
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Reverse Play")
@ -184,8 +186,8 @@ static INPUT_PORTS_START( scptchess )
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_OTHER) PORT_CODE(KEYCODE_F1) PORT_TOGGLE PORT_CHANGED_MEMBER(DEVICE_SELF, scptchess_state, save_switch, 0) PORT_NAME("Save Switch")
INPUT_PORTS_END
static INPUT_PORTS_START( prtchess )
PORT_INCLUDE( scptchess )
static INPUT_PORTS_START( shared_v2 )
PORT_INCLUDE( shared_v1 )
PORT_MODIFY("IN.0")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_UNUSED)
@ -197,7 +199,7 @@ INPUT_PORTS_END
Machine Configs
******************************************************************************/
void scptchess_state::scptchess(machine_config &config)
void scptchess_state::scptchess_v1(machine_config &config)
{
/* basic machine hardware */
HD44801(config, m_maincpu, 400000);
@ -212,7 +214,7 @@ void scptchess_state::scptchess(machine_config &config)
/* video hardware */
PWM_DISPLAY(config, m_display).set_size(8, 2);
config.set_default_layout(layout_cxg_scptchess);
config.set_default_layout(layout_cxg_scptchess_v1);
/* sound hardware */
SPEAKER(config, "speaker").front_center();
@ -220,6 +222,12 @@ void scptchess_state::scptchess(machine_config &config)
VOLTAGE_REGULATOR(config, "vref").add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
}
void scptchess_state::prtchess_v2(machine_config &config)
{
scptchess_v1(config);
config.set_default_layout(layout_cxg_prtchess_v2);
}
/******************************************************************************
@ -244,6 +252,6 @@ ROM_END
Drivers
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
CONS( 1981, scptchess, 0, 0, scptchess, scptchess, scptchess_state, empty_init, "CXG Systems / White & Allcock", "Sensor Computachess", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1985, prtchess, scptchess, 0, scptchess, prtchess, scptchess_state, empty_init, "CXG Systems / Newcrest Technology", "Portachess (1985 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
CONS( 1981, scptchess, 0, 0, scptchess_v1, shared_v1, scptchess_state, empty_init, "CXG Systems / White & Allcock", "Sensor Computachess (1981 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1985, prtchess, scptchess, 0, prtchess_v2, shared_v2, scptchess_state, empty_init, "CXG Systems / Newcrest Technology", "Portachess (1985 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -14,7 +14,7 @@ TODO:
- granits has a module slot, is it usable?
- granits overlock + dynamic /2 cpu divider? (like SC12) instead of static /2 divider
*******************************************************************************
-------------------------------------------------------------------------------
Voice Excellence (model 6092)
----------------
@ -115,7 +115,7 @@ VFD display, and some buttons for controlling the clock. IRQ frequency is double
presumedly for using the blinking led as seconds counter. It only tracks player time,
not of the opponent. And it obviously doesn't show chessmove coordinates either.
*******************************************************************************
-------------------------------------------------------------------------------
Designer 2000 (model 6102)
----------------
@ -126,7 +126,7 @@ basically same as (Par) Excellence hardware, reskinned board
Designer 2100 (model 6103): exactly same, but running at 5MHz
(Designer 1500 is on 80C50 hardware)
(Designer 1500 is on 80C50 hardware, same ROM as The Gambit, see fidel_sc6.cpp)
******************************************************************************/

View File

@ -5,6 +5,15 @@
Fidelity Sensory Chess Challenger 6 (model SC6)
Fidelity Mini Sensory Chess Challenger (model MSC, 1982 version)
Fidelity The Gambit (model 6084)
TODO:
- MSC MCU is currently emulated as I8039, due to missing EA pin emulation
- different button panel for fidel_msc_v2 artwork
- add the older versions of gambit(assuming different ROM): 1st version is
probably the same as "The Classic", and 2nd version has voice capability
-------------------------------------------------------------------------------
SC6 hardware notes:
- PCB label 510-1045B01
@ -23,18 +32,23 @@ SC6 program is contained in BO6 and CG6.
MSC hardware notes:
- PCB label 510-1044B01
- P8049H MCU, 11MHz XTAL
- 2KB internal ROM, module slot
- buzzer, 18 leds, 8*8 chessboard buttons
- P8049H MCU, 2KB internal ROM, 11MHz XTAL
- buzzer, 18 leds, 8*8 chessboard buttons, module slot
MCU ports I/O is identical to SC6.
It accepts the same modules as the 1st MSC version. See fidel_msc.cpp for known
modules. The module overrides the internal ROM, by asserting the EA pin.
TODO:
- MSC MCU is currently emulated as I8039, due to missing EA pin emulation
- different button panel for fidel_msc_v2 artwork
-------------------------------------------------------------------------------
Gambit(v3) hardware notes:
- PCB label 510-1115A01 (1986 PCB, but chips from 1989)
- TMP80C50AP-6-9311 MCU, 4KB internal ROM, 6MHz XTAL
- buzzer, 16 leds, 8*8 chessboard buttons
MCU ports I/O again identical to SC6.
The same MCU+ROM was also used in Designer 1500(PCB label 510.1131A01).
******************************************************************************/
@ -51,6 +65,7 @@ TODO:
#include "speaker.h"
// internal artwork
#include "fidel_gambit.lh" // clickable
#include "fidel_msc_v2.lh" // clickable
#include "fidel_sc6.lh" // clickable
@ -74,6 +89,7 @@ public:
// machine configs
void msc(machine_config &config);
void sc6(machine_config &config);
void gambit(machine_config &config);
protected:
virtual void machine_start() override;
@ -85,7 +101,7 @@ private:
required_device<sensorboard_device> m_board;
required_device<pwm_display_device> m_display;
required_device<dac_bit_interface> m_dac;
required_device<generic_slot_device> m_cart;
optional_device<generic_slot_device> m_cart;
required_ioport m_inputs;
// address maps
@ -149,7 +165,7 @@ void sc6_state::select_w(u8 data)
u8 sc6_state::rom_r(offs_t offset)
{
// MSC reads from cartridge if it's inserted(A12 high), otherwise from internal ROM
return m_cart->exists() ? m_cart->read_rom(offset | 0x1000) : m_rom[offset & 0x7ff];
return m_cart->exists() ? m_cart->read_rom(offset | 0x1000) : m_rom[offset];
}
u8 sc6_state::read_inputs()
@ -226,17 +242,28 @@ static INPUT_PORTS_START( msc )
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Speaker / Bishop")
INPUT_PORTS_END
static INPUT_PORTS_START( gambit )
PORT_START("IN.0")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("Move / Pawn")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Hint / Knight")
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Take Back / Bishop")
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("Level / Rook")
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("Verify / Queen")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("Problem / King")
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_DEL) PORT_CODE(KEYCODE_BACKSPACE) PORT_NAME("Clear")
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_N) PORT_NAME("New Game")
INPUT_PORTS_END
/******************************************************************************
Machine Configs
******************************************************************************/
void sc6_state::msc(machine_config &config)
void sc6_state::gambit(machine_config &config)
{
/* basic machine hardware */
I8039(config, m_maincpu, 11_MHz_XTAL); // actually I8049
m_maincpu->set_addrmap(AS_PROGRAM, &sc6_state::msc_map);
I8050(config, m_maincpu, 6_MHz_XTAL);
m_maincpu->p2_out_cb().set(FUNC(sc6_state::mux_w));
m_maincpu->p1_in_cb().set(FUNC(sc6_state::input_r));
m_maincpu->p1_out_cb().set(FUNC(sc6_state::select_w));
@ -249,12 +276,28 @@ void sc6_state::msc(machine_config &config)
/* video hardware */
PWM_DISPLAY(config, m_display).set_size(2, 9);
config.set_default_layout(layout_fidel_msc_v2);
config.set_default_layout(layout_fidel_gambit);
/* sound hardware */
SPEAKER(config, "speaker").front_center();
DAC_1BIT(config, m_dac).add_route(ALL_OUTPUTS, "speaker", 0.25);
VOLTAGE_REGULATOR(config, "vref").add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
}
void sc6_state::msc(machine_config &config)
{
gambit(config);
/* basic machine hardware */
I8039(config.replace(), m_maincpu, 11_MHz_XTAL); // actually I8049
m_maincpu->set_addrmap(AS_PROGRAM, &sc6_state::msc_map);
m_maincpu->p2_out_cb().set(FUNC(sc6_state::mux_w));
m_maincpu->p1_in_cb().set(FUNC(sc6_state::input_r));
m_maincpu->p1_out_cb().set(FUNC(sc6_state::select_w));
m_maincpu->t0_in_cb().set(FUNC(sc6_state::input6_r));
m_maincpu->t1_in_cb().set(FUNC(sc6_state::input7_r));
config.set_default_layout(layout_fidel_msc_v2);
/* cartridge */
GENERIC_CARTSLOT(config, "cartslot", generic_plain_slot, "fidel_msc");
@ -295,8 +338,14 @@ ROM_START( fscc6 )
ROM_END
ROM_START( miniscc )
ROM_REGION( 0x0800, "maincpu", 0 )
ROM_REGION( 0x1000, "maincpu", 0 )
ROM_LOAD("100-1012b01", 0x0000, 0x0800, CRC(ea3261f7) SHA1(1601358fdf0eee0b973c0f4c78bf679b8dada72a) ) // internal ROM
ROM_RELOAD( 0x0800, 0x0800)
ROM_END
ROM_START( gambit )
ROM_REGION( 0x1000, "maincpu", 0 )
ROM_LOAD("100-1020b01", 0x0000, 0x1000, CRC(ba41b5ba) SHA1(1a5c5b2e990a07b9ff51eecfa952a4b890107797) ) // internal ROM
ROM_END
} // anonymous namespace
@ -307,6 +356,8 @@ ROM_END
Drivers
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
CONS( 1982, fscc6, 0, 0, sc6, sc6, sc6_state, empty_init, "Fidelity Electronics", "Sensory Chess Challenger \"6\"", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1982, miniscc, 0, 0, msc, msc, sc6_state, empty_init, "Fidelity Electronics", "Mini Sensory Chess Challenger (1982 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // aka "Mini Sensory II"
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
CONS( 1982, fscc6, 0, 0, sc6, sc6, sc6_state, empty_init, "Fidelity Electronics", "Sensory Chess Challenger \"6\"", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1982, miniscc, 0, 0, msc, msc, sc6_state, empty_init, "Fidelity Electronics", "Mini Sensory Chess Challenger (1982 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // aka "Mini Sensory II"
CONS( 1989, gambit, 0, 0, gambit, gambit, sc6_state, empty_init, "Fidelity Electronics", "The Gambit (1989 version)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -11,6 +11,9 @@ The box names it Sensory Chess Challenger, Sensory Chess Challenger "8" title
is on the 1st page of the manual. Like other Fidelity chesscomputers from
around this time, the number indicates maximum difficulty level.
It was also rereleased in 1983 as "Poppy", marketed for children, the housing
was in bright red color.
Hardware notes:
- Z80A CPU @ 3.9MHz
- 4KB ROM(MOS 2732), 256 bytes RAM(35391CP)

View File

@ -0,0 +1,394 @@
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="white2"><rect><color red="0.76" green="0.75" blue="0.74" /></rect></element>
<element name="but" defstate="0">
<rect state="1"><color red="0.25" green="0.24" blue="0.24" /></rect>
<rect state="0"><color red="0.17" green="0.16" blue="0.16" /></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.17" green="0.015" blue="0.02" /></disk>
</element>
<element name="text_1"><text string="1"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_2"><text string="2"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_3"><text string="3"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_4"><text string="4"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_5"><text string="5"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_6"><text string="6"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_7"><text string="7"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_8"><text string="8"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_a"><text string="A"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_b"><text string="B"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_c"><text string="C"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_d"><text string="D"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_e"><text string="E"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_f"><text string="F"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_g"><text string="G"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_h"><text string="H"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l1"><text string="CHECK"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l2"><text string="MATE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l3"><text string="STALEMATE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l4"><text string="YOUR MOVE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l5"><text string="SOUND"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l6"><text string="LEVEL"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_l7"><text string="REVERSE PLAY"><color red="0.81" green="0.8" blue="0.79" /></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.png" state="1"/>
<image file="chess/wn.png" state="2"/>
<image file="chess/wb.png" state="3"/>
<image file="chess/wr.png" state="4"/>
<image file="chess/wq.png" state="5"/>
<image file="chess/wk.png" state="6"/>
<image file="chess/bp.png" state="7"/>
<image file="chess/bn.png" state="8"/>
<image file="chess/bb.png" state="9"/>
<image file="chess/br.png" state="10"/>
<image file="chess/bq.png" state="11"/>
<image file="chess/bk.png" state="12"/>
<!-- selected pieces -->
<image file="chess/wp.png" state="13"><color alpha="0.5" /></image>
<image file="chess/wn.png" state="14"><color alpha="0.5" /></image>
<image file="chess/wb.png" state="15"><color alpha="0.5" /></image>
<image file="chess/wr.png" state="16"><color alpha="0.5" /></image>
<image file="chess/wq.png" state="17"><color alpha="0.5" /></image>
<image file="chess/wk.png" state="18"><color alpha="0.5" /></image>
<image file="chess/bp.png" state="19"><color alpha="0.5" /></image>
<image file="chess/bn.png" state="20"><color alpha="0.5" /></image>
<image file="chess/bb.png" state="21"><color alpha="0.5" /></image>
<image file="chess/br.png" state="22"><color alpha="0.5" /></image>
<image file="chess/bq.png" state="23"><color alpha="0.5" /></image>
<image file="chess/bk.png" state="24"><color alpha="0.5" /></image>
</element>
<group name="sb_board">
<bounds x="0" y="0" width="80" height="80" />
<!-- squares (avoid seams) -->
<bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel>
<!-- sensors, pieces -->
<repeat count="8">
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel>
</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">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<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">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<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">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></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_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></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" />
<bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel>
<bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel>
<bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel>
<bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel>
<bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel>
<!-- board -->
<bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel>
<bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel>
<bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel>
<bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<!-- spawn -->
<bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel>
<bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel>
<bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel>
<bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel>
<bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel>
<bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel>
<bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel>
<bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel>
<bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel>
<bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel>
<bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel>
<bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel>
<bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel>
<bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
<!-- hand -->
<bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel>
<bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel>
<bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel>
<bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel>
<bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<!-- undo -->
<bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel>
<bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel>
<bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-12" right="102" top="-1" bottom="91" />
<group ref="sb_board"><bounds x="4" y="3" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-10.5" y="3" width="10" height="80" /></group>
<!-- chessboard coords -->
<bezel element="text_8"><bounds x="1.25" y="9" width="2" height="2" /></bezel>
<bezel element="text_7"><bounds x="1.25" y="19" width="2" height="2" /></bezel>
<bezel element="text_6"><bounds x="1.25" y="29" width="2" height="2" /></bezel>
<bezel element="text_5"><bounds x="1.25" y="39" width="2" height="2" /></bezel>
<bezel element="text_4"><bounds x="1.25" y="49" width="2" height="2" /></bezel>
<bezel element="text_3"><bounds x="1.25" y="59" width="2" height="2" /></bezel>
<bezel element="text_2"><bounds x="1.25" y="69" width="2" height="2" /></bezel>
<bezel element="text_1"><bounds x="1.25" y="79" width="2" height="2" /></bezel>
<bezel element="text_a"><bounds x="6" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_b"><bounds x="16" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_c"><bounds x="26" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_d"><bounds x="36" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_e"><bounds x="46" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_f"><bounds x="56" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_g"><bounds x="66" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_h"><bounds x="76" y="83.7" width="2" height="2" /></bezel>
<!-- chessboard leds -->
<bezel name="0.1" element="led"><bounds x="1.5" y="7.25" width="1.5" height="1.5" /></bezel>
<bezel name="1.1" element="led"><bounds x="1.5" y="17.25" width="1.5" height="1.5" /></bezel>
<bezel name="2.1" element="led"><bounds x="1.5" y="27.25" width="1.5" height="1.5" /></bezel>
<bezel name="3.1" element="led"><bounds x="1.5" y="37.25" width="1.5" height="1.5" /></bezel>
<bezel name="4.1" element="led"><bounds x="1.5" y="47.25" width="1.5" height="1.5" /></bezel>
<bezel name="5.1" element="led"><bounds x="1.5" y="57.25" width="1.5" height="1.5" /></bezel>
<bezel name="6.1" element="led"><bounds x="1.5" y="67.25" width="1.5" height="1.5" /></bezel>
<bezel name="7.1" element="led"><bounds x="1.5" y="77.25" width="1.5" height="1.5" /></bezel>
<bezel name="7.0" element="led"><bounds x="8.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="6.0" element="led"><bounds x="18.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="5.0" element="led"><bounds x="28.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="4.0" element="led"><bounds x="38.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="3.0" element="led"><bounds x="48.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="2.0" element="led"><bounds x="58.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="1.0" element="led"><bounds x="68.25" y="84" width="1.5" height="1.5" /></bezel>
<bezel name="0.0" element="led"><bounds x="78.25" y="84" width="1.5" height="1.5" /></bezel>
<!-- bottom side labels -->
<bezel element="white2"><bounds x="9" y="86.3" width="10" height="0.3" /></bezel>
<bezel element="white2"><bounds x="29" y="86.3" width="10" height="0.3" /></bezel>
<bezel element="white2"><bounds x="49" y="86.3" width="10" height="0.3" /></bezel>
<bezel element="white2"><bounds x="69" y="86.3" width="10" height="0.3" /></bezel>
<bezel element="text_l1"><bounds x="9" y="87.1" width="10" height="2" /></bezel>
<bezel element="text_l2"><bounds x="29" y="87.1" width="10" height="2" /></bezel>
<bezel element="text_l3"><bounds x="49" y="87.1" width="10" height="2" /></bezel>
<bezel element="text_l4"><bounds x="69" y="87.1" width="10" height="2" /></bezel>
<!-- right side buttons -->
<bezel element="but" inputtag="IN.0" inputmask="0x20"><bounds x="88" y="59" width="10" height="4" /></bezel>
<bezel element="but" inputtag="IN.0" inputmask="0x80"><bounds x="88" y="69" width="10" height="4" /></bezel>
<bezel element="but" inputtag="IN.0" inputmask="0x40"><bounds x="88" y="79" width="10" height="4" /></bezel>
<bezel element="text_l5"><bounds x="86" y="56.5" width="14" height="2" /></bezel>
<bezel element="text_l6"><bounds x="86" y="66.5" width="14" height="2" /></bezel>
<bezel element="text_l7"><bounds x="86" y="76.5" width="14" height="2" /></bezel>
</view>
</mamelayout>

View File

@ -0,0 +1,576 @@
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<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>
<element name="redb"><rect><color red="0.81" green="0.3" blue="0.29" /></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="ledg" defstate="0">
<disk state="1"><color red="0.1" green="1.0" blue="0.15" /></disk>
<disk state="0"><color red="0.01" green="0.1" blue="0.015" /></disk>
</element>
<element name="hlb" defstate="0">
<text string=" ">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.0" green="0.0" blue="0.0" />
</text>
<rect state="1">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="1.0" green="1.0" blue="1.0" />
</rect>
</element>
<element name="text_1">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="1" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="2" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_3">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="3" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_4">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="4" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_5">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="5" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_6">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="6" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_7">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="7" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_8">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="8" align="2"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_a">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="A"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_b">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="B"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_c">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="C"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_d">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="D"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_e">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="E"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_f">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="F"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_g">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="G"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_h">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="H"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_lb">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="CHECK"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_lc">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="MATE"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_ld">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="WHITE"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_le">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="BLACK"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_lf">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="I LOSE"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_t81">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="NEW"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t82">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="GAME"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t7">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="CLEAR"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t6">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="PROBLEM"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t5">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="VERIFY"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t4">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="LEVEL"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t31">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="TAKE"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t32">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="BACK"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="HINT"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_t1">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="MOVE"><color red="0.17" green="0.15" blue="0.15" /></text>
</element>
<element name="text_tl7">
<rect><color red="0.17" green="0.15" blue="0.15" /></rect>
<text string="[K]"><color red="0.65" green="0.15" blue="0.14" /></text>
</element>
<element name="text_tl6">
<rect><color red="0.17" green="0.15" blue="0.15" /></rect>
<text string="[Q]"><color red="0.65" green="0.15" blue="0.14" /></text>
</element>
<element name="text_tl5">
<rect><color red="0.17" green="0.15" blue="0.15" /></rect>
<text string="[R]"><color red="0.65" green="0.15" blue="0.14" /></text>
</element>
<element name="text_tl4">
<rect><color red="0.17" green="0.15" blue="0.15" /></rect>
<text string="[B]"><color red="0.65" green="0.15" blue="0.14" /></text>
</element>
<element name="text_tl3">
<rect><color red="0.17" green="0.15" blue="0.15" /></rect>
<text string="[N]"><color red="0.65" green="0.15" blue="0.14" /></text>
</element>
<element name="text_tl2">
<rect><color red="0.17" green="0.15" blue="0.15" /></rect>
<text string="[P]"><color red="0.65" green="0.15" blue="0.14" /></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.png" state="1"/>
<image file="chess/wn.png" state="2"/>
<image file="chess/wb.png" state="3"/>
<image file="chess/wr.png" state="4"/>
<image file="chess/wq.png" state="5"/>
<image file="chess/wk.png" state="6"/>
<image file="chess/bp.png" state="7"/>
<image file="chess/bn.png" state="8"/>
<image file="chess/bb.png" state="9"/>
<image file="chess/br.png" state="10"/>
<image file="chess/bq.png" state="11"/>
<image file="chess/bk.png" state="12"/>
<!-- selected pieces -->
<image file="chess/wp.png" state="13"><color alpha="0.5" /></image>
<image file="chess/wn.png" state="14"><color alpha="0.5" /></image>
<image file="chess/wb.png" state="15"><color alpha="0.5" /></image>
<image file="chess/wr.png" state="16"><color alpha="0.5" /></image>
<image file="chess/wq.png" state="17"><color alpha="0.5" /></image>
<image file="chess/wk.png" state="18"><color alpha="0.5" /></image>
<image file="chess/bp.png" state="19"><color alpha="0.5" /></image>
<image file="chess/bn.png" state="20"><color alpha="0.5" /></image>
<image file="chess/bb.png" state="21"><color alpha="0.5" /></image>
<image file="chess/br.png" state="22"><color alpha="0.5" /></image>
<image file="chess/bq.png" state="23"><color alpha="0.5" /></image>
<image file="chess/bk.png" state="24"><color alpha="0.5" /></image>
</element>
<group name="sb_board">
<bounds x="0" y="0" width="80" height="80" />
<!-- squares (avoid seams) -->
<bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel>
<!-- sensors, pieces -->
<repeat count="8">
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel>
</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">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<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">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<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">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></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_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></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" />
<bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel>
<bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel>
<bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel>
<bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel>
<bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel>
<!-- board -->
<bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel>
<bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel>
<bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel>
<bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<!-- spawn -->
<bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel>
<bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel>
<bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel>
<bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel>
<bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel>
<bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel>
<bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel>
<bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel>
<bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel>
<bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel>
<bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel>
<bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel>
<bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel>
<bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
<!-- hand -->
<bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel>
<bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel>
<bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel>
<bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel>
<bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<!-- undo -->
<bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel>
<bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel>
<bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-13" right="98" top="-1.5" bottom="88.5" />
<bezel element="white"><bounds x="-1" y="-1.5" width="99" height="90" /></bezel>
<bezel element="black"><bounds x="3" y="2.5" width="81" height="81" /></bezel>
<group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="-12" y="3.5" width="10" height="80" /></group>
<!-- chessboard coords -->
<bezel element="text_8"><bounds x="0.7" y="9" width="2" height="2" /></bezel>
<bezel element="text_7"><bounds x="0.7" y="19" width="2" height="2" /></bezel>
<bezel element="text_6"><bounds x="0.7" y="29" width="2" height="2" /></bezel>
<bezel element="text_5"><bounds x="0.7" y="39" width="2" height="2" /></bezel>
<bezel element="text_4"><bounds x="0.7" y="49" width="2" height="2" /></bezel>
<bezel element="text_3"><bounds x="0.7" y="59" width="2" height="2" /></bezel>
<bezel element="text_2"><bounds x="0.7" y="69" width="2" height="2" /></bezel>
<bezel element="text_1"><bounds x="0.7" y="79" width="2" height="2" /></bezel>
<bezel element="text_a"><bounds x="5.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_b"><bounds x="15.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_c"><bounds x="25.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_d"><bounds x="35.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_e"><bounds x="45.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_f"><bounds x="55.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_g"><bounds x="65.5" y="83.7" width="2" height="2" /></bezel>
<bezel element="text_h"><bounds x="75.5" y="83.7" width="2" height="2" /></bezel>
<!-- bottom side labels -->
<bezel element="text_lb"><bounds x="13.5" y="85.8" width="10" height="2" /></bezel>
<bezel element="text_lc"><bounds x="23.5" y="85.8" width="10" height="2" /></bezel>
<bezel element="text_ld"><bounds x="33.5" y="85.8" width="10" height="2" /></bezel>
<bezel element="text_le"><bounds x="43.5" y="85.8" width="10" height="2" /></bezel>
<bezel element="text_lf"><bounds x="53.5" y="85.8" width="10" height="2" /></bezel>
<!-- chessboard leds -->
<bezel name="0.7" element="led"><bounds x="2.5" y="7.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.6" element="led"><bounds x="2.5" y="17.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.5" element="led"><bounds x="2.5" y="27.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.4" element="led"><bounds x="2.5" y="37.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.3" element="led"><bounds x="2.5" y="47.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.2" element="led"><bounds x="2.5" y="57.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.1" element="led"><bounds x="2.5" y="67.25" width="1.5" height="1.5" /></bezel>
<bezel name="0.0" element="led"><bounds x="2.5" y="77.25" width="1.5" height="1.5" /></bezel>
<bezel name="1.0" element="ledg"><bounds x="7.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.1" element="ledg"><bounds x="17.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.2" element="ledg"><bounds x="27.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.3" element="ledg"><bounds x="37.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.4" element="ledg"><bounds x="47.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.5" element="ledg"><bounds x="57.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.6" element="ledg"><bounds x="67.75" y="82.5" width="1.5" height="1.5" /></bezel>
<bezel name="1.7" element="ledg"><bounds x="77.75" y="82.5" width="1.5" height="1.5" /></bezel>
<!-- right side -->
<bezel element="black"><bounds x="86" y="2.5" width="10" height="81" /></bezel>
<bezel element="text_tl7"><bounds x="87" y="25.2" width="8" height="2.5" /></bezel>
<bezel element="text_tl6"><bounds x="87" y="34.2" width="8" height="2.5" /></bezel>
<bezel element="text_tl5"><bounds x="87" y="43.2" width="8" height="2.5" /></bezel>
<bezel element="text_tl4"><bounds x="87" y="52.2" width="8" height="2.5" /></bezel>
<bezel element="text_tl3"><bounds x="87" y="61.2" width="8" height="2.5" /></bezel>
<bezel element="text_tl2"><bounds x="87" y="70.2" width="8" height="2.5" /></bezel>
<bezel element="redb"><bounds x="87" y="9" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="19" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="28" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="37" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="46" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="55" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="64" width="8" height="4" /></bezel>
<bezel element="redb"><bounds x="87" y="73" width="8" height="4" /></bezel>
<bezel element="white"><bounds x="87.3" y="9.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="19.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="28.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="37.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="46.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="55.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="64.3" width="7.4" height="3.4" /></bezel>
<bezel element="white"><bounds x="87.3" y="73.3" width="7.4" height="3.4" /></bezel>
<bezel element="text_t81"><bounds x="87.35" y="9.5" width="7.3" height="1.5" /></bezel>
<bezel element="text_t82"><bounds x="87.35" y="11" width="7.3" height="1.5" /></bezel>
<bezel element="text_t7"><bounds x="87.35" y="20.25" width="7.3" height="1.5" /></bezel>
<bezel element="text_t6"><bounds x="87.35" y="29.25" width="7.3" height="1.5" /></bezel>
<bezel element="text_t5"><bounds x="87.35" y="38.25" width="7.3" height="1.5" /></bezel>
<bezel element="text_t4"><bounds x="87.35" y="47.25" width="7.3" height="1.5" /></bezel>
<bezel element="text_t31"><bounds x="87.35" y="55.5" width="7.3" height="1.5" /></bezel>
<bezel element="text_t32"><bounds x="87.35" y="57" width="7.3" height="1.5" /></bezel>
<bezel element="text_t2"><bounds x="87.35" y="65.25" width="7.3" height="1.5" /></bezel>
<bezel element="text_t1"><bounds x="87.35" y="74.25" width="7.3" height="1.5" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x80"><bounds x="87" y="9" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x40"><bounds x="87" y="19" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x20"><bounds x="87" y="28" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x10"><bounds x="87" y="37" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x08"><bounds x="87" y="46" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x04"><bounds x="87" y="55" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x02"><bounds x="87" y="64" width="8" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x01"><bounds x="87" y="73" width="8" height="4" /><color alpha="0.4" /></bezel>
</view>
</mamelayout>

View File

@ -13548,6 +13548,7 @@ fscc12b //
@source:fidel_sc6.cpp
fscc6 //
gambit
miniscc
@source:fidel_sc8.cpp