New working machine added

---------
Constellation [hap, Berger]
This commit is contained in:
hap 2019-07-27 16:25:55 +02:00
parent 2032eb60a6
commit 62e74625d2
7 changed files with 889 additions and 45 deletions

View File

@ -2821,6 +2821,7 @@ files {
createMESSProjects(_target, _subtarget, "novag")
files {
MAME_DIR .. "src/mame/drivers/novag_cforte.cpp",
MAME_DIR .. "src/mame/drivers/novag_const.cpp",
MAME_DIR .. "src/mame/drivers/novag_diablo.cpp",
MAME_DIR .. "src/mame/drivers/novag_presto.cpp",
MAME_DIR .. "src/mame/drivers/novag_savant.cpp",

View File

@ -0,0 +1,259 @@
// license:BSD-3-Clause
// copyright-holders:hap
// thanks-to:Berger
/******************************************************************************
Novag Constellation (model 831)
It's the 1st Novag chess computer with David Kittinger's chess engine.
Hardware notes:
- MOS MPS6502A @ 2MHz
- 2KB RAM (daughterboard with 4*2114) battery-backed, 2*8KB ROM
- TTL, buzzer, 24 LEDs, 8*8 chessboard buttons
TODO:
- add 3.6MHz version, roms are the same, or label 845x? XTAL is probably a 3.57MHz,
but how is IRQ/beeper freq derived from it?
******************************************************************************/
#include "emu.h"
#include "cpu/m6502/m6502.h"
#include "machine/sensorboard.h"
#include "machine/nvram.h"
#include "machine/timer.h"
#include "sound/beep.h"
#include "video/pwm.h"
#include "speaker.h"
// internal artwork
#include "novag_const.lh" // clickable
namespace {
class const_state : public driver_device
{
public:
const_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_board(*this, "board"),
m_display(*this, "display"),
m_beeper(*this, "beeper"),
m_inputs(*this, "IN.%u", 0)
{ }
// machine drivers
void constellation(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<sensorboard_device> m_board;
required_device<pwm_display_device> m_display;
required_device<beep_device> m_beeper;
required_ioport_array<8> 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
void update_display();
DECLARE_WRITE8_MEMBER(mux_w);
DECLARE_WRITE8_MEMBER(control_w);
DECLARE_READ8_MEMBER(input1_r);
DECLARE_READ8_MEMBER(input2_r);
u8 m_inp_mux;
u8 m_led_select;
};
void const_state::machine_start()
{
// zerofill
m_inp_mux = 0;
m_led_select = 0;
// register for savestates
save_item(NAME(m_inp_mux));
save_item(NAME(m_led_select));
}
/******************************************************************************
I/O
******************************************************************************/
// TTL
void const_state::update_display()
{
m_display->matrix(m_led_select, m_inp_mux);
}
WRITE8_MEMBER(const_state::mux_w)
{
// d0-d7: input mux, led data
m_inp_mux = data;
update_display();
}
WRITE8_MEMBER(const_state::control_w)
{
// d0-d3: ?
// d4-d6: select led row
m_led_select = data >> 4 & 7;
update_display();
// d7: enable beeper
m_beeper->set_state(data >> 7 & 1);
}
READ8_MEMBER(const_state::input1_r)
{
u8 data = 0;
// d0-d7: multiplexed inputs (chessboard squares)
for (int i = 0; i < 8; i++)
if (BIT(m_inp_mux, i))
data |= m_board->read_rank(i ^ 7, true);
return ~data;
}
READ8_MEMBER(const_state::input2_r)
{
u8 data = 0;
// d0-d5: ?
// d6,d7: multiplexed inputs (side panel)
for (int i = 0; i < 8; i++)
if (BIT(m_inp_mux, i))
data |= m_inputs[i]->read() << 6;
return ~data;
}
/******************************************************************************
Address Maps
******************************************************************************/
void const_state::main_map(address_map &map)
{
map.unmap_value_high();
map(0x0000, 0x07ff).ram().share("nvram");
map(0x6000, 0x6000).rw(FUNC(const_state::input2_r), FUNC(const_state::mux_w));
map(0x8000, 0x8000).rw(FUNC(const_state::input1_r), FUNC(const_state::control_w));
map(0xa000, 0xbfff).rom();
map(0xc000, 0xdfff).unmapr(); // checks for bookrom but doesn't have any
map(0xe000, 0xffff).rom();
}
/******************************************************************************
Input Ports
******************************************************************************/
static INPUT_PORTS_START( constellation )
PORT_START("IN.0")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_I) PORT_NAME("New Game")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) PORT_NAME("Multi Move / Player/Player / King")
PORT_START("IN.1")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_U) PORT_NAME("Verify / Set Up")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_NAME("Best Move / Random / Queen")
PORT_START("IN.2")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Y) PORT_NAME("Change Color")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_NAME("Sound / Bishop")
PORT_START("IN.3")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_T) PORT_NAME("Clear Board")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_NAME("Solve Mate / Knight")
PORT_START("IN.4")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_UNUSED)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_NAME("Rook")
PORT_START("IN.5")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_UNUSED)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_NAME("Pawn")
PORT_START("IN.6")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) PORT_NAME("Hint / Show Moves")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_NAME("Set Level")
PORT_START("IN.7")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Q) PORT_NAME("Go")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_NAME("Take Back")
INPUT_PORTS_END
/******************************************************************************
Machine Drivers
******************************************************************************/
void const_state::constellation(machine_config &config)
{
/* basic machine hardware */
M6502(config, m_maincpu, 2_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &const_state::main_map);
const attotime irq_period = attotime::from_hz(2_MHz_XTAL / 0x2000); // through 4020 IC, ~244Hz
TIMER(config, m_irq_on).configure_periodic(FUNC(const_state::irq_on<M6502_IRQ_LINE>), irq_period);
m_irq_on->set_start_delay(irq_period - attotime::from_nsec(1020)); // active for ?us (assume same as supercon)
TIMER(config, "irq_off").configure_periodic(FUNC(const_state::irq_off<M6502_IRQ_LINE>), irq_period);
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
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_display).set_size(3, 8);
config.set_default_layout(layout_novag_const);
/* sound hardware */
SPEAKER(config, "mono").front_center();
BEEP(config, m_beeper, 2_MHz_XTAL / 0x800); // ~976Hz
m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25);
}
/******************************************************************************
ROM Definitions
******************************************************************************/
ROM_START( const )
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD("8315_white", 0xa000, 0x2000, CRC(76e6c97b) SHA1(55645e08f9f1258366c29a4ea2033bb86d860227) ) // TMM2364P
ROM_LOAD("8314_orange", 0xe000, 0x2000, CRC(89395a86) SHA1(4807f196fec70abdaabff5bfc479a64d5cf2b0ad) ) // "
ROM_END
} // anonymous namespace
/******************************************************************************
Drivers
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
CONS( 1983, const, 0, 0, constellation, constellation, const_state, empty_init, "Novag", "Constellation", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -2,7 +2,7 @@
// copyright-holders:hap
/******************************************************************************
Novag Super Constellation Chess Computer (model 844)
Novag Super Constellation (model 844)
Hardware notes:
- UMC UM6502C @ 4 MHz (8MHz XTAL)
@ -10,6 +10,9 @@ Hardware notes:
- TTL, buzzer, 24 LEDs, 8*8 chessboard buttons
- external ports for clock and printer, not emulated here
I/O is nearly identical to Constellation (novag_const.cpp), the main difference
is additional outputs to external ports.
******************************************************************************/
#include "emu.h"
@ -41,7 +44,7 @@ public:
{ }
// machine drivers
void scon(machine_config &config);
void sconst(machine_config &config);
protected:
virtual void machine_start() override;
@ -162,7 +165,7 @@ void sconst_state::main_map(address_map &map)
Input Ports
******************************************************************************/
static INPUT_PORTS_START( scon )
static INPUT_PORTS_START( sconst )
PORT_START("IN.0")
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_I) PORT_NAME("New Game")
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) PORT_NAME("Multi Move / Player/Player / King")
@ -202,7 +205,7 @@ INPUT_PORTS_END
Machine Drivers
******************************************************************************/
void sconst_state::scon(machine_config &config)
void sconst_state::sconst(machine_config &config)
{
/* basic machine hardware */
M6502(config, m_maincpu, 8_MHz_XTAL/2); // UM6502C
@ -249,5 +252,5 @@ ROM_END
Drivers
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
CONS( 1984, supercon, 0, 0, scon, scon, sconst_state, empty_init, "Novag", "Super Constellation", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
CONS( 1984, supercon, 0, 0, sconst, sconst, sconst_state, empty_init, "Novag", "Super Constellation", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )

View File

@ -0,0 +1,577 @@
<?xml version="1.0"?>
<mamelayout version="2">
<!-- define elements -->
<element name="red"><rect><color red="0.75" green="0.25" blue="0.05" /></rect></element>
<element name="ledr" defstate="0">
<rect state="1"><color red="1.0" green="0.1" blue="0.15" /></rect>
<rect state="0"><color red="0.17" green="0.015" blue="0.02" /></rect>
</element>
<element name="ledg" defstate="0">
<rect state="1"><color red="0.1" green="0.95" blue="0.05" /></rect>
<rect state="0"><color red="0.015" green="0.16" blue="0.01" /></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.2466" y="0.12" width="0.5066" height="0.76" />
<color red="1.0" green="1.0" blue="1.0" />
</disk>
</element>
<element name="text_1"><text string="1"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_2"><text string="2"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_3"><text string="3"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_4"><text string="4"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_5"><text string="5"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_6"><text string="6"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_7"><text string="7"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_8"><text string="8"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_a"><text string="A"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_b"><text string="B"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_c"><text string="C"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_d"><text string="D"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_e"><text string="E"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_f"><text string="F"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_g"><text string="G"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_h"><text string="H"><color red="0.9" green="0.9" blue="0.9" /></text></element>
<element name="text_rg0"><text string="Error"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg1"><text string="Verify"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg2"><text string="Set Up"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg3"><text string="Check"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg4"><text string="Mate"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg5"><text string="Draw"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg6"><text string="Black"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rg7"><text string="White"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_king1"><text string="[K]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_queen1"><text string="[Q]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_rook1"><text string="[R]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_bishop1"><text string="[B]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_knight1"><text string="[N]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_pawn1"><text string="[P]"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_king2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[K]"><color red="0.5" green="0.37" blue="0.3" /></text>
</element>
<element name="text_queen2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[Q]"><color red="0.5" green="0.37" blue="0.3" /></text>
</element>
<element name="text_rook2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[R]"><color red="0.5" green="0.37" blue="0.3" /></text>
</element>
<element name="text_bishop2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[B]"><color red="0.5" green="0.37" blue="0.3" /></text>
</element>
<element name="text_knight2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[N]"><color red="0.5" green="0.37" blue="0.3" /></text>
</element>
<element name="text_pawn2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="[P]"><color red="0.5" green="0.37" blue="0.3" /></text>
</element>
<element name="text_rb01a">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Multi Move"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb01b">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Player / Player"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb02a">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Best Move"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb02b">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Random"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb03">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Sound"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb07">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Set Level"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb08">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Take Back"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb11">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="New Game"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb12a">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Verify"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb12b">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Set Up"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb13">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Change Color"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb14">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Clear Board"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb17a">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Hint"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb17b">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Show Moves"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_rb18">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="Go"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<element name="text_setup">
<rect><color red="0.5" green="0.37" blue="0.3" /></rect>
<text string="SET UP"><color red="0.81" green="0.8" blue="0.79" /></text>
</element>
<!-- sb board -->
<element name="cblack"><rect><color red="0.5" green="0.37" blue="0.3" /></rect></element>
<element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
<element name="hlbb" defstate="0">
<text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
<disk state="1">
<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
<color red="0" green="0" blue="0" />
</disk>
</element>
<element name="piece" defstate="0">
<image file="chess/wp.png" state="1"/>
<image file="chess/wn.png" state="2"/>
<image file="chess/wb.png" state="3"/>
<image file="chess/wr.png" state="4"/>
<image file="chess/wq.png" state="5"/>
<image file="chess/wk.png" state="6"/>
<image file="chess/bp.png" state="7"/>
<image file="chess/bn.png" state="8"/>
<image file="chess/bb.png" state="9"/>
<image file="chess/br.png" state="10"/>
<image file="chess/bq.png" state="11"/>
<image file="chess/bk.png" state="12"/>
<!-- selected pieces -->
<image file="chess/wp.png" state="13"><color alpha="0.5" /></image>
<image file="chess/wn.png" state="14"><color alpha="0.5" /></image>
<image file="chess/wb.png" state="15"><color alpha="0.5" /></image>
<image file="chess/wr.png" state="16"><color alpha="0.5" /></image>
<image file="chess/wq.png" state="17"><color alpha="0.5" /></image>
<image file="chess/wk.png" state="18"><color alpha="0.5" /></image>
<image file="chess/bp.png" state="19"><color alpha="0.5" /></image>
<image file="chess/bn.png" state="20"><color alpha="0.5" /></image>
<image file="chess/bb.png" state="21"><color alpha="0.5" /></image>
<image file="chess/br.png" state="22"><color alpha="0.5" /></image>
<image file="chess/bq.png" state="23"><color alpha="0.5" /></image>
<image file="chess/bk.png" state="24"><color alpha="0.5" /></image>
</element>
<group name="sb_board">
<bounds x="0" y="0" width="80" height="80" />
<!-- squares (avoid seams) -->
<bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel>
<bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel>
<bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel>
<bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel>
<bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel>
<bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel>
<bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel>
<!-- sensors, pieces -->
<repeat count="8">
<param name="y" start="0" increment="10" />
<param name="i" start="8" increment="-1" />
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
<bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel>
<bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel>
</repeat>
</group>
<!-- sb ui -->
<element name="hlub" defstate="0">
<rect state="1"><color red="0" green="0" blue="0" /></rect>
</element>
<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uib2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uib3">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uih2">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uiu2a">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2b">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2c">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu2d">
<rect><color red="0.81" green="0.8" blue="0.79" /></rect>
<text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
</element>
<element name="text_uiu3a" defstate="0">
<simplecounter maxstate="999" digits="1" align="2">
<color red="0.81" green="0.8" blue="0.79" />
</simplecounter>
</element>
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
<element name="text_uiu3c" defstate="0">
<simplecounter maxstate="999" digits="1" align="1">
<color red="0.81" green="0.8" blue="0.79" />
</simplecounter>
</element>
<group name="sb_ui">
<bounds x="0" y="0" width="10" height="80" />
<bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel>
<bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel>
<bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel>
<bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel>
<bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel>
<!-- board -->
<bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel>
<bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel>
<bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel>
<bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<!-- spawn -->
<bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel>
<bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel>
<bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel>
<bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel>
<bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel>
<bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel>
<bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel>
<bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel>
<bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel>
<bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel>
<bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel>
<bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel>
<bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel>
<bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
<!-- hand -->
<bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel>
<bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel>
<bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel>
<bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel>
<bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
<!-- undo -->
<bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel>
<bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel>
<bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
<bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel>
<bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel>
<bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel>
</group>
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-12.5" right="114" top="-0.5" bottom="88.5" />
<bezel element="cblack"><bounds x="3.5" y="2.5" width="102.5" height="81" /></bezel>
<group ref="sb_board"><bounds x="4" y="3" width="80" height="80" /></group>
<bezel element="cwhite"><bounds x="83.95" y="2.5" width="1" height="81" /></bezel>
<group ref="sb_ui"><bounds x="-11" y="3" width="10" height="80" /></group>
<!-- chessboard coords -->
<bezel element="text_8"><bounds x="0.7" y="5" width="2" height="2" /></bezel>
<bezel element="text_7"><bounds x="0.7" y="15" width="2" height="2" /></bezel>
<bezel element="text_6"><bounds x="0.7" y="25" width="2" height="2" /></bezel>
<bezel element="text_5"><bounds x="0.7" y="35" width="2" height="2" /></bezel>
<bezel element="text_4"><bounds x="0.7" y="45" width="2" height="2" /></bezel>
<bezel element="text_3"><bounds x="0.7" y="55" width="2" height="2" /></bezel>
<bezel element="text_2"><bounds x="0.7" y="65" width="2" height="2" /></bezel>
<bezel element="text_1"><bounds x="0.7" y="75" width="2" height="2" /></bezel>
<bezel element="text_a"><bounds x="6" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_b"><bounds x="16" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_c"><bounds x="26" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_d"><bounds x="36" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_e"><bounds x="46" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_f"><bounds x="56" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_g"><bounds x="66" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_h"><bounds x="76" y="84.75" width="2" height="2" /></bezel>
<!-- chessboard leds -->
<bezel name="1.0" element="ledr"><bounds x="0.5" y="7.5" width="2" height="1" /></bezel>
<bezel name="1.1" element="ledr"><bounds x="0.5" y="17.5" width="2" height="1" /></bezel>
<bezel name="1.2" element="ledr"><bounds x="0.5" y="27.5" width="2" height="1" /></bezel>
<bezel name="1.3" element="ledr"><bounds x="0.5" y="37.5" width="2" height="1" /></bezel>
<bezel name="1.4" element="ledr"><bounds x="0.5" y="47.5" width="2" height="1" /></bezel>
<bezel name="1.5" element="ledr"><bounds x="0.5" y="57.5" width="2" height="1" /></bezel>
<bezel name="1.6" element="ledr"><bounds x="0.5" y="67.5" width="2" height="1" /></bezel>
<bezel name="1.7" element="ledr"><bounds x="0.5" y="77.5" width="2" height="1" /></bezel>
<bezel name="2.0" element="ledr"><bounds x="8.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.1" element="ledr"><bounds x="18.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.2" element="ledr"><bounds x="28.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.3" element="ledr"><bounds x="38.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.4" element="ledr"><bounds x="48.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.5" element="ledr"><bounds x="58.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.6" element="ledr"><bounds x="68.5" y="84.5" width="1" height="2" /></bezel>
<bezel name="2.7" element="ledr"><bounds x="78.5" y="84.5" width="1" height="2" /></bezel>
<!-- right side buttons -->
<bezel element="cwhite"><bounds x="95.333" y="12.5" width="9.333" height="29" /></bezel>
<bezel element="cblack"><bounds x="95.533" y="12.7" width="8.933" height="28.6" /></bezel>
<bezel element="text_setup"><bounds x="96.5" y="11.8" width="7" height="1.5" /></bezel>
<bezel element="text_rb01a"><bounds x="86" y="4.2" width="10" height="1.5" /></bezel>
<bezel element="text_rb01b"><bounds x="86" y="10.3" width="10" height="1.5" /></bezel>
<bezel element="text_rb02a"><bounds x="87" y="14.2" width="8" height="1.5" /></bezel>
<bezel element="text_rb02b"><bounds x="87" y="20.3" width="8" height="1.5" /></bezel>
<bezel element="text_rb03"><bounds x="87" y="24.2" width="8" height="1.5" /></bezel>
<bezel element="text_rb07"><bounds x="86" y="64.2" width="10" height="1.5" /></bezel>
<bezel element="text_rb08"><bounds x="86" y="74.2" width="10" height="1.5" /></bezel>
<bezel element="text_rb11"><bounds x="95.5" y="4.2" width="9" height="1.5" /></bezel>
<bezel element="text_rb12a"><bounds x="96" y="14.2" width="8" height="1.5" /></bezel>
<bezel element="text_rb12b"><bounds x="96" y="20.3" width="8" height="1.5" /></bezel>
<bezel element="text_rb13"><bounds x="96" y="24.2" width="8" height="1.5" /></bezel>
<bezel element="text_rb14"><bounds x="96" y="34.2" width="8" height="1.5" /></bezel>
<bezel element="text_rb17a"><bounds x="95.5" y="64.2" width="9" height="1.5" /></bezel>
<bezel element="text_rb17b"><bounds x="95.5" y="70.3" width="9" height="1.5" /></bezel>
<bezel element="text_rb18"><bounds x="95.5" y="74.2" width="9" height="1.5" /></bezel>
<bezel element="cwhite"><bounds x="88" y="6" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="16" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="26" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="36" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="46" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="56" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="66" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="88" y="76" width="6" height="4" /></bezel>
<bezel element="text_king2"><bounds x="88" y="6.7" width="6" height="2.2" /></bezel>
<bezel element="text_queen2"><bounds x="88" y="16.7" width="6" height="2.2" /></bezel>
<bezel element="text_bishop2"><bounds x="88" y="26.7" width="6" height="2.2" /></bezel>
<bezel element="text_knight2"><bounds x="88" y="36.7" width="6" height="2.2" /></bezel>
<bezel element="text_rook2"><bounds x="88" y="46.7" width="6" height="2.2" /></bezel>
<bezel element="text_pawn2"><bounds x="88" y="56.7" width="6" height="2.2" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x02"><bounds x="88" y="6" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.1" inputmask="0x02"><bounds x="88" y="16" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.2" inputmask="0x02"><bounds x="88" y="26" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.3" inputmask="0x02"><bounds x="88" y="36" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.4" inputmask="0x02"><bounds x="88" y="46" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.5" inputmask="0x02"><bounds x="88" y="56" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.6" inputmask="0x02"><bounds x="88" y="66" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.7" inputmask="0x02"><bounds x="88" y="76" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="cwhite"><bounds x="97" y="6" width="6" height="4" /></bezel>
<bezel element="red"><bounds x="97.15" y="6.15" width="5.7" height="3.7" /></bezel>
<bezel element="cwhite"><bounds x="97" y="16" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="97" y="26" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="97" y="36" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="97" y="66" width="6" height="4" /></bezel>
<bezel element="cwhite"><bounds x="97" y="76" width="6" height="4" /></bezel>
<bezel element="red"><bounds x="97.15" y="76.15" width="5.7" height="3.7" /></bezel>
<bezel element="hlb" inputtag="IN.0" inputmask="0x01"><bounds x="97" y="6" width="6" height="4" /><color alpha="0.25" /></bezel>
<bezel element="hlb" inputtag="IN.1" inputmask="0x01"><bounds x="97" y="16" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.2" inputmask="0x01"><bounds x="97" y="26" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.3" inputmask="0x01"><bounds x="97" y="36" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.6" inputmask="0x01"><bounds x="97" y="66" width="6" height="4" /><color alpha="0.4" /></bezel>
<bezel element="hlb" inputtag="IN.7" inputmask="0x01"><bounds x="97" y="76" width="6" height="4" /><color alpha="0.25" /></bezel>
<!-- right side leds -->
<bezel element="text_rg0"><bounds x="105" y="5.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg1"><bounds x="105" y="15.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg2"><bounds x="105" y="25.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg3"><bounds x="105" y="35.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg4"><bounds x="105" y="45.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg5"><bounds x="105" y="55.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg6"><bounds x="105" y="65.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg7"><bounds x="105" y="75.7" width="10" height="1.5" /></bezel>
<bezel element="text_king1"><bounds x="105.2" y="8.7" width="10" height="1.5" /></bezel>
<bezel element="text_queen1"><bounds x="105.2" y="18.7" width="10" height="1.5" /></bezel>
<bezel element="text_bishop1"><bounds x="105.2" y="28.7" width="10" height="1.5" /></bezel>
<bezel element="text_knight1"><bounds x="105.2" y="38.7" width="10" height="1.5" /></bezel>
<bezel element="text_rook1"><bounds x="105.2" y="48.7" width="10" height="1.5" /></bezel>
<bezel element="text_pawn1"><bounds x="105.2" y="58.7" width="10" height="1.5" /></bezel>
<bezel name="0.0" element="ledg"><bounds x="109" y="7.5" width="2" height="1" /></bezel>
<bezel name="0.1" element="ledg"><bounds x="109" y="17.5" width="2" height="1" /></bezel>
<bezel name="0.2" element="ledg"><bounds x="109" y="27.5" width="2" height="1" /></bezel>
<bezel name="0.3" element="ledg"><bounds x="109" y="37.5" width="2" height="1" /></bezel>
<bezel name="0.4" element="ledg"><bounds x="109" y="47.5" width="2" height="1" /></bezel>
<bezel name="0.5" element="ledg"><bounds x="109" y="57.5" width="2" height="1" /></bezel>
<bezel name="0.6" element="ledg"><bounds x="109" y="67.5" width="2" height="1" /></bezel>
<bezel name="0.7" element="ledg"><bounds x="109" y="77.5" width="2" height="1" /></bezel>
</view>
</mamelayout>

View File

@ -427,17 +427,17 @@
<!-- build screen -->
<view name="Internal Layout">
<bounds left="-19.5" right="118" top="-1.5" bottom="89.5" />
<bounds left="-19.5" right="116" top="-0.5" bottom="88.5" />
<bezel element="cblack"><bounds x="2.5" y="2.5" width="80.5" height="81" /></bezel>
<group ref="sb_board"><bounds x="3" y="3" width="80" height="80" /></group>
<bezel element="cwhite"><bounds x="82.99" y="2.5" width="1" height="81" /></bezel>
<bezel element="cwhite"><bounds x="82.95" y="2.5" width="1" height="81" /></bezel>
<!-- left side labels -->
<bezel element="white"><bounds x="-5.5" y="9.833" width="2.2" height="30.333" /></bezel>
<bezel element="static_black"><bounds x="-5.166" y="10.166" width="2.2" height="29.666" /></bezel>
<bezel element="text_depth"><bounds x="-4.5" y="9.833" width="2" height="30.333" /><orientation rotate="90" /></bezel>
<bezel element="white"><bounds x="-5.5" y="5.833" width="2.2" height="30.333" /></bezel>
<bezel element="static_black"><bounds x="-5.166" y="6.166" width="2.2" height="29.666" /></bezel>
<bezel element="text_depth"><bounds x="-4.5" y="5.833" width="2" height="30.333" /><orientation rotate="90" /></bezel>
<bezel element="white"><bounds x="-5.5" y="47.833" width="4" height="30.333" /></bezel>
<bezel element="static_black"><bounds x="-5.166" y="48.166" width="4" height="29.666" /></bezel>
@ -447,19 +447,19 @@
<!-- chessboard coords -->
<bezel element="text_8"><bounds x="-0.3" y="9" width="2" height="2" /></bezel>
<bezel element="text_7"><bounds x="-0.3" y="19" width="2" height="2" /></bezel>
<bezel element="text_6"><bounds x="-0.3" y="29" width="2" height="2" /></bezel>
<bezel element="text_5"><bounds x="-0.3" y="39" width="2" height="2" /></bezel>
<bezel element="text_4"><bounds x="-0.3" y="49" width="2" height="2" /></bezel>
<bezel element="text_3"><bounds x="-0.3" y="59" width="2" height="2" /></bezel>
<bezel element="text_2"><bounds x="-0.3" y="69" width="2" height="2" /></bezel>
<bezel element="text_1"><bounds x="-0.3" y="79" width="2" height="2" /></bezel>
<bezel element="text_8"><bounds x="-0.3" y="5" width="2" height="2" /></bezel>
<bezel element="text_7"><bounds x="-0.3" y="15" width="2" height="2" /></bezel>
<bezel element="text_6"><bounds x="-0.3" y="25" width="2" height="2" /></bezel>
<bezel element="text_5"><bounds x="-0.3" y="35" width="2" height="2" /></bezel>
<bezel element="text_4"><bounds x="-0.3" y="45" width="2" height="2" /></bezel>
<bezel element="text_3"><bounds x="-0.3" y="55" width="2" height="2" /></bezel>
<bezel element="text_2"><bounds x="-0.3" y="65" width="2" height="2" /></bezel>
<bezel element="text_1"><bounds x="-0.3" y="75" width="2" height="2" /></bezel>
<bezel element="text_l1"><bounds x="-2.3" y="9" width="2" height="2" /></bezel>
<bezel element="text_l2"><bounds x="-2.3" y="19" width="2" height="2" /></bezel>
<bezel element="text_l4"><bounds x="-2.3" y="29" width="2" height="2" /></bezel>
<bezel element="text_l8"><bounds x="-2.3" y="39" width="2" height="2" /></bezel>
<bezel element="text_l1"><bounds x="-2.3" y="5" width="2" height="2" /></bezel>
<bezel element="text_l2"><bounds x="-2.3" y="15" width="2" height="2" /></bezel>
<bezel element="text_l4"><bounds x="-2.3" y="25" width="2" height="2" /></bezel>
<bezel element="text_l8"><bounds x="-2.3" y="35" width="2" height="2" /></bezel>
<bezel element="text_a"><bounds x="5" y="84.75" width="2" height="2" /></bezel>
<bezel element="text_b"><bounds x="15" y="84.75" width="2" height="2" /></bezel>
@ -573,30 +573,30 @@
<bezel element="black"><bounds x="107" y="2.5" width="1" height="81" /></bezel>
<bezel element="text_rg0"><bounds x="108" y="5.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg1"><bounds x="108" y="15.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg2"><bounds x="108" y="25.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg3"><bounds x="108" y="35.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg4"><bounds x="108" y="45.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg5"><bounds x="108" y="55.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg6"><bounds x="108" y="65.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg7"><bounds x="108" y="75.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg0"><bounds x="107" y="5.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg1"><bounds x="107" y="15.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg2"><bounds x="107" y="25.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg3"><bounds x="107" y="35.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg4"><bounds x="107" y="45.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg5"><bounds x="107" y="55.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg6"><bounds x="107" y="65.7" width="10" height="1.5" /></bezel>
<bezel element="text_rg7"><bounds x="107" y="75.7" width="10" height="1.5" /></bezel>
<bezel element="text_king1"><bounds x="108.2" y="8.7" width="10" height="1.5" /></bezel>
<bezel element="text_queen1"><bounds x="108.2" y="18.7" width="10" height="1.5" /></bezel>
<bezel element="text_bishop1"><bounds x="108.2" y="28.7" width="10" height="1.5" /></bezel>
<bezel element="text_knight1"><bounds x="108.2" y="38.7" width="10" height="1.5" /></bezel>
<bezel element="text_rook1"><bounds x="108.2" y="48.7" width="10" height="1.5" /></bezel>
<bezel element="text_pawn1"><bounds x="108.2" y="58.7" width="10" height="1.5" /></bezel>
<bezel element="text_king1"><bounds x="107.2" y="8.7" width="10" height="1.5" /></bezel>
<bezel element="text_queen1"><bounds x="107.2" y="18.7" width="10" height="1.5" /></bezel>
<bezel element="text_bishop1"><bounds x="107.2" y="28.7" width="10" height="1.5" /></bezel>
<bezel element="text_knight1"><bounds x="107.2" y="38.7" width="10" height="1.5" /></bezel>
<bezel element="text_rook1"><bounds x="107.2" y="48.7" width="10" height="1.5" /></bezel>
<bezel element="text_pawn1"><bounds x="107.2" y="58.7" width="10" height="1.5" /></bezel>
<bezel name="0.0" element="ledg"><bounds x="112" y="7.5" width="2" height="1" /></bezel>
<bezel name="0.1" element="ledg"><bounds x="112" y="17.5" width="2" height="1" /></bezel>
<bezel name="0.2" element="ledg"><bounds x="112" y="27.5" width="2" height="1" /></bezel>
<bezel name="0.3" element="ledg"><bounds x="112" y="37.5" width="2" height="1" /></bezel>
<bezel name="0.4" element="ledg"><bounds x="112" y="47.5" width="2" height="1" /></bezel>
<bezel name="0.5" element="ledg"><bounds x="112" y="57.5" width="2" height="1" /></bezel>
<bezel name="0.6" element="ledg"><bounds x="112" y="67.5" width="2" height="1" /></bezel>
<bezel name="0.7" element="ledg"><bounds x="112" y="77.5" width="2" height="1" /></bezel>
<bezel name="0.0" element="ledg"><bounds x="111" y="7.5" width="2" height="1" /></bezel>
<bezel name="0.1" element="ledg"><bounds x="111" y="17.5" width="2" height="1" /></bezel>
<bezel name="0.2" element="ledg"><bounds x="111" y="27.5" width="2" height="1" /></bezel>
<bezel name="0.3" element="ledg"><bounds x="111" y="37.5" width="2" height="1" /></bezel>
<bezel name="0.4" element="ledg"><bounds x="111" y="47.5" width="2" height="1" /></bezel>
<bezel name="0.5" element="ledg"><bounds x="111" y="57.5" width="2" height="1" /></bezel>
<bezel name="0.6" element="ledg"><bounds x="111" y="67.5" width="2" height="1" /></bezel>
<bezel name="0.7" element="ledg"><bounds x="111" y="77.5" width="2" height="1" /></bezel>
</view>
</mamelayout>

View File

@ -31018,6 +31018,9 @@ raiders5t // UPL-85004 (c) 1985 Taito license
cfortea //
cforteb //
@source:novag_const.cpp
const //
@source:novag_diablo.cpp
diablo68 //
scorpio68 //

View File

@ -548,6 +548,7 @@ ngp.cpp
nokia_3310.cpp
notetaker.cpp
novag_cforte.cpp
novag_const.cpp
novag_diablo.cpp
novag_presto.cpp
novag_savant.cpp