mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
New working machines added
-------------------------- Mephisto Mondial II [yoyo_chessboard, Sandro Ronco]
This commit is contained in:
parent
20d1c78b61
commit
a5bc2d89c0
@ -6,6 +6,7 @@
|
||||
Mephisto Monte Carlo
|
||||
Mephisto Mega IV
|
||||
Mephisto Monte Carlo IV LE
|
||||
Mephisto Mondial II
|
||||
Mephisto Super Mondial
|
||||
Mephisto Super Mondial II
|
||||
|
||||
@ -24,6 +25,7 @@
|
||||
|
||||
#include "mephisto_montec.lh"
|
||||
#include "mephisto_megaiv.lh"
|
||||
#include "mephisto_mondial2.lh"
|
||||
#include "mephisto_smondial2.lh"
|
||||
|
||||
|
||||
@ -56,6 +58,9 @@ public:
|
||||
DECLARE_WRITE8_MEMBER(smondial_board_mux_w);
|
||||
DECLARE_WRITE8_MEMBER(smondial_led_data_w);
|
||||
|
||||
DECLARE_WRITE8_MEMBER(mondial2_input_mux_w);
|
||||
TIMER_DEVICE_CALLBACK_MEMBER(refresh_leds);
|
||||
|
||||
protected:
|
||||
virtual void machine_start() override;
|
||||
virtual void machine_reset() override;
|
||||
@ -303,6 +308,41 @@ static ADDRESS_MAP_START(smondial_mem , AS_PROGRAM, 8, mephisto_montec_state )
|
||||
AM_RANGE( 0x8000, 0xffff ) AM_ROM
|
||||
ADDRESS_MAP_END
|
||||
|
||||
WRITE8_MEMBER(mephisto_montec_state::mondial2_input_mux_w)
|
||||
{
|
||||
uint8_t leds_data = m_board->mux_r(space, offset);
|
||||
for (int i=0; i<8; i++)
|
||||
{
|
||||
if (!BIT(leds_data, i))
|
||||
{
|
||||
if (data & 0x10) output().set_led_value(100 + i, 1);
|
||||
if (data & 0x20) output().set_led_value( 8 + i, 1);
|
||||
if (data & 0x40) output().set_led_value( 0 + i, 1);
|
||||
}
|
||||
}
|
||||
|
||||
m_input_mux = data ^ 0xff;
|
||||
m_beeper->set_state(BIT(data, 7));
|
||||
}
|
||||
|
||||
|
||||
static ADDRESS_MAP_START(mondial2_mem , AS_PROGRAM, 8, mephisto_montec_state )
|
||||
AM_RANGE( 0x0000, 0x07ff ) AM_RAM AM_SHARE("nvram")
|
||||
AM_RANGE( 0x2000, 0x2000 ) AM_WRITE(mondial2_input_mux_w)
|
||||
AM_RANGE( 0x2800, 0x2800 ) AM_DEVWRITE("board", mephisto_board_device, mux_w)
|
||||
AM_RANGE( 0x3000, 0x3007 ) AM_READ(megaiv_input_r)
|
||||
AM_RANGE( 0x8000, 0xffff ) AM_ROM
|
||||
ADDRESS_MAP_END
|
||||
|
||||
TIMER_DEVICE_CALLBACK_MEMBER(mephisto_montec_state::refresh_leds)
|
||||
{
|
||||
for (int i=0; i<8; i++)
|
||||
{
|
||||
output().set_led_value(0 + i, 0);
|
||||
output().set_led_value(8 + i, 0);
|
||||
output().set_led_value(100 + i, 0);
|
||||
}
|
||||
}
|
||||
|
||||
static INPUT_PORTS_START( montec )
|
||||
PORT_START("KEY.0")
|
||||
@ -348,6 +388,28 @@ static INPUT_PORTS_START( megaiv )
|
||||
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Level") PORT_CODE(KEYCODE_L)
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( mondial2 )
|
||||
PORT_START("KEY.0")
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Play") PORT_CODE(KEYCODE_Y)
|
||||
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Pos") PORT_CODE(KEYCODE_O)
|
||||
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Mem") PORT_CODE(KEYCODE_M)
|
||||
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Info") PORT_CODE(KEYCODE_I)
|
||||
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Clear") PORT_CODE(KEYCODE_BACKSPACE)
|
||||
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Level") PORT_CODE(KEYCODE_L)
|
||||
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Enter") PORT_CODE(KEYCODE_ENTER)
|
||||
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("Reset") PORT_CODE(KEYCODE_DEL)
|
||||
|
||||
PORT_START("KEY.1")
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("1 Pawn") PORT_CODE(KEYCODE_1)
|
||||
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("2 Knight") PORT_CODE(KEYCODE_2)
|
||||
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("3 Bishop") PORT_CODE(KEYCODE_3)
|
||||
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("4 Rook") PORT_CODE(KEYCODE_4)
|
||||
PORT_BIT(0x10, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("5 Queen") PORT_CODE(KEYCODE_5)
|
||||
PORT_BIT(0x20, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("6 King") PORT_CODE(KEYCODE_6)
|
||||
PORT_BIT(0x40, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("7 Black") PORT_CODE(KEYCODE_7)
|
||||
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("8 White") PORT_CODE(KEYCODE_8)
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( smondial2 )
|
||||
PORT_START("KEY.0")
|
||||
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("3 Bishop") PORT_CODE(KEYCODE_3)
|
||||
@ -399,9 +461,20 @@ static MACHINE_CONFIG_DERIVED( megaiv, montec )
|
||||
|
||||
MCFG_DEVICE_REMOVE("board")
|
||||
MCFG_MEPHISTO_BUTTONS_BOARD_ADD("board")
|
||||
MCFG_MEPHISTO_BOARD_DISABLE_LEDS(true)
|
||||
MCFG_DEFAULT_LAYOUT(layout_mephisto_megaiv)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( mondial2, megaiv )
|
||||
MCFG_CPU_MODIFY("maincpu")
|
||||
MCFG_CPU_CLOCK( XTAL_2MHz )
|
||||
MCFG_CPU_PROGRAM_MAP(mondial2_mem)
|
||||
MCFG_CPU_PERIODIC_INT_DRIVER(mephisto_montec_state, nmi_line_pulse, (double)XTAL_2MHz / (1 << 12))
|
||||
|
||||
MCFG_TIMER_DRIVER_ADD_PERIODIC("refresh_leds", mephisto_montec_state, refresh_leds, attotime::from_hz(10))
|
||||
MCFG_DEFAULT_LAYOUT(layout_mephisto_mondial2)
|
||||
MACHINE_CONFIG_END
|
||||
|
||||
static MACHINE_CONFIG_DERIVED( smondial, megaiv )
|
||||
MCFG_CPU_MODIFY("maincpu")
|
||||
MCFG_CPU_CLOCK( XTAL_4MHz )
|
||||
@ -443,10 +516,16 @@ ROM_START(smondial2)
|
||||
ROM_LOAD("supermondial_II.bin", 0x8000, 0x8000, CRC(cd73df4a) SHA1(bad786074be613d7f48bf98b6fdf8178a4a85f5b))
|
||||
ROM_END
|
||||
|
||||
ROM_START(mondial2)
|
||||
ROM_REGION(0x10000, "maincpu", 0)
|
||||
ROM_LOAD("mondial II 01 08 87 Morsch.bin", 0x8000, 0x8000, CRC(e5945ce6) SHA1(e75bbf9d54087271d9d46fb1de7634eb957f8db0))
|
||||
ROM_END
|
||||
|
||||
|
||||
/* YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS */
|
||||
CONS( 1986, smondial, 0, 0, smondial, megaiv, mephisto_montec_state, 0, "Hegener & Glaser", "Mephisto Super Mondial", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1987, montec, 0, 0, montec, montec, mephisto_montec_state, 0, "Hegener & Glaser", "Mephisto Monte Carlo", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1987, mondial2, 0, 0, mondial2, mondial2, mephisto_montec_state, 0, "Hegener & Glaser", "Mephisto Mondial II", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1989, smondial2,0, 0, smondial2, smondial2,mephisto_montec_state, 0, "Hegener & Glaser", "Mephisto Super Mondial II", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1989, megaiv, 0, 0, megaiv, megaiv, mephisto_montec_state, 0, "Hegener & Glaser", "Mephisto Mega IV", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
CONS( 1990, monteciv, montec, 0, monteciv, montec, mephisto_montec_state, 0, "Hegener & Glaser", "Mephisto Monte Carlo IV LE", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
|
||||
|
312
src/mame/layout/mephisto_mondial2.lay
Normal file
312
src/mame/layout/mephisto_mondial2.lay
Normal file
@ -0,0 +1,312 @@
|
||||
<?xml version="1.0"?>
|
||||
<mamelayout version="2">
|
||||
<!-- define elements -->
|
||||
<element name="led" defstate="0">
|
||||
<rect state="0">
|
||||
<color red="0.20" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<color red="0.95" green="0.0" blue="0.0" />
|
||||
</rect>
|
||||
</element>
|
||||
<element name="hl" defstate="0">
|
||||
<text string=" ">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="0.0" green="0.0" blue="0.0" />
|
||||
</text>
|
||||
<disk state="1">
|
||||
<bounds x="0.12" y="0.12" width="0.76" height="0.76" />
|
||||
<color red="0.5" green="0.5" blue="0.5" />
|
||||
</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="1" green="1" blue="1" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<bounds x="0.0" y="0.0" width="1.0" height="1.0" />
|
||||
<color red="1" green="1" blue="1" />
|
||||
</rect>
|
||||
<rect state="0">
|
||||
<bounds x="0.08" y="0.08" width="0.84" height="0.84" />
|
||||
<color red="0" green="0" blue="0" />
|
||||
</rect>
|
||||
<rect state="1">
|
||||
<bounds x="0.08" y="0.08" width="0.84" height="0.84" />
|
||||
<color red="0" green="0" blue="0" />
|
||||
</rect>
|
||||
</element>
|
||||
|
||||
<element name="background"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect></element>
|
||||
<element name="panel_background"> <rect><color red="0" green="0" blue="0" /></rect></element>
|
||||
<element name="black"> <rect><color red="0" green="0" blue="0" /> </rect></element>
|
||||
<element name="white"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect></element>
|
||||
|
||||
<element name="text_1"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="1"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_2"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="2"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_3"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="3"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_4"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="4"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_5"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="5"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_6"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="6"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_7"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="7"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_8"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="8"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_a"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="A"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_b"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="B"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_c"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="C"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_d"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="D"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_e"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="E"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_f"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="F"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_g"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="G"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
<element name="text_h"> <rect><color red="0.90" green="0.91" blue="0.89" /></rect> <text string="H"> <color red="0" green="0" blue="0" /></text> </element>
|
||||
|
||||
<element name="text_pos"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="POS"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_mem"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="MEM"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_info"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="INFO"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_err"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="ERR"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_lev"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="LEV"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_plus"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="+"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_black"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="□"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_white"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="■"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b1"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="♟ 1"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b2"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="♞ 2"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b3"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="♝ 3"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b4"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="♜ 4"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b5"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="♛ 5"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b6"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="♚ 6"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b7"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="□ 7"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_b8"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="■ 8"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_play"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="PLAY"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_cl"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="CL"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_ent"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="ENT"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
<element name="text_res"> <rect><color red="0" green="0" blue="0" /></rect> <text align="1" string="RES"> <color red="0.90" green="0.91" blue="0.89" /></text> </element>
|
||||
|
||||
<!-- build screen -->
|
||||
<group name="panel">
|
||||
<bezel element="panel_background"><bounds x="0" y="0" width="78" height="12" /></bezel>
|
||||
|
||||
<bezel name="led100" element="led"> <bounds x="1.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led101" element="led"> <bounds x="11.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led102" element="led"> <bounds x="21.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led103" element="led"> <bounds x="31.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led104" element="led"> <bounds x="41.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led105" element="led"> <bounds x="51.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led106" element="led"> <bounds x="61.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
<bezel name="led107" element="led"> <bounds x="71.1" y="0.25" width="1.3" height="1" /> </bezel>
|
||||
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x01"> <bounds x="1" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x02"> <bounds x="11" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x04"> <bounds x="21" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x08"> <bounds x="31" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x10"> <bounds x="41" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x20"> <bounds x="51" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x40"> <bounds x="61" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.1" inputmask="0x80"> <bounds x="71" y="2" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x01"> <bounds x="1" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x02"> <bounds x="11" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x04"> <bounds x="21" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x08"> <bounds x="31" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x10"> <bounds x="41" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x20"> <bounds x="51" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x40"> <bounds x="61" y="7.5" width="6" height="4" /> </bezel>
|
||||
<bezel element="hlb" inputtag="KEY.0" inputmask="0x80"> <bounds x="71" y="7.5" width="6" height="4" /> </bezel>
|
||||
|
||||
<bezel element="text_play"> <bounds x="3" y="0" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_pos"> <bounds x="13" y="0" width="3" height="1.5" /> </bezel>
|
||||
<bezel element="text_mem"> <bounds x="23" y="0" width="3" height="1.5" /> </bezel>
|
||||
<bezel element="text_info"> <bounds x="33" y="0" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_err"> <bounds x="43" y="0" width="3" height="1.5" /> </bezel>
|
||||
<bezel element="text_plus"> <bounds x="53" y="0" width="3" height="1.5" /> </bezel>
|
||||
<bezel element="text_black"> <bounds x="63" y="0" width="1" height="1.5" /> </bezel>
|
||||
<bezel element="text_white"> <bounds x="73.5" y="0" width="1" height="1.5" /> </bezel>
|
||||
|
||||
<bezel element="text_b1"> <bounds x="2" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b2"> <bounds x="12" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b3"> <bounds x="22" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b4"> <bounds x="32" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b5"> <bounds x="42" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b6"> <bounds x="52" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b7"> <bounds x="62" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_b8"> <bounds x="72" y="2.5" width="4" height="1.5" /> </bezel>
|
||||
|
||||
<bezel element="text_play"> <bounds x="2" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_pos"> <bounds x="12" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_mem"> <bounds x="22" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_info"> <bounds x="32" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_cl"> <bounds x="42" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_lev"> <bounds x="52" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_ent"> <bounds x="62" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
<bezel element="text_res"> <bounds x="72" y="9.5" width="4" height="1.5" /> </bezel>
|
||||
</group>
|
||||
|
||||
<view name="Chessboard + Display">
|
||||
<bezel element="background"><bounds x="-2" y="0" width="88" height="102" /></bezel>
|
||||
|
||||
<!-- chessboard coords -->
|
||||
|
||||
<bezel element="text_8"><bounds x="-1.5" y="7" width="2" height="2" /></bezel>
|
||||
<bezel element="text_7"><bounds x="-1.5" y="17" width="2" height="2" /></bezel>
|
||||
<bezel element="text_6"><bounds x="-1.5" y="27" width="2" height="2" /></bezel>
|
||||
<bezel element="text_5"><bounds x="-1.5" y="37" width="2" height="2" /></bezel>
|
||||
<bezel element="text_4"><bounds x="-1.5" y="47" width="2" height="2" /></bezel>
|
||||
<bezel element="text_3"><bounds x="-1.5" y="57" width="2" height="2" /></bezel>
|
||||
<bezel element="text_2"><bounds x="-1.5" y="67" width="2" height="2" /></bezel>
|
||||
<bezel element="text_1"><bounds x="-1.5" y="77" width="2" height="2" /></bezel>
|
||||
|
||||
<bezel element="text_a"><bounds x="7" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_b"><bounds x="17" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_c"><bounds x="27" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_d"><bounds x="37" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_e"><bounds x="47" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_f"><bounds x="57" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_g"><bounds x="67" y="86" width="2" height="2" /></bezel>
|
||||
<bezel element="text_h"><bounds x="77" y="86" width="2" height="2" /></bezel>
|
||||
|
||||
<!-- chessboard bezel -->
|
||||
|
||||
<bezel element="black"><bounds x="2.5" y="2.5" width="81" height="81" /></bezel>
|
||||
<bezel element="white"><bounds x="3" y="3" width="80" height="80" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="13" y="2.5" width="10" height="10.5" /></bezel>
|
||||
<bezel element="black"><bounds x="33" y="2.5" width="10" height="10.5" /></bezel>
|
||||
<bezel element="black"><bounds x="53" y="2.5" width="10" height="10.5" /></bezel>
|
||||
<bezel element="black"><bounds x="73" y="2.5" width="10.5" height="10.5" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="2.5" y="13" width="10.5" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="23" y="13" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="43" y="13" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="63" y="13" width="10" height="10" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="13" y="23" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="33" y="23" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="53" y="23" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="73" y="23" width="10.5" height="10" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="2.5" y="33" width="10.5" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="23" y="33" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="43" y="33" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="63" y="33" width="10" height="10" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="13" y="43" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="33" y="43" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="53" y="43" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="73" y="43" width="10.5" height="10" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="2.5" y="53" width="10.5" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="23" y="53" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="43" y="53" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="63" y="53" width="10" height="10" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="13" y="63" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="33" y="63" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="53" y="63" width="10" height="10" /></bezel>
|
||||
<bezel element="black"><bounds x="73" y="63" width="10.5" height="10" /></bezel>
|
||||
|
||||
<bezel element="black"><bounds x="2.5" y="73" width="10.5" height="10.5" /></bezel>
|
||||
<bezel element="black"><bounds x="23" y="73" width="10" height="10.5" /></bezel>
|
||||
<bezel element="black"><bounds x="43" y="73" width="10" height="10.5" /></bezel>
|
||||
<bezel element="black"><bounds x="63" y="73" width="10" height="10.5" /></bezel>
|
||||
|
||||
<!-- chessboard leds -->
|
||||
|
||||
<bezel name="led0" element="led"><bounds x="0.5" y="77.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led1" element="led"><bounds x="0.5" y="67.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led2" element="led"><bounds x="0.5" y="57.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led3" element="led"><bounds x="0.5" y="47.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led4" element="led"><bounds x="0.5" y="37.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led5" element="led"><bounds x="0.5" y="27.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led6" element="led"><bounds x="0.5" y="17.25" width="1" height="1.5" /></bezel>
|
||||
<bezel name="led7" element="led"><bounds x="0.5" y="7.25" width="1" height="1.5" /></bezel>
|
||||
|
||||
<bezel name="led8" element="led"><bounds x="7.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led9" element="led"><bounds x="17.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led10" element="led"><bounds x="27.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led11" element="led"><bounds x="37.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led12" element="led"><bounds x="47.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led13" element="led"><bounds x="57.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led14" element="led"><bounds x="67.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
<bezel name="led15" element="led"><bounds x="77.25" y="84.5" width="1.5" height="1" /></bezel>
|
||||
|
||||
<!-- chessboard sensors -->
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x01"><bounds x="3" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x02"><bounds x="13" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x04"><bounds x="23" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x08"><bounds x="33" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x10"><bounds x="43" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x20"><bounds x="53" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x40"><bounds x="63" y="3" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.7" inputmask="0x80"><bounds x="73" y="3" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x01"><bounds x="3" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x02"><bounds x="13" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x04"><bounds x="23" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x08"><bounds x="33" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x10"><bounds x="43" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x20"><bounds x="53" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x40"><bounds x="63" y="13" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.6" inputmask="0x80"><bounds x="73" y="13" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x01"><bounds x="3" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x02"><bounds x="13" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x04"><bounds x="23" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x08"><bounds x="33" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x10"><bounds x="43" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x20"><bounds x="53" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x40"><bounds x="63" y="23" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.5" inputmask="0x80"><bounds x="73" y="23" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x01"><bounds x="3" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x02"><bounds x="13" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x04"><bounds x="23" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x08"><bounds x="33" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x10"><bounds x="43" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x20"><bounds x="53" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x40"><bounds x="63" y="33" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.4" inputmask="0x80"><bounds x="73" y="33" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x01"><bounds x="3" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x02"><bounds x="13" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x04"><bounds x="23" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x08"><bounds x="33" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x10"><bounds x="43" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x20"><bounds x="53" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x40"><bounds x="63" y="43" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.3" inputmask="0x80"><bounds x="73" y="43" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x01"><bounds x="3" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x02"><bounds x="13" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x04"><bounds x="23" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x08"><bounds x="33" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x10"><bounds x="43" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x20"><bounds x="53" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x40"><bounds x="63" y="53" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.2" inputmask="0x80"><bounds x="73" y="53" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x01"><bounds x="3" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x02"><bounds x="13" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x04"><bounds x="23" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x08"><bounds x="33" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x10"><bounds x="43" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x20"><bounds x="53" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x40"><bounds x="63" y="63" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.1" inputmask="0x80"><bounds x="73" y="63" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x01"><bounds x="3" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x02"><bounds x="13" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x04"><bounds x="23" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x08"><bounds x="33" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x10"><bounds x="43" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x20"><bounds x="53" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x40"><bounds x="63" y="73" width="10" height="10" /><color alpha="0.2" /></bezel>
|
||||
<bezel element="hl" inputtag="board:IN.0" inputmask="0x80"><bounds x="73" y="73" width="10" height="10" /><color alpha="0.4" /></bezel>
|
||||
|
||||
<!-- LCD panel -->
|
||||
<bezel element="panel_background"><bounds x="0" y="88.5" width="84" height="13.5" /></bezel>
|
||||
<group ref="panel"><bounds x="3" y="89" width="78" height="12" /></group>
|
||||
</view>
|
||||
|
||||
<view name="Display">
|
||||
<group ref="panel"><bounds x="0" y="0" width="78" height="12" /></group>
|
||||
</view>
|
||||
</mamelayout>
|
@ -20440,6 +20440,7 @@ rebel5 // Mephisto 5
|
||||
@source:mephisto_montec.cpp
|
||||
smondial // 1986 Mephisto Super Mondial
|
||||
montec // 1987 Mephisto Monte Carlo
|
||||
mondial2 // 1987 Mephisto Mondial II
|
||||
smondial2 // 1989 Mephisto Super Mondial II
|
||||
megaiv // 1989 Mephisto Mega IV
|
||||
monteciv // 1990 Mephisto Monte Carlo IV LE
|
||||
|
Loading…
Reference in New Issue
Block a user