mirror of
https://github.com/holub/mame
synced 2025-06-27 14:49:11 +03:00
New working systems
------------------- Mephisto Roma II [hap, anonymous] Mephisto Montreal 68000 [hap, anonymous]
This commit is contained in:
parent
698caa1065
commit
e7361160fd
@ -22,11 +22,12 @@ Module PCB is the same as Super Mondial II College, label HGS 10 116 05.
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m6502/m65c02.h"
|
||||
#include "machine/74259.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
#include "video/pwm.h"
|
||||
|
||||
// internal artwork
|
||||
|
@ -14,11 +14,12 @@ TODO:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/m68000/m68020.h"
|
||||
#include "mmboard.h"
|
||||
#include "sound/dac.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "speaker.h"
|
||||
|
||||
@ -47,7 +48,6 @@ public:
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
virtual void machine_reset() override;
|
||||
|
||||
private:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
@ -71,18 +71,13 @@ void amsterdam_state::machine_start()
|
||||
save_item(NAME(m_kp_select));
|
||||
}
|
||||
|
||||
void amsterdam_state::machine_reset()
|
||||
{
|
||||
m_display->reset();
|
||||
}
|
||||
|
||||
INPUT_CHANGED_MEMBER(amsterdam_state::reset_button)
|
||||
{
|
||||
// RES buttons in serial tied to CPU RESET
|
||||
if (ioport("RESET")->read() == 3)
|
||||
{
|
||||
m_maincpu->pulse_input_line(INPUT_LINE_RESET, attotime::zero);
|
||||
machine_reset();
|
||||
m_display->reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,11 +16,12 @@ TODO:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/m68000/m68020.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
// internal artwork
|
||||
#include "mephisto_berlin.lh"
|
||||
|
@ -75,12 +75,13 @@ BTANB:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "cpu/cosmac/cosmac.h"
|
||||
#include "machine/cdp1852.h"
|
||||
#include "machine/sensorboard.h"
|
||||
#include "machine/timer.h"
|
||||
#include "sound/dac.h"
|
||||
#include "mmdisplay1.h"
|
||||
#include "video/pwm.h"
|
||||
|
||||
#include "speaker.h"
|
||||
|
@ -35,11 +35,12 @@ Hardware notes:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "mmboard.h"
|
||||
#include "sound/dac.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/dac.h"
|
||||
|
||||
#include "speaker.h"
|
||||
|
||||
// internal artwork
|
||||
|
@ -17,11 +17,12 @@ Nigel Short is basically a Milano 2.00
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m6502/r65c02.h"
|
||||
#include "machine/74259.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/sensorboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
#include "video/pwm.h"
|
||||
|
||||
// internal artwork
|
||||
|
@ -39,12 +39,13 @@ TODO:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "bus/generic/slot.h"
|
||||
#include "bus/generic/carts.h"
|
||||
#include "cpu/cosmac/cosmac.h"
|
||||
#include "mmboard.h"
|
||||
#include "sound/dac.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "softlist_dev.h"
|
||||
#include "speaker.h"
|
||||
|
@ -98,13 +98,14 @@ $8000-$FFFF ROM
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "bus/generic/slot.h"
|
||||
#include "bus/generic/carts.h"
|
||||
#include "cpu/m6502/r65c02.h"
|
||||
#include "machine/74259.h"
|
||||
#include "mmboard.h"
|
||||
#include "sound/dac.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "softlist_dev.h"
|
||||
#include "speaker.h"
|
||||
|
@ -18,13 +18,14 @@ Hardware notes:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "cpu/m6502/m65c02.h"
|
||||
#include "machine/clock.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/sensorboard.h"
|
||||
#include "machine/timer.h"
|
||||
#include "sound/dac.h"
|
||||
#include "mmdisplay1.h"
|
||||
#include "video/pwm.h"
|
||||
|
||||
#include "speaker.h"
|
||||
|
@ -85,13 +85,14 @@ Reminder: unsupported on Almeria and Portorose 1.01, this is not a bug.
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "cpu/m68000/m68020.h"
|
||||
#include "cpu/m68000/m68030.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/timer.h"
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
// internal artwork
|
||||
#include "mephisto_alm16.lh"
|
||||
|
@ -42,11 +42,12 @@ After boot, it copies ROM to RAM, probably to circumvent waitstates on slow ROM.
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m68000/m68030.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "machine/timer.h"
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
// internal artwork
|
||||
#include "mephisto_modular_tm.lh"
|
||||
|
@ -21,11 +21,12 @@ Hardware notes:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
|
||||
#include "cpu/m6502/m65c02.h"
|
||||
#include "cpu/m6502/r65c02.h"
|
||||
#include "machine/74259.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "mmboard.h"
|
||||
#include "sound/dac.h"
|
||||
#include "video/pcf2100.h"
|
||||
#include "video/pwm.h"
|
||||
|
@ -16,12 +16,13 @@ The 10MHz version has a W65C02P-8 @ 9.83MHz.
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m6502/m65c02.h"
|
||||
#include "cpu/m6502/r65c02.h"
|
||||
#include "machine/74259.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
// internal artwork
|
||||
#include "mephisto_polgar.lh"
|
||||
|
@ -19,12 +19,13 @@ Hardware notes:
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
#include "cpu/m6502/m65sc02.h"
|
||||
#include "machine/74259.h"
|
||||
#include "machine/nvram.h"
|
||||
#include "mmboard.h"
|
||||
#include "machine/chessmachine.h"
|
||||
#include "mmdisplay2.h"
|
||||
|
||||
// internal artwork
|
||||
#include "mephisto_risc.lh"
|
||||
|
271
src/mame/hegenerglaser/roma2.cpp
Normal file
271
src/mame/hegenerglaser/roma2.cpp
Normal file
@ -0,0 +1,271 @@
|
||||
// license:BSD-3-Clause
|
||||
// copyright-holders:hap
|
||||
/*******************************************************************************
|
||||
|
||||
Mephisto Roma II
|
||||
|
||||
Hardware notes:
|
||||
- MC68HC000FN10 @ ~10MHz
|
||||
- 64KB ROM (2*27C256), 16KB RAM (2*HY6264LP-10), piezo
|
||||
- compatible with magnets chessboard or Mephisto Mobil, and 7seg LCD module
|
||||
|
||||
Mephisto Montreal 68000 from 1993 is on similar hardware, but it is a standalone
|
||||
chess computer (Roma II is a module). The chess engine is still the old 1987 Roma.
|
||||
|
||||
TODO:
|
||||
- verify XTAL (currently guessed from beeper pitch on videos)
|
||||
- verify irq source and level
|
||||
- does it have DTACK waitstates?
|
||||
|
||||
*******************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
|
||||
#include "mmboard.h"
|
||||
#include "mmdisplay1.h"
|
||||
|
||||
#include "cpu/m68000/m68000.h"
|
||||
#include "sound/dac.h"
|
||||
|
||||
#include "speaker.h"
|
||||
|
||||
// internal artwork
|
||||
#include "mephisto_montreal.lh"
|
||||
#include "mephisto_roma2.lh"
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
class roma2_state : public driver_device
|
||||
{
|
||||
public:
|
||||
roma2_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_board(*this, "board"),
|
||||
m_display(*this, "display"),
|
||||
m_dac(*this, "dac"),
|
||||
m_inputs(*this, "IN.%u", 0)
|
||||
{ }
|
||||
|
||||
DECLARE_INPUT_CHANGED_MEMBER(reset_button);
|
||||
|
||||
void roma2(machine_config &config);
|
||||
void montreal(machine_config &config);
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
|
||||
private:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<mephisto_board_device> m_board;
|
||||
required_device<mephisto_display1_device> m_display;
|
||||
required_device<dac_byte_interface> m_dac;
|
||||
required_ioport_array<4> m_inputs;
|
||||
|
||||
void main_map(address_map &map);
|
||||
|
||||
void strobe_w(u8 data);
|
||||
void dac_w(offs_t offset, u8 data);
|
||||
void input_w(offs_t offset, u8 data);
|
||||
u8 input_r();
|
||||
|
||||
u8 m_dac_data = 0;
|
||||
u8 m_inp_mux = 0xf;
|
||||
};
|
||||
|
||||
void roma2_state::machine_start()
|
||||
{
|
||||
// register for savestates
|
||||
save_item(NAME(m_dac_data));
|
||||
save_item(NAME(m_inp_mux));
|
||||
}
|
||||
|
||||
INPUT_CHANGED_MEMBER(roma2_state::reset_button)
|
||||
{
|
||||
// RES buttons in serial tied to CPU RESET
|
||||
if (ioport("RESET")->read() == 3)
|
||||
{
|
||||
m_maincpu->pulse_input_line(INPUT_LINE_RESET, attotime::zero);
|
||||
m_display->reset();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
I/O
|
||||
*******************************************************************************/
|
||||
|
||||
void roma2_state::strobe_w(u8 data)
|
||||
{
|
||||
// d0: lcd strobe
|
||||
m_display->strobe_w(data & 1);
|
||||
}
|
||||
|
||||
void roma2_state::dac_w(offs_t offset, u8 data)
|
||||
{
|
||||
// a0,d0: dac data
|
||||
u8 mask = 1 << offset;
|
||||
m_dac_data = (m_dac_data & ~mask) | ((data & 1) ? mask : 0);
|
||||
m_dac->write(m_dac_data);
|
||||
}
|
||||
|
||||
void roma2_state::input_w(offs_t offset, u8 data)
|
||||
{
|
||||
// a0-a3,d0: input mux
|
||||
u8 mask = 1 << offset;
|
||||
m_inp_mux = (m_inp_mux & ~mask) | ((data & 1) ? mask : 0);
|
||||
}
|
||||
|
||||
u8 roma2_state::input_r()
|
||||
{
|
||||
u8 data = 0;
|
||||
|
||||
// read keypad
|
||||
for (int i = 0; i < 4; i++)
|
||||
if (!BIT(m_inp_mux, i))
|
||||
data |= m_inputs[i]->read();
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
Address Maps
|
||||
*******************************************************************************/
|
||||
|
||||
void roma2_state::main_map(address_map &map)
|
||||
{
|
||||
map(0x000000, 0x00ffff).rom();
|
||||
map(0x900000, 0x900007).w(FUNC(roma2_state::input_w)).umask16(0xff00);
|
||||
map(0x900008, 0x900008).w(FUNC(roma2_state::strobe_w));
|
||||
map(0x90000c, 0x90000f).w(FUNC(roma2_state::dac_w)).umask16(0xff00);
|
||||
map(0xc00000, 0xc00000).w(m_board, FUNC(mephisto_board_device::mux_w));
|
||||
map(0xb00000, 0xb00000).w(m_board, FUNC(mephisto_board_device::led_w));
|
||||
map(0xd00000, 0xd00000).r(m_board, FUNC(mephisto_board_device::input_r));
|
||||
map(0xd00001, 0xd00001).r(FUNC(roma2_state::input_r));
|
||||
map(0xe00000, 0xe00000).w(m_display, FUNC(mephisto_display1_device::data_w));
|
||||
map(0x800000, 0x803fff).ram();
|
||||
|
||||
map(0x900000, 0x900009).nopr(); // st
|
||||
map(0xc00000, 0xc00001).nopr(); // st
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
Input Ports
|
||||
*******************************************************************************/
|
||||
|
||||
static INPUT_PORTS_START( montreal )
|
||||
PORT_START("IN.0")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("INFO") PORT_CODE(KEYCODE_I)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("POS") PORT_CODE(KEYCODE_O)
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("LEV") PORT_CODE(KEYCODE_L)
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("MEM") PORT_CODE(KEYCODE_M)
|
||||
|
||||
PORT_START("IN.1")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_BACKSPACE) PORT_CODE(KEYCODE_DEL) PORT_CODE(KEYCODE_F1) // combine CL/ENT for NEW GAME
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("ENT") PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD) PORT_CODE(KEYCODE_F1) // "
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("A / 1") PORT_CODE(KEYCODE_A) PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD)
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("B / 2 / Pawn") PORT_CODE(KEYCODE_B) PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD)
|
||||
|
||||
PORT_START("IN.2")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("C / 3 / Knight") PORT_CODE(KEYCODE_C) PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("D / 4 / Bishop") PORT_CODE(KEYCODE_D) PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD)
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("E / 5 / Rook") PORT_CODE(KEYCODE_E) PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD)
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("F / 6 / Queen") PORT_CODE(KEYCODE_F) PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD)
|
||||
|
||||
PORT_START("IN.3")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("G / 7 / King") PORT_CODE(KEYCODE_G) PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_7_PAD)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("H / 8") PORT_CODE(KEYCODE_H) PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD)
|
||||
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Left / Black / 9") PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_9_PAD) PORT_CODE(KEYCODE_LEFT)
|
||||
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("Right / White / 0") PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_0_PAD) PORT_CODE(KEYCODE_RIGHT)
|
||||
|
||||
PORT_START("CLICKABLE") // helper for clickable artwork
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_OTHER)
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( roma2 )
|
||||
PORT_INCLUDE( montreal )
|
||||
|
||||
PORT_MODIFY("IN.1")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_BACKSPACE) PORT_CODE(KEYCODE_DEL)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("ENT") PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD)
|
||||
|
||||
PORT_START("RESET")
|
||||
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("RES 1") PORT_CODE(KEYCODE_Z) PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, roma2_state, reset_button, 0)
|
||||
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("RES 2") PORT_CODE(KEYCODE_X) PORT_CODE(KEYCODE_F1) PORT_CHANGED_MEMBER(DEVICE_SELF, roma2_state, reset_button, 0)
|
||||
INPUT_PORTS_END
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
Machine Configs
|
||||
*******************************************************************************/
|
||||
|
||||
void roma2_state::roma2(machine_config &config)
|
||||
{
|
||||
// basic machine hardware
|
||||
M68000(config, m_maincpu, 9.8304_MHz_XTAL);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &roma2_state::main_map);
|
||||
|
||||
const attotime irq_period = attotime::from_hz(9.8304_MHz_XTAL / 0x14000); // 120Hz
|
||||
m_maincpu->set_periodic_int(FUNC(roma2_state::irq5_line_hold), irq_period);
|
||||
|
||||
MEPHISTO_SENSORS_BOARD(config, m_board);
|
||||
m_board->set_delay(attotime::from_msec(200));
|
||||
|
||||
// video hardware
|
||||
MEPHISTO_DISPLAY_MODULE1(config, m_display);
|
||||
config.set_default_layout(layout_mephisto_roma2);
|
||||
|
||||
// sound hardware
|
||||
SPEAKER(config, "speaker").front_center();
|
||||
DAC_2BIT_ONES_COMPLEMENT(config, "dac").add_route(ALL_OUTPUTS, "speaker", 0.125);
|
||||
}
|
||||
|
||||
void roma2_state::montreal(machine_config &config)
|
||||
{
|
||||
roma2(config);
|
||||
|
||||
// basic machine hardware
|
||||
m_maincpu->set_clock(12.288_MHz_XTAL);
|
||||
|
||||
const attotime irq_period = attotime::from_hz(12.288_MHz_XTAL / 0x14000); // 150Hz
|
||||
m_maincpu->set_periodic_int(FUNC(roma2_state::irq5_line_hold), irq_period);
|
||||
|
||||
config.set_default_layout(layout_mephisto_montreal);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
ROM Definitions
|
||||
*******************************************************************************/
|
||||
|
||||
ROM_START( roma2 )
|
||||
ROM_REGION16_BE( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD16_BYTE("roma2_u_v4.02", 0x00000, 0x08000, CRC(89e95f5f) SHA1(6c3992f35fba2c1cc08a93f50aa991d5ffda5bc3) )
|
||||
ROM_LOAD16_BYTE("roma2_l_v4.02", 0x00001, 0x08000, CRC(74b03889) SHA1(9d2a09b93f3b2dc483b4f30db134f83deb3aa951) )
|
||||
ROM_END
|
||||
|
||||
ROM_START( montreal )
|
||||
ROM_REGION16_BE( 0x10000, "maincpu", 0 )
|
||||
ROM_LOAD16_BYTE("montreal_even_5.01", 0x00000, 0x08000, CRC(b32a5db4) SHA1(02a41732d80d91a984814acfae7fec0a8522c13d) )
|
||||
ROM_LOAD16_BYTE("montreal_odd_5.01", 0x00001, 0x08000, CRC(a60e2808) SHA1(8a2d404548a934573be125b0cdb91285569b8f72) )
|
||||
ROM_END
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
Drivers
|
||||
*******************************************************************************/
|
||||
|
||||
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
|
||||
SYST( 1989, roma2, 0, 0, roma2, roma2, roma2_state, empty_init, "Hegener + Glaser", "Mephisto Roma II", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
SYST( 1993, montreal, 0, 0, montreal, montreal, roma2_state, empty_init, "Hegener + Glaser", "Mephisto Montreal 68000", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
577
src/mame/layout/mephisto_montreal.lay
Normal file
577
src/mame/layout/mephisto_montreal.lay
Normal file
@ -0,0 +1,577 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
license:CC0-1.0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- luascript (-plugin layout), for pressing 2 buttons simultaneously -->
|
||||
|
||||
<script><![CDATA[
|
||||
local layout = {}
|
||||
local prev_state = 0
|
||||
|
||||
function layout.frame()
|
||||
local cur_state = machine.ioport.ports[":CLICKABLE"]:read() & 1
|
||||
if cur_state ~= prev_state then
|
||||
machine.ioport.ports[":IN.1"]:field(0x01):set_value(cur_state)
|
||||
machine.ioport.ports[":IN.1"]:field(0x02):set_value(cur_state)
|
||||
end
|
||||
prev_state = cur_state
|
||||
end
|
||||
|
||||
return layout
|
||||
]]></script>
|
||||
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<disk state="0">
|
||||
<color red="0.20" green="0.0" blue="0.0" />
|
||||
</disk>
|
||||
<disk state="1">
|
||||
<color red="1" green="0.1" blue="0.1" />
|
||||
</disk>
|
||||
</element>
|
||||
<element name="hlb" defstate="0">
|
||||
<rect state="0">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="0.4" green="0.4" blue="0.4" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="0.4" green="0.4" blue="0.4" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
<element name="nothing" defstate="0">
|
||||
<rect><color alpha="0" /></rect>
|
||||
</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.svg" state="1"/>
|
||||
<image file="chess/wn.svg" state="2"/>
|
||||
<image file="chess/wb.svg" state="3"/>
|
||||
<image file="chess/wr.svg" state="4"/>
|
||||
<image file="chess/wq.svg" state="5"/>
|
||||
<image file="chess/wk.svg" state="6"/>
|
||||
|
||||
<image file="chess/bp.svg" state="7"/>
|
||||
<image file="chess/bn.svg" state="8"/>
|
||||
<image file="chess/bb.svg" state="9"/>
|
||||
<image file="chess/br.svg" state="10"/>
|
||||
<image file="chess/bq.svg" state="11"/>
|
||||
<image file="chess/bk.svg" state="12"/>
|
||||
|
||||
<!-- selected pieces -->
|
||||
<image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
|
||||
<image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
|
||||
<image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
|
||||
<image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
|
||||
<image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
|
||||
<image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>
|
||||
|
||||
<image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
|
||||
<image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
|
||||
<image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
|
||||
<image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
|
||||
<image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
|
||||
<image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
|
||||
</element>
|
||||
|
||||
<group name="sb_board">
|
||||
<bounds x="0" y="0" width="80" height="80" />
|
||||
|
||||
<!-- squares (avoid seams) -->
|
||||
<element ref="cwhite"><bounds x="0" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="0" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="0" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="0" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>
|
||||
|
||||
<!-- chessboard leds -->
|
||||
<repeat count="8">
|
||||
<param name="x" start="8.3" increment="10" />
|
||||
<param name="la" start="0" increment="1" />
|
||||
<param name="lb" start="8" increment="1" />
|
||||
<param name="lc" start="16" increment="1" />
|
||||
<param name="ld" start="24" increment="1" />
|
||||
<param name="le" start="32" increment="1" />
|
||||
<param name="lf" start="40" increment="1" />
|
||||
<param name="lg" start="48" increment="1" />
|
||||
<param name="lh" start="56" increment="1" />
|
||||
|
||||
<element name="led~la~" ref="led"><bounds x="~x~" y="78.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lb~" ref="led"><bounds x="~x~" y="68.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lc~" ref="led"><bounds x="~x~" y="58.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~ld~" ref="led"><bounds x="~x~" y="48.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~le~" ref="led"><bounds x="~x~" y="38.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lf~" ref="led"><bounds x="~x~" y="28.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lg~" ref="led"><bounds x="~x~" y="18.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lh~" ref="led"><bounds x="~x~" y="8.3" width="1.5" height="1.5" /></element>
|
||||
</repeat>
|
||||
|
||||
<!-- sensors, pieces -->
|
||||
<repeat count="8">
|
||||
<param name="y" start="0" increment="10" />
|
||||
<param name="i" start="8" increment="-1" />
|
||||
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
|
||||
<element name="piece_a~i~" ref="piece"><bounds x="0" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element>
|
||||
</repeat>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- sb ui -->
|
||||
|
||||
<element name="hlub" defstate="0">
|
||||
<rect state="1"><color red="0" green="0" blue="0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uib2">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uib3">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uih2">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu2a">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2b">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2c">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2d">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu3a" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="2">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu3c" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="1">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
|
||||
<group name="sb_ui">
|
||||
<bounds x="0" y="0" width="10" height="80" />
|
||||
<element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
|
||||
<element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
|
||||
<element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
|
||||
<element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
|
||||
<element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>
|
||||
|
||||
<!-- board -->
|
||||
<element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>
|
||||
|
||||
<element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
|
||||
<element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- spawn -->
|
||||
<element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element>
|
||||
|
||||
<element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element>
|
||||
<element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element>
|
||||
<element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element>
|
||||
<element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element>
|
||||
<element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element>
|
||||
<element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element>
|
||||
<element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element>
|
||||
<element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element>
|
||||
<element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element>
|
||||
<element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element>
|
||||
<element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element>
|
||||
<element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- hand -->
|
||||
<element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element>
|
||||
<element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element>
|
||||
<element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element>
|
||||
<element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- undo -->
|
||||
<element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element>
|
||||
<element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element>
|
||||
<element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element>
|
||||
<element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
|
||||
<element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element>
|
||||
<element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element>
|
||||
<element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- display -->
|
||||
|
||||
<element name="lcd_bg"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>
|
||||
<element name="ldot_hide"><disk><color red="0.54" green="0.57" blue="0.58" /></disk></element>
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
<led7seg><color red="0.2" green="0.16" blue="0.16" /></led7seg>
|
||||
</element>
|
||||
<element name="ldot">
|
||||
<rect><color red="0.49412" green="0.51765" blue="0.51765" /></rect>
|
||||
<rect statemask="0x80"><color red="0.2" green="0.16" blue="0.16" /></rect>
|
||||
</element>
|
||||
|
||||
<group name="display">
|
||||
<bounds x="31" y="90.3" width="22.5" height="7.4" />
|
||||
|
||||
<element ref="lcd_bg"><bounds x="31" y="90.3" width="22.5" height="7.4" /></element>
|
||||
|
||||
<element name="digit3" ref="digit"><bounds x="32.6" y="91" width="4" height="6" /></element>
|
||||
<element name="digit2" ref="digit"><bounds x="37.7" y="91" width="4" height="6" /></element>
|
||||
<element name="digit1" ref="digit"><bounds x="42.8" y="91" width="4" height="6" /></element>
|
||||
<element name="digit0" ref="digit"><bounds x="47.9" y="91" width="4" height="6" /></element>
|
||||
|
||||
<!-- digits DP are different from normal 7seg -->
|
||||
<element ref="ldot_hide"><bounds x="35.9" y="96.3" width="0.85" height="0.85" /></element>
|
||||
<element ref="ldot_hide"><bounds x="41.0" y="96.3" width="0.85" height="0.85" /></element>
|
||||
<element ref="ldot_hide"><bounds x="46.1" y="96.3" width="0.85" height="0.85" /></element>
|
||||
<element ref="ldot_hide"><bounds x="51.2" y="96.3" width="0.85" height="0.85" /></element>
|
||||
|
||||
<element name="digit3" ref="ldot"><bounds x="36.59" y="96.42" width="0.6" height="0.6" /></element>
|
||||
<element name="digit2" ref="ldot"><bounds x="41.69" y="96.42" width="0.6" height="0.6" /></element>
|
||||
<element name="digit1" ref="ldot"><bounds x="46.79" y="96.42" width="0.6" height="0.6" /></element>
|
||||
|
||||
<element name="digit0" ref="ldot"><bounds x="42.06" y="92.30" width="0.6" height="0.6" /></element>
|
||||
<element name="digit0" ref="ldot"><bounds x="41.80" y="95.12" width="0.6" height="0.6" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- buttons -->
|
||||
|
||||
<element name="gray"><rect><color red="0.25" green="0.25" blue="0.25" /></rect></element>
|
||||
<element name="white"><rect><color red="0.95" green="0.95" blue="0.95" /></rect></element>
|
||||
|
||||
<element name="blackw">
|
||||
<rect><bounds x="0" y="0" width="1" height="1" /><color red="0.95" green="0.95" blue="0.95" /></rect>
|
||||
<rect><bounds x="0.15" y="0.15" width="0.7" height="0.7" /><color red="0.25" green="0.25" blue="0.25" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="keys" defstate="0">
|
||||
<rect state="1"><color red="0.0" green="0.0" blue="0.0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="text_info"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string=" INFO"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_pos"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="POS"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_lev"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="LEV"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_mem"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="MEM"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_cl"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="CL"> <color red="0.95" green="0.25" blue="0.25" /></text></element>
|
||||
<element name="text_ent"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="ENT"> <color red="0.95" green="0.25" blue="0.25" /></text></element>
|
||||
|
||||
<element name="text_a1"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="A"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_b2"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="B"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_c3"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="C"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_d4"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="D"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_e5"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="E"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_f6"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="F"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_g7"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="G"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_h8"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="H"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_l9"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="←"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_r0"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="→"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
|
||||
<element name="text_1a"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="1"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_2b"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="2"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_3c"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="3"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_4d"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="4"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_5e"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="5"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_6f"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="6"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_7g"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="7"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_8h"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="8"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_9l"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="9"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_0r"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="0"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
|
||||
<element name="text_p1"><image file="chess/wk.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p2"><image file="chess/wq.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p3"><image file="chess/wr.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p4"><image file="chess/wb.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p5"><image file="chess/wn.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p6"><image file="chess/wp.svg"><color alpha="0.95" /></image></element>
|
||||
|
||||
<group name="buttons">
|
||||
<bounds x="69" y="93" width="29" height="14" />
|
||||
|
||||
<element ref="gray"><bounds x="69" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="74" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="79" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="84" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="89" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="94" y="93" width="4" height="4" /></element>
|
||||
|
||||
<element ref="gray"><bounds x="69" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="74" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="79" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="84" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="89" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="94" y="98" width="4" height="4" /></element>
|
||||
|
||||
<element ref="gray"><bounds x="74" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="79" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="84" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="89" y="103" width="4" height="4" /></element>
|
||||
|
||||
<element ref="text_info"><bounds x="69" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_pos"> <bounds x="74" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_lev"> <bounds x="79" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_mem"> <bounds x="84" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_cl"> <bounds x="89" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_ent"> <bounds x="94" y="94" width="4" height="2.2" /></element>
|
||||
|
||||
<element ref="text_a1"><bounds x="69" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_b2"><bounds x="74" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_c3"><bounds x="79" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_d4"><bounds x="84" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_e5"><bounds x="89" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_f6"><bounds x="94" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_g7"><bounds x="74" y="103" width="2" height="2.2" /></element>
|
||||
<element ref="text_h8"><bounds x="79" y="103" width="2" height="2.2" /></element>
|
||||
<element ref="text_l9"><bounds x="85" y="103" width="2" height="1.8" /></element>
|
||||
<element ref="text_r0"><bounds x="90.2" y="103" width="2" height="1.8" /></element>
|
||||
|
||||
<element ref="text_1a"><bounds x="71" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_2b"><bounds x="76" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_3c"><bounds x="81" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_4d"><bounds x="86" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_5e"><bounds x="91" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_6f"><bounds x="96" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_7g"><bounds x="76" y="104.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_8h"><bounds x="81" y="104.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_9l"><bounds x="86" y="104.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_0r"><bounds x="91" y="104.5" width="1.97" height="2.2" /></element>
|
||||
|
||||
<element ref="text_p6"><bounds x="76" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p5"><bounds x="81" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p4"><bounds x="86" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p3"><bounds x="91" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p2"><bounds x="96" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p1"><bounds x="81" y="103" width="1.8" height="1.7" /></element>
|
||||
<element ref="blackw"><bounds x="84.5" y="105.1" width="1.3" height="1.3" /></element>
|
||||
<element ref="white"><bounds x="89.5" y="105.1" width="1.3" height="1.3" /></element>
|
||||
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x01"><bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x02"><bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x04"><bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x08"><bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x01"><bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x02"><bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x04"><bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x08"><bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x01"><bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x02"><bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x04"><bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x08"><bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x01"><bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x02"><bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x04"><bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x08"><bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- hidden input between CL/ENT buttons to press both -->
|
||||
<element ref="nothing" inputtag="CLICKABLE" inputmask="0x01"><bounds x="92" y="93" width="3" height="4" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="0" right="102" top="-2" bottom="104" />
|
||||
<element ref="cblack"><bounds x="13" y="-2" width="89" height="89" /></element>
|
||||
<element ref="cwhite"><bounds x="17" y="2" width="81" height="81" /></element>
|
||||
|
||||
<group ref="sb_board"><bounds x="17.5" y="2.5" width="80" height="80" /></group>
|
||||
<group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group>
|
||||
|
||||
<!-- chessboard coords -->
|
||||
<element ref="text_8"><bounds x="14.2" y="6.5" width="2" height="2" /></element>
|
||||
<element ref="text_7"><bounds x="14.2" y="16.5" width="2" height="2" /></element>
|
||||
<element ref="text_6"><bounds x="14.2" y="26.5" width="2" height="2" /></element>
|
||||
<element ref="text_5"><bounds x="14.2" y="36.5" width="2" height="2" /></element>
|
||||
<element ref="text_4"><bounds x="14.2" y="46.5" width="2" height="2" /></element>
|
||||
<element ref="text_3"><bounds x="14.2" y="56.5" width="2" height="2" /></element>
|
||||
<element ref="text_2"><bounds x="14.2" y="66.5" width="2" height="2" /></element>
|
||||
<element ref="text_1"><bounds x="14.2" y="76.5" width="2" height="2" /></element>
|
||||
|
||||
<element ref="text_a"><bounds x="21.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_b"><bounds x="31.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_c"><bounds x="41.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_d"><bounds x="51.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_e"><bounds x="61.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_f"><bounds x="71.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_g"><bounds x="81.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_h"><bounds x="91.5" y="84" width="2" height="2" /></element>
|
||||
|
||||
<!-- bottom side -->
|
||||
<element ref="lcd_bg"><bounds x="37.5" y="91.5" width="20" height="8" /></element>
|
||||
<group ref="display"><bounds x="38" y="92.3" width="19" height="6.4" /></group>
|
||||
<group ref="buttons"><bounds x="67.5" y="88.5" width="29" height="14" /></group>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
584
src/mame/layout/mephisto_roma2.lay
Normal file
584
src/mame/layout/mephisto_roma2.lay
Normal file
@ -0,0 +1,584 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
license:CC0-1.0
|
||||
-->
|
||||
<mamelayout version="2">
|
||||
|
||||
<!-- luascript (-plugin layout), for pressing 2 buttons simultaneously -->
|
||||
|
||||
<script><![CDATA[
|
||||
local layout = {}
|
||||
local prev_state = 0
|
||||
|
||||
function layout.frame()
|
||||
local cur_state = machine.ioport.ports[":CLICKABLE"]:read() & 1
|
||||
if cur_state ~= prev_state then
|
||||
machine.ioport.ports[":RESET"]:field(0x01):set_value(cur_state)
|
||||
machine.ioport.ports[":RESET"]:field(0x02):set_value(cur_state)
|
||||
end
|
||||
prev_state = cur_state
|
||||
end
|
||||
|
||||
return layout
|
||||
]]></script>
|
||||
|
||||
|
||||
<!-- define elements -->
|
||||
|
||||
<element name="led" defstate="0">
|
||||
<disk state="0">
|
||||
<color red="0.20" green="0.0" blue="0.0" />
|
||||
</disk>
|
||||
<disk state="1">
|
||||
<color red="1" green="0.1" blue="0.1" />
|
||||
</disk>
|
||||
</element>
|
||||
<element name="hlb" defstate="0">
|
||||
<rect state="0">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="0.4" green="0.4" blue="0.4" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="0.4" green="0.4" blue="0.4" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
<element name="nothing" defstate="0">
|
||||
<rect><color alpha="0" /></rect>
|
||||
</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.svg" state="1"/>
|
||||
<image file="chess/wn.svg" state="2"/>
|
||||
<image file="chess/wb.svg" state="3"/>
|
||||
<image file="chess/wr.svg" state="4"/>
|
||||
<image file="chess/wq.svg" state="5"/>
|
||||
<image file="chess/wk.svg" state="6"/>
|
||||
|
||||
<image file="chess/bp.svg" state="7"/>
|
||||
<image file="chess/bn.svg" state="8"/>
|
||||
<image file="chess/bb.svg" state="9"/>
|
||||
<image file="chess/br.svg" state="10"/>
|
||||
<image file="chess/bq.svg" state="11"/>
|
||||
<image file="chess/bk.svg" state="12"/>
|
||||
|
||||
<!-- selected pieces -->
|
||||
<image file="chess/wp.svg" state="13"><color alpha="0.5" /></image>
|
||||
<image file="chess/wn.svg" state="14"><color alpha="0.5" /></image>
|
||||
<image file="chess/wb.svg" state="15"><color alpha="0.5" /></image>
|
||||
<image file="chess/wr.svg" state="16"><color alpha="0.5" /></image>
|
||||
<image file="chess/wq.svg" state="17"><color alpha="0.5" /></image>
|
||||
<image file="chess/wk.svg" state="18"><color alpha="0.5" /></image>
|
||||
|
||||
<image file="chess/bp.svg" state="19"><color alpha="0.5" /></image>
|
||||
<image file="chess/bn.svg" state="20"><color alpha="0.5" /></image>
|
||||
<image file="chess/bb.svg" state="21"><color alpha="0.5" /></image>
|
||||
<image file="chess/br.svg" state="22"><color alpha="0.5" /></image>
|
||||
<image file="chess/bq.svg" state="23"><color alpha="0.5" /></image>
|
||||
<image file="chess/bk.svg" state="24"><color alpha="0.5" /></image>
|
||||
</element>
|
||||
|
||||
<group name="sb_board">
|
||||
<bounds x="0" y="0" width="80" height="80" />
|
||||
|
||||
<!-- squares (avoid seams) -->
|
||||
<element ref="cwhite"><bounds x="0" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="0" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="0" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="0" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="0" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="0" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="10" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="10" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="10" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="10" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="10" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="0" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="20" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="20" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="20" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="20" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="20" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="30" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="30" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="30" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="30" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="30" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="0" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="40" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="40" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="40" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="40" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="40" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="50" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="50" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="50" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="50" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="50" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="0" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="10" y="60" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="20" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="30" y="60" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="40" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="50" y="60" width="11" height="11" /></element>
|
||||
<element ref="cwhite"><bounds x="60" y="60" width="11" height="11" /></element>
|
||||
<element ref="cblack"><bounds x="70" y="60" width="10" height="11" /></element>
|
||||
|
||||
<element ref="cblack"><bounds x="0" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="10" y="70" width="11" height="10" /></element>
|
||||
<element ref="cblack"><bounds x="20" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="30" y="70" width="11" height="10" /></element>
|
||||
<element ref="cblack"><bounds x="40" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="50" y="70" width="11" height="10" /></element>
|
||||
<element ref="cblack"><bounds x="60" y="70" width="11" height="10" /></element>
|
||||
<element ref="cwhite"><bounds x="70" y="70" width="10" height="10" /></element>
|
||||
|
||||
<!-- chessboard leds -->
|
||||
<repeat count="8">
|
||||
<param name="x" start="8.3" increment="10" />
|
||||
<param name="la" start="0" increment="1" />
|
||||
<param name="lb" start="8" increment="1" />
|
||||
<param name="lc" start="16" increment="1" />
|
||||
<param name="ld" start="24" increment="1" />
|
||||
<param name="le" start="32" increment="1" />
|
||||
<param name="lf" start="40" increment="1" />
|
||||
<param name="lg" start="48" increment="1" />
|
||||
<param name="lh" start="56" increment="1" />
|
||||
|
||||
<element name="led~la~" ref="led"><bounds x="~x~" y="78.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lb~" ref="led"><bounds x="~x~" y="68.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lc~" ref="led"><bounds x="~x~" y="58.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~ld~" ref="led"><bounds x="~x~" y="48.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~le~" ref="led"><bounds x="~x~" y="38.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lf~" ref="led"><bounds x="~x~" y="28.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lg~" ref="led"><bounds x="~x~" y="18.3" width="1.5" height="1.5" /></element>
|
||||
<element name="led~lh~" ref="led"><bounds x="~x~" y="8.3" width="1.5" height="1.5" /></element>
|
||||
</repeat>
|
||||
|
||||
<!-- sensors, pieces -->
|
||||
<repeat count="8">
|
||||
<param name="y" start="0" increment="10" />
|
||||
<param name="i" start="8" increment="-1" />
|
||||
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x01"><bounds x="0" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x02"><bounds x="10" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x04"><bounds x="20" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x08"><bounds x="30" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x10"><bounds x="40" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x20"><bounds x="50" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x40"><bounds x="60" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
<element ref="hlbb" inputtag="board:board:RANK.~i~" inputmask="0x80"><bounds x="70" y="~y~" width="10" height="10" /><color alpha="0.04" /></element>
|
||||
|
||||
<element name="piece_a~i~" ref="piece"><bounds x="0" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_b~i~" ref="piece"><bounds x="10" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_c~i~" ref="piece"><bounds x="20" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_d~i~" ref="piece"><bounds x="30" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_e~i~" ref="piece"><bounds x="40" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_f~i~" ref="piece"><bounds x="50" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_g~i~" ref="piece"><bounds x="60" y="~y~" width="10" height="10" /></element>
|
||||
<element name="piece_h~i~" ref="piece"><bounds x="70" y="~y~" width="10" height="10" /></element>
|
||||
</repeat>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- sb ui -->
|
||||
|
||||
<element name="hlub" defstate="0">
|
||||
<rect state="1"><color red="0" green="0" blue="0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="text_uit1"><text string="S.BOARD"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uit2"><text string="INTERFACE"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uib1"><text string="BOARD:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uib2">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="RESET"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uib3">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="CLEAR"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uis1"><text string="SPAWN:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uih1"><text string="HAND:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uih2">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string="REMOVE"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu1"><text string="UNDO:"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu2a">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" <<"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2b">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" < "><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2c">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu2d">
|
||||
<rect><color red="0.84" green="0.75" blue="0.50" /></rect>
|
||||
<text string=" >>"><color red="0.01" green="0.01" blue="0.01" /></text>
|
||||
</element>
|
||||
<element name="text_uiu3a" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="2">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
<element name="text_uiu3b"><text string="/"><color red="0.81" green="0.8" blue="0.79" /></text></element>
|
||||
<element name="text_uiu3c" defstate="0">
|
||||
<simplecounter maxstate="999" digits="1" align="1">
|
||||
<color red="0.81" green="0.8" blue="0.79" />
|
||||
</simplecounter>
|
||||
</element>
|
||||
|
||||
<group name="sb_ui">
|
||||
<bounds x="0" y="0" width="10" height="80" />
|
||||
<element ref="cblack"><bounds x="0" y="0" width="10" height="1" /></element>
|
||||
<element ref="cblack"><bounds x="0" y="7" width="10" height="1" /></element>
|
||||
<element ref="cblack"><bounds x="0" y="79" width="10" height="1" /></element>
|
||||
<element ref="text_uit1"><bounds x="0" y="2" width="10" height="2" /></element>
|
||||
<element ref="text_uit2"><bounds x="0" y="4" width="10" height="2" /></element>
|
||||
|
||||
<!-- board -->
|
||||
<element ref="text_uib1"><bounds x="0" y="9" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="11.5" width="8" height="2.5" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="15" width="8" height="2.5" /></element>
|
||||
|
||||
<element ref="text_uib2"><bounds x="1.5" y="11.75" width="7" height="2" /></element>
|
||||
<element ref="text_uib3"><bounds x="1.5" y="15.25" width="7" height="2" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x200"><bounds x="1" y="11.5" width="8" height="2.5" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x100"><bounds x="1" y="15" width="8" height="2.5" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- spawn -->
|
||||
<element ref="text_uis1"><bounds x="0" y="20.5" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="23" width="8" height="12" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="36" width="8" height="12" /></element>
|
||||
|
||||
<element name="piece_ui1" ref="piece"><bounds x="1" y="23" width="4" height="4" /></element>
|
||||
<element name="piece_ui2" ref="piece"><bounds x="1" y="27" width="4" height="4" /></element>
|
||||
<element name="piece_ui3" ref="piece"><bounds x="1" y="31" width="4" height="4" /></element>
|
||||
<element name="piece_ui4" ref="piece"><bounds x="5" y="23" width="4" height="4" /></element>
|
||||
<element name="piece_ui5" ref="piece"><bounds x="5" y="27" width="4" height="4" /></element>
|
||||
<element name="piece_ui6" ref="piece"><bounds x="5" y="31" width="4" height="4" /></element>
|
||||
<element name="piece_ui7" ref="piece"><bounds x="1" y="36" width="4" height="4" /></element>
|
||||
<element name="piece_ui8" ref="piece"><bounds x="1" y="40" width="4" height="4" /></element>
|
||||
<element name="piece_ui9" ref="piece"><bounds x="1" y="44" width="4" height="4" /></element>
|
||||
<element name="piece_ui10" ref="piece"><bounds x="5" y="36" width="4" height="4" /></element>
|
||||
<element name="piece_ui11" ref="piece"><bounds x="5" y="40" width="4" height="4" /></element>
|
||||
<element name="piece_ui12" ref="piece"><bounds x="5" y="44" width="4" height="4" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0001"><bounds x="1" y="23" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0002"><bounds x="1" y="27" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0004"><bounds x="1" y="31" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0008"><bounds x="5" y="23" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0010"><bounds x="5" y="27" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0020"><bounds x="5" y="31" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0040"><bounds x="1" y="36" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0080"><bounds x="1" y="40" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0100"><bounds x="1" y="44" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0200"><bounds x="5" y="36" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0400"><bounds x="5" y="40" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:SPAWN" inputmask="0x0800"><bounds x="5" y="44" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- hand -->
|
||||
<element ref="text_uih1"><bounds x="0" y="51" width="10" height="2" /></element>
|
||||
<element ref="cblack"><bounds x="1" y="53.5" width="8" height="6" /></element>
|
||||
<element name="piece_ui0" ref="piece"><bounds x="2" y="53.5" width="6" height="6" /></element>
|
||||
|
||||
<element ref="cwhite"><bounds x="1" y="60.5" width="8" height="2.5" /></element>
|
||||
<element ref="text_uih2"><bounds x="1.5" y="60.75" width="7" height="2" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x08"><bounds x="1" y="60.5" width="8" height="2.5" /><color alpha="0.25" /></element>
|
||||
|
||||
<!-- undo -->
|
||||
<element ref="text_uiu1"><bounds x="0" y="66" width="10" height="2" /></element>
|
||||
<element ref="cwhite"><bounds x="1" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="cwhite"><bounds x="3.1" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="cwhite"><bounds x="5.2" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="cwhite"><bounds x="7.3" y="68.5" width="1.7" height="6" /></element>
|
||||
<element ref="text_uiu2a"><bounds x="1" y="69.5" width="1.7" height="4" /></element>
|
||||
<element ref="text_uiu2b"><bounds x="3.1" y="69.5" width="1.7" height="4" /></element>
|
||||
<element ref="text_uiu2c"><bounds x="5.2" y="69.5" width="1.7" height="4" /></element>
|
||||
<element ref="text_uiu2d"><bounds x="7.3" y="69.5" width="1.7" height="4" /></element>
|
||||
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x10"><bounds x="1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x20"><bounds x="3.1" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x40"><bounds x="5.2" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
<element ref="hlub" inputtag="board:board:UI" inputmask="0x80"><bounds x="7.3" y="68.5" width="1.7" height="6" /><color alpha="0.25" /></element>
|
||||
|
||||
<element name="count_ui0" ref="text_uiu3a"><bounds x="0" y="75" width="4" height="2" /></element>
|
||||
<element name="count_ui1" ref="text_uiu3c"><bounds x="6" y="75" width="4" height="2" /></element>
|
||||
<element ref="text_uiu3b"><bounds x="4" y="75" width="2" height="2" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- display -->
|
||||
|
||||
<element name="lcd_bg"><rect><color red="0.54" green="0.57" blue="0.58" /></rect></element>
|
||||
<element name="ldot_hide"><disk><color red="0.54" green="0.57" blue="0.58" /></disk></element>
|
||||
|
||||
<element name="digit" defstate="0">
|
||||
<led7seg><color red="0.2" green="0.16" blue="0.16" /></led7seg>
|
||||
</element>
|
||||
<element name="ldot">
|
||||
<rect><color red="0.49412" green="0.51765" blue="0.51765" /></rect>
|
||||
<rect statemask="0x80"><color red="0.2" green="0.16" blue="0.16" /></rect>
|
||||
</element>
|
||||
|
||||
<group name="display">
|
||||
<bounds x="31" y="90.3" width="22.5" height="7.4" />
|
||||
|
||||
<element ref="lcd_bg"><bounds x="31" y="90.3" width="22.5" height="7.4" /></element>
|
||||
|
||||
<element name="digit3" ref="digit"><bounds x="32.6" y="91" width="4" height="6" /></element>
|
||||
<element name="digit2" ref="digit"><bounds x="37.7" y="91" width="4" height="6" /></element>
|
||||
<element name="digit1" ref="digit"><bounds x="42.8" y="91" width="4" height="6" /></element>
|
||||
<element name="digit0" ref="digit"><bounds x="47.9" y="91" width="4" height="6" /></element>
|
||||
|
||||
<!-- digits DP are different from normal 7seg -->
|
||||
<element ref="ldot_hide"><bounds x="35.9" y="96.3" width="0.85" height="0.85" /></element>
|
||||
<element ref="ldot_hide"><bounds x="41.0" y="96.3" width="0.85" height="0.85" /></element>
|
||||
<element ref="ldot_hide"><bounds x="46.1" y="96.3" width="0.85" height="0.85" /></element>
|
||||
<element ref="ldot_hide"><bounds x="51.2" y="96.3" width="0.85" height="0.85" /></element>
|
||||
|
||||
<element name="digit3" ref="ldot"><bounds x="36.59" y="96.42" width="0.6" height="0.6" /></element>
|
||||
<element name="digit2" ref="ldot"><bounds x="41.69" y="96.42" width="0.6" height="0.6" /></element>
|
||||
<element name="digit1" ref="ldot"><bounds x="46.79" y="96.42" width="0.6" height="0.6" /></element>
|
||||
|
||||
<element name="digit0" ref="ldot"><bounds x="42.06" y="92.30" width="0.6" height="0.6" /></element>
|
||||
<element name="digit0" ref="ldot"><bounds x="41.80" y="95.12" width="0.6" height="0.6" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- buttons -->
|
||||
|
||||
<element name="gray"><rect><color red="0.25" green="0.25" blue="0.25" /></rect></element>
|
||||
<element name="white"><rect><color red="0.95" green="0.95" blue="0.95" /></rect></element>
|
||||
|
||||
<element name="blackw">
|
||||
<rect><bounds x="0" y="0" width="1" height="1" /><color red="0.95" green="0.95" blue="0.95" /></rect>
|
||||
<rect><bounds x="0.15" y="0.15" width="0.7" height="0.7" /><color red="0.25" green="0.25" blue="0.25" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="keys" defstate="0">
|
||||
<rect state="1"><color red="0.0" green="0.0" blue="0.0" /></rect>
|
||||
</element>
|
||||
|
||||
<element name="text_info"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string=" INFO"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_pos"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="POS"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_lev"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="LEV"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_mem"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="MEM"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_cl"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="CL"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_ent"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="ENT"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_res"> <rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="RES"> <color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
|
||||
<element name="text_a1"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="A"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_b2"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="B"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_c3"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="C"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_d4"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="D"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_e5"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="E"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_f6"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="F"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_g7"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="G"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_h8"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="H"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_l9"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="←"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_r0"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="→"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
|
||||
<element name="text_1a"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="1"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_2b"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="2"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_3c"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="3"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_4d"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="4"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_5e"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="5"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_6f"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="6"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_7g"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="7"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_8h"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="8"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_9l"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="9"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
<element name="text_0r"><rect><color red="0.25" green="0.25" blue="0.25" /></rect><text string="0"><color red="0.95" green="0.95" blue="0.95" /></text></element>
|
||||
|
||||
<element name="text_p1"><image file="chess/wk.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p2"><image file="chess/wq.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p3"><image file="chess/wr.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p4"><image file="chess/wb.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p5"><image file="chess/wn.svg"><color alpha="0.95" /></image></element>
|
||||
<element name="text_p6"><image file="chess/wp.svg"><color alpha="0.95" /></image></element>
|
||||
|
||||
<group name="buttons">
|
||||
<bounds x="69" y="93" width="29" height="14" />
|
||||
|
||||
<element ref="gray"><bounds x="69" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="74" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="79" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="84" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="89" y="93" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="94" y="93" width="4" height="4" /></element>
|
||||
|
||||
<element ref="gray"><bounds x="69" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="74" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="79" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="84" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="89" y="98" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="94" y="98" width="4" height="4" /></element>
|
||||
|
||||
<element ref="gray"><bounds x="69" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="74" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="79" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="84" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="89" y="103" width="4" height="4" /></element>
|
||||
<element ref="gray"><bounds x="94" y="103" width="4" height="4" /></element>
|
||||
|
||||
<element ref="text_info"><bounds x="69" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_pos"> <bounds x="74" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_lev"> <bounds x="79" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_mem"> <bounds x="84" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_cl"> <bounds x="89" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_ent"> <bounds x="94" y="94" width="4" height="2.2" /></element>
|
||||
<element ref="text_res"> <bounds x="69" y="104" width="4" height="2.2" /></element>
|
||||
<element ref="text_res"> <bounds x="74" y="104" width="4" height="2.2" /></element>
|
||||
|
||||
<element ref="text_a1"><bounds x="69" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_b2"><bounds x="74" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_c3"><bounds x="79" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_d4"><bounds x="84" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_e5"><bounds x="89" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_f6"><bounds x="94" y="98" width="2" height="2.2" /></element>
|
||||
<element ref="text_g7"><bounds x="79" y="103" width="2" height="2.2" /></element>
|
||||
<element ref="text_h8"><bounds x="84" y="103" width="2" height="2.2" /></element>
|
||||
<element ref="text_l9"><bounds x="90" y="103" width="2" height="1.8" /></element>
|
||||
<element ref="text_r0"><bounds x="95.2" y="103" width="2" height="1.8" /></element>
|
||||
|
||||
<element ref="text_1a"><bounds x="71" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_2b"><bounds x="76" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_3c"><bounds x="81" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_4d"><bounds x="86" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_5e"><bounds x="91" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_6f"><bounds x="96" y="99.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_7g"><bounds x="81" y="104.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_8h"><bounds x="86" y="104.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_9l"><bounds x="91" y="104.5" width="1.97" height="2.2" /></element>
|
||||
<element ref="text_0r"><bounds x="96" y="104.5" width="1.97" height="2.2" /></element>
|
||||
|
||||
<element ref="text_p6"><bounds x="76" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p5"><bounds x="81" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p4"><bounds x="86" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p3"><bounds x="91" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p2"><bounds x="96" y="98" width="1.8" height="1.7" /></element>
|
||||
<element ref="text_p1"><bounds x="81" y="103" width="1.8" height="1.7" /></element>
|
||||
<element ref="blackw"><bounds x="89.5" y="105.1" width="1.3" height="1.3" /></element>
|
||||
<element ref="white"><bounds x="94.5" y="105.1" width="1.3" height="1.3" /></element>
|
||||
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x01"><bounds x="69" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x02"><bounds x="74" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x04"><bounds x="79" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.0" inputmask="0x08"><bounds x="84" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x01"><bounds x="89" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x02"><bounds x="94" y="93" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x04"><bounds x="69" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.1" inputmask="0x08"><bounds x="74" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x01"><bounds x="79" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x02"><bounds x="84" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x04"><bounds x="89" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.2" inputmask="0x08"><bounds x="94" y="98" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<element ref="nothing" inputtag="CLICKABLE" inputmask="0x01"><bounds x="69" y="103" width="4" height="4" /></element>
|
||||
<element ref="nothing" inputtag="CLICKABLE" inputmask="0x01"><bounds x="74" y="103" width="4" height="4" /></element>
|
||||
<element ref="keys" inputtag="RESET" inputmask="0x01"><bounds x="69" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="RESET" inputmask="0x02"><bounds x="74" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x01"><bounds x="79" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x02"><bounds x="84" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x04"><bounds x="89" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
<element ref="keys" inputtag="IN.3" inputmask="0x08"><bounds x="94" y="103" width="4" height="4" /><color alpha="0.25" /></element>
|
||||
</group>
|
||||
|
||||
|
||||
<!-- build screen -->
|
||||
|
||||
<view name="Internal Layout">
|
||||
<bounds left="0" right="102" top="-2" bottom="104" />
|
||||
<element ref="cblack"><bounds x="13" y="-2" width="89" height="89" /></element>
|
||||
<element ref="cwhite"><bounds x="17" y="2" width="81" height="81" /></element>
|
||||
|
||||
<group ref="sb_board"><bounds x="17.5" y="2.5" width="80" height="80" /></group>
|
||||
<group ref="sb_ui"><bounds x="1.5" y="3" width="10" height="80" /></group>
|
||||
|
||||
<!-- chessboard coords -->
|
||||
<element ref="text_8"><bounds x="14.2" y="6.5" width="2" height="2" /></element>
|
||||
<element ref="text_7"><bounds x="14.2" y="16.5" width="2" height="2" /></element>
|
||||
<element ref="text_6"><bounds x="14.2" y="26.5" width="2" height="2" /></element>
|
||||
<element ref="text_5"><bounds x="14.2" y="36.5" width="2" height="2" /></element>
|
||||
<element ref="text_4"><bounds x="14.2" y="46.5" width="2" height="2" /></element>
|
||||
<element ref="text_3"><bounds x="14.2" y="56.5" width="2" height="2" /></element>
|
||||
<element ref="text_2"><bounds x="14.2" y="66.5" width="2" height="2" /></element>
|
||||
<element ref="text_1"><bounds x="14.2" y="76.5" width="2" height="2" /></element>
|
||||
|
||||
<element ref="text_a"><bounds x="21.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_b"><bounds x="31.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_c"><bounds x="41.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_d"><bounds x="51.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_e"><bounds x="61.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_f"><bounds x="71.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_g"><bounds x="81.5" y="84" width="2" height="2" /></element>
|
||||
<element ref="text_h"><bounds x="91.5" y="84" width="2" height="2" /></element>
|
||||
|
||||
<!-- bottom side -->
|
||||
<element ref="lcd_bg"><bounds x="37.5" y="91.5" width="20" height="8" /></element>
|
||||
<group ref="display"><bounds x="38" y="92.3" width="19" height="6.4" /></group>
|
||||
<group ref="buttons"><bounds x="67.5" y="88.5" width="29" height="14" /></group>
|
||||
</view>
|
||||
|
||||
</mamelayout>
|
@ -19316,6 +19316,10 @@ polgar101 // 1990 Mephisto Polgar 10MHz
|
||||
mrisc // 1992 Mephisto RISC 1MB
|
||||
mrisc2 // 1994 Mephisto RISC II
|
||||
|
||||
@source:hegenerglaser/roma2.cpp
|
||||
montreal // Montreal 68000
|
||||
roma2 // Roma II
|
||||
|
||||
@source:hegenerglaser/smondial.cpp
|
||||
mega4 // 1989 Mephisto Mega IV
|
||||
mega4a // 1989 Mephisto Mega IV
|
||||
|
Loading…
Reference in New Issue
Block a user