summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-06-29 01:33:55 +0200
committer hap <happppp@users.noreply.github.com>2019-06-29 01:34:14 +0200
commitfe0db6545c8077cef465dfa52f9124903fcc74e2 (patch)
tree8973467bd4d818022180e1da10964644d666c37c
parent697ff7bd7149d635a838543b65409dd42d739087 (diff)
cforte: add chesspieces (nw)
-rw-r--r--scripts/target/mame/mess.lua2
-rw-r--r--src/mame/drivers/cking_master.cpp4
-rw-r--r--src/mame/drivers/cxg_ch2001.cpp4
-rw-r--r--src/mame/drivers/novag_cforte.cpp172
-rw-r--r--src/mame/drivers/novag_scon.cpp6
-rw-r--r--src/mame/layout/aci_boris.lay2
-rw-r--r--src/mame/layout/cmpchess.lay2
-rw-r--r--src/mame/layout/cncchess.lay2
-rw-r--r--src/mame/layout/novag_cforte.lay444
-rw-r--r--src/mame/layout/novag_delta1.lay2
-rw-r--r--src/mame/layout/novag_mk1.lay2
-rw-r--r--src/mame/layout/novag_mk2.lay3
-rw-r--r--src/mame/layout/scisys_chesstrv.lay50
13 files changed, 466 insertions, 229 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index 91c57e81d36..6f4b0ccf2cd 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -1918,7 +1918,6 @@ files {
MAME_DIR .. "src/mame/machine/novagbase.cpp",
MAME_DIR .. "src/mame/includes/novagbase.h",
- MAME_DIR .. "src/mame/drivers/novag_cforte.cpp",
MAME_DIR .. "src/mame/drivers/novag_diablo.cpp",
MAME_DIR .. "src/mame/drivers/novag_sexpert.cpp",
}
@@ -2815,6 +2814,7 @@ files {
createMESSProjects(_target, _subtarget, "novag")
files {
+ MAME_DIR .. "src/mame/drivers/novag_cforte.cpp",
MAME_DIR .. "src/mame/drivers/novag_delta1.cpp",
MAME_DIR .. "src/mame/drivers/novag_mk1.cpp",
MAME_DIR .. "src/mame/drivers/novag_mk2.cpp",
diff --git a/src/mame/drivers/cking_master.cpp b/src/mame/drivers/cking_master.cpp
index 1e8f1a6e67f..4f6ceeb3e1b 100644
--- a/src/mame/drivers/cking_master.cpp
+++ b/src/mame/drivers/cking_master.cpp
@@ -40,9 +40,9 @@ public:
master_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
+ m_irq_on(*this, "irq_on"),
m_display(*this, "display"),
m_board(*this, "board"),
- m_irq_on(*this, "irq_on"),
m_dac(*this, "dac"),
m_mainmap(*this, "mainmap"),
m_inputs(*this, "IN.%u", 0)
@@ -59,9 +59,9 @@ protected:
private:
// devices/pointers
required_device<cpu_device> m_maincpu;
+ required_device<timer_device> m_irq_on;
required_device<pwm_display_device> m_display;
required_device<sensorboard_device> m_board;
- required_device<timer_device> m_irq_on;
required_device<dac_2bit_binary_weighted_ones_complement_device> m_dac;
required_device<address_map_bank_device> m_mainmap;
required_ioport_array<2> m_inputs;
diff --git a/src/mame/drivers/cxg_ch2001.cpp b/src/mame/drivers/cxg_ch2001.cpp
index 35d3d852625..d7b503ba567 100644
--- a/src/mame/drivers/cxg_ch2001.cpp
+++ b/src/mame/drivers/cxg_ch2001.cpp
@@ -33,9 +33,9 @@ public:
ch2001_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
+ m_irq_on(*this, "irq_on"),
m_display(*this, "display"),
m_board(*this, "board"),
- m_irq_on(*this, "irq_on"),
m_dac(*this, "dac"),
m_speaker_off(*this, "speaker_off"),
m_inputs(*this, "IN.%u", 0)
@@ -50,9 +50,9 @@ protected:
private:
// devices/pointers
required_device<cpu_device> m_maincpu;
+ required_device<timer_device> m_irq_on;
required_device<pwm_display_device> m_display;
required_device<sensorboard_device> m_board;
- required_device<timer_device> m_irq_on;
required_device<dac_bit_interface> m_dac;
required_device<timer_device> m_speaker_off;
required_ioport_array<2> m_inputs;
diff --git a/src/mame/drivers/novag_cforte.cpp b/src/mame/drivers/novag_cforte.cpp
index de1d488efcc..79c93898b01 100644
--- a/src/mame/drivers/novag_cforte.cpp
+++ b/src/mame/drivers/novag_cforte.cpp
@@ -3,29 +3,28 @@
// thanks-to:Berger
/******************************************************************************
-* novag_cforte.cpp, subdriver of machine/novagbase.cpp, machine/chessbase.cpp
+Novag Constellation Forte
-TODO:
-- RS232 port?
-
-*******************************************************************************
-
-Novag Constellation Forte overview:
+Hardware notes:
- R65C02P4 @ 5MHz (10MHz XTAL)
- 2*2KB RAM(NEC D449C-3), 2*32KB ROM(27C256)
- HLCD0538P, 10-digit 7seg LCD display
- TTL, 18 LEDs, 8*8 chessboard buttons
+- ports for optional printer and chess clock
I/O is similar to supercon
******************************************************************************/
#include "emu.h"
-#include "includes/novagbase.h"
#include "cpu/m6502/r65c02.h"
+#include "video/pwm.h"
+#include "machine/sensorboard.h"
#include "machine/nvram.h"
+#include "machine/timer.h"
#include "video/hlcd0538.h"
+#include "sound/beep.h"
#include "speaker.h"
// internal artwork
@@ -34,24 +33,43 @@ I/O is similar to supercon
namespace {
-class cforte_state : public novagbase_state
+class cforte_state : public driver_device
{
public:
cforte_state(const machine_config &mconfig, device_type type, const char *tag) :
- novagbase_state(mconfig, type, tag),
- m_hlcd0538(*this, "hlcd0538")
+ driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
+ m_irq_on(*this, "irq_on"),
+ m_display(*this, "display"),
+ m_board(*this, "board"),
+ m_lcd(*this, "lcd"),
+ m_beeper(*this, "beeper"),
+ m_inputs(*this, "IN.%u", 0)
{ }
// machine drivers
void cforte(machine_config &config);
+protected:
+ virtual void machine_start() override;
+
private:
// devices/pointers
- optional_device<hlcd0538_device> m_hlcd0538;
+ required_device<cpu_device> m_maincpu;
+ required_device<timer_device> m_irq_on;
+ required_device<pwm_display_device> m_display;
+ required_device<sensorboard_device> m_board;
+ required_device<hlcd0538_device> m_lcd;
+ 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_WRITE64_MEMBER(lcd_output_w);
@@ -59,8 +77,23 @@ private:
DECLARE_WRITE8_MEMBER(control_w);
DECLARE_READ8_MEMBER(input1_r);
DECLARE_READ8_MEMBER(input2_r);
+
+ u8 m_inp_mux;
+ u8 m_led_select;
};
+void cforte_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));
+}
+
+
/******************************************************************************
Devices, I/O
@@ -68,17 +101,6 @@ private:
// TTL/generic
-void cforte_state::update_display()
-{
- // 3 led rows
- display_matrix(8, 3, m_led_data, m_led_select, false);
-
- // lcd panel (mostly handled in lcd_output_w)
- set_display_segmask(0x3ff0, 0xff);
- set_display_size(8, 3+13);
- display_update();
-}
-
WRITE64_MEMBER(cforte_state::lcd_output_w)
{
// 4 rows used
@@ -89,20 +111,27 @@ WRITE64_MEMBER(cforte_state::lcd_output_w)
// 2 segments per row
for (int dig = 0; dig < 13; dig++)
{
- m_display_state[dig+3] = 0;
+ data = 0;
for (int i = 0; i < 4; i++)
- m_display_state[dig+3] |= ((rowdata[i] >> (2*dig) & 3) << (2*i));
+ data |= ((rowdata[i] >> (2*dig) & 3) << (2*i));
- m_display_state[dig+3] = bitswap<8>(m_display_state[dig+3],7,2,0,4,6,5,3,1);
+ data = bitswap<8>(data,7,2,0,4,6,5,3,1);
+ m_display->write_row(dig+3, data);
}
- update_display();
+ m_display->update();
+}
+
+void cforte_state::update_display()
+{
+ // 3 led rows
+ m_display->matrix_partial(0, 3, m_led_select, m_inp_mux);
}
WRITE8_MEMBER(cforte_state::mux_w)
{
// d0-d7: input mux, led data
- m_inp_mux = m_led_data = data;
+ m_inp_mux = data;
update_display();
}
@@ -111,9 +140,9 @@ WRITE8_MEMBER(cforte_state::control_w)
// d0: HLCD0538 data in
// d1: HLCD0538 clk
// d2: HLCD0538 lcd
- m_hlcd0538->data_w(data & 1);
- m_hlcd0538->clk_w(data >> 1 & 1);
- m_hlcd0538->lcd_w(data >> 2 & 1);
+ m_lcd->data_w(data & 1);
+ m_lcd->clk_w(data >> 1 & 1);
+ m_lcd->lcd_w(data >> 2 & 1);
// d3: unused?
@@ -127,15 +156,27 @@ WRITE8_MEMBER(cforte_state::control_w)
READ8_MEMBER(cforte_state::input1_r)
{
+ u8 data = 0;
+
// d0-d7: multiplexed inputs (chessboard squares)
- return ~read_inputs(8) & 0xff;
+ 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(cforte_state::input2_r)
{
+ u8 data = 0;
+
// d0-d5: ?
// d6,d7: multiplexed inputs (side panel)
- return (read_inputs(8) >> 2 & 0xc0) ^ 0xff;
+ for (int i = 0; i < 8; i++)
+ if (BIT(m_inp_mux, i))
+ data |= m_inputs[i]->read() << 6;
+
+ return ~data;
}
@@ -161,39 +202,37 @@ void cforte_state::main_map(address_map &map)
******************************************************************************/
static INPUT_PORTS_START( cforte )
- PORT_INCLUDE( generic_cb_buttons )
+ 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("Player/Player / Gambit/Large / King")
- PORT_MODIFY("IN.0")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_I) PORT_NAME("New Game")
- PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_8) PORT_NAME("Player/Player / Gambit/Large / King")
+ PORT_START("IN.1")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_U) PORT_NAME("Verify/Set Up / Pro-Op")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_NAME("Random/Tour/Normal / Training Level / Queen")
- PORT_MODIFY("IN.1")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_U) PORT_NAME("Verify/Set Up / Pro-Op")
- PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_7) PORT_NAME("Random/Tour/Normal / Training Level / Queen")
+ PORT_START("IN.2")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Y) PORT_NAME("Change Color / Time Control / Priority")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_6) PORT_NAME("Sound / Depth Search / Bishop")
- PORT_MODIFY("IN.2")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Y) PORT_NAME("Change Color / Time Control / Priority")
- PORT_BIT(0x200, 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("Flip Display / Clear Board / Clear Book")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_NAME("Solve Mate / Infinite / Knight")
- PORT_MODIFY("IN.3")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_T) PORT_NAME("Flip Display / Clear Board / Clear Book")
- PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_5) PORT_NAME("Solve Mate / Infinite / Knight")
+ PORT_START("IN.4")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Print Moves / Print Evaluations / Print Book")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_NAME("Print Board / Interface / Rook")
- PORT_MODIFY("IN.4")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_R) PORT_NAME("Print Moves / Print Evaluations / Print Book")
- PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_4) PORT_NAME("Print Board / Interface / Rook")
+ PORT_START("IN.5")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Trace Forward / Auto Play / No/End")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_3) PORT_NAME("Print List / Acc. Time / Pawn")
- PORT_MODIFY("IN.5")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_E) PORT_NAME("Trace Forward / Auto Play / No/End")
- PORT_BIT(0x200, 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 / Next Best / Yes/Start")
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_NAME("Set Level")
- PORT_MODIFY("IN.6")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_W) PORT_NAME("Hint / Next Best / Yes/Start")
- PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_2) PORT_NAME("Set Level")
-
- PORT_MODIFY("IN.7")
- PORT_BIT(0x100, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_Q) PORT_NAME("Go / ->")
- PORT_BIT(0x200, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_CODE(KEYCODE_1) PORT_NAME("Take Back / Restore / <-")
+ 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 / Restore / <-")
INPUT_PORTS_END
@@ -215,11 +254,14 @@ void cforte_state::cforte(machine_config &config)
NVRAM(config, "nvram", nvram_device::DEFAULT_ALL_1);
- /* video hardware */
- HLCD0538(config, m_hlcd0538);
- m_hlcd0538->write_cols().set(FUNC(cforte_state::lcd_output_w));
+ 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));
- TIMER(config, "display_decay").configure_periodic(FUNC(cforte_state::display_decay_tick), attotime::from_msec(1));
+ /* video hardware */
+ HLCD0538(config, m_lcd).write_cols().set(FUNC(cforte_state::lcd_output_w));
+ PWM_DISPLAY(config, m_display).set_size(3+13, 8);
+ m_display->set_segmask(0x3ff0, 0xff);
config.set_default_layout(layout_novag_cforte);
/* sound hardware */
@@ -255,5 +297,5 @@ ROM_END
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT STATE INIT COMPANY, FULLNAME, FLAGS
-CONS( 1986, cfortea, 0, 0, cforte, cforte, cforte_state, empty_init, "Novag", "Constellation Forte (version A)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_CONTROLS )
-CONS( 1986, cforteb, cfortea, 0, cforte, cforte, cforte_state, empty_init, "Novag", "Constellation Forte (version B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_CONTROLS )
+CONS( 1986, cfortea, 0, 0, cforte, cforte, cforte_state, empty_init, "Novag", "Constellation Forte (version A)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1986, cforteb, cfortea, 0, cforte, cforte, cforte_state, empty_init, "Novag", "Constellation Forte (version B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
diff --git a/src/mame/drivers/novag_scon.cpp b/src/mame/drivers/novag_scon.cpp
index 174d98a2660..0c38de59f3b 100644
--- a/src/mame/drivers/novag_scon.cpp
+++ b/src/mame/drivers/novag_scon.cpp
@@ -5,7 +5,7 @@
Novag Super Constellation Chess Computer (model 844)
Hardware notes:
-- UMC UM6502C @ 4 MHz (8MHz XTAL), 600Hz? IRQ(source unknown?)
+- UMC UM6502C @ 4 MHz (8MHz XTAL), 512Hz? IRQ(source unknown?)
- 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
@@ -203,13 +203,13 @@ void scon_state::scon(machine_config &config)
/* basic machine hardware */
M6502(config, m_maincpu, 8_MHz_XTAL/2); // UM6502C
m_maincpu->set_addrmap(AS_PROGRAM, &scon_state::main_map);
- m_maincpu->set_periodic_int(FUNC(scon_state::irq0_line_hold), attotime::from_hz(600)); // guessed
+ m_maincpu->set_periodic_int(FUNC(scon_state::irq0_line_hold), attotime::from_hz(512)); // guessed
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(150));
+ m_board->set_delay(attotime::from_msec(200));
/* video hardware */
PWM_DISPLAY(config, m_display).set_size(3, 8);
diff --git a/src/mame/layout/aci_boris.lay b/src/mame/layout/aci_boris.lay
index d96e325c0b9..91c027496a1 100644
--- a/src/mame/layout/aci_boris.lay
+++ b/src/mame/layout/aci_boris.lay
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
+<!-- NOTE: no chesspieces simulation here, ACI Boris didn't have a built-in chessboard -->
+
<!-- define elements -->
<element name="black"><rect><color red="0.16" green="0.16" blue="0.16" /></rect></element>
diff --git a/src/mame/layout/cmpchess.lay b/src/mame/layout/cmpchess.lay
index 3cd4abb44ec..63fee7cc253 100644
--- a/src/mame/layout/cmpchess.lay
+++ b/src/mame/layout/cmpchess.lay
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
+<!-- NOTE: no chesspieces simulation here, DCS CompuChess didn't have a built-in chessboard -->
+
<!-- define elements -->
<element name="black"><rect><color red="0.12" green="0.12" blue="0.12" /></rect></element>
diff --git a/src/mame/layout/cncchess.lay b/src/mame/layout/cncchess.lay
index 432c6146365..25a05b5f8f6 100644
--- a/src/mame/layout/cncchess.lay
+++ b/src/mame/layout/cncchess.lay
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
+<!-- NOTE: no chesspieces simulation here, Conic Computer Chess didn't have a built-in chessboard -->
+
<!-- define elements -->
<element name="blackb"><rect><color red="0" green="0" blue="0" /></rect></element>
diff --git a/src/mame/layout/novag_cforte.lay b/src/mame/layout/novag_cforte.lay
index ec82af339dd..1116cfd9c18 100644
--- a/src/mame/layout/novag_cforte.lay
+++ b/src/mame/layout/novag_cforte.lay
@@ -4,6 +4,8 @@
<!-- define elements -->
<element name="static_red"><rect><color red="0.7" green="0.13" blue="0.12" /></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>
<!-- our digit element is bright-on-dark, this means the lcd panel is the wrong colour here -->
@@ -49,9 +51,6 @@
</disk>
</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="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>
@@ -166,10 +165,294 @@
</element>
+<!-- sb board -->
+
+ <element name="cblack"><rect><color red="0.41" green="0.4" blue="0.39" /></rect></element>
+ <element name="cwhite"><rect><color red="0.81" green="0.8" blue="0.79" /></rect></element>
+
+ <element name="hlbb" defstate="0">
+ <text string=" "><bounds x="0" y="0" width="1" height="1" /></text>
+ <disk state="1">
+ <bounds x="0.12" y="0.12" width="0.76" height="0.76" />
+ <color red="0" green="0" blue="0" />
+ </disk>
+ </element>
+
+ <element name="piece" defstate="0">
+ <image file="chess/wp.png" state="1"/>
+ <image file="chess/wn.png" state="2"/>
+ <image file="chess/wb.png" state="3"/>
+ <image file="chess/wr.png" state="4"/>
+ <image file="chess/wq.png" state="5"/>
+ <image file="chess/wk.png" state="6"/>
+
+ <image file="chess/bp.png" state="7"/>
+ <image file="chess/bn.png" state="8"/>
+ <image file="chess/bb.png" state="9"/>
+ <image file="chess/br.png" state="10"/>
+ <image file="chess/bq.png" state="11"/>
+ <image file="chess/bk.png" state="12"/>
+
+ <!-- selected pieces -->
+ <image file="chess/wp.png" state="13"><color alpha="0.5" /></image>
+ <image file="chess/wn.png" state="14"><color alpha="0.5" /></image>
+ <image file="chess/wb.png" state="15"><color alpha="0.5" /></image>
+ <image file="chess/wr.png" state="16"><color alpha="0.5" /></image>
+ <image file="chess/wq.png" state="17"><color alpha="0.5" /></image>
+ <image file="chess/wk.png" state="18"><color alpha="0.5" /></image>
+
+ <image file="chess/bp.png" state="19"><color alpha="0.5" /></image>
+ <image file="chess/bn.png" state="20"><color alpha="0.5" /></image>
+ <image file="chess/bb.png" state="21"><color alpha="0.5" /></image>
+ <image file="chess/br.png" state="22"><color alpha="0.5" /></image>
+ <image file="chess/bq.png" state="23"><color alpha="0.5" /></image>
+ <image file="chess/bk.png" state="24"><color alpha="0.5" /></image>
+ </element>
+
+ <group name="sb_board">
+ <bounds x="0" y="0" width="80" height="80" />
+
+ <!-- squares (avoid seams) -->
+ <bezel element="cwhite"><bounds x="0" y="0" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="0" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="0" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="0" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="0" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="0" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="0" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="0" width="10" height="11" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="10" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="10" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="10" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="10" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="10" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="10" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="10" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="10" width="10" height="11" /></bezel>
+
+ <bezel element="cwhite"><bounds x="0" y="20" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="20" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="20" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="20" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="20" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="20" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="20" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="20" width="10" height="11" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="30" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="30" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="30" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="30" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="30" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="30" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="30" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="30" width="10" height="11" /></bezel>
+
+ <bezel element="cwhite"><bounds x="0" y="40" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="40" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="40" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="40" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="40" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="40" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="40" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="40" width="10" height="11" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="50" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="50" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="50" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="50" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="50" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="50" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="50" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="50" width="10" height="11" /></bezel>
+
+ <bezel element="cwhite"><bounds x="0" y="60" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="10" y="60" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="20" y="60" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="30" y="60" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="40" y="60" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="50" y="60" width="11" height="11" /></bezel>
+ <bezel element="cwhite"><bounds x="60" y="60" width="11" height="11" /></bezel>
+ <bezel element="cblack"><bounds x="70" y="60" width="10" height="11" /></bezel>
+
+ <bezel element="cblack"><bounds x="0" y="70" width="11" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="10" y="70" width="11" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="20" y="70" width="11" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="30" y="70" width="11" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="40" y="70" width="11" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="50" y="70" width="11" height="10" /></bezel>
+ <bezel element="cblack"><bounds x="60" y="70" width="11" height="10" /></bezel>
+ <bezel element="cwhite"><bounds x="70" y="70" width="10" height="10" /></bezel>
+
+ <!-- sensors, pieces -->
+ <repeat count="8">
+ <param name="y" start="0" increment="10" />
+ <param name="i" start="8" increment="-1" />
+
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+ <bezel element="hlbb" inputtag="board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></bezel>
+
+ <bezel name="piece_a~i~" element="piece"><bounds x="0" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_b~i~" element="piece"><bounds x="10" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_c~i~" element="piece"><bounds x="20" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_d~i~" element="piece"><bounds x="30" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_e~i~" element="piece"><bounds x="40" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_f~i~" element="piece"><bounds x="50" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_g~i~" element="piece"><bounds x="60" y="~y~" width="10" height="10" /></bezel>
+ <bezel name="piece_h~i~" element="piece"><bounds x="70" y="~y~" width="10" height="10" /></bezel>
+ </repeat>
+ </group>
+
+
+<!-- sb ui -->
+
+ <element name="hlub" defstate="0">
+ <rect state="1"><color red="0" green="0" blue="0" /></rect>
+ </element>
+
+ <element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uib2">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uib3">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uih2">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uiu2a">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string=" &lt;&lt;"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu2b">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string=" &lt; "><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu2c">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string=" &gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu2d">
+ <rect><color red="0.81" green="0.8" blue="0.79" /></rect>
+ <text string=" &gt;&gt;"><color red="0.01" green="0.01" blue="0.01" /></text>
+ </element>
+ <element name="text_uiu3a" defstate="0">
+ <simplecounter maxstate="999" digits="1" align="2">
+ <color red="0.81" green="0.8" blue="0.79" />
+ </simplecounter>
+ </element>
+ <element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
+ <element name="text_uiu3c" defstate="0">
+ <simplecounter maxstate="999" digits="1" align="1">
+ <color red="0.81" green="0.8" blue="0.79" />
+ </simplecounter>
+ </element>
+
+ <group name="sb_ui">
+ <bounds x="0" y="0" width="10" height="80" />
+ <bezel element="cblack"><bounds x="0" y="0" width="10" height="1" /></bezel>
+ <bezel element="cblack"><bounds x="0" y="7" width="10" height="1" /></bezel>
+ <bezel element="cblack"><bounds x="0" y="79" width="10" height="1" /></bezel>
+ <bezel element="text_uit1"><bounds x="0" y="2" width="10" height="2" /></bezel>
+ <bezel element="text_uit2"><bounds x="0" y="4" width="10" height="2" /></bezel>
+
+ <!-- board -->
+ <bezel element="text_uib1"><bounds x="0" y="9" width="10" height="2" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></bezel>
+
+ <bezel element="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></bezel>
+ <bezel element="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></bezel>
+
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></bezel>
+
+ <!-- spawn -->
+ <bezel element="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="23" width="8" height="12" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="36" width="8" height="12" /></bezel>
+
+ <bezel name="piece_ui1" element="piece"><bounds x="1" y="23" width="4" height="4" /></bezel>
+ <bezel name="piece_ui2" element="piece"><bounds x="1" y="27" width="4" height="4" /></bezel>
+ <bezel name="piece_ui3" element="piece"><bounds x="1" y="31" width="4" height="4" /></bezel>
+ <bezel name="piece_ui4" element="piece"><bounds x="5" y="23" width="4" height="4" /></bezel>
+ <bezel name="piece_ui5" element="piece"><bounds x="5" y="27" width="4" height="4" /></bezel>
+ <bezel name="piece_ui6" element="piece"><bounds x="5" y="31" width="4" height="4" /></bezel>
+ <bezel name="piece_ui7" element="piece"><bounds x="1" y="36" width="4" height="4" /></bezel>
+ <bezel name="piece_ui8" element="piece"><bounds x="1" y="40" width="4" height="4" /></bezel>
+ <bezel name="piece_ui9" element="piece"><bounds x="1" y="44" width="4" height="4" /></bezel>
+ <bezel name="piece_ui10" element="piece"><bounds x="5" y="36" width="4" height="4" /></bezel>
+ <bezel name="piece_ui11" element="piece"><bounds x="5" y="40" width="4" height="4" /></bezel>
+ <bezel name="piece_ui12" element="piece"><bounds x="5" y="44" width="4" height="4" /></bezel>
+
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></bezel>
+
+ <!-- hand -->
+ <bezel element="text_uih1"><bounds x="0" y="51" width="10" height="2" /></bezel>
+ <bezel element="cblack"><bounds x="1" y="53.5" width="8" height="6" /></bezel>
+ <bezel name="piece_ui0" element="piece"><bounds x="2" y="53.5" width="6" height="6" /></bezel>
+
+ <bezel element="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></bezel>
+ <bezel element="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></bezel>
+
+ <!-- undo -->
+ <bezel element="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></bezel>
+ <bezel element="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></bezel>
+ <bezel element="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></bezel>
+ <bezel element="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></bezel>
+ <bezel element="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></bezel>
+ <bezel element="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></bezel>
+
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+ <bezel element="hlub" inputtag="board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></bezel>
+
+ <bezel name="count_ui0" element="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></bezel>
+ <bezel name="count_ui1" element="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></bezel>
+ <bezel element="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></bezel>
+ </group>
+
+
<!-- build screen -->
<view name="Internal Layout">
- <bounds left="-3" right="111" top="-2" bottom="89" />
+ <bounds left="-15" right="111" top="-2" bottom="89" />
+
+ <bezel element="black"><bounds x="2" y="2" width="82" height="82" /></bezel>
+ <group ref="sb_board"><bounds x="3" y="3" width="80" height="80" /></group>
+
+ <group ref="sb_ui"><bounds x="-13" y="3" width="10" height="80" /></group>
<!-- chessboard coords -->
@@ -211,125 +494,6 @@
<bezel name="2.6" element="ledr"><bounds x="67.5" y="85" width="1" height="2" /></bezel>
<bezel name="2.7" element="ledr"><bounds x="77.5" y="85" width="1" height="2" /></bezel>
- <!-- chessboard bezel -->
-
- <bezel element="black"><bounds x="2" y="2" width="82" height="82" /></bezel>
- <bezel element="white"><bounds x="3" y="3" width="80" height="80" /></bezel>
-
- <bezel element="black"><bounds x="13" y="2.5" width="10" height="10.5" /></bezel>
- <bezel element="black"><bounds x="33" y="2.5" width="10" height="10.5" /></bezel>
- <bezel element="black"><bounds x="53" y="2.5" width="10" height="10.5" /></bezel>
- <bezel element="black"><bounds x="73" y="2.5" width="10.5" height="10.5" /></bezel>
-
- <bezel element="black"><bounds x="2.5" y="13" width="10.5" height="10" /></bezel>
- <bezel element="black"><bounds x="23" y="13" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="43" y="13" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="63" y="13" width="10" height="10" /></bezel>
-
- <bezel element="black"><bounds x="13" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="33" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="53" y="23" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="73" y="23" width="10.5" height="10" /></bezel>
-
- <bezel element="black"><bounds x="2.5" y="33" width="10.5" height="10" /></bezel>
- <bezel element="black"><bounds x="23" y="33" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="43" y="33" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="63" y="33" width="10" height="10" /></bezel>
-
- <bezel element="black"><bounds x="13" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="33" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="53" y="43" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="73" y="43" width="10.5" height="10" /></bezel>
-
- <bezel element="black"><bounds x="2.5" y="53" width="10.5" height="10" /></bezel>
- <bezel element="black"><bounds x="23" y="53" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="43" y="53" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="63" y="53" width="10" height="10" /></bezel>
-
- <bezel element="black"><bounds x="13" y="63" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="33" y="63" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="53" y="63" width="10" height="10" /></bezel>
- <bezel element="black"><bounds x="73" y="63" width="10.5" height="10" /></bezel>
-
- <bezel element="black"><bounds x="2.5" y="73" width="10.5" height="10.5" /></bezel>
- <bezel element="black"><bounds x="23" y="73" width="10" height="10.5" /></bezel>
- <bezel element="black"><bounds x="43" y="73" width="10" height="10.5" /></bezel>
- <bezel element="black"><bounds x="63" y="73" width="10" height="10.5" /></bezel>
-
- <!-- chessboard sensors -->
-
- <bezel element="hl" inputtag="IN.0" inputmask="0x80"><bounds x="3" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x40"><bounds x="13" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x20"><bounds x="23" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x10"><bounds x="33" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x08"><bounds x="43" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x04"><bounds x="53" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x02"><bounds x="63" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.0" inputmask="0x01"><bounds x="73" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="IN.1" inputmask="0x80"><bounds x="3" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x40"><bounds x="13" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x20"><bounds x="23" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x10"><bounds x="33" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x08"><bounds x="43" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x04"><bounds x="53" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x02"><bounds x="63" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.1" inputmask="0x01"><bounds x="73" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel element="hl" inputtag="IN.2" inputmask="0x80"><bounds x="3" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x40"><bounds x="13" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x20"><bounds x="23" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x10"><bounds x="33" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x08"><bounds x="43" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x04"><bounds x="53" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x02"><bounds x="63" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.2" inputmask="0x01"><bounds x="73" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="IN.3" inputmask="0x80"><bounds x="3" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x40"><bounds x="13" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x20"><bounds x="23" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x10"><bounds x="33" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x08"><bounds x="43" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x04"><bounds x="53" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x02"><bounds x="63" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.3" inputmask="0x01"><bounds x="73" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel element="hl" inputtag="IN.4" inputmask="0x80"><bounds x="3" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x40"><bounds x="13" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x20"><bounds x="23" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x10"><bounds x="33" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x08"><bounds x="43" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x04"><bounds x="53" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x02"><bounds x="63" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.4" inputmask="0x01"><bounds x="73" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="IN.5" inputmask="0x80"><bounds x="3" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x40"><bounds x="13" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x20"><bounds x="23" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x10"><bounds x="33" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x08"><bounds x="43" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x04"><bounds x="53" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x02"><bounds x="63" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.5" inputmask="0x01"><bounds x="73" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
-
- <bezel element="hl" inputtag="IN.6" inputmask="0x80"><bounds x="3" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x40"><bounds x="13" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x20"><bounds x="23" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x10"><bounds x="33" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x08"><bounds x="43" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x04"><bounds x="53" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x02"><bounds x="63" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.6" inputmask="0x01"><bounds x="73" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
-
- <bezel element="hl" inputtag="IN.7" inputmask="0x80"><bounds x="3" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x40"><bounds x="13" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x20"><bounds x="23" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x10"><bounds x="33" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x08"><bounds x="43" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x04"><bounds x="53" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x02"><bounds x="63" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
- <bezel element="hl" inputtag="IN.7" inputmask="0x01"><bounds x="73" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
-
<!-- right side lcd panel/leds -->
<bezel name="digit4" element="digit"><bounds x="88.125" y="9" width="2" height="3" /></bezel>
@@ -388,23 +552,23 @@
<bezel element="text_r8x"><bounds x="101.26" y="78.30" width="5.98" height="3" /></bezel>
<bezel element="text_m8x"><bounds x="91.64" y="78.30" width="5.98" height="3" /></bezel>
- <bezel element="hlb" inputtag="IN.0" inputmask="0x200"><bounds x="91.63" y="24.00" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.1" inputmask="0x200"><bounds x="91.63" y="31.71" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.2" inputmask="0x200"><bounds x="91.63" y="39.43" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.3" inputmask="0x200"><bounds x="91.63" y="47.14" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.4" inputmask="0x200"><bounds x="91.63" y="54.86" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.5" inputmask="0x200"><bounds x="91.63" y="62.57" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.6" inputmask="0x200"><bounds x="91.63" y="70.29" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.7" inputmask="0x200"><bounds x="91.63" y="78.00" width="6" height="4" /><color alpha="0.4" /></bezel>
-
- <bezel element="hlb" inputtag="IN.0" inputmask="0x100"><bounds x="101.25" y="24.00" width="6" height="4" /><color alpha="0.25" /></bezel>
- <bezel element="hlb" inputtag="IN.1" inputmask="0x100"><bounds x="101.25" y="31.71" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.2" inputmask="0x100"><bounds x="101.25" y="39.43" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.3" inputmask="0x100"><bounds x="101.25" y="47.14" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.4" inputmask="0x100"><bounds x="101.25" y="54.86" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.5" inputmask="0x100"><bounds x="101.25" y="62.57" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.6" inputmask="0x100"><bounds x="101.25" y="70.29" width="6" height="4" /><color alpha="0.4" /></bezel>
- <bezel element="hlb" inputtag="IN.7" inputmask="0x100"><bounds x="101.25" y="78.00" width="6" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlb" inputtag="IN.0" inputmask="0x02"><bounds x="91.63" y="24.00" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.1" inputmask="0x02"><bounds x="91.63" y="31.71" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.2" inputmask="0x02"><bounds x="91.63" y="39.43" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.3" inputmask="0x02"><bounds x="91.63" y="47.14" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.4" inputmask="0x02"><bounds x="91.63" y="54.86" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.5" inputmask="0x02"><bounds x="91.63" y="62.57" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.6" inputmask="0x02"><bounds x="91.63" y="70.29" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.7" inputmask="0x02"><bounds x="91.63" y="78.00" width="6" height="4" /><color alpha="0.4" /></bezel>
+
+ <bezel element="hlb" inputtag="IN.0" inputmask="0x01"><bounds x="101.25" y="24.00" width="6" height="4" /><color alpha="0.25" /></bezel>
+ <bezel element="hlb" inputtag="IN.1" inputmask="0x01"><bounds x="101.25" y="31.71" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.2" inputmask="0x01"><bounds x="101.25" y="39.43" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.3" inputmask="0x01"><bounds x="101.25" y="47.14" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.4" inputmask="0x01"><bounds x="101.25" y="54.86" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.5" inputmask="0x01"><bounds x="101.25" y="62.57" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.6" inputmask="0x01"><bounds x="101.25" y="70.29" width="6" height="4" /><color alpha="0.4" /></bezel>
+ <bezel element="hlb" inputtag="IN.7" inputmask="0x01"><bounds x="101.25" y="78.00" width="6" height="4" /><color alpha="0.25" /></bezel>
<bezel element="text_m1a"><bounds x="87.63" y="22.35" width="14" height="1.4" /></bezel>
<bezel element="text_m1b"><bounds x="87.63" y="28.20" width="14" height="1.4" /></bezel>
diff --git a/src/mame/layout/novag_delta1.lay b/src/mame/layout/novag_delta1.lay
index 43268e1da9c..68b110ed6df 100644
--- a/src/mame/layout/novag_delta1.lay
+++ b/src/mame/layout/novag_delta1.lay
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
+<!-- NOTE: no chesspieces simulation here, Novag Delta-1 didn't have a built-in chessboard -->
+
<!-- define elements -->
<element name="black"><rect><color red="0.16" green="0.16" blue="0.16" /></rect></element>
diff --git a/src/mame/layout/novag_mk1.lay b/src/mame/layout/novag_mk1.lay
index 301f9cde1e3..d42b84108f6 100644
--- a/src/mame/layout/novag_mk1.lay
+++ b/src/mame/layout/novag_mk1.lay
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
+<!-- NOTE: no chesspieces simulation here, Novag MK I didn't have a built-in chessboard -->
+
<!-- define elements -->
<element name="black"><rect><color red="0.12" green="0.12" blue="0.12" /></rect></element>
diff --git a/src/mame/layout/novag_mk2.lay b/src/mame/layout/novag_mk2.lay
index cf5b3fd7878..67a243b285a 100644
--- a/src/mame/layout/novag_mk2.lay
+++ b/src/mame/layout/novag_mk2.lay
@@ -1,5 +1,8 @@
<?xml version="1.0"?>
<mamelayout version="2">
+
+<!-- NOTE: no chesspieces simulation here, Novag MK II didn't have a built-in chessboard -->
+
<element name="digit" defstate="0">
<led7seg>
<color red="0.75" green="0.0" blue="0.0" />
diff --git a/src/mame/layout/scisys_chesstrv.lay b/src/mame/layout/scisys_chesstrv.lay
index e41a73519c5..d3c7c0f7337 100644
--- a/src/mame/layout/scisys_chesstrv.lay
+++ b/src/mame/layout/scisys_chesstrv.lay
@@ -398,7 +398,7 @@
<group name="sb_ui">
<bounds x="0" y="0" width="10" height="80" />
- <bezel element="white"><bounds x="0" y="7" width="10" height="1" /></bezel>
+ <bezel element="cblack"><bounds x="0" y="7" 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>
@@ -475,23 +475,18 @@
</group>
-<!-- build screen -->
-
- <view name="Internal Layout">
- <bounds left="-5.5" right="31.775" top="-12.4" bottom="39.3" />
-
- <bezel name="digit3" element="digit"><bounds x="8" y="-11.3" width="3.4" height="5.1" /></bezel>
- <bezel name="digit2" element="digit"><bounds x="11.4" y="-11.3" width="3.4" height="5.1" /></bezel>
- <bezel name="digit1" element="digit"><bounds x="16.2" y="-11.3" width="3.4" height="5.1" /></bezel>
- <bezel name="digit0" element="digit"><bounds x="19.6" y="-11.3" width="3.4" height="5.1" /></bezel>
-
- <bezel element="white"><bounds x="-5.5" y="-4.975" width="37.275" height="32.55" /></bezel>
- <bezel element="blackb"><bounds x="-5.5" y="-4.5875" width="5" height="31.775" /></bezel>
- <group ref="sb_board"><bounds x="0" y="-4.2" width="31" height="31" /></group>
- <group ref="sb_ui"><bounds x="-5" y="-4.975" width="4.06875" height="32.55" /></group>
+<!-- digits, button panel -->
- <!-- button panel -->
+ <group name="digits">
+ <bounds x="0" y="0" width="45" height="15" />
+ <bezel name="digit3" element="digit"><bounds x="0" y="0" width="10" height="15" /></bezel>
+ <bezel name="digit2" element="digit"><bounds x="10" y="0" width="10" height="15" /></bezel>
+ <bezel name="digit1" element="digit"><bounds x="25" y="0" width="10" height="15" /></bezel>
+ <bezel name="digit0" element="digit"><bounds x="35" y="0" width="10" height="15" /></bezel>
+ </group>
+ <group name="buttons">
+ <bounds x="-1" y="28.5" width="32" height="10.1" />
<bezel element="button" inputtag="IN.0" inputmask="0x01"><bounds x="0" y="30" width="3" height="2.2" /></bezel>
<bezel element="button" inputtag="IN.0" inputmask="0x02"><bounds x="4" y="30" width="3" height="2.2" /></bezel>
<bezel element="button" inputtag="IN.0" inputmask="0x04"><bounds x="8" y="30" width="3" height="2.2" /></bezel>
@@ -544,6 +539,29 @@
<bezel element="text_l13"><bounds x="15" y="37.3" width="5" height="1.3" /></bezel>
<bezel element="text_l14"><bounds x="19" y="37.3" width="5" height="1.3" /></bezel>
<bezel element="text_l15"><bounds x="25" y="37.3" width="5" height="1.3" /></bezel>
+ </group>
+
+<!-- build screen -->
+
+ <view name="Internal Layout (Full)">
+ <bounds left="-5.5" right="31.775" top="-12.3" bottom="39.3" />
+
+ <bezel element="white"><bounds x="-5.5" y="-4.975" width="37.275" height="32.55" /></bezel>
+ <bezel element="blackb"><bounds x="-5.5" y="-4.5875" width="5" height="31.775" /></bezel>
+ <group ref="sb_board"><bounds x="0" y="-4.2" width="31" height="31" /></group>
+ <group ref="sb_ui"><bounds x="-5" y="-4.975" width="4.06875" height="32.55" /></group>
+
+ <group ref="digits"><bounds x="8" y="-11.2" width="15" height="5" /></group>
+ <group ref="buttons"><bounds x="-1" y="28.5" width="32" height="10.1" /></group>
</view>
+
+ <view name="Internal Layout (Buttons)">
+ <bounds left="-0.775" right="31.775" top="20" bottom="39.3" />
+
+ <group ref="digits"><bounds x="8" y="21" width="15" height="5" /></group>
+ <group ref="buttons"><bounds x="-1" y="28.5" width="32" height="10.1" /></group>
+ <bezel element="white"><bounds x="-0.775" y="27.1875" width="32.55" height="0.3875" /></bezel>
+ </view>
+
</mamelayout>