mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
New working machines
-------------------- Conchess (standard) [hap, Berger]
This commit is contained in:
parent
0b390d5f0c
commit
b6b4957fe8
@ -1122,6 +1122,7 @@ function linkProjects_mame_mess(_target, _subtarget)
|
||||
"citoh",
|
||||
"coleco",
|
||||
"compugraphic",
|
||||
"consumenta",
|
||||
"cromemco",
|
||||
"comx",
|
||||
"concept",
|
||||
@ -1999,6 +2000,11 @@ files {
|
||||
MAME_DIR .. "src/mame/drivers/pwrview.cpp",
|
||||
}
|
||||
|
||||
createMESSProjects(_target, _subtarget, "consumenta")
|
||||
files {
|
||||
MAME_DIR .. "src/mame/drivers/conchess.cpp",
|
||||
}
|
||||
|
||||
createMESSProjects(_target, _subtarget, "cromemco")
|
||||
files {
|
||||
MAME_DIR .. "src/mame/drivers/c10.cpp",
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include "emu.h"
|
||||
#include "sound/beep.h"
|
||||
|
||||
#define BEEP_RATE (48000)
|
||||
#define BEEP_RATE (384000)
|
||||
|
||||
|
||||
// device type definition
|
||||
|
225
src/mame/drivers/conchess.cpp
Normal file
225
src/mame/drivers/conchess.cpp
Normal file
@ -0,0 +1,225 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:hap
|
||||
// thanks-to:Berger
|
||||
/******************************************************************************
|
||||
|
||||
Conchess, a series of modular chess computers by Consumenta Computer.
|
||||
Hardware development by Loproc (Germany), manufactured at Wallharn Electronics
|
||||
(Ireland). The core people involved were Ulf Rathsman for the chess engine,
|
||||
and Johan Enroth. After Consumenta went under in 1983, the Conchess brand was
|
||||
continued by Systemhuset, Enroth's company.
|
||||
|
||||
Hardware notes:
|
||||
|
||||
Chess boards released were Escorter, Ambassador, and Monarch, each should be the
|
||||
same hardware, they just differ in size and material.
|
||||
- TTL, 2 module slots
|
||||
- 16+64 leds, 16 buttons, reed sensors for magnet chesspieces
|
||||
|
||||
All chess modules appear to be on similar PCBs, with room a 6502/65C02,
|
||||
and 8 ROM/RAM chips.
|
||||
|
||||
A0 (untitled standard pack-in module):
|
||||
- SY6502A @ 2MHz (4MHz XTAL)
|
||||
- 3*8KB ROM, 4KB RAM(2*TMM2016P)
|
||||
- TTL, beeper
|
||||
|
||||
******************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "cpu/m6502/m6502.h"
|
||||
#include "machine/sensorboard.h"
|
||||
#include "machine/timer.h"
|
||||
#include "sound/beep.h"
|
||||
#include "video/pwm.h"
|
||||
#include "speaker.h"
|
||||
|
||||
// internal artwork
|
||||
#include "conchess.lh" // clickable
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
class conchess_state : public driver_device
|
||||
{
|
||||
public:
|
||||
conchess_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_irq_on(*this, "irq_on"),
|
||||
m_display(*this, "display"),
|
||||
m_board(*this, "board"),
|
||||
m_beeper(*this, "beeper"),
|
||||
m_inputs(*this, "IN.%u", 0)
|
||||
{ }
|
||||
|
||||
// machine configs
|
||||
void concstd(machine_config &config);
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
|
||||
private:
|
||||
// devices/pointers
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<timer_device> m_irq_on;
|
||||
required_device<pwm_display_device> m_display;
|
||||
required_device<sensorboard_device> m_board;
|
||||
required_device<beep_device> m_beeper;
|
||||
required_ioport_array<2> m_inputs;
|
||||
|
||||
// address maps
|
||||
void main_map(address_map &map);
|
||||
|
||||
// periodic interrupts
|
||||
template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(irq_on) { m_maincpu->set_input_line(Line, ASSERT_LINE); }
|
||||
template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(irq_off) { m_maincpu->set_input_line(Line, CLEAR_LINE); }
|
||||
|
||||
// I/O handlers
|
||||
DECLARE_READ8_MEMBER(input_r);
|
||||
DECLARE_WRITE8_MEMBER(leds_w);
|
||||
DECLARE_WRITE8_MEMBER(sound_w);
|
||||
|
||||
u8 m_inp_mux = 0;
|
||||
};
|
||||
|
||||
void conchess_state::machine_start()
|
||||
{
|
||||
save_item(NAME(m_inp_mux));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
I/O
|
||||
******************************************************************************/
|
||||
|
||||
READ8_MEMBER(conchess_state::input_r)
|
||||
{
|
||||
u8 data = 0;
|
||||
|
||||
// read side panel buttons
|
||||
if (m_inp_mux == 0 || m_inp_mux == 9)
|
||||
data = m_inputs[m_inp_mux & 1]->read();
|
||||
|
||||
// read chessboard sensors
|
||||
else
|
||||
data = m_board->read_file((m_inp_mux - 1) ^ 7);
|
||||
|
||||
return ~data;
|
||||
}
|
||||
|
||||
WRITE8_MEMBER(conchess_state::leds_w)
|
||||
{
|
||||
// a0-a3: CD4028B to led select/input mux
|
||||
m_inp_mux = offset;
|
||||
if (m_inp_mux & 8)
|
||||
m_inp_mux &= 9;
|
||||
|
||||
// d0-d7: led data
|
||||
m_display->matrix(1 << m_inp_mux, data);
|
||||
}
|
||||
|
||||
WRITE8_MEMBER(conchess_state::sound_w)
|
||||
{
|
||||
// d7: enable beeper
|
||||
m_beeper->set_state(BIT(data, 7));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
Address Maps
|
||||
******************************************************************************/
|
||||
|
||||
void conchess_state::main_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x0fff).ram();
|
||||
map(0x1050, 0x1050).r(FUNC(conchess_state::input_r));
|
||||
map(0x1060, 0x106f).w(FUNC(conchess_state::leds_w));
|
||||
map(0x1800, 0x1800).w(FUNC(conchess_state::sound_w));
|
||||
map(0xa000, 0xffff).rom();
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
Input Ports
|
||||
******************************************************************************/
|
||||
|
||||
static INPUT_PORTS_START( conchess )
|
||||
PORT_START("IN.0")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Q) PORT_NAME("O. (Clear)")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) PORT_NAME("Stop")
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Dice Symbol (Alternate)")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("?-Sign (Analyze)")
|
||||
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_T) PORT_NAME("Section Sign (Referee)")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Y) PORT_NAME("4-Way Arrow (Piece)")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_U) PORT_NAME("2-Way Arrow (Level)")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_I) PORT_NAME(". (Continue)")
|
||||
|
||||
PORT_START("IN.1")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD) PORT_NAME("Pawn")
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD) PORT_NAME("Knight")
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD) PORT_NAME("Bishop")
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD) PORT_NAME("Rook")
|
||||
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD) PORT_NAME("Queen")
|
||||
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD) PORT_NAME("King")
|
||||
PORT_BIT(0x40, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_7_PAD) PORT_NAME("White")
|
||||
PORT_BIT(0x80, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD) PORT_NAME("Black")
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
Machine Configs
|
||||
******************************************************************************/
|
||||
|
||||
void conchess_state::concstd(machine_config &config)
|
||||
{
|
||||
/* basic machine hardware */
|
||||
M6502(config, m_maincpu, 4_MHz_XTAL / 2);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &conchess_state::main_map);
|
||||
|
||||
const attotime irq_period = attotime::from_hz(4_MHz_XTAL / 0x2000); // through 4020 IC, ~488Hz
|
||||
TIMER(config, m_irq_on).configure_periodic(FUNC(conchess_state::irq_on<M6502_IRQ_LINE>), irq_period);
|
||||
m_irq_on->set_start_delay(irq_period - attotime::from_nsec(31200)); // active for ~31.2us
|
||||
TIMER(config, "irq_off").configure_periodic(FUNC(conchess_state::irq_off<M6502_IRQ_LINE>), irq_period);
|
||||
|
||||
SENSORBOARD(config, m_board).set_type(sensorboard_device::MAGNETS);
|
||||
m_board->init_cb().set(m_board, FUNC(sensorboard_device::preset_chess));
|
||||
m_board->set_delay(attotime::from_msec(150));
|
||||
|
||||
/* video hardware */
|
||||
PWM_DISPLAY(config, m_display).set_size(10, 8);
|
||||
config.set_default_layout(layout_conchess);
|
||||
|
||||
/* sound hardware */
|
||||
SPEAKER(config, "mono").front_center();
|
||||
BEEP(config, m_beeper, 4_MHz_XTAL / 0x400);
|
||||
m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
ROM Definitions
|
||||
******************************************************************************/
|
||||
|
||||
ROM_START( concstd )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("c87011.b3", 0xa000, 0x2000, CRC(915e414c) SHA1(80c94712d1c79fa469576c37b80ab66f77c77cc4) )
|
||||
ROM_LOAD("c87010.b2", 0xc000, 0x2000, CRC(088c8737) SHA1(9f841b3c47de9ef1da8ce98c0a33a919cba873c6) )
|
||||
ROM_LOAD("c87009.b1", 0xe000, 0x2000, CRC(e1c648e2) SHA1(725a6ac1c69f788a7bba0573e5609b55b12899ac) )
|
||||
ROM_END
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
Drivers
|
||||
******************************************************************************/
|
||||
|
||||
/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS */
|
||||
CONS( 1982, concstd, 0, 0, concstd, conchess, conchess_state, empty_init, "Consumenta Computer / Loproc", "Conchess (standard)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
@ -67,6 +67,8 @@ The MM V prototype was the program that Ed Schroeder participated with as "Rebel
|
||||
1989 WMCCC in Portorose. It was used with the TK20 TurboKit.
|
||||
http://chesseval.com/ChessEvalJournal/PrototypeMMV.htm
|
||||
|
||||
MM VI (Saitek, 1994) is on different hardware, H8 CPU.
|
||||
|
||||
|
||||
TODO:
|
||||
- need to emulate TurboKit properly, also for mm5p (it's not as simple as a CPU
|
||||
@ -468,16 +470,6 @@ void mephisto_state::mm2(machine_config &config)
|
||||
ROM Definitions
|
||||
******************************************************************************/
|
||||
|
||||
ROM_START( rebel5 )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("rebel5_v2.rom", 0x8000, 0x8000, CRC(17232752) SHA1(3cd6893c0071f3dc02785bf99f1950eed81eba39) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( rebel5a )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("rebell_5.12.86", 0x8000, 0x8000, CRC(8d02e1ef) SHA1(9972c75936613bd68cfd3fe62bd222e90e8b1083) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( mm2 )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("400", 0x8000, 0x8000, CRC(e8c1f431) SHA1(c32dfa66eefbf3e539438d2fe6e6916f78a128be) ) // HN27C256G-20
|
||||
@ -506,6 +498,7 @@ ROM_START( mm2d )
|
||||
ROM_LOAD("mm2_v1_2.bin", 0xc000, 0x4000, CRC(01143cc1) SHA1(f78474b410dbecb209aa23ef81e9f894e8b54942) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( bup )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("bup_v2_1.bin", 0x8000, 0x4000, CRC(e1e9625a) SHA1(8a757e28b7afca2a092f8ff419087e06b07b743e) )
|
||||
@ -518,6 +511,18 @@ ROM_START( bupa )
|
||||
ROM_LOAD("bup_v1_2.bin", 0xc000, 0x4000, CRC(708338ea) SHA1(d617c4aa2161865a22b4b0646ba793f8a1fda863) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( rebel5 )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("rebel5_v2.rom", 0x8000, 0x8000, CRC(17232752) SHA1(3cd6893c0071f3dc02785bf99f1950eed81eba39) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( rebel5a )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("rebell_5.12.86", 0x8000, 0x8000, CRC(8d02e1ef) SHA1(9972c75936613bd68cfd3fe62bd222e90e8b1083) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( mm4 )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("710", 0x8000, 0x8000, CRC(f68a4124) SHA1(d1d03a9aacc291d5cb720d2ee2a209eeba13a36c) )
|
||||
@ -538,6 +543,7 @@ ROM_START( mm4tk )
|
||||
ROM_LOAD("mm4tk.rom", 0x8000, 0x8000, CRC(51cb36a4) SHA1(9e184b4e85bb721e794b88d8657ae8d2ff5a24af) )
|
||||
ROM_END
|
||||
|
||||
|
||||
ROM_START( mm5 )
|
||||
ROM_REGION( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD("mephisto5.rom", 0x8000, 0x8000, CRC(89c3d9d2) SHA1(77cd6f8eeb03c713249db140d2541e3264328048) )
|
||||
@ -570,7 +576,7 @@ CONS( 1984, mm2d, mm2, 0, mm2, mephisto, mephisto_state, empty_i
|
||||
CONS( 1985, bup, 0, 0, bup, bup, mephisto_state, empty_init, "Hegener + Glaser", "Mephisto Blitz- und Problemloesungs-Modul (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1985, bupa, bup, 0, bup, bup, mephisto_state, empty_init, "Hegener + Glaser", "Mephisto Blitz- und Problemloesungs-Modul (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
|
||||
CONS( 1986, rebel5, 0, 0, rebel5, mephisto, mephisto_state, empty_init, "Hegener + Glaser", "Mephisto Rebell 5,0 (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1986, rebel5, 0, 0, rebel5, mephisto, mephisto_state, empty_init, "Hegener + Glaser", "Mephisto Rebell 5,0 (set 1)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK ) // aka MM III
|
||||
CONS( 1986, rebel5a, rebel5, 0, rebel5, mephisto, mephisto_state, empty_init, "Hegener + Glaser", "Mephisto Rebell 5,0 (set 2)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
|
||||
CONS( 1987, mm4, 0, 0, mm4, mephisto, mephisto_state, empty_init, "Hegener + Glaser", "Mephisto MM IV (v7.10)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
|
469
src/mame/layout/conchess.lay
Normal file
469
src/mame/layout/conchess.lay
Normal file
@ -0,0 +1,469 @@
|
||||
<?xml version="1.0"?>
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
|
||||
<element name="whited"><disk><color red="0.81" green="0.8" blue="0.79" /></disk></element>
|
||||
<element name="black"><rect><color red="0" green="0" blue="0" /></rect></element>
|
||||
<element name="blackd"><disk><color red="0" green="0" blue="0" /></disk></element>
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
|
||||
<disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
|
||||
</element>
|
||||
<element name="led2" defstate="0">
|
||||
<disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
|
||||
<disk state="0"><color red="0.14" green="0.014" blue="0.02" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="but" defstate="0">
|
||||
<disk state="0"><color red="0.17" green="0.15" blue="0.15" /></disk>
|
||||
<disk state="1"><color red="0.34" green="0.3" blue="0.3" /></disk>
|
||||
</element>
|
||||
|
||||
<element name="text_1"><text string="1"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_2"><text string="2"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_3"><text string="3"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_4"><text string="4"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_5"><text string="5"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_6"><text string="6"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_7"><text string="7"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_8"><text string="8"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
|
||||
<element name="text_a"><text string="A"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_b"><text string="B"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_c"><text string="C"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_d"><text string="D"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_e"><text string="E"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_f"><text string="F"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_g"><text string="G"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_h"><text string="H"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
|
||||
<element name="text_q"><text string="?"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_lr"><text string="↔"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_ud"><text string="↕"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_ss"><text string="§"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
|
||||
<element name="text_stop">
|
||||
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
|
||||
<text string="STOP"><color red="0.05" green="0.05" blue="0.05" /></text>
|
||||
</element>
|
||||
|
||||
<element name="text_p1"><image file="chess/wk.png"><color alpha="0.9" /></image></element>
|
||||
<element name="text_p2"><image file="chess/wq.png"><color alpha="0.9" /></image></element>
|
||||
<element name="text_p3"><image file="chess/wr.png"><color alpha="0.9" /></image></element>
|
||||
<element name="text_p4"><image file="chess/wb.png"><color alpha="0.9" /></image></element>
|
||||
<element name="text_p5"><image file="chess/wn.png"><color alpha="0.9" /></image></element>
|
||||
<element name="text_p6"><image file="chess/wp.png"><color alpha="0.9" /></image></element>
|
||||
|
||||
|
||||
<!-- sb board -->
|
||||
|
||||
<element name="cblack"><rect><color red="0.56" green="0.33" blue="0.12" /></rect></element>
|
||||
<element name="cwhite"><rect><color red="0.84" green="0.75" blue="0.50" /></rect></element>
|
||||
|
||||
<element name="hlbb" defstate="0">
|
||||
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
|
||||
<disk state="1">
|
||||
<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
|
||||
<color red="0" green="0" blue="0" />
|
||||
</disk>
|
||||
</element>
|
||||
|
||||
<element name="piece" defstate="0">
|
||||
<image file="chess/wp.png" state="1"/>
|
||||
<image file="chess/wn.png" state="2"/>
|
||||
<image file="chess/wb.png" state="3"/>
|
||||
<image file="chess/wr.png" state="4"/>
|
||||
<image file="chess/wq.png" state="5"/>
|
||||
<image file="chess/wk.png" state="6"/>
|
||||
|
||||
<image file="chess/bp.png" state="7"/>
|
||||
<image file="chess/bn.png" state="8"/>
|
||||
<image file="chess/bb.png" state="9"/>
|
||||
<image file="chess/br.png" state="10"/>
|
||||
<image file="chess/bq.png" state="11"/>
|
||||
<image file="chess/bk.png" state="12"/>
|
||||
|
||||
<!-- selected pieces -->
|
||||
<image file="chess/wp.png" state="13"><color alpha="0.5" /></image>
|
||||
<image file="chess/wn.png" state="14"><color alpha="0.5" /></image>
|
||||
<image file="chess/wb.png" state="15"><color alpha="0.5" /></image>
|
||||
<image file="chess/wr.png" state="16"><color alpha="0.5" /></image>
|
||||
<image file="chess/wq.png" state="17"><color alpha="0.5" /></image>
|
||||
<image file="chess/wk.png" state="18"><color alpha="0.5" /></image>
|
||||
|
||||
<image file="chess/bp.png" state="19"><color alpha="0.5" /></image>
|
||||
<image file="chess/bn.png" state="20"><color alpha="0.5" /></image>
|
||||
<image file="chess/bb.png" state="21"><color alpha="0.5" /></image>
|
||||
<image file="chess/br.png" state="22"><color alpha="0.5" /></image>
|
||||
<image file="chess/bq.png" state="23"><color alpha="0.5" /></image>
|
||||
<image file="chess/bk.png" state="24"><color alpha="0.5" /></image>
|
||||
</element>
|
||||
|
||||
<group name="sb_board">
|
||||
<bounds x="0" y="0" width="80" height="80" />
|
||||
|
||||
<!-- squares (avoid seams) -->
|
||||
<bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel>
|
||||
<bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel>
|
||||
|
||||
<bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel>
|
||||
|
||||
<!-- leds -->
|
||||
<repeat count="8">
|
||||
<param name="y" start="8.3" increment="10" />
|
||||
<param name="i1" start="7" increment="-1" />
|
||||
|
||||
<repeat count="8">
|
||||
<param name="x" start="0.2" increment="10" />
|
||||
<param name="i2" start="8" increment="-1" />
|
||||
<bezel name="~i2~.~i1~" element="led"><bounds x="~x~" y="~y~" width="1.5" height="1.5" /></bezel>
|
||||
</repeat>
|
||||
</repeat>
|
||||
|
||||
<!-- sensors, pieces -->
|
||||
<repeat count="8">
|
||||
<param name="y" start="0" increment="10" />
|
||||
<param name="i" start="8" increment="-1" />
|
||||
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
|
||||
|
||||
<bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel>
|
||||
<bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel>
|
||||
</repeat>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- sb ui -->
|
||||
|
||||
<element name="hlub" defstate="0">
|
||||
<rect state="1"><color red="0" green="0" blue="0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uib2">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uib3">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></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.84" green="0.75" blue="0.50" /></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.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2b">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2c">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2d">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu3a" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="2">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu3c" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="1">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
|
||||
<group name="sb_ui">
|
||||
<bounds x="0" y="0" width="10" height="80" />
|
||||
<bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel>
|
||||
<bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel>
|
||||
<bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel>
|
||||
<bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel>
|
||||
<bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel>
|
||||
|
||||
<!-- board -->
|
||||
<bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel>
|
||||
|
||||
<bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel>
|
||||
<bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel>
|
||||
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel>
|
||||
|
||||
<!-- spawn -->
|
||||
<bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel>
|
||||
|
||||
<bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel>
|
||||
<bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel>
|
||||
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
|
||||
|
||||
<!-- hand -->
|
||||
<bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel>
|
||||
<bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel>
|
||||
<bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel>
|
||||
|
||||
<bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel>
|
||||
<bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
|
||||
|
||||
<!-- undo -->
|
||||
<bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel>
|
||||
<bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel>
|
||||
<bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel>
|
||||
<bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel>
|
||||
<bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel>
|
||||
<bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel>
|
||||
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
|
||||
<bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
|
||||
|
||||
<bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel>
|
||||
<bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel>
|
||||
<bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="-16" right="93" top="-1.5" bottom="87.5" />
|
||||
|
||||
<group ref="sb_board"><bounds x="4" y="3" width="80" height="80" /></group>
|
||||
<group ref="sb_ui"><bounds x="-14.5" y="3" width="10" height="80" /></group>
|
||||
|
||||
<!-- chessboard coords -->
|
||||
|
||||
<bezel element="text_8"><bounds x="1.2" y="7" width="2" height="2" /></bezel>
|
||||
<bezel element="text_7"><bounds x="1.2" y="17" width="2" height="2" /></bezel>
|
||||
<bezel element="text_6"><bounds x="1.2" y="27" width="2" height="2" /></bezel>
|
||||
<bezel element="text_5"><bounds x="1.2" y="37" width="2" height="2" /></bezel>
|
||||
<bezel element="text_4"><bounds x="1.2" y="47" width="2" height="2" /></bezel>
|
||||
<bezel element="text_3"><bounds x="1.2" y="57" width="2" height="2" /></bezel>
|
||||
<bezel element="text_2"><bounds x="1.2" y="67" width="2" height="2" /></bezel>
|
||||
<bezel element="text_1"><bounds x="1.2" y="77" width="2" height="2" /></bezel>
|
||||
|
||||
<bezel element="text_8"><bounds x="84.9" y="7" width="2" height="2" /></bezel>
|
||||
<bezel element="text_7"><bounds x="84.9" y="17" width="2" height="2" /></bezel>
|
||||
<bezel element="text_6"><bounds x="84.9" y="27" width="2" height="2" /></bezel>
|
||||
<bezel element="text_5"><bounds x="84.9" y="37" width="2" height="2" /></bezel>
|
||||
<bezel element="text_4"><bounds x="84.9" y="47" width="2" height="2" /></bezel>
|
||||
<bezel element="text_3"><bounds x="84.9" y="57" width="2" height="2" /></bezel>
|
||||
<bezel element="text_2"><bounds x="84.9" y="67" width="2" height="2" /></bezel>
|
||||
<bezel element="text_1"><bounds x="84.9" y="77" width="2" height="2" /></bezel>
|
||||
|
||||
<bezel element="text_a"><bounds x="8" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_b"><bounds x="18" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_c"><bounds x="28" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_d"><bounds x="38" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_e"><bounds x="48" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_f"><bounds x="58" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_g"><bounds x="68" y="0" width="2" height="2" /></bezel>
|
||||
<bezel element="text_h"><bounds x="78" y="0" width="2" height="2" /></bezel>
|
||||
|
||||
<bezel element="text_a"><bounds x="8" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_b"><bounds x="18" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_c"><bounds x="28" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_d"><bounds x="38" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_e"><bounds x="48" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_f"><bounds x="58" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_g"><bounds x="68" y="84" width="2" height="2" /></bezel>
|
||||
<bezel element="text_h"><bounds x="78" y="84" width="2" height="2" /></bezel>
|
||||
|
||||
<!-- side leds/buttons -->
|
||||
|
||||
<bezel name="9.7" element="led2"><bounds x="1.35" y="5" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.6" element="led2"><bounds x="1.35" y="15" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.5" element="led2"><bounds x="1.35" y="25" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.4" element="led2"><bounds x="1.35" y="35" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.3" element="led2"><bounds x="1.35" y="45" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.2" element="led2"><bounds x="1.35" y="55" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.1" element="led2"><bounds x="1.35" y="65" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="9.0" element="led2"><bounds x="1.35" y="75" width="1.5" height="1.5" /></bezel>
|
||||
|
||||
<bezel name="0.7" element="led2"><bounds x="85.25" y="5" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.6" element="led2"><bounds x="85.25" y="15" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.5" element="led2"><bounds x="85.25" y="25" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.4" element="led2"><bounds x="85.25" y="35" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.3" element="led2"><bounds x="85.25" y="45" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.2" element="led2"><bounds x="85.25" y="55" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.1" element="led2"><bounds x="85.25" y="65" width="1.5" height="1.5" /></bezel>
|
||||
<bezel name="0.0" element="led2"><bounds x="85.25" y="75" width="1.5" height="1.5" /></bezel>
|
||||
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x80"><bounds x="1.05" y="9.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x40"><bounds x="1.05" y="19.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x20"><bounds x="1.05" y="29.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x10"><bounds x="1.05" y="39.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x08"><bounds x="1.05" y="49.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x04"><bounds x="1.05" y="59.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x02"><bounds x="1.05" y="69.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.1" inputmask="0x01"><bounds x="1.05" y="79.25" width="2" height="2" /></bezel>
|
||||
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x80"><bounds x="84.95" y="9.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x40"><bounds x="84.95" y="19.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x20"><bounds x="84.95" y="29.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x10"><bounds x="84.95" y="39.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x08"><bounds x="84.95" y="49.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x04"><bounds x="84.95" y="59.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x02"><bounds x="84.95" y="69.25" width="2" height="2" /></bezel>
|
||||
<bezel element="but" inputtag="IN.0" inputmask="0x01"><bounds x="84.95" y="79.25" width="2" height="2" /></bezel>
|
||||
|
||||
<!-- side labels -->
|
||||
|
||||
<bezel element="white"><bounds x="-2.2" y="7" width="2" height="2" /></bezel>
|
||||
<bezel element="black"><bounds x="-1.9" y="7.3" width="1.4" height="1.4" /></bezel>
|
||||
<bezel element="white"><bounds x="-2.2" y="17" width="2" height="2" /></bezel>
|
||||
|
||||
<bezel element="text_p1"><bounds x="-3.1" y="25.9" width="3.7" height="3.7" /></bezel>
|
||||
<bezel element="text_p2"><bounds x="-3.1" y="36.0" width="3.7" height="3.7" /></bezel>
|
||||
<bezel element="text_p3"><bounds x="-3.1" y="46.0" width="3.7" height="3.7" /></bezel>
|
||||
<bezel element="text_p4"><bounds x="-3.1" y="56.0" width="3.7" height="3.7" /></bezel>
|
||||
<bezel element="text_p5"><bounds x="-3.1" y="66.0" width="3.7" height="3.7" /></bezel>
|
||||
<bezel element="text_p6"><bounds x="-3.1" y="76.0" width="3.7" height="3.7" /></bezel>
|
||||
|
||||
<bezel element="whited"><bounds x="88.2" y="7.3" width="1.4" height="1.4" /></bezel>
|
||||
|
||||
<bezel element="text_ud"><bounds x="87.5" y="16.3" width="3" height="3" /></bezel>
|
||||
<bezel element="text_lr"><bounds x="87.5" y="26.3" width="3" height="3" /></bezel>
|
||||
<bezel element="text_ud"><bounds x="87.5" y="26.3" width="3" height="3" /></bezel>
|
||||
<bezel element="text_ss"><bounds x="87.5" y="36.5" width="3" height="3" /></bezel>
|
||||
<bezel element="text_q"><bounds x="87.5" y="46.5" width="3" height="3" /></bezel>
|
||||
|
||||
<bezel element="white"><bounds x="87.5" y="56.5" width="3" height="3" /></bezel>
|
||||
<bezel element="black"><bounds x="87.8" y="56.8" width="2.4" height="2.4" /></bezel>
|
||||
<bezel element="text_p6"><bounds x="87.7" y="56.65" width="2.6" height="2.6" /></bezel>
|
||||
|
||||
<bezel element="whited"><bounds x="87.5" y="66.5" width="3" height="3" /></bezel>
|
||||
<bezel element="text_stop"><bounds x="87.8" y="67.25" width="2.5" height="1.5" /></bezel>
|
||||
|
||||
<bezel element="whited"><bounds x="87.5" y="76.7" width="2.6" height="2.6" /></bezel>
|
||||
<bezel element="blackd"><bounds x="87.8" y="77.0" width="2.0" height="2.0" /></bezel>
|
||||
<bezel element="whited"><bounds x="90.3" y="78.7" width="0.6" height="0.6" /></bezel>
|
||||
|
||||
</view>
|
||||
</mamelayout>
|
@ -10502,6 +10502,9 @@ comquest // Comquest Plus German
|
||||
comx35n //
|
||||
comx35p //
|
||||
|
||||
@source:conchess.cpp
|
||||
concstd
|
||||
|
||||
@source:concept.cpp
|
||||
concept // 1982 Corvus Concept
|
||||
|
||||
|
@ -177,6 +177,7 @@ compuchess.cpp
|
||||
compucolor.cpp
|
||||
comquest.cpp
|
||||
comx35.cpp
|
||||
conchess.cpp
|
||||
concept.cpp
|
||||
controlid.cpp
|
||||
cortex.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user