mephisto_mondial.cpp: split driver file into mondial/mondial2

This commit is contained in:
hap 2021-04-09 11:54:33 +02:00
parent adf5af551b
commit 55e356f13a
18 changed files with 1776 additions and 630 deletions

View File

@ -2544,6 +2544,7 @@ files {
MAME_DIR .. "src/mame/drivers/mephisto_modular.cpp",
MAME_DIR .. "src/mame/drivers/mephisto_modular_tm.cpp",
MAME_DIR .. "src/mame/drivers/mephisto_mondial.cpp",
MAME_DIR .. "src/mame/drivers/mephisto_mondial2.cpp",
MAME_DIR .. "src/mame/drivers/mephisto_mondial68k.cpp",
MAME_DIR .. "src/mame/drivers/mephisto_montec.cpp",
MAME_DIR .. "src/mame/drivers/mephisto_polgar.cpp",

View File

@ -8,6 +8,12 @@ Mephisto Modena
The chess engine is by Frans Morsch, same one as Sphinx Dominator 2.05.
Hold Pawn + Knight buttons at boot for test mode.
Hardware notes:
- PCB label: MODENA-A-2
- W65C02SP or RP65C02G @ 4.19MHz
- 8KB RAM (battery-backed), 32KB ROM
- 8*8 chessboard buttons, 16+6 leds, piezo
**************************************************************************************************/
#include "emu.h"
@ -171,7 +177,7 @@ INPUT_PORTS_END
void modena_state::modena(machine_config &config)
{
/* basic machine hardware */
M65C02(config, m_maincpu, 4.194304_MHz_XTAL); // W65C02SP or RP65C02G
M65C02(config, m_maincpu, 4.194304_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &modena_state::modena_mem);
clock_device &nmi_clock(CLOCK(config, "nmi_clock", 4.194304_MHz_XTAL / (1 << 13))); // active for 975us

View File

@ -1,238 +1,198 @@
// license:BSD-3-Clause
// copyright-holders:Sandro Ronco
// thanks-to:yoyo_chessboard
/**************************************************************************************************
// copyright-holders:Sandro Ronco, hap
/******************************************************************************
Mephisto Mondial
Mephisto Mondial II
Mephisto Mondial
TODO:
- split driver into 2? they're not on the same hardware
- add mondial MM 1000 module
Hardware notes:
- G65SC02-1 @ 2MHz
- 2KB RAM(TC5517AP), 16KB ROM
- 8*8 chessboard buttons, 24 leds, active buzzer
**************************************************************************************************/
TODO:
- verify XTAL (or maybe RC or LC circuit), 2MHz is correct
- unknown read from 0x2000
- add MM 1000 module
******************************************************************************/
#include "emu.h"
#include "cpu/m6502/m65c02.h"
#include "machine/nvram.h"
#include "machine/mmboard.h"
#include "machine/timer.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "cpu/m6502/m65sc02.h"
#include "machine/sensorboard.h"
#include "sound/beep.h"
#include "sound/dac.h"
#include "video/pwm.h"
#include "speaker.h"
#include "mephisto_mondial2.lh"
// internal artwork
#include "mephisto_mondial.lh"
class mephisto_mondial_state : public driver_device
namespace {
class mondial_state : public driver_device
{
public:
mephisto_mondial_state(const machine_config &mconfig, device_type type, const char *tag)
mondial_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_board(*this, "board")
, m_dac(*this, "dac")
, m_led_pwm(*this, "led_pwm")
, m_beeper(*this, "beeper")
, m_keys(*this, "KEY.%u", 0)
, m_low_leds(*this, "led%u", 0U)
, m_high_leds(*this, "led%u", 100U)
{ }
void mondial(machine_config &config);
void mondial2(machine_config &config);
protected:
virtual void machine_start() override;
private:
uint8_t mondial2_input_r(offs_t offset);
void mondial_input_mux_w(uint8_t data);
uint8_t mondial_input_r(offs_t offset);
void mondial2_input_mux_w(uint8_t data);
TIMER_DEVICE_CALLBACK_MEMBER(refresh_leds);
required_device<cpu_device> m_maincpu;
required_device<sensorboard_device> m_board;
required_device<pwm_display_device> m_led_pwm;
required_device<beep_device> m_beeper;
required_ioport_array<2> m_keys;
void mondial_mem(address_map &map);
void mondial2_mem(address_map &map);
virtual void machine_start() override;
virtual void machine_reset() override;
void control_w(u8 data);
u8 input_r(offs_t offset);
required_device<cpu_device> m_maincpu;
required_device<mephisto_board_device> m_board;
optional_device<dac_bit_interface> m_dac;
optional_device<beep_device> m_beeper;
required_ioport_array<2> m_keys;
output_finder<16> m_low_leds, m_high_leds;
uint8_t m_input_mux;
u8 m_inp_mux = 0;
};
void mephisto_mondial_state::machine_start()
void mondial_state::machine_start()
{
m_low_leds.resolve();
m_high_leds.resolve();
save_item(NAME(m_input_mux));
}
void mephisto_mondial_state::machine_reset()
{
m_input_mux = 0x00;
}
uint8_t mephisto_mondial_state::mondial2_input_r(offs_t offset)
{
if (m_input_mux & 0x01) return BIT(m_keys[1]->read(), 0 + offset) << 7;
else if (m_input_mux & 0x02) return BIT(m_keys[1]->read(), 4 + offset) << 7;
else if (m_input_mux & 0x04) return BIT(m_keys[0]->read(), 0 + offset) << 7;
else if (m_input_mux & 0x08) return BIT(m_keys[0]->read(), 4 + offset) << 7;
return BIT(m_board->input_r(), offset) << 7;
}
void mephisto_mondial_state::mondial2_input_mux_w(uint8_t data)
{
uint8_t leds_data = m_board->mux_r();
for (int i=0; i<8; i++)
{
if (!BIT(leds_data, i))
{
if (data & 0x10) m_high_leds[i] = 1;
if (data & 0x20) m_low_leds[8 + i] = 1;
if (data & 0x40) m_low_leds[0 + i] = 1;
}
}
m_input_mux = data ^ 0xff;
m_dac->write(BIT(data, 7));
m_maincpu->set_input_line(M65C02_NMI_LINE, CLEAR_LINE);
save_item(NAME(m_inp_mux));
}
void mephisto_mondial_state::mondial2_mem(address_map &map)
{
map(0x0000, 0x07ff).ram().share("nvram");
map(0x2000, 0x2000).w(FUNC(mephisto_mondial_state::mondial2_input_mux_w));
map(0x2800, 0x2800).w(m_board, FUNC(mephisto_board_device::mux_w));
map(0x3000, 0x3007).r(FUNC(mephisto_mondial_state::mondial2_input_r));
map(0x8000, 0xffff).rom();
}
uint8_t mephisto_mondial_state::mondial_input_r(offs_t offset)
/******************************************************************************
I/O
******************************************************************************/
u8 mondial_state::input_r(offs_t offset)
{
uint8_t data;
if (m_input_mux & 0x08)
data = m_keys[BIT(~m_input_mux, 0)]->read();
u8 data = 0;
// read chessboard sensors
if (m_inp_mux < 8)
data = m_board->read_rank(m_inp_mux);
// read keypad
else
data = m_board->input_r();
data = m_keys[m_inp_mux & 1]->read();
return BIT(data, offset) << 7;
return ~(BIT(data, offset) << 7);
}
void mephisto_mondial_state::mondial_input_mux_w(uint8_t data)
void mondial_state::control_w(u8 data)
{
uint8_t leds_data = ~(1 << (data & 0x07));
m_board->mux_w(leds_data);
// d0-d3: input mux, led select
// d4-d6: led data
m_inp_mux = data & 0xf;
m_led_pwm->matrix(1 << m_inp_mux, ~data >> 4 & 7);
for (int i=0; i<8; i++)
{
if (!BIT(leds_data, i))
{
if (!(data & 0x10)) m_high_leds[i] = 1;
if (!(data & 0x20)) m_low_leds[8 + i] = 1;
if (!(data & 0x40)) m_low_leds[0 + i] = 1;
}
}
m_input_mux = data;
// d7: enable beeper
m_beeper->set_state(BIT(data, 7));
m_maincpu->set_input_line(M65C02_IRQ_LINE, CLEAR_LINE);
}
void mephisto_mondial_state::mondial_mem(address_map &map)
/******************************************************************************
Address Maps
******************************************************************************/
void mondial_state::mondial_mem(address_map &map)
{
map(0x0000, 0x07ff).ram().share("nvram");
map(0x1000, 0x1000).w(FUNC(mephisto_mondial_state::mondial_input_mux_w));
map(0x2000, 0x2000).r(m_board, FUNC(mephisto_board_device::input_r));
map(0x1800, 0x1807).r(FUNC(mephisto_mondial_state::mondial_input_r));
map(0x0000, 0x07ff).ram();
map(0x1000, 0x1000).w(FUNC(mondial_state::control_w));
map(0x1800, 0x1807).r(FUNC(mondial_state::input_r));
map(0x2000, 0x2000).nopr(); // ?
map(0xc000, 0xffff).rom();
}
TIMER_DEVICE_CALLBACK_MEMBER(mephisto_mondial_state::refresh_leds)
{
for (int i=0; i<8; i++)
{
m_low_leds[0 + i] = 0;
m_low_leds[8 + i] = 0;
m_high_leds[i] = 0;
}
}
/******************************************************************************
Input Ports
******************************************************************************/
static INPUT_PORTS_START( mondial )
PORT_START("KEY.0")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Play") PORT_CODE(KEYCODE_Y)
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Pos") PORT_CODE(KEYCODE_O)
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Mem") PORT_CODE(KEYCODE_M)
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Info") PORT_CODE(KEYCODE_I)
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Clear") PORT_CODE(KEYCODE_BACKSPACE)
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Level") PORT_CODE(KEYCODE_L)
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Enter") PORT_CODE(KEYCODE_ENTER)
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Reset") PORT_CODE(KEYCODE_DEL)
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Pawn / 1") PORT_CODE(KEYCODE_1)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Knight / 2") PORT_CODE(KEYCODE_2)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Bishop / 3") PORT_CODE(KEYCODE_3)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Rook / 4") PORT_CODE(KEYCODE_4)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Queen / 5") PORT_CODE(KEYCODE_5)
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("King / 6") PORT_CODE(KEYCODE_6)
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Black / 7") PORT_CODE(KEYCODE_7)
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("White / 8") PORT_CODE(KEYCODE_8)
PORT_START("KEY.1")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("1 Pawn") PORT_CODE(KEYCODE_1)
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("2 Knight") PORT_CODE(KEYCODE_2)
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("3 Bishop") PORT_CODE(KEYCODE_3)
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("4 Rook") PORT_CODE(KEYCODE_4)
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("5 Queen") PORT_CODE(KEYCODE_5)
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("6 King") PORT_CODE(KEYCODE_6)
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("7 Black") PORT_CODE(KEYCODE_7)
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("8 White") PORT_CODE(KEYCODE_8)
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("PLAY") PORT_CODE(KEYCODE_Y)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("POS") PORT_CODE(KEYCODE_O)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("MEM") PORT_CODE(KEYCODE_M)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("INFO") PORT_CODE(KEYCODE_I)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_BACKSPACE)
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("LEV") PORT_CODE(KEYCODE_L)
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("ENT") PORT_CODE(KEYCODE_ENTER)
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("RES") PORT_CODE(KEYCODE_DEL)
INPUT_PORTS_END
void mephisto_mondial_state::mondial2(machine_config &config)
/******************************************************************************
Machine Configs
******************************************************************************/
void mondial_state::mondial(machine_config &config)
{
M65C02(config, m_maincpu, XTAL(2'000'000));
m_maincpu->set_addrmap(AS_PROGRAM, &mephisto_mondial_state::mondial2_mem);
m_maincpu->set_periodic_int(FUNC(mephisto_mondial_state::nmi_line_assert), attotime::from_hz(XTAL(2'000'000) / (1 << 12)));
/* basic machine hardware */
M65SC02(config, m_maincpu, 2000000);
m_maincpu->set_addrmap(AS_PROGRAM, &mondial_state::mondial_mem);
m_maincpu->set_periodic_int(FUNC(mondial_state::irq0_line_hold), attotime::from_hz(2000000 / (1 << 12)));
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_0);
SPEAKER(config, "speaker").front_center();
DAC_1BIT(config, m_dac).add_route(ALL_OUTPUTS, "speaker", 0.25);
MEPHISTO_BUTTONS_BOARD(config, m_board);
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
m_board->set_delay(attotime::from_msec(250));
m_board->set_disable_leds(true);
TIMER(config, "refresh_leds").configure_periodic(FUNC(mephisto_mondial_state::refresh_leds), attotime::from_hz(2));
config.set_default_layout(layout_mephisto_mondial2);
//GENERIC_CARTSLOT(config, "cartslot", generic_plain_slot, "mondial_cart");
//SOFTWARE_LIST(config, "cart_list").set_original("mephisto_mondial");
/* video hardware */
PWM_DISPLAY(config, m_led_pwm).set_size(8, 3);
config.set_default_layout(layout_mephisto_mondial);
/* sound hardware */
SPEAKER(config, "speaker").front_center();
BEEP(config, m_beeper, 2150); // approximation
m_beeper->add_route(ALL_OUTPUTS, "speaker", 0.25);
}
void mephisto_mondial_state::mondial(machine_config &config)
{
mondial2(config);
m_maincpu->set_addrmap(AS_PROGRAM, &mephisto_mondial_state::mondial_mem);
m_maincpu->set_periodic_int(FUNC(mephisto_mondial_state::irq0_line_assert), attotime::from_hz(XTAL(2'000'000) / (1 << 12)));
config.device_remove("dac");
BEEP(config, m_beeper, 2048).add_route(ALL_OUTPUTS, "speaker", 0.25); // measured C7(2093Hz)
}
/******************************************************************************
ROM Definitions
******************************************************************************/
ROM_START( mondial )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD("mondial_1.bin", 0xc000, 0x4000, CRC(5cde2e26) SHA1(337be35d5120ca12143ca17f8aa0642b313b3851) )
ROM_LOAD("cn61057n_hgs_10_470_00", 0xc000, 0x4000, CRC(5cde2e26) SHA1(337be35d5120ca12143ca17f8aa0642b313b3851) )
ROM_END
ROM_START( mondial2 )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD("mondial_ii_01.08.87", 0x8000, 0x8000, CRC(e5945ce6) SHA1(e75bbf9d54087271d9d46fb1de7634eb957f8db0) )
ROM_END
} // anonymous namespace
/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */
CONS( 1985, mondial, 0, 0, mondial, mondial, mephisto_mondial_state, empty_init, "Hegener + Glaser", "Mephisto Mondial", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1987, mondial2, 0, 0, mondial2, mondial, mephisto_mondial_state, empty_init, "Hegener + Glaser", "Mephisto Mondial II", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
/***************************************************************************
Game Drivers
***************************************************************************/
/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */
CONS( 1985, mondial, 0, 0, mondial, mondial, mondial_state, empty_init, "Hegener + Glaser", "Mephisto Mondial", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -0,0 +1,215 @@
// license:BSD-3-Clause
// copyright-holders:Sandro Ronco, hap
// thanks-to:yoyo_chessboard
/******************************************************************************
Mephisto Mondial II
Hardware notes:
- G65SC02 @ 2MHz (unsure about rating)
- 2KB RAM, 32KB ROM
- 8*8 chessboard buttons, 24 leds, piezo
******************************************************************************/
#include "emu.h"
#include "cpu/m6502/m65sc02.h"
#include "machine/sensorboard.h"
#include "sound/dac.h"
#include "video/pwm.h"
#include "speaker.h"
// internal artwork
#include "mephisto_mondial2.lh"
namespace {
class mondial2_state : public driver_device
{
public:
mondial2_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_board(*this, "board")
, m_led_pwm(*this, "led_pwm")
, m_dac(*this, "dac")
, m_keys(*this, "KEY.%u", 0)
{ }
void mondial2(machine_config &config);
protected:
virtual void machine_start() override;
private:
required_device<cpu_device> m_maincpu;
required_device<sensorboard_device> m_board;
required_device<pwm_display_device> m_led_pwm;
required_device<dac_bit_interface> m_dac;
required_ioport_array<4> m_keys;
void mondial2_mem(address_map &map);
void update_leds();
u8 input_r(offs_t offset);
void control_w(u8 data);
void board_w(u8 data);
u8 m_keypad_mux = 0;
u8 m_board_mux = 0;
u8 m_led_data = 0;
};
void mondial2_state::machine_start()
{
save_item(NAME(m_keypad_mux));
save_item(NAME(m_board_mux));
save_item(NAME(m_led_data));
}
/******************************************************************************
I/O
******************************************************************************/
void mondial2_state::update_leds()
{
m_led_pwm->matrix(m_board_mux, m_led_data);
}
u8 mondial2_state::input_r(offs_t offset)
{
u8 data = 0;
// read chessboard sensors
for (int i = 0; i < 8; i++)
if (BIT(m_board_mux, i))
data |= BIT(m_board->read_rank(i), offset);
// read keypad
for (int i = 0; i < 4; i++)
if (BIT(m_keypad_mux, i))
data |= BIT(m_keys[i]->read(), offset & 3);
return ~(data << 7);
}
void mondial2_state::control_w(u8 data)
{
// d0-d3: keypad mux
m_keypad_mux = ~data & 0xf;
// d4-d7: led data
m_led_data = data >> 4 & 7;
update_leds();
// d7: speaker out
m_dac->write(BIT(data, 7));
}
void mondial2_state::board_w(u8 data)
{
// d0-d7: chessboard mux, led select
m_board_mux = ~data;
update_leds();
}
/******************************************************************************
Address Maps
******************************************************************************/
void mondial2_state::mondial2_mem(address_map &map)
{
map(0x0000, 0x07ff).ram();
map(0x2000, 0x2000).w(FUNC(mondial2_state::control_w));
map(0x2800, 0x2800).w(FUNC(mondial2_state::board_w));
map(0x3000, 0x3007).r(FUNC(mondial2_state::input_r));
map(0x8000, 0xffff).rom();
}
/******************************************************************************
Input Ports
******************************************************************************/
static INPUT_PORTS_START( mondial2 )
PORT_START("KEY.0")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Pawn / 1") PORT_CODE(KEYCODE_1)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Knight / 2") PORT_CODE(KEYCODE_2)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Bishop / 3") PORT_CODE(KEYCODE_3)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Rook / 4") PORT_CODE(KEYCODE_4)
PORT_START("KEY.1")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Queen / 5") PORT_CODE(KEYCODE_5)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("King / 6") PORT_CODE(KEYCODE_6)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Black / 7") PORT_CODE(KEYCODE_7)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("White / 8") PORT_CODE(KEYCODE_8)
PORT_START("KEY.2")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("PLAY") PORT_CODE(KEYCODE_Y)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("POS") PORT_CODE(KEYCODE_O)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("MEM") PORT_CODE(KEYCODE_M)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("INFO") PORT_CODE(KEYCODE_I)
PORT_START("KEY.3")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_BACKSPACE)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("LEV") PORT_CODE(KEYCODE_L)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("ENT") PORT_CODE(KEYCODE_ENTER)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("RES") PORT_CODE(KEYCODE_DEL)
INPUT_PORTS_END
/******************************************************************************
Machine Configs
******************************************************************************/
void mondial2_state::mondial2(machine_config &config)
{
/* basic machine hardware */
M65SC02(config, m_maincpu, 2_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &mondial2_state::mondial2_mem);
m_maincpu->set_periodic_int(FUNC(mondial2_state::nmi_line_pulse), attotime::from_hz(2_MHz_XTAL / (1 << 12)));
SENSORBOARD(config, m_board).set_type(sensorboard_device::BUTTONS);
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
m_board->set_delay(attotime::from_msec(250));
/* video hardware */
PWM_DISPLAY(config, m_led_pwm).set_size(8, 3);
config.set_default_layout(layout_mephisto_mondial2);
/* sound hardware */
SPEAKER(config, "speaker").front_center();
DAC_1BIT(config, m_dac).add_route(ALL_OUTPUTS, "speaker", 0.25);
}
/******************************************************************************
ROM Definitions
******************************************************************************/
ROM_START( mondial2 )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD("mondial_ii_01.08.87", 0x8000, 0x8000, CRC(e5945ce6) SHA1(e75bbf9d54087271d9d46fb1de7634eb957f8db0) )
ROM_END
} // anonymous namespace
/***************************************************************************
Game Drivers
***************************************************************************/
/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */
CONS( 1987, mondial2, 0, 0, mondial2, mondial2, mondial2_state, empty_init, "Hegener + Glaser", "Mephisto Mondial II", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -39,6 +39,7 @@
#include "mephisto_montec.lh"
#include "mephisto_megaiv.lh"
#include "mephisto_smondial.lh"
#include "mephisto_smondial2.lh"
@ -185,7 +186,7 @@ uint8_t mephisto_montec_state::megaiv_input_r(offs_t offset)
void mephisto_montec_state::montec_mem(address_map &map)
{
map(0x0000, 0x1fff).ram().share("nvram");
map(0x2000, 0x2000).noprw(); // ?
map(0x2000, 0x2000).nopr(); // ?
map(0x2400, 0x2400).r(FUNC(mephisto_montec_state::montec_input_r));
map(0x2800, 0x2800).w(m_board, FUNC(mephisto_board_device::mux_w));
map(0x2c00, 0x2c00).w(m_board, FUNC(mephisto_board_device::led_w));
@ -397,6 +398,8 @@ void mephisto_smondial_state::smondial(machine_config &config)
m_boardlatch->q_out_cb<5>().set(FUNC(mephisto_smondial_state::led_mux_w<5>));
m_boardlatch->q_out_cb<6>().set(FUNC(mephisto_smondial_state::led_mux_w<6>));
m_boardlatch->q_out_cb<7>().set(FUNC(mephisto_smondial_state::led_mux_w<7>));
config.set_default_layout(layout_mephisto_smondial);
}
void mephisto_montec_state::smondial2(machine_config &config)

View File

@ -6,7 +6,7 @@ Mephisto Polgar
Hardware notes:
- RP65C02G @ 4.91MHz
- 64KB ROM
- 64KB ROM (25% unused)
- Mephisto modular display module
- Mephisto Exclusive/Muenchen chessboard

View File

@ -33,12 +33,14 @@ Expansion modules: (* denotes not dumped)
******************************************************************************/
#include "emu.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "cpu/m6502/m6502.h"
#include "machine/sensorboard.h"
#include "sound/dac.h"
#include "video/pwm.h"
#include "bus/generic/slot.h"
#include "bus/generic/carts.h"
#include "speaker.h"
// internal artwork

View File

@ -29,11 +29,11 @@ license:CC0
<element name="hlbr" defstate="0">
<rect state="0">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.8" green="0.0" blue="0.0" />
<color red="0.8" green="0.15" blue="0.15" />
</rect>
<rect state="1">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.6" green="0.0" blue="0.0" />
<color red="0.6" green="0.1" blue="0.1" />
</rect>
</element>
<element name="hlb" defstate="0">

View File

@ -3,6 +3,7 @@
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="digit" defstate="0">
@ -29,49 +30,49 @@ license:CC0
</element>
<element name="led7seg_background"><rect><color red="0.54" green="0.57" blue="0.58" /> </rect></element>
<element name="background"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect></element>
<element name="background"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0" blue="0" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0.2" blue="0.2" /> </rect></element>
<element name="text_1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_book"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="BOOK"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_mem"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_err"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="ERR"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lev"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_black"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25a0;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_white"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25a1;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[P] 1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[N] 2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[B] 3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[R] 4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[Q] 5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[K] 6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25a0; 7 &#x25c4;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25a1; 8 &#x25ba;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_book9"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="BOOK 9"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos0"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="POS 0"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_cl"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="CL"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_ent"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="ENT"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_res"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="RES"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lcd"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="MULTI INFO LCD"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_book"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="BOOK"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_mem"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_err"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="ERR"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lev"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_black"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a0;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_white"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a1;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[P] 1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[N] 2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[B] 3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[R] 4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[Q] 5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[K] 6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a0; 7 &#x25c4;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a1; 8 &#x25ba;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_book9"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="BOOK 9"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos0"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="POS 0"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_cl"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="CL"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_ent"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="ENT"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_res"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="RES"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lcd"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MULTI INFO LCD"> <color red="0" green="0" blue="0" /></text> </element>
<element name="piece" defstate="0">
@ -108,8 +109,8 @@ license:CC0
<!-- sb board -->
<element name="cwhite"><rect><color red="1.00" green="1.00" blue="1.00" /></rect></element>
<element name="cblack"><rect><color red="0.40" green="0.40" blue="0.40" /></rect></element>
<element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
@ -231,34 +232,34 @@ license:CC0
<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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu3a" defstate="0">
@ -357,7 +358,8 @@ license:CC0
<bounds left="0" right="79" top="0" bottom="13" />
<element ref="background"><bounds x="0" y="0" width="79" height="13" /></element>
<element ref="text_lcd"> <bounds x="0.5" y="0" width="9" height="1.5" /> </element>
<element ref="black"> <bounds x="0" y="1.5" width="10" height="10.5" /> </element>
<element ref="text_lcd"> <bounds x="0.5" y="0" width="10" height="1.5" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="2" width="9" height="4" /> </element>
<element name="digit0" ref="digit"> <bounds x="1" y="2.5" width="2" height="3" /> </element>
<element name="digit1" ref="digit"> <bounds x="3" y="2.5" width="2" height="3" /> </element>
@ -369,14 +371,14 @@ license:CC0
<element name="digit6" ref="digit"> <bounds x="5" y="8" width="2" height="3" /> </element>
<element name="digit7" ref="digit"> <bounds x="7" y="8" width="2" height="3" /> </element>
<element name="led100" ref="led"> <bounds x="13.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led101" ref="led"> <bounds x="21.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led102" ref="led"> <bounds x="30.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led103" ref="led"> <bounds x="38.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led104" ref="led"> <bounds x="47.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led105" ref="led"> <bounds x="55.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led106" ref="led"> <bounds x="64.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led107" ref="led"> <bounds x="72.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led100" ref="led"> <bounds x="13.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led101" ref="led"> <bounds x="21.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led102" ref="led"> <bounds x="30.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led103" ref="led"> <bounds x="38.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led104" ref="led"> <bounds x="47.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led105" ref="led"> <bounds x="55.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led106" ref="led"> <bounds x="64.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led107" ref="led"> <bounds x="72.5" y="0.4" width="1.3" height="0.8" /> </element>
<element ref="black"> <bounds x="13" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="21.5" y="2" width="6" height="4" /> </element>
@ -402,7 +404,7 @@ license:CC0
<element ref="text_err"> <bounds x="49" y="0" width="3" height="1.5" /> </element>
<element ref="text_lev"> <bounds x="57.5" y="0" width="3" height="1.5" /> </element>
<element ref="text_black"> <bounds x="66" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="75" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="74.5" y="0" width="1" height="1.5" /> </element>
<element ref="text_b1"> <bounds x="13.5" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b2"> <bounds x="22" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b3"> <bounds x="30.5" y="2.5" width="5" height="1.5" /> </element>
@ -440,56 +442,53 @@ license:CC0
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="101" top="0" bottom="102" />
<element ref="background"><bounds x="13" y="0" width="88" height="102" /></element>
<bounds left="0" right="103" top="-2" bottom="102" />
<element ref="background"><bounds x="13" y="-2" width="90" height="104" /></element>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="13.6" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.6" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.6" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.6" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.6" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.6" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.6" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.6" y="77" width="2" height="2" /></element>
<element ref="text_8"><bounds x="13.5" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.5" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.5" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.5" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.5" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.5" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.5" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.5" y="77" width="2" height="2" /></element>
<element ref="text_a"><bounds x="22" y="86" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="86" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="86" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="86" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="86" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="86" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="86" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="86" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="text_a"><bounds x="22" y="85.7" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="85.7" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="85.7" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="85.7" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="85.7" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="85.7" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="led0" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element>
<element name="led1" ref="led"><bounds x="15.7" y="67.25" width="0.8" height="1.5" /></element>
<element name="led2" ref="led"><bounds x="15.7" y="57.25" width="0.8" height="1.5" /></element>
<element name="led3" ref="led"><bounds x="15.7" y="47.25" width="0.8" height="1.5" /></element>
<element name="led4" ref="led"><bounds x="15.7" y="37.25" width="0.8" height="1.5" /></element>
<element name="led5" ref="led"><bounds x="15.7" y="27.25" width="0.8" height="1.5" /></element>
<element name="led6" ref="led"><bounds x="15.7" y="17.25" width="0.8" height="1.5" /></element>
<element name="led7" ref="led"><bounds x="15.7" y="7.25" width="0.8" height="1.5" /></element>
<element name="led0" ref="led"><bounds x="15.5" y="77.25" width="1" height="1.5" /></element>
<element name="led1" ref="led"><bounds x="15.5" y="67.25" width="1" height="1.5" /></element>
<element name="led2" ref="led"><bounds x="15.5" y="57.25" width="1" height="1.5" /></element>
<element name="led3" ref="led"><bounds x="15.5" y="47.25" width="1" height="1.5" /></element>
<element name="led4" ref="led"><bounds x="15.5" y="37.25" width="1" height="1.5" /></element>
<element name="led5" ref="led"><bounds x="15.5" y="27.25" width="1" height="1.5" /></element>
<element name="led6" ref="led"><bounds x="15.5" y="17.25" width="1" height="1.5" /></element>
<element name="led7" ref="led"><bounds x="15.5" y="7.25" width="1" height="1.5" /></element>
<element name="led8" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led9" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led10" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led11" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led12" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led13" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led14" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led15" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led8" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="1" /></element>
<element name="led9" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="1" /></element>
<element name="led10" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="1" /></element>
<element name="led11" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="1" /></element>
<element name="led12" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="1" /></element>
<element name="led13" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="1" /></element>
<element name="led14" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="1" /></element>
<element name="led15" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="1" /></element>
<!-- LCD panel -->
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group>
<group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group>

View File

@ -11,10 +11,10 @@ license:CC0
<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
</element>
<element name="hidew" defstate="0">
<disk state="0"><color red="0.81" green="0.8" blue="0.79" /></disk>
<rect state="0"><color red="0.81" green="0.8" blue="0.79" /></rect>
</element>
<element name="hideb" defstate="0">
<disk state="0"><color red="0.41" green="0.4" blue="0.39" /></disk>
<rect state="0"><color red="0.41" green="0.4" blue="0.39" /></rect>
</element>
<element name="text_1"><text string="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>

View File

@ -0,0 +1,465 @@
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="led" defstate="0">
<rect state="0">
<color red="0.20" green="0.0" blue="0.0" />
</rect>
<rect state="1">
<color red="0.95" green="0.0" blue="0.0" />
</rect>
</element>
<element name="hlb" defstate="0">
<rect>
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.9" green="0.9" blue="0.9" />
</rect>
<rect state="0">
<bounds x="0.08" y="0.08" width="0.84" height="0.84" />
<color red="0" green="0" blue="0" />
</rect>
<rect state="1">
<bounds x="0.08" y="0.08" width="0.84" height="0.84" />
<color red="0.2" green="0.2" blue="0.2" />
</rect>
</element>
<element name="background"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="panel_background"> <rect><color red="0" green="0" blue="0" /></rect></element>
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
<element name="text_1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <text align="1" string="POS"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_mem"> <text align="1" string="MEM"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_info"> <text align="1" string="INFO"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_err"> <text align="1" string="ERR"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_lev"> <text align="1" string="LEV"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_plus"> <text align="1" string="+"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_black"> <text align="1" string="&#x25a1;"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_white"> <text align="1" string="&#x25a0;"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b1"> <text align="1" string="[P] 1"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b2"> <text align="1" string="[N] 2"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b3"> <text align="1" string="[B] 3"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b4"> <text align="1" string="[R] 4"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b5"> <text align="1" string="[Q] 5"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b6"> <text align="1" string="[K] 6"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b7"> <text align="1" string="&#x25a1; 7"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b8"> <text align="1" string="&#x25a0; 8"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_play"> <text align="1" string="PLAY"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_cl"> <text align="1" string="CL"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_ent"> <text align="1" string="ENT"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_res"> <text align="1" string="RES"> <color red="0.9" green="0.9" blue="0.9" /></text> </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>
<!-- sb board -->
<element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></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>
<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>
<!-- 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">
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="0.9" green="0.9" blue="0.9" /></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.9" green="0.9" blue="0.9" /></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.9" green="0.9" blue="0.9" /></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.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="0.9" green="0.9" blue="0.9" /></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" />
<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>
<group name="panel">
<bounds left="0" right="78" top="0" bottom="12" />
<element ref="panel_background"><bounds x="0" y="0" width="78" height="12" /></element>
<element name="0.0" ref="led"> <bounds x="1" y="0.4" width="1.5" height="0.8" /> </element>
<element name="1.0" ref="led"> <bounds x="11" y="0.4" width="1.5" height="0.8" /> </element>
<element name="2.0" ref="led"> <bounds x="21" y="0.4" width="1.5" height="0.8" /> </element>
<element name="3.0" ref="led"> <bounds x="31" y="0.4" width="1.5" height="0.8" /> </element>
<element name="4.0" ref="led"> <bounds x="41" y="0.4" width="1.5" height="0.8" /> </element>
<element name="5.0" ref="led"> <bounds x="51" y="0.4" width="1.5" height="0.8" /> </element>
<element name="6.0" ref="led"> <bounds x="61" y="0.4" width="1.5" height="0.8" /> </element>
<element name="7.0" ref="led"> <bounds x="71" y="0.4" width="1.5" height="0.8" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="1" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="11" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="21" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="31" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x10"> <bounds x="41" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x20"> <bounds x="51" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x40"> <bounds x="61" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x80"> <bounds x="71" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="1" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="11" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="21" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="31" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x10"> <bounds x="41" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x20"> <bounds x="51" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x40"> <bounds x="61" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x80"> <bounds x="71" y="7.5" width="6" height="4" /> </element>
<element ref="text_play"> <bounds x="3" y="0" width="4" height="1.5" /> </element>
<element ref="text_pos"> <bounds x="13" y="0" width="3" height="1.5" /> </element>
<element ref="text_mem"> <bounds x="23" y="0" width="3" height="1.5" /> </element>
<element ref="text_info"> <bounds x="33" y="0" width="4" height="1.5" /> </element>
<element ref="text_err"> <bounds x="43" y="0" width="3" height="1.5" /> </element>
<element ref="text_plus"> <bounds x="53" y="0" width="3" height="1.5" /> </element>
<element ref="text_black"> <bounds x="63" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="73" y="0" width="1" height="1.5" /> </element>
<element ref="text_b1"> <bounds x="2" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b2"> <bounds x="12" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b3"> <bounds x="22" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b4"> <bounds x="32" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b5"> <bounds x="42" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b6"> <bounds x="52" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b7"> <bounds x="62" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b8"> <bounds x="72" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_play"> <bounds x="2" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_pos"> <bounds x="12" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_mem"> <bounds x="22" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_info"> <bounds x="32" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_cl"> <bounds x="42" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_lev"> <bounds x="52" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_ent"> <bounds x="62" y="9.5" width="4" height="1.5" /> </element>
<element ref="text_res"> <bounds x="72" y="9.5" width="4" height="1.5" /> </element>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="103" top="-2" bottom="103" />
<element ref="background"><bounds x="13" y="-2" width="90" height="90" /></element>
<!-- chessboard coords -->
<element ref="text_8"><bounds x="13.6" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.6" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.6" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.6" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.6" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.6" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.6" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.6" y="77" width="2" height="2" /></element>
<element ref="text_a"><bounds x="22" y="85.7" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="85.7" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="85.7" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="85.7" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="85.7" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="85.7" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element>
<!-- chessboard leds -->
<element name="0.2" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element>
<element name="1.2" ref="led"><bounds x="15.7" y="67.25" width="0.8" height="1.5" /></element>
<element name="2.2" ref="led"><bounds x="15.7" y="57.25" width="0.8" height="1.5" /></element>
<element name="3.2" ref="led"><bounds x="15.7" y="47.25" width="0.8" height="1.5" /></element>
<element name="4.2" ref="led"><bounds x="15.7" y="37.25" width="0.8" height="1.5" /></element>
<element name="5.2" ref="led"><bounds x="15.7" y="27.25" width="0.8" height="1.5" /></element>
<element name="6.2" ref="led"><bounds x="15.7" y="17.25" width="0.8" height="1.5" /></element>
<element name="7.2" ref="led"><bounds x="15.7" y="7.25" width="0.8" height="1.5" /></element>
<element name="0.1" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="1.1" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="2.1" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="3.1" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="4.1" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="5.1" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="6.1" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="7.1" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element>
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="90" width="78" height="12" /></group>
<group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group>
</view>
</mamelayout>

View File

@ -3,7 +3,9 @@
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="led" defstate="0">
<rect state="0">
<color red="0.20" green="0.0" blue="0.0" />
@ -15,7 +17,7 @@ license:CC0
<element name="hlb" defstate="0">
<rect>
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="1" green="1" blue="1" />
<color red="0.9" green="0.9" blue="0.9" />
</rect>
<rect state="0">
<bounds x="0.08" y="0.08" width="0.84" height="0.84" />
@ -27,47 +29,47 @@ license:CC0
</rect>
</element>
<element name="background"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect></element>
<element name="background"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="panel_background"> <rect><color red="0" green="0" blue="0" /></rect></element>
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
<element name="text_1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <text align="1" string="POS"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_mem"> <text align="1" string="MEM"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_info"> <text align="1" string="INFO"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_err"> <text align="1" string="ERR"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_lev"> <text align="1" string="LEV"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_plus"> <text align="1" string="+"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_black"> <text align="1" string="&#x25a1;"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_white"> <text align="1" string="&#x25a0;"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b1"> <text align="1" string="[P] 1"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b2"> <text align="1" string="[N] 2"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b3"> <text align="1" string="[B] 3"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b4"> <text align="1" string="[R] 4"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b5"> <text align="1" string="[Q] 5"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b6"> <text align="1" string="[K] 6"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b7"> <text align="1" string="&#x25a1; 7"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_b8"> <text align="1" string="&#x25a0; 8"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_play"> <text align="1" string="PLAY"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_cl"> <text align="1" string="CL"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_ent"> <text align="1" string="ENT"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_res"> <text align="1" string="RES"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
<element name="text_pos"> <text align="1" string="POS"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_mem"> <text align="1" string="MEM"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_info"> <text align="1" string="INFO"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_err"> <text align="1" string="ERR"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_lev"> <text align="1" string="LEV"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_plus"> <text align="1" string="+"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_black"> <text align="1" string="&#x25a1;"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_white"> <text align="1" string="&#x25a0;"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b1"> <text align="1" string="[P] 1"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b2"> <text align="1" string="[N] 2"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b3"> <text align="1" string="[B] 3"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b4"> <text align="1" string="[R] 4"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b5"> <text align="1" string="[Q] 5"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b6"> <text align="1" string="[K] 6"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b7"> <text align="1" string="&#x25a1; 7"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_b8"> <text align="1" string="&#x25a0; 8"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_play"> <text align="1" string="PLAY"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_cl"> <text align="1" string="CL"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_ent"> <text align="1" string="ENT"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="text_res"> <text align="1" string="RES"> <color red="0.9" green="0.9" blue="0.9" /></text> </element>
<element name="piece" defstate="0">
<image file="chess/wp.svg" state="1"/>
@ -103,8 +105,8 @@ license:CC0
<!-- sb board -->
<element name="cwhite"><rect><color red="1.00" green="1.00" blue="1.00" /></rect></element>
<element name="cblack"><rect><color red="0.40" green="0.40" blue="0.40" /></rect></element>
<element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
@ -195,14 +197,14 @@ license:CC0
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<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>
@ -226,34 +228,34 @@ license:CC0
<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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu3a" defstate="0">
@ -284,8 +286,8 @@ license:CC0
<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: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:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></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>
@ -305,18 +307,18 @@ license:CC0
<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:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></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>
@ -325,7 +327,7 @@ license:CC0
<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:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></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>
@ -338,10 +340,10 @@ license:CC0
<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: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: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: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:board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></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>
@ -352,31 +354,31 @@ license:CC0
<bounds left="0" right="78" top="0" bottom="12" />
<element ref="panel_background"><bounds x="0" y="0" width="78" height="12" /></element>
<element name="led100" ref="led"> <bounds x="1.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led101" ref="led"> <bounds x="11.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led102" ref="led"> <bounds x="21.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led103" ref="led"> <bounds x="31.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led104" ref="led"> <bounds x="41.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led105" ref="led"> <bounds x="51.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led106" ref="led"> <bounds x="61.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led107" ref="led"> <bounds x="71.1" y="0.25" width="1.3" height="1" /> </element>
<element name="0.0" ref="led"> <bounds x="1" y="0.4" width="1.5" height="0.8" /> </element>
<element name="1.0" ref="led"> <bounds x="11" y="0.4" width="1.5" height="0.8" /> </element>
<element name="2.0" ref="led"> <bounds x="21" y="0.4" width="1.5" height="0.8" /> </element>
<element name="3.0" ref="led"> <bounds x="31" y="0.4" width="1.5" height="0.8" /> </element>
<element name="4.0" ref="led"> <bounds x="41" y="0.4" width="1.5" height="0.8" /> </element>
<element name="5.0" ref="led"> <bounds x="51" y="0.4" width="1.5" height="0.8" /> </element>
<element name="6.0" ref="led"> <bounds x="61" y="0.4" width="1.5" height="0.8" /> </element>
<element name="7.0" ref="led"> <bounds x="71" y="0.4" width="1.5" height="0.8" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="1" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="11" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="21" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="31" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x10"> <bounds x="41" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x20"> <bounds x="51" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x40"> <bounds x="61" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x80"> <bounds x="71" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="1" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="11" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="21" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="31" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x10"> <bounds x="41" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x20"> <bounds x="51" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x40"> <bounds x="61" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x80"> <bounds x="71" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="1" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="11" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="21" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="31" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="41" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="51" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="61" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="71" y="2" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.2" inputmask="0x01"> <bounds x="1" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.2" inputmask="0x02"> <bounds x="11" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.2" inputmask="0x04"> <bounds x="21" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.2" inputmask="0x08"> <bounds x="31" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.3" inputmask="0x01"> <bounds x="41" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.3" inputmask="0x02"> <bounds x="51" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.3" inputmask="0x04"> <bounds x="61" y="7.5" width="6" height="4" /> </element>
<element ref="hlb" inputtag="KEY.3" inputmask="0x08"> <bounds x="71" y="7.5" width="6" height="4" /> </element>
<element ref="text_play"> <bounds x="3" y="0" width="4" height="1.5" /> </element>
<element ref="text_pos"> <bounds x="13" y="0" width="3" height="1.5" /> </element>
@ -384,8 +386,8 @@ license:CC0
<element ref="text_info"> <bounds x="33" y="0" width="4" height="1.5" /> </element>
<element ref="text_err"> <bounds x="43" y="0" width="3" height="1.5" /> </element>
<element ref="text_plus"> <bounds x="53" y="0" width="3" height="1.5" /> </element>
<element ref="text_black"> <bounds x="63" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="73.5" y="0" width="1" height="1.5" /> </element>
<element ref="text_black"> <bounds x="63" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="73" y="0" width="1" height="1.5" /> </element>
<element ref="text_b1"> <bounds x="2" y="2.5" width="4" height="1.5" /> </element>
<element ref="text_b2"> <bounds x="12" y="2.5" width="4" height="1.5" /> </element>
@ -408,57 +410,54 @@ license:CC0
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="101" top="0" bottom="102" />
<element ref="background"><bounds x="13" y="0" width="88" height="102" /></element>
<bounds left="0" right="103" top="-2" bottom="103" />
<element ref="background"><bounds x="13" y="-2" width="90" height="90" /></element>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="13.6" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.6" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.6" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.6" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.6" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.6" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.6" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.6" y="77" width="2" height="2" /></element>
<element ref="text_8"><bounds x="13.5" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.5" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.5" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.5" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.5" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.5" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.5" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.5" y="77" width="2" height="2" /></element>
<element ref="text_a"><bounds x="22" y="86" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="86" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="86" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="86" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="86" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="86" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="86" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="86" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="text_a"><bounds x="22" y="85.7" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="85.7" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="85.7" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="85.7" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="85.7" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="85.7" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="0.2" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element>
<element name="1.2" ref="led"><bounds x="15.7" y="67.25" width="0.8" height="1.5" /></element>
<element name="2.2" ref="led"><bounds x="15.7" y="57.25" width="0.8" height="1.5" /></element>
<element name="3.2" ref="led"><bounds x="15.7" y="47.25" width="0.8" height="1.5" /></element>
<element name="4.2" ref="led"><bounds x="15.7" y="37.25" width="0.8" height="1.5" /></element>
<element name="5.2" ref="led"><bounds x="15.7" y="27.25" width="0.8" height="1.5" /></element>
<element name="6.2" ref="led"><bounds x="15.7" y="17.25" width="0.8" height="1.5" /></element>
<element name="7.2" ref="led"><bounds x="15.7" y="7.25" width="0.8" height="1.5" /></element>
<element name="led0" ref="led"><bounds x="15.5" y="77.25" width="1" height="1.5" /></element>
<element name="led1" ref="led"><bounds x="15.5" y="67.25" width="1" height="1.5" /></element>
<element name="led2" ref="led"><bounds x="15.5" y="57.25" width="1" height="1.5" /></element>
<element name="led3" ref="led"><bounds x="15.5" y="47.25" width="1" height="1.5" /></element>
<element name="led4" ref="led"><bounds x="15.5" y="37.25" width="1" height="1.5" /></element>
<element name="led5" ref="led"><bounds x="15.5" y="27.25" width="1" height="1.5" /></element>
<element name="led6" ref="led"><bounds x="15.5" y="17.25" width="1" height="1.5" /></element>
<element name="led7" ref="led"><bounds x="15.5" y="7.25" width="1" height="1.5" /></element>
<element name="0.1" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="1.1" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="2.1" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="3.1" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="4.1" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="5.1" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="6.1" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="7.1" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led8" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="1" /></element>
<element name="led9" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="1" /></element>
<element name="led10" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="1" /></element>
<element name="led11" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="1" /></element>
<element name="led12" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="1" /></element>
<element name="led13" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="1" /></element>
<element name="led14" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="1" /></element>
<element name="led15" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="1" /></element>
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="89" width="78" height="12" /></group>
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="90" width="78" height="12" /></group>
<group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group>

View File

@ -3,6 +3,7 @@
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="digit" defstate="0">
@ -29,44 +30,43 @@ license:CC0
</element>
<element name="led7seg_background"><rect><color red="0.54" green="0.57" blue="0.58" /> </rect></element>
<element name="background"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect></element>
<element name="background"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0" blue="0" /> </rect></element>
<element name="white"> <rect><color red="1" green="1" blue="1" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0.2" blue="0.2" /> </rect></element>
<element name="text_1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_mem"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lev"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string=" A1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[P] B2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[N] C3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[B] D4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[R] E5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[Q] F6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="[K] G7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string=" H8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_9"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25c4; &#x25a0; 9"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_0"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25ba; &#x25a1; 0"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_cl"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="CL"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_ent"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="ENT"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_mem"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lev"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string=" A1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[P] B2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[N] C3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[B] D4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[R] E5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[Q] F6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[K] G7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string=" H8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_9"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25c4; &#x25a0; 9"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_0"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25ba; &#x25a1; 0"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_cl"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="CL"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_ent"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="ENT"> <color red="0" green="0" blue="0" /></text> </element>
<element name="piece" defstate="0">
@ -103,8 +103,8 @@ license:CC0
<!-- sb board -->
<element name="cwhite"><rect><color red="1.00" green="1.00" blue="1.00" /></rect></element>
<element name="cblack"><rect><color red="0.40" green="0.40" blue="0.40" /></rect></element>
<element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
@ -226,34 +226,34 @@ license:CC0
<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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu3a" defstate="0">
@ -352,14 +352,12 @@ license:CC0
<bounds left="0" right="79" top="0" bottom="12" />
<element ref="background"><bounds x="0" y="0" width="79" height="12" /></element>
<element ref="black"> <bounds x="0.3" y="4.3" width="11.4" height="6.4" /> </element>
<element ref="white"> <bounds x="0.9" y="4.9" width="10.2" height="5.2" /> </element>
<element ref="black"> <bounds x="1.1" y="5.1" width="9.8" height="4.8" /> </element>
<element ref="led7seg_background"> <bounds x="1.5" y="5.5" width="9" height="4" /> </element>
<element name="digit0" ref="digit"> <bounds x="2" y="6" width="2" height="3" /> </element>
<element name="digit1" ref="digit"> <bounds x="4" y="6" width="2" height="3" /> </element>
<element name="digit2" ref="digit"> <bounds x="6" y="6" width="2" height="3" /> </element>
<element name="digit3" ref="digit"> <bounds x="8" y="6" width="2" height="3" /> </element>
<element ref="black"> <bounds x="0" y="6" width="10" height="5" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="6.5" width="9" height="4" /> </element>
<element name="digit0" ref="digit"> <bounds x="1" y="7" width="2" height="3" /> </element>
<element name="digit1" ref="digit"> <bounds x="3" y="7" width="2" height="3" /> </element>
<element name="digit2" ref="digit"> <bounds x="5" y="7" width="2" height="3" /> </element>
<element name="digit3" ref="digit"> <bounds x="7" y="7" width="2" height="3" /> </element>
<element ref="black"> <bounds x="13" y="1" width="6" height="4" /> </element>
<element ref="black"> <bounds x="21.5" y="1" width="6" height="4" /> </element>
@ -415,56 +413,53 @@ license:CC0
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="101" top="0" bottom="102" />
<element ref="background"><bounds x="13" y="0" width="88" height="102" /></element>
<bounds left="0" right="103" top="-2" bottom="102" />
<element ref="background"><bounds x="13" y="-2" width="90" height="104" /></element>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="13.6" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.6" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.6" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.6" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.6" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.6" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.6" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.6" y="77" width="2" height="2" /></element>
<element ref="text_8"><bounds x="13.5" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.5" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.5" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.5" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.5" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.5" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.5" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.5" y="77" width="2" height="2" /></element>
<element ref="text_a"><bounds x="22" y="86" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="86" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="86" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="86" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="86" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="86" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="86" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="86" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="text_a"><bounds x="22" y="85.7" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="85.7" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="85.7" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="85.7" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="85.7" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="85.7" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="1.0" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element>
<element name="1.1" ref="led"><bounds x="15.7" y="67.25" width="0.8" height="1.5" /></element>
<element name="1.2" ref="led"><bounds x="15.7" y="57.25" width="0.8" height="1.5" /></element>
<element name="1.3" ref="led"><bounds x="15.7" y="47.25" width="0.8" height="1.5" /></element>
<element name="1.4" ref="led"><bounds x="15.7" y="37.25" width="0.8" height="1.5" /></element>
<element name="1.5" ref="led"><bounds x="15.7" y="27.25" width="0.8" height="1.5" /></element>
<element name="1.6" ref="led"><bounds x="15.7" y="17.25" width="0.8" height="1.5" /></element>
<element name="1.7" ref="led"><bounds x="15.7" y="7.25" width="0.8" height="1.5" /></element>
<element name="1.0" ref="led"><bounds x="15.5" y="77.25" width="1" height="1.5" /></element>
<element name="1.1" ref="led"><bounds x="15.5" y="67.25" width="1" height="1.5" /></element>
<element name="1.2" ref="led"><bounds x="15.5" y="57.25" width="1" height="1.5" /></element>
<element name="1.3" ref="led"><bounds x="15.5" y="47.25" width="1" height="1.5" /></element>
<element name="1.4" ref="led"><bounds x="15.5" y="37.25" width="1" height="1.5" /></element>
<element name="1.5" ref="led"><bounds x="15.5" y="27.25" width="1" height="1.5" /></element>
<element name="1.6" ref="led"><bounds x="15.5" y="17.25" width="1" height="1.5" /></element>
<element name="1.7" ref="led"><bounds x="15.5" y="7.25" width="1" height="1.5" /></element>
<element name="0.0" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.1" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.2" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.3" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.4" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.5" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.6" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.7" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="0.0" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.1" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.2" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.3" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.4" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.5" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.6" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="1" /></element>
<element name="0.7" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="1" /></element>
<!-- LCD panel -->
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="89" width="79" height="12" /></group>
<group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group>

View File

@ -3,6 +3,7 @@
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="digit" defstate="0">
@ -20,11 +21,11 @@ license:CC0
<element name="hlbr" defstate="0">
<rect state="0">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.8" green="0.0" blue="0.0" />
<color red="0.8" green="0.15" blue="0.15" />
</rect>
<rect state="1">
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
<color red="0.6" green="0.0" blue="0.0" />
<color red="0.6" green="0.1" blue="0.1" />
</rect>
</element>
<element name="hlb" defstate="0">
@ -384,38 +385,38 @@ license:CC0
</group>
<group name="panel">
<bounds left="0" right="80" top="0" bottom="13" />
<element ref="background"><bounds x="0" y="0" width="80" height="13" /></element>
<bounds left="0" right="80" top="-0.5" bottom="13.5" />
<element ref="background"><bounds x="0" y="-0.5" width="80" height="13.5" /></element>
<element ref="text_lcd"> <bounds x="0.5" y="0" width="9" height="1.5"/></element>
<element ref="led7seg_background"> <bounds x="0.5" y="1.5" width="9" height="4" /> </element>
<element ref="text_lcd"> <bounds x="0.5" y="-0.5" width="10" height="1.5"/></element>
<element ref="led7seg_background"> <bounds x="0.5" y="1.5" width="9" height="4" /> </element>
<element name="digit0" ref="digit"> <bounds x="1" y="2" width="2" height="3" /> </element>
<element name="digit1" ref="digit"> <bounds x="3" y="2" width="2" height="3" /> </element>
<element name="digit2" ref="digit"> <bounds x="5" y="2" width="2" height="3" /> </element>
<element name="digit3" ref="digit"> <bounds x="7" y="2" width="2" height="3" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="7.5" width="9" height="4" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="7.5" width="9" height="4" /> </element>
<element name="digit4" ref="digit"> <bounds x="1" y="8" width="2" height="3" /> </element>
<element name="digit5" ref="digit"> <bounds x="3" y="8" width="2" height="3" /> </element>
<element name="digit6" ref="digit"> <bounds x="5" y="8" width="2" height="3" /> </element>
<element name="digit7" ref="digit"> <bounds x="7" y="8" width="2" height="3" /> </element>
<element name="led100" ref="led"> <bounds x="13.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led104" ref="led"> <bounds x="22.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led108" ref="led"> <bounds x="31.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led112" ref="led"> <bounds x="40.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led102" ref="led"> <bounds x="49.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led106" ref="led"> <bounds x="58.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led111" ref="led"> <bounds x="67.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led115" ref="led"> <bounds x="76.1" y="0.1" width="1.3" height="1.3" /> </element>
<element name="led100" ref="led"> <bounds x="13.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led104" ref="led"> <bounds x="22.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led108" ref="led"> <bounds x="31.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led112" ref="led"> <bounds x="40.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led102" ref="led"> <bounds x="49.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led106" ref="led"> <bounds x="58.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led111" ref="led"> <bounds x="67.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element name="led115" ref="led"> <bounds x="76.1" y="-0.4" width="1.3" height="1.3" /> </element>
<element ref="text_book"> <bounds x="15" y="0" width="4" height="1.5" /> </element>
<element ref="text_pos"> <bounds x="24" y="0" width="3" height="1.5" /> </element>
<element ref="text_mem"> <bounds x="33" y="0" width="3" height="1.5" /> </element>
<element ref="text_info"> <bounds x="42" y="0" width="4" height="1.5" /> </element>
<element ref="text_err"> <bounds x="51" y="0" width="3" height="1.5" /> </element>
<element ref="text_lev"> <bounds x="60" y="0" width="3" height="1.5" /> </element>
<element ref="text_black"> <bounds x="69" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="78" y="0" width="1" height="1.5" /> </element>
<element ref="text_book"> <bounds x="15" y="-0.5" width="4" height="1.5" /> </element>
<element ref="text_pos"> <bounds x="24" y="-0.5" width="3" height="1.5" /> </element>
<element ref="text_mem"> <bounds x="33" y="-0.5" width="3" height="1.5" /> </element>
<element ref="text_info"> <bounds x="42" y="-0.5" width="4" height="1.5" /> </element>
<element ref="text_err"> <bounds x="51" y="-0.5" width="3" height="1.5" /> </element>
<element ref="text_lev"> <bounds x="60" y="-0.5" width="3" height="1.5" /> </element>
<element ref="text_black"> <bounds x="69" y="-0.5" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="78" y="-0.5" width="1" height="1.5" /> </element>
<element ref="text_b1"> <bounds x="11.25" y="5" width="5" height="1.5" /> </element>
<element ref="text_b2"> <bounds x="20.25" y="5" width="5" height="1.5" /> </element>
<element ref="text_b3"> <bounds x="29.25" y="5" width="5" height="1.5" /> </element>
@ -452,11 +453,12 @@ license:CC0
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="100" top="0" bottom="102" />
<element ref="background"><bounds x="13" y="0" width="87" height="102" /></element>
<!-- chessboard coords -->
<view name="Internal Layout">
<bounds left="0" right="101" top="-0.5" bottom="103" />
<element ref="background"><bounds x="13" y="-0.5" width="88" height="103.5" /></element>
<!-- chessboard coords -->
<element ref="white"><bounds x="16.5" y="3" width="81" height="81" /></element>
<element ref="text_8"><bounds x="13.7" y="7.5" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.7" y="17.5" width="2" height="2" /></element>
@ -476,8 +478,8 @@ license:CC0
<element ref="text_g"><bounds x="80.5" y="85" width="2" height="2" /></element>
<element ref="text_h"><bounds x="90.5" y="85" width="2" height="2" /></element>
<!-- LCD panel -->
<group ref="panel"><bounds x="17" y="88" width="80" height="13" /></group>
<!-- LCD panel -->
<group ref="panel"><bounds x="17" y="89" width="80" height="13.5" /></group>
<group ref="sb_board"><bounds x="17" y="3.5" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group>

View File

@ -0,0 +1,497 @@
<?xml version="1.0"?>
<!--
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="digit" defstate="0">
<led7seg><color red="0.2" green="0.16" blue="0.16" /></led7seg>
</element>
<element name="led" defstate="0">
<rect state="0">
<color red="0.20" green="0.0" blue="0.0" />
</rect>
<rect state="1">
<color red="0.95" green="0.0" blue="0.0" />
</rect>
</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>
<disk 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" />
</disk>
</element>
<element name="led7seg_background"><rect><color red="0.54" green="0.57" blue="0.58" /> </rect></element>
<element name="background"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0.2" blue="0.2" /> </rect></element>
<element name="text_1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_book"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="BOOK"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_mem"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_err"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="ERR"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lev"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_black"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a0;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_white"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a1;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[P] 1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[N] 2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[B] 3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[R] 4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[Q] 5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="[K] 6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a0; 7 &#x25c4;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a1; 8 &#x25ba;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_book9"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="BOOK 9"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos0"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="POS 0"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_cl"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="CL"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_ent"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="ENT"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_res"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="RES"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_lcd"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MULTI INFO LCD"> <color red="0" green="0" blue="0" /></text> </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>
<!-- sb board -->
<element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></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>
<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>
<!-- sensors, pieces -->
<repeat count="8">
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
<element ref="hlbb" inputtag="board: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">
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="0.9" green="0.9" blue="0.9" /></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.9" green="0.9" blue="0.9" /></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.9" green="0.9" blue="0.9" /></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.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="0.9" green="0.9" blue="0.9" /></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" />
<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: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: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:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
<element ref="hlub" inputtag="board: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: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: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: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: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: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>
<group name="panel">
<bounds left="0" right="79" top="0" bottom="13" />
<element ref="background"><bounds x="0" y="0" width="79" height="13" /></element>
<element ref="black"> <bounds x="0" y="1.5" width="10" height="10.5" /> </element>
<element ref="text_lcd"> <bounds x="0.5" y="0" width="10" height="1.5" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="2" width="9" height="4" /> </element>
<element name="digit0" ref="digit"> <bounds x="1" y="2.5" width="2" height="3" /> </element>
<element name="digit1" ref="digit"> <bounds x="3" y="2.5" width="2" height="3" /> </element>
<element name="digit2" ref="digit"> <bounds x="5" y="2.5" width="2" height="3" /> </element>
<element name="digit3" ref="digit"> <bounds x="7" y="2.5" width="2" height="3" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="7.5" width="9" height="4" /> </element>
<element name="digit4" ref="digit"> <bounds x="1" y="8" width="2" height="3" /> </element>
<element name="digit5" ref="digit"> <bounds x="3" y="8" width="2" height="3" /> </element>
<element name="digit6" ref="digit"> <bounds x="5" y="8" width="2" height="3" /> </element>
<element name="digit7" ref="digit"> <bounds x="7" y="8" width="2" height="3" /> </element>
<element name="led100" ref="led"> <bounds x="13.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led101" ref="led"> <bounds x="21.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led102" ref="led"> <bounds x="30.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led103" ref="led"> <bounds x="38.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led104" ref="led"> <bounds x="47.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led105" ref="led"> <bounds x="55.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led106" ref="led"> <bounds x="64.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led107" ref="led"> <bounds x="72.5" y="0.4" width="1.3" height="0.8" /> </element>
<element ref="black"> <bounds x="13" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="21.5" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="30" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="38.5" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="47" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="55.5" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="64" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="72.5" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="13" y="7.5" width="6" height="4" /> </element>
<element ref="black"> <bounds x="21.5" y="7.5" width="6" height="4" /> </element>
<element ref="black"> <bounds x="30" y="7.5" width="6" height="4" /> </element>
<element ref="black"> <bounds x="38.5" y="7.5" width="6" height="4" /> </element>
<element ref="black"> <bounds x="47" y="7.5" width="6" height="4" /> </element>
<element ref="black"> <bounds x="55.5" y="7.5" width="6" height="4" /> </element>
<element ref="black"> <bounds x="64" y="7.5" width="6" height="4" /> </element>
<element ref="red"> <bounds x="72.5" y="7.5" width="6" height="4" /> </element>
<element ref="text_book"> <bounds x="15" y="0" width="4" height="1.5" /> </element>
<element ref="text_pos"> <bounds x="23.5" y="0" width="3" height="1.5" /> </element>
<element ref="text_mem"> <bounds x="32" y="0" width="3" height="1.5" /> </element>
<element ref="text_info"> <bounds x="40.5" y="0" width="4" height="1.5" /> </element>
<element ref="text_err"> <bounds x="49" y="0" width="3" height="1.5" /> </element>
<element ref="text_lev"> <bounds x="57.5" y="0" width="3" height="1.5" /> </element>
<element ref="text_black"> <bounds x="66" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="74.5" y="0" width="1" height="1.5" /> </element>
<element ref="text_b1"> <bounds x="13.5" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b2"> <bounds x="22" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b3"> <bounds x="30.5" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b4"> <bounds x="39" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b5"> <bounds x="47.5" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b6"> <bounds x="56" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b7"> <bounds x="64.5" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_b8"> <bounds x="73" y="2.5" width="5" height="1.5" /> </element>
<element ref="text_book9"> <bounds x="13.5" y="8" width="5" height="1.5" /> </element>
<element ref="text_pos0"> <bounds x="22" y="8" width="5" height="1.5" /> </element>
<element ref="text_mem"> <bounds x="30.5" y="8" width="5" height="1.5" /> </element>
<element ref="text_info"> <bounds x="39" y="8" width="5" height="1.5" /> </element>
<element ref="text_cl"> <bounds x="47.5" y="8" width="5" height="1.5" /> </element>
<element ref="text_lev"> <bounds x="56" y="8" width="5" height="1.5" /> </element>
<element ref="text_ent"> <bounds x="64.5" y="8" width="5" height="1.5" /> </element>
<element ref="text_res"> <bounds x="73" y="8" width="5" height="1.5" /> </element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="13" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x10"> <bounds x="21.5" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="30" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x10"> <bounds x="38.5" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="47" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x20"> <bounds x="55.5" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="64" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x20"> <bounds x="72.5" y="2" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="13" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x40"> <bounds x="21.5" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="30" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x40"> <bounds x="38.5" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="47" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.1" inputmask="0x80"> <bounds x="55.5" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="64" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
<element ref="hlb" inputtag="KEY.0" inputmask="0x80"> <bounds x="72.5" y="7.5" width="6" height="4" /> <color alpha="0.3"/></element>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="103" top="-2" bottom="102" />
<element ref="background"><bounds x="13" y="-2" width="90" height="104" /></element>
<!-- chessboard coords -->
<element ref="text_8"><bounds x="13.6" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.6" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.6" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.6" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.6" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.6" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.6" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.6" y="77" width="2" height="2" /></element>
<element ref="text_a"><bounds x="22" y="85.7" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="85.7" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="85.7" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="85.7" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="85.7" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="85.7" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element>
<!-- chessboard leds -->
<element name="led0" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element>
<element name="led1" ref="led"><bounds x="15.7" y="67.25" width="0.8" height="1.5" /></element>
<element name="led2" ref="led"><bounds x="15.7" y="57.25" width="0.8" height="1.5" /></element>
<element name="led3" ref="led"><bounds x="15.7" y="47.25" width="0.8" height="1.5" /></element>
<element name="led4" ref="led"><bounds x="15.7" y="37.25" width="0.8" height="1.5" /></element>
<element name="led5" ref="led"><bounds x="15.7" y="27.25" width="0.8" height="1.5" /></element>
<element name="led6" ref="led"><bounds x="15.7" y="17.25" width="0.8" height="1.5" /></element>
<element name="led7" ref="led"><bounds x="15.7" y="7.25" width="0.8" height="1.5" /></element>
<element name="led8" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led9" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led10" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led11" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led12" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led13" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led14" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led15" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element>
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group>
<group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group>
<group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group>
</view>
</mamelayout>

View File

@ -3,6 +3,7 @@
license:CC0
-->
<mamelayout version="2">
<!-- define elements -->
<element name="digit" defstate="0">
@ -29,35 +30,35 @@ license:CC0
</element>
<element name="led7seg_background"><rect><color red="0.54" green="0.57" blue="0.58" /> </rect></element>
<element name="background"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect></element>
<element name="background"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0" blue="0" /> </rect></element>
<element name="red"> <rect><color red="0.8" green="0.2" blue="0.2" /> </rect></element>
<element name="text_1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_1"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_2"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_3"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_4"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_5"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_6"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_7"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_8"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_a"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_b"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_c"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_d"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_e"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_f"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_g"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_h"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_tutor"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="TUTOR"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_play"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="PLAY"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_wpos"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_wmem"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_wlev"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_black"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25a0;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_white"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="&#x25a1;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_tutor"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="TUTOR"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_play"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="PLAY"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_info"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="INFO"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_wpos"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="POS"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_wmem"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MEM"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_wlev"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="LEV"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_black"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a0;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_white"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="&#x25a1;"> <color red="0" green="0" blue="0" /></text> </element>
<element name="text_pos"> <rect><color red="0" green="0" blue="0" /></rect> <text string="POS"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_mem"> <rect><color red="0" green="0" blue="0" /></rect> <text string="MEM"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_lev"> <rect><color red="0" green="0" blue="0" /></rect> <text string="LEV"> <color red="1" green="1" blue="1" /></text> </element>
@ -69,12 +70,12 @@ license:CC0
<element name="text_b6"> <rect><color red="0" green="0" blue="0" /></rect> <text string="[K] 6"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_b7"> <rect><color red="0" green="0" blue="0" /></rect> <text string="&#x25a1; 7 &#x25c4;"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_b8"> <rect><color red="0" green="0" blue="0" /></rect> <text string="&#x25a0; 8 &#x25ba;"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_help9"> <rect><color red="0.8" green="0" blue="0" /></rect> <text string="HELP 9"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_help9"> <rect><color red="0.8" green="0.2" blue="0.2" /></rect> <text string="HELP 9"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_info0"> <rect><color red="0" green="0" blue="0" /></rect> <text string="INFO 0"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_cl"> <rect><color red="0" green="0" blue="0" /></rect> <text string="CL"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_ent"> <rect><color red="0" green="0" blue="0" /></rect> <text string="ENT"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_res"> <rect><color red="0.8" green="0" blue="0" /></rect> <text string="RES"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_lcd"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="MULTI INFO LCD"><color red="0" green="0" blue="0" /></text> </element>
<element name="text_res"> <rect><color red="0.8" green="0.2" blue="0.2" /></rect> <text string="RES"> <color red="1" green="1" blue="1" /></text> </element>
<element name="text_lcd"> <rect><color red="0.9" green="0.9" blue="0.9" /></rect> <text string="MULTI INFO LCD"><color red="0" green="0" blue="0" /></text> </element>
<element name="piece" defstate="0">
@ -111,8 +112,8 @@ license:CC0
<!-- sb board -->
<element name="cwhite"><rect><color red="1.00" green="1.00" blue="1.00" /></rect></element>
<element name="cblack"><rect><color red="0.40" green="0.40" blue="0.40" /></rect></element>
<element name="cwhite"><rect><color red="0.9" green="0.9" blue="0.9" /></rect></element>
<element name="cblack"><rect><color red="0.4" green="0.4" blue="0.4" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
@ -234,34 +235,34 @@ license:CC0
<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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></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="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="1.00" green="1.00" blue="1.00" /></rect>
<rect><color red="0.9" green="0.9" blue="0.9" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu3a" defstate="0">
@ -360,7 +361,8 @@ license:CC0
<bounds left="0" right="79" top="0" bottom="13" />
<element ref="background"><bounds x="0" y="0" width="79" height="13" /></element>
<element ref="text_lcd"> <bounds x="0.5" y="0" width="9" height="1.5" /> </element>
<element ref="black"> <bounds x="0" y="1.5" width="10" height="10.5" /> </element>
<element ref="text_lcd"> <bounds x="0.5" y="0" width="10" height="1.5" /> </element>
<element ref="led7seg_background"> <bounds x="0.5" y="2" width="9" height="4" /> </element>
<element name="digit0" ref="digit"> <bounds x="1" y="2.5" width="2" height="3" /> </element>
<element name="digit1" ref="digit"> <bounds x="3" y="2.5" width="2" height="3" /> </element>
@ -372,14 +374,14 @@ license:CC0
<element name="digit6" ref="digit"> <bounds x="5" y="8" width="2" height="3" /> </element>
<element name="digit7" ref="digit"> <bounds x="7" y="8" width="2" height="3" /> </element>
<element name="led100" ref="led"> <bounds x="13.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led101" ref="led"> <bounds x="21.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led102" ref="led"> <bounds x="30.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led103" ref="led"> <bounds x="38.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led104" ref="led"> <bounds x="47.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led105" ref="led"> <bounds x="55.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led106" ref="led"> <bounds x="64.1" y="0.25" width="1.3" height="1" /> </element>
<element name="led107" ref="led"> <bounds x="72.6" y="0.25" width="1.3" height="1" /> </element>
<element name="led100" ref="led"> <bounds x="13.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led101" ref="led"> <bounds x="21.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led102" ref="led"> <bounds x="30.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led103" ref="led"> <bounds x="38.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led104" ref="led"> <bounds x="47.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led105" ref="led"> <bounds x="55.5" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led106" ref="led"> <bounds x="64.0" y="0.4" width="1.3" height="0.8" /> </element>
<element name="led107" ref="led"> <bounds x="72.5" y="0.4" width="1.3" height="0.8" /> </element>
<element ref="black"> <bounds x="13" y="2" width="6" height="4" /> </element>
<element ref="black"> <bounds x="21.5" y="2" width="6" height="4" /> </element>
@ -405,7 +407,7 @@ license:CC0
<element ref="text_wlev"> <bounds x="49" y="0" width="3" height="1.5" /> </element>
<element ref="text_play"> <bounds x="57.5" y="0" width="3.5" height="1.5" /> </element>
<element ref="text_black"> <bounds x="66" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="75" y="0" width="1" height="1.5" /> </element>
<element ref="text_white"> <bounds x="74.5" y="0" width="1" height="1.5" /> </element>
<element ref="text_b1"> <bounds x="13.5" y="3.25" width="5" height="1.5" /> </element>
<element ref="text_b2"> <bounds x="22" y="3.25" width="5" height="1.5" /> </element>
<element ref="text_b3"> <bounds x="30.5" y="3.25" width="5" height="1.5" /> </element>
@ -443,56 +445,53 @@ license:CC0
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="101" top="0" bottom="102" />
<element ref="background"><bounds x="13" y="0" width="88" height="102" /></element>
<bounds left="0" right="103" top="-2" bottom="102" />
<element ref="background"><bounds x="13" y="-2" width="90" height="104" /></element>
<!-- chessboard coords -->
<!-- chessboard coords -->
<element ref="text_8"><bounds x="13.6" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.6" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.6" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.6" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.6" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.6" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.6" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.6" y="77" width="2" height="2" /></element>
<element ref="text_8"><bounds x="13.5" y="7" width="2" height="2" /></element>
<element ref="text_7"><bounds x="13.5" y="17" width="2" height="2" /></element>
<element ref="text_6"><bounds x="13.5" y="27" width="2" height="2" /></element>
<element ref="text_5"><bounds x="13.5" y="37" width="2" height="2" /></element>
<element ref="text_4"><bounds x="13.5" y="47" width="2" height="2" /></element>
<element ref="text_3"><bounds x="13.5" y="57" width="2" height="2" /></element>
<element ref="text_2"><bounds x="13.5" y="67" width="2" height="2" /></element>
<element ref="text_1"><bounds x="13.5" y="77" width="2" height="2" /></element>
<element ref="text_a"><bounds x="22" y="86" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="86" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="86" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="86" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="86" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="86" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="86" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="86" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="text_a"><bounds x="22" y="85.7" width="2" height="2" /></element>
<element ref="text_b"><bounds x="32" y="85.7" width="2" height="2" /></element>
<element ref="text_c"><bounds x="42" y="85.7" width="2" height="2" /></element>
<element ref="text_d"><bounds x="52" y="85.7" width="2" height="2" /></element>
<element ref="text_e"><bounds x="62" y="85.7" width="2" height="2" /></element>
<element ref="text_f"><bounds x="72" y="85.7" width="2" height="2" /></element>
<element ref="text_g"><bounds x="82" y="85.7" width="2" height="2" /></element>
<element ref="text_h"><bounds x="92" y="85.7" width="2" height="2" /></element>
<!-- chessboard bezel -->
<element ref="black"><bounds x="17.5" y="2.5" width="81" height="81" /></element>
<!-- chessboard leds -->
<!-- chessboard leds -->
<element name="led0" ref="led"><bounds x="15.7" y="77.25" width="0.8" height="1.5" /></element>
<element name="led1" ref="led"><bounds x="15.7" y="67.25" width="0.8" height="1.5" /></element>
<element name="led2" ref="led"><bounds x="15.7" y="57.25" width="0.8" height="1.5" /></element>
<element name="led3" ref="led"><bounds x="15.7" y="47.25" width="0.8" height="1.5" /></element>
<element name="led4" ref="led"><bounds x="15.7" y="37.25" width="0.8" height="1.5" /></element>
<element name="led5" ref="led"><bounds x="15.7" y="27.25" width="0.8" height="1.5" /></element>
<element name="led6" ref="led"><bounds x="15.7" y="17.25" width="0.8" height="1.5" /></element>
<element name="led7" ref="led"><bounds x="15.7" y="7.25" width="0.8" height="1.5" /></element>
<element name="led0" ref="led"><bounds x="15.5" y="77.25" width="1" height="1.5" /></element>
<element name="led1" ref="led"><bounds x="15.5" y="67.25" width="1" height="1.5" /></element>
<element name="led2" ref="led"><bounds x="15.5" y="57.25" width="1" height="1.5" /></element>
<element name="led3" ref="led"><bounds x="15.5" y="47.25" width="1" height="1.5" /></element>
<element name="led4" ref="led"><bounds x="15.5" y="37.25" width="1" height="1.5" /></element>
<element name="led5" ref="led"><bounds x="15.5" y="27.25" width="1" height="1.5" /></element>
<element name="led6" ref="led"><bounds x="15.5" y="17.25" width="1" height="1.5" /></element>
<element name="led7" ref="led"><bounds x="15.5" y="7.25" width="1" height="1.5" /></element>
<element name="led8" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led9" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led10" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led11" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led12" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led13" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led14" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led15" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="0.8" /></element>
<element name="led8" ref="led"><bounds x="22.25" y="84.5" width="1.5" height="1" /></element>
<element name="led9" ref="led"><bounds x="32.25" y="84.5" width="1.5" height="1" /></element>
<element name="led10" ref="led"><bounds x="42.25" y="84.5" width="1.5" height="1" /></element>
<element name="led11" ref="led"><bounds x="52.25" y="84.5" width="1.5" height="1" /></element>
<element name="led12" ref="led"><bounds x="62.25" y="84.5" width="1.5" height="1" /></element>
<element name="led13" ref="led"><bounds x="72.25" y="84.5" width="1.5" height="1" /></element>
<element name="led14" ref="led"><bounds x="82.25" y="84.5" width="1.5" height="1" /></element>
<element name="led15" ref="led"><bounds x="92.25" y="84.5" width="1.5" height="1" /></element>
<!-- LCD panel -->
<!-- LCD panel -->
<group ref="panel"><bounds x="18" y="89" width="79" height="13" /></group>
<group ref="sb_board"><bounds x="18" y="3" width="80" height="80" /></group>

View File

@ -22782,6 +22782,8 @@ lond32t8
@source:mephisto_mondial.cpp
mondial // 1985 Mephisto Mondial
@source:mephisto_mondial2.cpp
mondial2 // 1987 Mephisto Mondial II
@source:mephisto_mondial68k.cpp

View File

@ -585,6 +585,7 @@ mephisto_modena.cpp
mephisto_modular.cpp
mephisto_modular_tm.cpp
mephisto_mondial.cpp
mephisto_mondial2.cpp
mephisto_mondial68k.cpp
mephisto_montec.cpp
mephisto_polgar.cpp