summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatarGravatar hap <happppp@users.noreply.github.com>2019-09-01 21:47:30 +0200
committerGravatarGravatar hap <happppp@users.noreply.github.com>2019-09-01 21:47:51 +0200
commit1826db774e951576e3a1630c498a9772d7ce18d7 (patch)
tree5b9c9a43bb7026430660d2ddf9811e69e6c892e3
parentdbfbed0d3ab9c829c6b235877487829f487da685 (diff)
New working machines
-------------------- Super Sensor IV [hap, Berger, Achim]
-rw-r--r--scripts/target/mame/mess.lua1
-rw-r--r--src/mame/drivers/mephisto_brikett.cpp5
-rw-r--r--src/mame/drivers/novag_const.cpp170
-rw-r--r--src/mame/drivers/novag_sconst.cpp256
-rw-r--r--src/mame/layout/mephisto_esb2.lay643
-rw-r--r--src/mame/layout/novag_ssensor4.lay572
-rw-r--r--src/mame/layout/novag_supercon.lay4
-rw-r--r--src/mame/mame.lst7
-rw-r--r--src/mame/mess.flt1
9 files changed, 1375 insertions, 284 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index e20afa9c1ce..efbc38eb6cd 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -2847,7 +2847,6 @@ files {
MAME_DIR .. "src/mame/drivers/novag_diablo.cpp",
MAME_DIR .. "src/mame/drivers/novag_presto.cpp",
MAME_DIR .. "src/mame/drivers/novag_savant.cpp",
- MAME_DIR .. "src/mame/drivers/novag_sconst.cpp",
MAME_DIR .. "src/mame/drivers/novag_sexpert.cpp",
}
diff --git a/src/mame/drivers/mephisto_brikett.cpp b/src/mame/drivers/mephisto_brikett.cpp
index dd76de605da..862d6dd3be8 100644
--- a/src/mame/drivers/mephisto_brikett.cpp
+++ b/src/mame/drivers/mephisto_brikett.cpp
@@ -68,6 +68,7 @@ is completely different, based on a 68000.
// internal artwork
#include "mephisto_1.lh" // clickable
+#include "mephisto_esb2.lh" // clickable
#include "mephisto_3.lh" // clickable
@@ -461,7 +462,7 @@ void brikett_state::mephisto2e(machine_config &config)
m_board->set_delay(attotime::from_msec(250));
m_display->set_size(4+8, 8);
- config.set_default_layout(layout_mephisto_3);
+ config.set_default_layout(layout_mephisto_esb2);
}
void brikett_state::mephisto3(machine_config &config)
@@ -472,6 +473,8 @@ void brikett_state::mephisto3(machine_config &config)
m_maincpu->set_clock(6.144_MHz_XTAL);
m_maincpu->set_addrmap(AS_PROGRAM, &brikett_state::mephisto3_map);
m_maincpu->q_cb().set(FUNC(brikett_state::q_w));
+
+ config.set_default_layout(layout_mephisto_3);
}
diff --git a/src/mame/drivers/novag_const.cpp b/src/mame/drivers/novag_const.cpp
index 59262a1f56e..8fb8cc41cda 100644
--- a/src/mame/drivers/novag_const.cpp
+++ b/src/mame/drivers/novag_const.cpp
@@ -3,20 +3,47 @@
// thanks-to:Berger
/******************************************************************************
+Novag Super Sensor IV (model 812)
Novag Constellation (model 831)
+Novag Super Constellation (model 844)
-Hardware notes (1st version):
+The chess engine is by David Kittinger, Super Sensor IV is his first one
+working under Novag. The Constellation engine is completely different.
+
+Hardware notes:
+
+They are all on very similar hardware.
+The more expensive chesscomputers have battery-backed RAM and support for
+printer and chessclock peripherals.
+
+Constellation:
- MOS MPS6502A @ 2MHz
- 2KB RAM (daughterboard with 4*2114), 2*8KB ROM
- TTL, buzzer, 24 LEDs, 8*8 chessboard buttons
-3.6MHz version:
+Constellation 3.6MHz:
- G65SC02P-3 @ 3.6MHz (7.2MHz XTAL)
- 2KB RAM (TC5516AP), 16KB ROM (custom label, assumed TMM23128)
- PCB supports "Memory Save", but components aren't installed
+Super Sensor IV:
+- MOS MPS6502A @ 2MHz
+- 1KB battery-backed RAM (2*TC5514AP-3)
+- 8KB ROM (TMM2364P)
+- 2 ROM sockets unpopulated
+
+Sensor Dynamic's ROM is identical to Super Sensor IV, the hardware is basically
+a low-budget version of it with peripheral ports removed.
+
+Super Constellation:
+- UMC UM6502C @ 4 MHz (8MHz XTAL)
+- 4KB battery-backed RAM (2*TC5516APL-2)
+- 2*32KB ROM custom label
+
TODO:
-- add Quattro version, another small update, this time 4MHz
+- ssensor4 nvram doesn't work, at boot it always starts a new game
+- is Dynamic S a program update of ssensor4 or identical?
+- add Constellation Quattro version, another small update, this time 4MHz
******************************************************************************/
@@ -24,6 +51,7 @@ TODO:
#include "cpu/m6502/m6502.h"
#include "cpu/m6502/m65sc02.h"
#include "machine/sensorboard.h"
+#include "machine/nvram.h"
#include "machine/timer.h"
#include "sound/beep.h"
#include "video/pwm.h"
@@ -31,6 +59,8 @@ TODO:
// internal artwork
#include "novag_const.lh" // clickable
+#include "novag_ssensor4.lh" // clickable
+#include "novag_supercon.lh" // clickable
namespace {
@@ -51,6 +81,10 @@ public:
// machine drivers
void nconst(machine_config &config);
void nconst36(machine_config &config);
+ void ssensor4(machine_config &config);
+ void sconst(machine_config &config);
+
+ void init_const();
protected:
virtual void machine_start() override;
@@ -66,7 +100,8 @@ private:
// address maps
void const_map(address_map &map);
- void const36_map(address_map &map);
+ void ssensor4_map(address_map &map);
+ void sconst_map(address_map &map);
// periodic interrupts
template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(irq_on) { m_maincpu->set_input_line(Line, ASSERT_LINE); }
@@ -92,7 +127,10 @@ void const_state::machine_start()
// register for savestates
save_item(NAME(m_inp_mux));
save_item(NAME(m_led_select));
+}
+void const_state::init_const()
+{
// game relies on RAM filled with FF at power-on
for (int i = 0; i < 0x800; i++)
m_maincpu->space(AS_PROGRAM).write_byte(i, 0xff);
@@ -104,8 +142,6 @@ void const_state::machine_start()
I/O
******************************************************************************/
-// TTL
-
void const_state::update_display()
{
m_display->matrix(m_led_select, m_inp_mux);
@@ -160,21 +196,30 @@ READ8_MEMBER(const_state::input2_r)
Address Maps
******************************************************************************/
-void const_state::const36_map(address_map &map)
+void const_state::ssensor4_map(address_map &map)
{
- map.unmap_value_high();
- map(0x0000, 0x07ff).ram();
+ map(0x0000, 0x03ff).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(0xc000, 0xffff).rom();
+ map(0xa000, 0xffff).rom();
}
void const_state::const_map(address_map &map)
{
- const36_map(map);
+ map(0x0000, 0x07ff).ram();
+ 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, 0xffff).rom();
+}
- map(0xa000, 0xbfff).rom();
- map(0xc000, 0xdfff).unmapr(); // checks for bookrom? but doesn't have any
+void const_state::sconst_map(address_map &map)
+{
+ map(0x0000, 0x0fff).ram().share("nvram");
+ map(0x1c00, 0x1c00).nopw(); // printer/clock?
+ map(0x1d00, 0x1d00).nopw(); // printer/clock?
+ map(0x1e00, 0x1e00).rw(FUNC(const_state::input2_r), FUNC(const_state::mux_w));
+ map(0x1f00, 0x1f00).rw(FUNC(const_state::input1_r), FUNC(const_state::control_w));
+ map(0x2000, 0xffff).rom();
}
@@ -217,6 +262,45 @@ static INPUT_PORTS_START( nconst )
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_NAME("Take Back")
INPUT_PORTS_END
+static INPUT_PORTS_START( ssensor4 )
+ PORT_INCLUDE( nconst )
+
+ PORT_MODIFY("IN.0")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) PORT_NAME("Accessory / King")
+
+ PORT_MODIFY("IN.1")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_NAME("Time Control / Queen")
+
+ PORT_MODIFY("IN.4")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Print Moves")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_NAME("Print Board / Rook")
+
+ PORT_MODIFY("IN.5")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Form Size")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_NAME("Print List / Pawn")
+
+ PORT_MODIFY("IN.6")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) PORT_NAME("Hint")
+INPUT_PORTS_END
+
+static INPUT_PORTS_START( sconst )
+ PORT_INCLUDE( nconst )
+
+ PORT_MODIFY("IN.1")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_NAME("Best Move/Random / Training Level / Queen")
+
+ PORT_MODIFY("IN.2")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_NAME("Sound / Depth Search / Bishop")
+
+ PORT_MODIFY("IN.4")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Print Moves")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_NAME("Print Board / Rook")
+
+ PORT_MODIFY("IN.5")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Form Size")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_NAME("Print List / Acc. Time / Pawn")
+INPUT_PORTS_END
+
/******************************************************************************
@@ -248,13 +332,24 @@ void const_state::nconst(machine_config &config)
m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25);
}
+void const_state::ssensor4(machine_config &config)
+{
+ nconst(config);
+
+ /* basic machine hardware */
+ m_maincpu->set_addrmap(AS_PROGRAM, &const_state::ssensor4_map);
+ NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
+
+ config.set_default_layout(layout_novag_ssensor4);
+}
+
void const_state::nconst36(machine_config &config)
{
nconst(config);
/* basic machine hardware */
M65SC02(config.replace(), m_maincpu, 7.2_MHz_XTAL/2);
- m_maincpu->set_addrmap(AS_PROGRAM, &const_state::const36_map);
+ m_maincpu->set_addrmap(AS_PROGRAM, &const_state::const_map);
const attotime irq_period = attotime::from_hz(7.2_MHz_XTAL/2 / 0x2000); // through 4020 IC, ~439Hz
TIMER(config.replace(), m_irq_on).configure_periodic(FUNC(const_state::irq_on<M6502_IRQ_LINE>), irq_period);
@@ -263,25 +358,58 @@ void const_state::nconst36(machine_config &config)
m_board->set_delay(attotime::from_msec(200));
+ /* sound hardware */
BEEP(config.replace(), m_beeper, 7.2_MHz_XTAL/2 / 0x800); // ~1758Hz
m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25);
}
+void const_state::sconst(machine_config &config)
+{
+ nconst(config);
+
+ /* basic machine hardware */
+ m_maincpu->set_clock(8_MHz_XTAL/2); // UM6502C
+ m_maincpu->set_addrmap(AS_PROGRAM, &const_state::sconst_map);
+
+ const attotime irq_period = attotime::from_hz(8_MHz_XTAL/4 / 0x1000); // through 4020 IC, ~488Hz
+ TIMER(config.replace(), 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(10200)); // active for 10.2us
+ TIMER(config.replace(), "irq_off").configure_periodic(FUNC(const_state::irq_off<M6502_IRQ_LINE>), irq_period);
+
+ m_board->set_delay(attotime::from_msec(200));
+ NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
+
+ config.set_default_layout(layout_novag_supercon);
+}
+
/******************************************************************************
ROM Definitions
******************************************************************************/
+ROM_START( ssensor4 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_LOAD("5611_1i_orange.u4", 0xe000, 0x2000, CRC(f4ee99d1) SHA1(f44144a26b92c51f4350da85858470e6c3b66fc1) ) // TMM2364P
+ROM_END
+
+
ROM_START( const )
- ROM_REGION( 0x10000, "maincpu", 0 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
ROM_LOAD("8315_white", 0xa000, 0x2000, CRC(76e6c97b) SHA1(55645e08f9f1258366c29a4ea2033bb86d860227) ) // TMM2364P
ROM_LOAD("8314_orange", 0xe000, 0x2000, CRC(89395a86) SHA1(4807f196fec70abdaabff5bfc479a64d5cf2b0ad) ) // "
ROM_END
ROM_START( const36 )
+ ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASE00 )
+ ROM_LOAD("novag-831a_6133-8316.u2", 0xc000, 0x4000, CRC(7da760f3) SHA1(6172e0fa03377e911141a86747849bf25f20613f) )
+ROM_END
+
+
+ROM_START( supercon )
ROM_REGION( 0x10000, "maincpu", 0 )
- ROM_LOAD("novag-831a_6133-8316.u2", 0xc000, 0x4000, CRC(7da760f3) SHA1(6172e0fa03377e911141a86747849bf25f20613f) )
+ ROM_LOAD("novag_8443", 0x0000, 0x8000, CRC(b853cf6e) SHA1(1a759072a5023b92c07f1fac01b7a21f7b5b45d0) )
+ ROM_LOAD("novag_8442", 0x8000, 0x8000, CRC(c8f82331) SHA1(f7fd039f9a3344db9749931490ded9e9e309cfbe) )
ROM_END
} // anonymous namespace
@@ -292,6 +420,10 @@ ROM_END
Drivers
******************************************************************************/
-// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
-CONS( 1983, const, 0, 0, nconst, nconst, const_state, empty_init, "Novag", "Constellation", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
-CONS( 1984, const36, const, 0, nconst36, nconst, const_state, empty_init, "Novag", "Constellation 3.6MHz", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
+CONS( 1981, ssensor4, 0, 0, ssensor4, ssensor4, const_state, empty_init, "Novag", "Super Sensor IV", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+
+CONS( 1983, const, 0, 0, nconst, nconst, const_state, init_const, "Novag", "Constellation", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1984, const36, const, 0, nconst36, nconst, const_state, init_const, "Novag", "Constellation 3.6MHz", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+
+CONS( 1984, supercon, 0, 0, sconst, sconst, const_state, empty_init, "Novag", "Super Constellation", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
diff --git a/src/mame/drivers/novag_sconst.cpp b/src/mame/drivers/novag_sconst.cpp
deleted file mode 100644
index 520380c2495..00000000000
--- a/src/mame/drivers/novag_sconst.cpp
+++ /dev/null
@@ -1,256 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:hap
-/******************************************************************************
-
-Novag Super Constellation (model 844)
-
-Hardware notes:
-- UMC UM6502C @ 4 MHz (8MHz XTAL)
-- 2*2KB RAM TC5516APL-2 battery-backed, 2*32KB ROM custom label
-- 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"
-#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_supercon.lh" // clickable
-
-
-namespace {
-
-class sconst_state : public driver_device
-{
-public:
- sconst_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 sconst(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 sconst_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 sconst_state::update_display()
-{
- m_display->matrix(m_led_select, m_inp_mux);
-}
-
-WRITE8_MEMBER(sconst_state::mux_w)
-{
- // d0-d7: input mux, led data
- m_inp_mux = data;
- update_display();
-}
-
-WRITE8_MEMBER(sconst_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(sconst_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(sconst_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 sconst_state::main_map(address_map &map)
-{
- map(0x0000, 0x0fff).ram().share("nvram");
- map(0x1c00, 0x1c00).nopw(); // printer/clock?
- map(0x1d00, 0x1d00).nopw(); // printer/clock?
- map(0x1e00, 0x1e00).rw(FUNC(sconst_state::input2_r), FUNC(sconst_state::mux_w));
- map(0x1f00, 0x1f00).rw(FUNC(sconst_state::input1_r), FUNC(sconst_state::control_w));
- map(0x2000, 0xffff).rom();
-}
-
-
-
-/******************************************************************************
- Input Ports
-******************************************************************************/
-
-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")
-
- 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 / Training Level / 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 / Depth Search / 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_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Print Moves")
- PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_NAME("Print Board / Rook")
-
- PORT_START("IN.5")
- PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Form Size")
- PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_NAME("Print List / Acc. Time / Pawn")
-
- PORT_START("IN.6")
- PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) PORT_NAME("Hint")
- 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 sconst_state::sconst(machine_config &config)
-{
- /* basic machine hardware */
- M6502(config, m_maincpu, 8_MHz_XTAL/2); // UM6502C
- m_maincpu->set_addrmap(AS_PROGRAM, &sconst_state::main_map);
-
- const attotime irq_period = attotime::from_hz(8_MHz_XTAL/4 / 0x1000); // through 4020 IC, ~488Hz
- TIMER(config, m_irq_on).configure_periodic(FUNC(sconst_state::irq_on<M6502_IRQ_LINE>), irq_period);
- m_irq_on->set_start_delay(irq_period - attotime::from_nsec(10200)); // active for 10.2us
- TIMER(config, "irq_off").configure_periodic(FUNC(sconst_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(200));
-
- /* video hardware */
- PWM_DISPLAY(config, m_display).set_size(3, 8);
- config.set_default_layout(layout_novag_supercon);
-
- /* sound hardware */
- SPEAKER(config, "mono").front_center();
- BEEP(config, m_beeper, 8_MHz_XTAL/4 / 0x800); // ~976Hz
- m_beeper->add_route(ALL_OUTPUTS, "mono", 0.25);
-}
-
-
-
-/******************************************************************************
- ROM Definitions
-******************************************************************************/
-
-ROM_START( supercon )
- ROM_REGION( 0x10000, "maincpu", 0 )
- ROM_LOAD("novag_8443", 0x0000, 0x8000, CRC(b853cf6e) SHA1(1a759072a5023b92c07f1fac01b7a21f7b5b45d0) )
- ROM_LOAD("novag_8442", 0x8000, 0x8000, CRC(c8f82331) SHA1(f7fd039f9a3344db9749931490ded9e9e309cfbe) )
-ROM_END
-
-} // anonymous namespace
-
-
-
-/******************************************************************************
- Drivers
-******************************************************************************/
-
-// 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 )
diff --git a/src/mame/layout/mephisto_esb2.lay b/src/mame/layout/mephisto_esb2.lay
new file mode 100644
index 00000000000..6a2944b648d
--- /dev/null
+++ b/src/mame/layout/mephisto_esb2.lay
@@ -0,0 +1,643 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="led" defstate="0">
+ <disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
+ <disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
+ </element>
+ <element name="ledg" defstate="0">
+ <disk state="1"><color red="0.1" green="1.0" blue="0.15" /></disk>
+ <disk state="0"><color red="0.01" green="0.1" blue="0.015" /></disk>
+ </element>
+
+ <element name="text_1">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="1"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_2">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="2"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_3">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="3"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_4">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="4"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_5">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="5"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_6">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="6"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_7">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="7"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_8">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="8"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+
+ <element name="text_a">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="A"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_b">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="B"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_c">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="C"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_d">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="D"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_e">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="E"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_f">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="F"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_g">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="G"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </element>
+ <element name="text_h">
+ <rect><color red="0.56" green="0.33" blue="0.12" /></rect>
+ <text string="H"><color red="0.87" green="0.87" blue="0.84" /></text>
+ </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="11" increment="-1" />
+
+ <repeat count="8">
+ <param name="x" start="8.3" increment="10" />
+ <param name="i2" start="0" increment="1" />
+ <bezel name="~i1~.~i2~" element="led"><bounds x="~x~" y="~y~" width="1.5" height="1.5" /></bezel>
+ </repeat>
+ </repeat>
+
+ <!-- sensors -->
+ <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>
+ </repeat>
+
+ <!-- power led at A1 -->
+ <bezel element="ledg" inputtag="IN.5" inputmask="0x01" inputraw="1"><bounds x="0.2" y="78.3" width="1.5" height="1.5" /></bezel>
+
+ <!-- pieces -->
+ <repeat count="8">
+ <param name="y" start="0" increment="10" />
+ <param name="i" start="8" increment="-1" />
+
+ <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=" &lt;&lt;"><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=" &lt; "><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=" &gt;"><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=" &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>
+
+
+<!-- schach labels -->
+
+ <element name="text_schach">
+ <rect><color red="0.11" green="0.105" blue="0.10" /></rect>
+ <text string="SCHACH"><color red="0.3" green="0.3" blue="0.31" /></text>
+ </element>
+ <element name="text_matt">
+ <rect><color red="0.11" green="0.105" blue="0.10" /></rect>
+ <text string="MATT"><color red="0.3" green="0.3" blue="0.31" /></text>
+ </element>
+ <element name="text_patt">
+ <rect><color red="0.11" green="0.105" blue="0.10" /></rect>
+ <text string="PATT"><color red="0.3" green="0.3" blue="0.31" /></text>
+ </element>
+
+ <group name="labels">
+ <bounds x="0" y="0" width="22.5" height="6" />
+
+ <bezel element="gray2"><bounds x="0" y="0" width="22.5" height="6" /></bezel>
+ <bezel element="gray3"><bounds x="2.0" y="0.7" width="19" height="5" /></bezel>
+
+ <bezel element="gray2"><bounds x="5.45" y="0.5" width="0.2" height="5.4" /></bezel>
+ <bezel element="gray2"><bounds x="10.95" y="0.5" width="0.2" height="5.4" /></bezel>
+ <bezel element="gray2"><bounds x="0.25" y="4.9" width="5" height="1" /></bezel>
+ <bezel element="gray2"><bounds x="5.85" y="4.9" width="4.9" height="1" /></bezel>
+ <bezel element="gray2"><bounds x="11.35" y="4.9" width="11" height="1" /></bezel>
+ <bezel element="gray2"><bounds x="0.25" y="0.2" width="22" height="3.7" /></bezel>
+ <bezel element="gray2"><bounds x="2.2" y="3.7" width="18.6" height="1" /></bezel>
+
+ <bezel element="gray3"><bounds x="8.6" y="3.9" width="0.6" height="0.9" /></bezel>
+ <bezel element="gray2"><bounds x="8.8" y="1" width="0.2" height="4.5" /></bezel>
+
+ <bezel element="text_schach"><bounds x="0.1" y="2.7" width="4.2" height="1.2" /></bezel>
+ <bezel element="text_matt"><bounds x="7.0" y="2.7" width="3.5" height="1.2" /></bezel>
+ <bezel element="text_patt"><bounds x="19.2" y="2.7" width="3.2" height="1.2" /></bezel>
+ </group>
+
+
+<!-- display -->
+
+ <element name="lcd_bg"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>
+
+ <element name="digit" defstate="0">
+ <led7seg><color red="0.2" green="0.16" blue="0.16" /></led7seg>
+ </element>
+ <element name="ldot" defstate="0">
+ <rect state="1"><color red="0.2" green="0.16" blue="0.16" /></rect>
+ <rect state="0"><color red="0.49412" green="0.51765" blue="0.51765" /></rect>
+ </element>
+
+ <group name="display">
+ <bounds x="31" y="90.3" width="22.5" height="7.4" />
+
+ <bezel element="lcd_bg"><bounds x="31" y="90.3" width="22.5" height="7.4" /></bezel>
+
+ <bezel name="digit3" element="digit"><bounds x="32" y="91" width="4" height="6" /></bezel>
+ <bezel name="digit2" element="digit"><bounds x="37.5" y="91" width="4" height="6" /></bezel>
+ <bezel name="digit1" element="digit"><bounds x="43" y="91" width="4" height="6" /></bezel>
+ <bezel name="digit0" element="digit"><bounds x="48.5" y="91" width="4" height="6" /></bezel>
+
+ <bezel name="3.7" element="ldot"><bounds x="36.25" y="96.42" width="0.6" height="0.6" /></bezel>
+ <bezel name="2.7" element="ldot"><bounds x="41.75" y="96.42" width="0.6" height="0.6" /></bezel>
+ <bezel name="1.7" element="ldot"><bounds x="47.25" y="96.42" width="0.6" height="0.6" /></bezel>
+
+ <bezel name="0.7" element="ldot"><bounds x="42.16" y="92.75" width="0.6" height="0.6" /></bezel>
+ <bezel name="0.7" element="ldot"><bounds x="41.94" y="94.55" width="0.6" height="0.6" /></bezel>
+ </group>
+
+
+<!-- buttons -->
+
+ <element name="hlb" defstate="0">
+ <rect state="1"><color red="1" green="1" blue="1" /></rect>
+ </element>
+
+ <element name="text_res"><text string="RES"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_cl"><text string="CL"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_list"><text string="LIST"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_lev"><text string="LEV"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_rev"><text string="REV"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_sta"><text string="STA"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_ent"><text string="ENT"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_sw"><text string="SW"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_ws"><text string="WS"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+
+ <element name="text_ba"><text string="A" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_bb"><text string="B" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_bc"><text string="C" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_bd"><text string="D" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_be"><text string="E" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_bf"><text string="F" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_bg"><text string="G" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_bh"><text string="H" align="1"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+
+ <element name="text_b0"><text string="0" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b1"><text string="1" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b2"><text string="2" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b3"><text string="3" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b4"><text string="4" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b5"><text string="5" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b6"><text string="6" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b7"><text string="7" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b8"><text string="8" align="2"><color red="0.75" green="0.75" blue="0.75" /></text></element>
+ <element name="text_b9"><text string="9" align="2"><color red="0.75" green="0.75" blue="0.75" /></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>
+
+ <group name="buttons">
+ <bounds x="0" y="0" width="18.7" height="23.7" />
+
+ <bezel element="blackb"><bounds x="0" y="5" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="5" y="5" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="10" y="5" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="15" y="5" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="15" y="0" width="3.7" height="3.7" /></bezel>
+
+ <bezel element="blackb"><bounds x="0" y="10" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="5" y="10" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="10" y="10" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="15" y="10" width="3.7" height="3.7" /></bezel>
+
+ <bezel element="blackb"><bounds x="0" y="15" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="5" y="15" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="10" y="15" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="15" y="15" width="3.7" height="3.7" /></bezel>
+
+ <bezel element="blackb"><bounds x="0" y="20" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="5" y="20" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="10" y="20" width="3.7" height="3.7" /></bezel>
+ <bezel element="blackb"><bounds x="15" y="20" width="3.7" height="3.7" /></bezel>
+
+ <bezel element="text_cl"><bounds x="0" y="5.9" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_list"><bounds x="5" y="5.9" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_lev"><bounds x="10" y="5.9" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_res"><bounds x="15" y="0.9" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_rev"><bounds x="15" y="5.9" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_sta"><bounds x="15" y="10.9" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_ent"><bounds x="15" y="15.9" width="3.7" height="1.8" /></bezel>
+
+ <bezel element="text_sw"><bounds x="10" y="20.1" width="3.7" height="1.8" /></bezel>
+ <bezel element="text_ws"><bounds x="15" y="20.1" width="3.7" height="1.8" /></bezel>
+
+ <bezel element="text_ba"><bounds x="0.5" y="10.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_bb"><bounds x="5.5" y="10.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_bc"><bounds x="10.5" y="10.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_bd"><bounds x="0.5" y="15.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_be"><bounds x="5.5" y="15.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_bf"><bounds x="10.5" y="15.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_bg"><bounds x="0.5" y="20.1" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_bh"><bounds x="5.5" y="20.1" width="1.3" height="1.8" /></bezel>
+
+ <bezel element="text_b1"><bounds x="1.9" y="11.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b2"><bounds x="6.9" y="11.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b3"><bounds x="11.9" y="11.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b4"><bounds x="1.9" y="16.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b5"><bounds x="6.9" y="16.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b6"><bounds x="11.9" y="16.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b7"><bounds x="1.9" y="21.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b8"><bounds x="6.9" y="21.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b9"><bounds x="11.9" y="21.8" width="1.3" height="1.8" /></bezel>
+ <bezel element="text_b0"><bounds x="16.9" y="21.8" width="1.3" height="1.8" /></bezel>
+
+ <bezel element="text_p6"><bounds x="6.85" y="10.1" width="1.7" height="1.7" /></bezel>
+ <bezel element="text_p5"><bounds x="11.85" y="10.1" width="1.7" height="1.7" /></bezel>
+ <bezel element="text_p4"><bounds x="1.85" y="15.1" width="1.7" height="1.7" /></bezel>
+ <bezel element="text_p3"><bounds x="6.85" y="15.1" width="1.7" height="1.7" /></bezel>
+ <bezel element="text_p2"><bounds x="11.85" y="15.1" width="1.7" height="1.7" /></bezel>
+ <bezel element="text_p1"><bounds x="1.85" y="20.1" width="1.7" height="1.7" /></bezel>
+
+ <bezel element="hlb" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="5" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.2" inputmask="0x01"><bounds x="5" y="5" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.1" inputmask="0x04"><bounds x="10" y="5" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.3" inputmask="0x04"><bounds x="15" y="5" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="RESET" inputmask="0x01"><bounds x="15" y="0" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hlb" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="10" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.0" inputmask="0x08"><bounds x="5" y="10" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.1" inputmask="0x02"><bounds x="10" y="10" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.1" inputmask="0x01"><bounds x="15" y="10" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hlb" inputtag="IN.1" inputmask="0x08"><bounds x="0" y="15" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.2" inputmask="0x02"><bounds x="5" y="15" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.2" inputmask="0x08"><bounds x="10" y="15" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.0" inputmask="0x04"><bounds x="15" y="15" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+
+ <bezel element="hlb" inputtag="IN.3" inputmask="0x02"><bounds x="0" y="20" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.3" inputmask="0x08"><bounds x="5" y="20" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.2" inputmask="0x04"><bounds x="10" y="20" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ <bezel element="hlb" inputtag="IN.3" inputmask="0x01"><bounds x="15" y="20" width="3.7" height="3.7" /><color alpha="0.08" /></bezel>
+ </group>
+
+
+<!-- brikett -->
+
+ <element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
+ <element name="gray1"><rect><color red="0.75" green="0.75" blue="0.75" /></rect></element>
+ <element name="gray2"><rect><color red="0.11" green="0.105" blue="0.10" /></rect></element>
+ <element name="gray2d"><disk><color red="0.11" green="0.105" blue="0.10" /></disk></element>
+ <element name="gray3"><rect><color red="0.21" green="0.2" blue="0.2" /></rect></element>
+
+ <group name="brikett">
+ <bounds x="16.5" y="6" width="58.5" height="32" />
+
+ <bezel element="gray2"><bounds x="17.5" y="7" width="56.5" height="30" /></bezel>
+ <bezel element="gray3"><bounds x="47.5" y="10" width="0.5" height="24" /></bezel>
+ <bezel element="blackb"><bounds x="16.5" y="6" width="6" height="6" /></bezel>
+ <bezel element="gray2d"><bounds x="17.5" y="7" width="10" height="10" /></bezel>
+ <bezel element="blackb"><bounds x="69" y="6" width="6" height="6" /></bezel>
+ <bezel element="gray2d"><bounds x="64" y="7" width="10" height="10" /></bezel>
+ <bezel element="blackb"><bounds x="16.5" y="32" width="6" height="6" /></bezel>
+ <bezel element="gray2d"><bounds x="17.5" y="27" width="10" height="10" /></bezel>
+ <bezel element="blackb"><bounds x="69" y="32" width="6" height="6" /></bezel>
+ <bezel element="gray2d"><bounds x="64" y="27" width="10" height="10" /></bezel>
+
+ <group ref="labels"><bounds x="22.5" y="9.7" width="20" height="5.333" /></group>
+ <group ref="display"><bounds x="22.5" y="15" width="20" height="6.85" /></group>
+ <group ref="buttons"><bounds x="50" y="10" width="19" height="24" /></group>
+ </group>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout (Full)">
+ <bounds left="-13" right="150.5" top="-1.5" bottom="87.5" />
+
+ <element ref="gray3"><bounds x="80" y="61" width="60" height="6.85" /></element>
+ <group ref="brikett"><bounds x="90" y="52" width="58.5" height="32" /></group>
+
+ <bezel element="cblack"><bounds x="-1" y="-1.5" width="89" height="89" /></bezel>
+ <bezel element="cwhite"><bounds x="3" y="2.5" width="81" height="81" /></bezel>
+ <group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group>
+
+ <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
+
+ <bezel element="text_8"><bounds x="0.2" y="7" width="2" height="2" /></bezel>
+ <bezel element="text_7"><bounds x="0.2" y="17" width="2" height="2" /></bezel>
+ <bezel element="text_6"><bounds x="0.2" y="27" width="2" height="2" /></bezel>
+ <bezel element="text_5"><bounds x="0.2" y="37" width="2" height="2" /></bezel>
+ <bezel element="text_4"><bounds x="0.2" y="47" width="2" height="2" /></bezel>
+ <bezel element="text_3"><bounds x="0.2" y="57" width="2" height="2" /></bezel>
+ <bezel element="text_2"><bounds x="0.2" y="67" width="2" height="2" /></bezel>
+ <bezel element="text_1"><bounds x="0.2" y="77" width="2" height="2" /></bezel>
+
+ <bezel element="text_a"><bounds x="7.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_b"><bounds x="17.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_c"><bounds x="27.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_d"><bounds x="37.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_e"><bounds x="47.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_f"><bounds x="57.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_g"><bounds x="67.5" y="84.5" width="2" height="2" /></bezel>
+ <bezel element="text_h"><bounds x="77.5" y="84.5" width="2" height="2" /></bezel>
+ </view>
+
+ <view name="Internal Layout (Brikett)">
+ <group ref="brikett"><bounds x="0" y="0" width="58.5" height="32" /></group>
+ </view>
+</mamelayout>
diff --git a/src/mame/layout/novag_ssensor4.lay b/src/mame/layout/novag_ssensor4.lay
new file mode 100644
index 00000000000..afd530b1cce
--- /dev/null
+++ b/src/mame/layout/novag_ssensor4.lay
@@ -0,0 +1,572 @@
+<?xml version="1.0"?>
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
+ <element name="static_red"><rect><color red="0.7" green="0.2" blue="0.05" /></rect></element>
+ <element name="static_green"><rect><color red="0.15" green="0.6" blue="0.05" /></rect></element>
+ <element name="static_blue"><rect><color red="0" green="0.4" blue="0.7" /></rect></element>
+ <element name="static_yellow"><rect><color red="0.7" green="0.7" blue="0.2" /></rect></element>
+
+ <element name="black"><rect><color red="0.17" green="0.15" blue="0.15" /></rect></element>
+ <element name="white"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
+
+ <element name="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.17" green="0.15" blue="0.15" /></rect>
+ <text string="[K]"><color red="0.81" green="0.8" blue="0.79" /></text>
+ </element>
+ <element name="text_queen2">
+ <rect><color red="0.17" green="0.15" blue="0.15" /></rect>
+ <text string="[Q]"><color red="0.81" green="0.8" blue="0.79" /></text>
+ </element>
+ <element name="text_rook2">
+ <rect><color red="0.17" green="0.15" blue="0.15" /></rect>
+ <text string="[R]"><color red="0.81" green="0.8" blue="0.79" /></text>
+ </element>
+ <element name="text_bishop2">
+ <rect><color red="0.17" green="0.15" blue="0.15" /></rect>
+ <text string="[B]"><color red="0.81" green="0.8" blue="0.79" /></text>
+ </element>
+ <element name="text_knight2">
+ <rect><color red="0.17" green="0.15" blue="0.15" /></rect>
+ <text string="[N]"><color red="0.81" green="0.8" blue="0.79" /></text>
+ </element>
+ <element name="text_pawn2">
+ <rect><color red="0.17" green="0.15" blue="0.15" /></rect>
+ <text string="[P]"><color red="0.81" green="0.8" blue="0.79" /></text>
+ </element>
+
+ <element name="text_rb00"><text string="Accessory"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb01"><text string="Time Control"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb02"><text string="Sound"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb03"><text string="Solve Mate"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb04"><text string="Print Board"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb05"><text string="Print List"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb06"><text string="Set Level"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb07"><text string="Take Back"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+
+ <element name="text_rb10"><text string="New Game"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb11"><text string="Verify"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb12"><text string="Set Up"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb13"><text string="Change Color"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb14"><text string="Clear Board"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb15"><text string="Print Moves"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb16"><text string="Form Size"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb17"><text string="Hint"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+ <element name="text_rb18"><text string="Go"><color red="0.51" green="0.5" blue="0.49" /></text></element>
+
+ <element name="text_setup">
+ <rect><color red="0.0" green="0.0" blue="0.0" /></rect>
+ <text string="SET UP"><color red="0" green="0.4" blue="0.7" /></text>
+ </element>
+ <element name="text_printer">
+ <rect><color red="0.0" green="0.0" blue="0.0" /></rect>
+ <text string="PRINTER"><color red="0.7" green="0.7" blue="0.2" /></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="-13.5" right="116" top="-0.5" bottom="88.5" />
+
+ <bezel element="cwhite"><bounds x="3" y="2.5" width="81" height="81" /></bezel>
+ <group ref="sb_board"><bounds x="3.5" y="3" width="80" height="80" /></group>
+
+ <group ref="sb_ui"><bounds x="-12" y="3" width="10" height="80" /></group>
+
+ <!-- chessboard coords -->
+
+ <bezel element="text_8"><bounds x="0.2" y="5" width="2" height="2" /></bezel>
+ <bezel element="text_7"><bounds x="0.2" y="15" width="2" height="2" /></bezel>
+ <bezel element="text_6"><bounds x="0.2" y="25" width="2" height="2" /></bezel>
+ <bezel element="text_5"><bounds x="0.2" y="35" width="2" height="2" /></bezel>
+ <bezel element="text_4"><bounds x="0.2" y="45" width="2" height="2" /></bezel>
+ <bezel element="text_3"><bounds x="0.2" y="55" width="2" height="2" /></bezel>
+ <bezel element="text_2"><bounds x="0.2" y="65" width="2" height="2" /></bezel>
+ <bezel element="text_1"><bounds x="0.2" y="75" width="2" height="2" /></bezel>
+
+ <bezel element="text_a"><bounds x="5.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_b"><bounds x="15.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_c"><bounds x="25.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_d"><bounds x="35.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_e"><bounds x="45.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_f"><bounds x="55.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_g"><bounds x="65.5" y="84.75" width="2" height="2" /></bezel>
+ <bezel element="text_h"><bounds x="75.5" y="84.75" width="2" height="2" /></bezel>
+
+ <!-- chessboard leds -->
+
+ <bezel name="1.0" element="ledg"><bounds x="0" y="7.5" width="2" height="1" /></bezel>
+ <bezel name="1.1" element="ledg"><bounds x="0" y="17.5" width="2" height="1" /></bezel>
+ <bezel name="1.2" element="ledg"><bounds x="0" y="27.5" width="2" height="1" /></bezel>
+ <bezel name="1.3" element="ledg"><bounds x="0" y="37.5" width="2" height="1" /></bezel>
+ <bezel name="1.4" element="ledg"><bounds x="0" y="47.5" width="2" height="1" /></bezel>
+ <bezel name="1.5" element="ledg"><bounds x="0" y="57.5" width="2" height="1" /></bezel>
+ <bezel name="1.6" element="ledg"><bounds x="0" y="67.5" width="2" height="1" /></bezel>
+ <bezel name="1.7" element="ledg"><bounds x="0" y="77.5" width="2" height="1" /></bezel>
+
+ <bezel name="2.0" element="ledg"><bounds x="8" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.1" element="ledg"><bounds x="18" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.2" element="ledg"><bounds x="28" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.3" element="ledg"><bounds x="38" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.4" element="ledg"><bounds x="48" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.5" element="ledg"><bounds x="58" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.6" element="ledg"><bounds x="68" y="84.5" width="1" height="2" /></bezel>
+ <bezel name="2.7" element="ledg"><bounds x="78" y="84.5" width="1" height="2" /></bezel>
+
+ <!-- right side buttons -->
+
+ <bezel element="static_blue"><bounds x="95.333" y="12.5" width="9.333" height="29" /></bezel>
+ <bezel element="static_black"><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="static_yellow"><bounds x="86.333" y="42.5" width="18.333" height="20.5" /></bezel>
+ <bezel element="static_black"><bounds x="86.533" y="42.7" width="17.933" height="20.1" /></bezel>
+ <bezel element="text_printer"><bounds x="87.5" y="41.8" width="7" height="1.5" /></bezel>
+
+ <bezel element="text_rb00"><bounds x="84" y="4.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb01"><bounds x="84" y="14.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb02"><bounds x="84" y="24.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb03"><bounds x="84" y="34.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb04"><bounds x="84" y="44.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb05"><bounds x="84" y="54.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb06"><bounds x="84" y="64.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb07"><bounds x="84" y="74.2" width="14" height="1.5" /></bezel>
+
+ <bezel element="text_rb10"><bounds x="93" y="4.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb11"><bounds x="93" y="14.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb12"><bounds x="93" y="20.3" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb13"><bounds x="93" y="24.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb14"><bounds x="93" y="34.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb15"><bounds x="93" y="44.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb16"><bounds x="93" y="54.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb17"><bounds x="93" y="64.2" width="14" height="1.5" /></bezel>
+ <bezel element="text_rb18"><bounds x="93" y="74.2" width="14" height="1.5" /></bezel>
+
+ <bezel element="white"><bounds x="88" y="6" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="16" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="26" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="36" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="46" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="56" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="66" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="88" y="76" width="6" height="4" /></bezel>
+
+ <bezel element="black"><bounds x="88.15" y="6.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="16.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="26.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="36.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="46.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="56.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="66.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="88.15" y="76.15" width="5.7" height="3.7" /></bezel>
+
+ <bezel element="text_king2"><bounds x="88.5" y="6.7" width="5" height="2.2" /></bezel>
+ <bezel element="text_queen2"><bounds x="88.5" y="16.7" width="5" height="2.2" /></bezel>
+ <bezel element="text_bishop2"><bounds x="88.5" y="26.7" width="5" height="2.2" /></bezel>
+ <bezel element="text_knight2"><bounds x="88.5" y="36.7" width="5" height="2.2" /></bezel>
+ <bezel element="text_rook2"><bounds x="88.5" y="46.7" width="5" height="2.2" /></bezel>
+ <bezel element="text_pawn2"><bounds x="88.5" y="56.7" width="5" 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="white"><bounds x="97" y="6" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="16" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="26" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="36" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="46" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="56" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="66" width="6" height="4" /></bezel>
+ <bezel element="white"><bounds x="97" y="76" width="6" height="4" /></bezel>
+
+ <bezel element="static_red"><bounds x="97.15" y="6.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="97.15" y="16.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="97.15" y="26.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="97.15" y="36.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="97.15" y="46.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="97.15" y="56.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="black"><bounds x="97.15" y="66.15" width="5.7" height="3.7" /></bezel>
+ <bezel element="static_green"><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.4" inputmask="0x01"><bounds x="97" y="46" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.5" inputmask="0x01"><bounds x="97" y="56" 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="black"><bounds x="107" y="2.5" width="1" height="81" /></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="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="ledr"><bounds x="111" y="7.5" width="2" height="1" /></bezel>
+ <bezel name="0.1" element="ledr"><bounds x="111" y="17.5" width="2" height="1" /></bezel>
+ <bezel name="0.2" element="ledr"><bounds x="111" y="27.5" width="2" height="1" /></bezel>
+ <bezel name="0.3" element="ledr"><bounds x="111" y="37.5" width="2" height="1" /></bezel>
+ <bezel name="0.4" element="ledr"><bounds x="111" y="47.5" width="2" height="1" /></bezel>
+ <bezel name="0.5" element="ledr"><bounds x="111" y="57.5" width="2" height="1" /></bezel>
+ <bezel name="0.6" element="ledr"><bounds x="111" y="67.5" width="2" height="1" /></bezel>
+ <bezel name="0.7" element="ledr"><bounds x="111" y="77.5" width="2" height="1" /></bezel>
+
+ </view>
+</mamelayout>
diff --git a/src/mame/layout/novag_supercon.lay b/src/mame/layout/novag_supercon.lay
index 49e1f996a07..fc5368f3701 100644
--- a/src/mame/layout/novag_supercon.lay
+++ b/src/mame/layout/novag_supercon.lay
@@ -496,8 +496,8 @@
<bezel element="static_black"><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="static_gray"><bounds x="86.333" y="42.5" width="18.333" height="30.5" /></bezel>
- <bezel element="static_black"><bounds x="86.533" y="42.7" width="17.933" height="30.1" /></bezel>
+ <bezel element="static_gray"><bounds x="86.333" y="42.5" width="18.333" height="20.5" /></bezel>
+ <bezel element="static_black"><bounds x="86.533" y="42.7" width="17.933" height="20.1" /></bezel>
<bezel element="text_printer"><bounds x="87.5" y="41.8" width="7" height="1.5" /></bezel>
<bezel element="text_rb00"><bounds x="84" y="4.2" width="14" height="1.5" /></bezel>
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index d2454c7a6d3..2a493118f61 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -31116,8 +31116,10 @@ cfortea //
cforteb //
@source:novag_const.cpp
-const //
+const
const36
+ssensor4
+supercon
@source:novag_diablo.cpp
diablo68 //
@@ -31131,9 +31133,6 @@ npresto //
savant //
savant2 //
-@source:novag_sconst.cpp
-supercon //
-
@source:novag_sexpert.cpp
sexperta //
sexpertb //
diff --git a/src/mame/mess.flt b/src/mame/mess.flt
index d5798b5182d..ba606e4bd09 100644
--- a/src/mame/mess.flt
+++ b/src/mame/mess.flt
@@ -563,7 +563,6 @@ novag_const.cpp
novag_diablo.cpp
novag_presto.cpp
novag_savant.cpp
-novag_sconst.cpp
novag_sexpert.cpp
o2.cpp
ob68k1a.cpp