MEKD4 and D5: new machines (#5632)

* MEK6809D4: new machine

Motorola MC6809 evaluation board. This emulation implements the keypad and LED
7 segment display, the RS-232 terminal interface, and the MEK68R2 MC6845 CRT
and parallel keyboard interface. The RAM and ROM banking is not yet
implemented but most of the D4BUG monitor commands are supported.

* MEK6802D5: new machine

Motorola MC6802 trainer board. This emulation implements the keypad
and LED 7 segment display, and the RS-232 terminal interface even
though there is no monitor support for it. All the D5BUG monitor
commands appear to be working.
This commit is contained in:
68bit 2019-09-17 13:01:16 +10:00 committed by R. Belmont
parent d3ebbad71b
commit 8c17acdc71
7 changed files with 2173 additions and 0 deletions

View File

@ -2701,6 +2701,8 @@ files {
MAME_DIR .. "src/mame/drivers/m6805evs.cpp",
MAME_DIR .. "src/mame/drivers/m68705prg.cpp",
MAME_DIR .. "src/mame/drivers/mekd2.cpp",
MAME_DIR .. "src/mame/drivers/mekd4.cpp",
MAME_DIR .. "src/mame/drivers/mekd5.cpp",
MAME_DIR .. "src/mame/drivers/mvme147.cpp",
MAME_DIR .. "src/mame/drivers/mvme162.cpp",
}

1035
src/mame/drivers/mekd4.cpp Normal file

File diff suppressed because it is too large Load Diff

527
src/mame/drivers/mekd5.cpp Normal file
View File

@ -0,0 +1,527 @@
// license:BSD-3-Clause
// copyright-holders: 68bit
/******************************************************************************
Motorola Evaluation Kit 6802 D5 - MEK6802D5
Memory map
Range Short Description
0000-dfff RAM Either 128 bytes on board, or external
e000-e3ff RAM Static RAM, 1K.
e400-e47f RAM System RAM
e480-e483 PIA User PIA
e484-e487 PIA System PIA
e700-e701 ACIA System ACIA.
e800-efff ROM Optional user ROM
f000-f7ff ROM D5BUG monitor ROM
f800-ffff ROM D5BUG (mirror), or optional user ROM.
A 1K or 2K optional user ROM or EPROM can be installed and mapped to either
0xe800-0xefff, or to 0xf800-0xffff, set via jumper 3.
TODO implement this user ROM.
The board has provision for an ACIA, and the documentation mentions that it is
not used when there is a keypad, and the keypad is removable. However the
D5BUG monitor has no support for this ACIA. Was there an alternative official
monitor that used this ACIA?
Keypad commands:
RS (Reset) Reset, wired to the CPU reset line
EX (Escape) Typically aborts user program.
M (Memory display/change)
Digits 5 and 6 show the actual data at the address.
G - increase the address.
M - decreases the address.
FS - Offset calculation. Enter address, then press 'GO'.
GO - stores the offset and returns to memory display and increased the address.
FC - return to memory display, without storing the offset.
M - return to memory display, after a BAD offset.
EX - exits memory display.
RD (Register display/alter)
G - advance to next register.
M - previous register.
T/B - trace a single instruction
EX - exits register display.
GO to user program.
If no address if entered then it uses the pseudo PC, it continues.
Enter the address and press 'Go' to use that entered address.
It firstly checks that there is RAM at the stack pointer.
FS T/B - Breakpoint editor
GO - advance to next breakpoing, up to 8, then loops.
FS - insert a breakpoint
FC - deactivate breakpoint
EX - exits breakpoing editor.
P/L (Punch tape)
At the 'bb' prompt enter the beginning address of the data, then 'GO'.
At the 'EE' prompt enter the last address of the data.
Start the tape and press GO. There is a 30 second leader of $ff.
FS P/L (Load from tape)
FS RD (Verify from tape)
FS 0 to F
One of 16 user defined functions. Press FS then one number key 0 to F.
A pointer to a table of 16 function addresses should be set at 0xe43f.
******************************************************************************/
#include "emu.h"
#include "cpu/m6800/m6800.h"
#include "machine/input_merger.h"
#include "machine/6821pia.h"
#include "machine/6850acia.h"
#include "machine/mc14411.h"
#include "machine/clock.h"
#include "machine/timer.h"
#include "video/pwm.h"
#include "sound/wave.h"
#include "speaker.h"
#include "bus/rs232/rs232.h"
#include "machine/terminal.h"
#include "imagedev/cassette.h"
#include "imagedev/snapquik.h"
#include "render.h"
#include "mekd5.lh"
#define XTAL_MEKD5 3.579545_MHz_XTAL
class mekd5_state : public driver_device
{
public:
enum
{
TIMER_TRACE
};
mekd5_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag)
, m_maincpu(*this, "maincpu")
, m_kpd_pia(*this, "kpd_pia")
, m_user_pia(*this, "user_pia")
, m_display(*this, "display")
, m_brg(*this, "brg")
, m_baud_rate(*this, "baud_rate")
, m_acia(*this, "acia")
, m_cass(*this, "cassette")
, m_keypad_columns(*this, "COL%u", 0)
{ }
void mekd5(machine_config &config);
void init_mekd5();
DECLARE_WRITE_LINE_MEMBER(reset_key_w);
DECLARE_INPUT_CHANGED_MEMBER(keypad_changed);
private:
DECLARE_WRITE_LINE_MEMBER(trace_timer_clear_w);
DECLARE_READ_LINE_MEMBER(keypad_cb1_r);
DECLARE_READ8_MEMBER(keypad_key_r);
DECLARE_WRITE8_MEMBER(led_digit_w);
DECLARE_WRITE8_MEMBER(led_segment_w);
DECLARE_READ_LINE_MEMBER(kansas_r);
// Clocks
DECLARE_WRITE_LINE_MEMBER(write_f1_clock);
DECLARE_WRITE_LINE_MEMBER(write_f3_clock);
DECLARE_WRITE_LINE_MEMBER(write_f5_clock);
DECLARE_WRITE_LINE_MEMBER(write_f7_clock);
DECLARE_WRITE_LINE_MEMBER(write_f9_clock);
DECLARE_WRITE_LINE_MEMBER(write_f13_clock);
void mekd5_mem(address_map &map);
bool keypad_key_pressed();
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
uint8_t m_segment;
uint8_t m_digit;
virtual void machine_start() override;
virtual void machine_reset() override;
required_device<cpu_device> m_maincpu;
required_device<pia6821_device> m_kpd_pia;
required_device<pia6821_device> m_user_pia;
required_device<pwm_display_device> m_display;
required_device<mc14411_device> m_brg;
required_ioport m_baud_rate;
required_device<acia6850_device> m_acia;
required_device<cassette_image_device> m_cass;
required_ioport_array<4> m_keypad_columns;
};
/***********************************************************
Address Map
************************************************************/
void mekd5_state::mekd5_mem(address_map &map)
{
map(0x0000, 0xdfff).ram();
map(0xe000, 0xe3ff).ram();
map(0xe400, 0xe47f).ram();
map(0xe480, 0xe483).mirror(0x0378).rw(m_user_pia, FUNC(pia6821_device::read), FUNC(pia6821_device::write));
map(0xe484, 0xe487).mirror(0x0378).rw(m_kpd_pia, FUNC(pia6821_device::read), FUNC(pia6821_device::write));
map(0xe700, 0xe701).mirror(0x003e).rw(m_acia, FUNC(acia6850_device::read), FUNC(acia6850_device::write));
/* D5BUG ROM */
map(0xf000, 0xf7ff).rom().mirror(0x0800);
}
/***********************************************************
Keys
************************************************************/
static INPUT_PORTS_START(mekd5)
// RESET is not wired to the key matrix.
PORT_START("RESET")
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYPAD) PORT_NAME("RS") PORT_WRITE_LINE_DEVICE_MEMBER(DEVICE_SELF, mekd5_state, reset_key_w)
PORT_START("COL0")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("M") PORT_CODE(KEYCODE_M)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("FS") PORT_CODE(KEYCODE_S)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("7") PORT_CODE(KEYCODE_7)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("4") PORT_CODE(KEYCODE_4)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("1") PORT_CODE(KEYCODE_1)
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("0") PORT_CODE(KEYCODE_0)
PORT_START("COL1")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("EX") PORT_CODE(KEYCODE_X)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("FC") PORT_CODE(KEYCODE_W)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("8") PORT_CODE(KEYCODE_8)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("5") PORT_CODE(KEYCODE_5)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("2") PORT_CODE(KEYCODE_2)
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("F") PORT_CODE(KEYCODE_F)
PORT_START("COL2")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("RD") PORT_CODE(KEYCODE_R)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("P/L") PORT_CODE(KEYCODE_P)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("9") PORT_CODE(KEYCODE_9)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("6") PORT_CODE(KEYCODE_6)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("3") PORT_CODE(KEYCODE_3)
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("E") PORT_CODE(KEYCODE_E)
PORT_START("COL3")
PORT_BIT(0x20, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("GO") PORT_CODE(KEYCODE_G)
PORT_BIT(0x10, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("T/B") PORT_CODE(KEYCODE_T)
PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("A") PORT_CODE(KEYCODE_A)
PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("B") PORT_CODE(KEYCODE_B)
PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("C") PORT_CODE(KEYCODE_C)
PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CHANGED_MEMBER(DEVICE_SELF, mekd5_state, keypad_changed, 0) PORT_NAME("D") PORT_CODE(KEYCODE_D)
/* RS232 baud rates available via J5. */
PORT_START("baud_rate")
PORT_CONFNAME(0x3f, 1, "RS232 Baud Rate")
PORT_CONFSETTING(0x01, "9600")
PORT_CONFSETTING(0x02, "4800")
PORT_CONFSETTING(0x04, "2400")
PORT_CONFSETTING(0x08, "1200")
PORT_CONFSETTING(0x10, "300")
PORT_CONFSETTING(0x20, "110")
INPUT_PORTS_END
/***********************************************************
Trace timer
************************************************************/
void mekd5_state::device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr)
{
switch (id)
{
case TIMER_TRACE:
// CB2 is programmed to trigger on the falling edge, so after
// a count of 16. CB2 input comes from a counter, so the duty
// cycle should be 50/50, but it makes no difference to rise
// and fall here.
m_kpd_pia->cb2_w(1);
m_kpd_pia->cb2_w(0);
break;
default:
assert_always(false, "Unknown id in mekd5_state::device_timer");
}
}
// Expect a delay of 16 cycles. However the 6800 cycle model appears to
// account for the store that writes here as occuring at the start of that
// instruction adding 5 cycles to give an effective 21 cycles. TODO adjust
// this back to 16 cycles when the 6800 cycle timing becomes more accurate.
WRITE_LINE_MEMBER(mekd5_state::trace_timer_clear_w)
{
if (state)
m_kpd_pia->cb2_w(0);
else
timer_set(attotime::from_ticks(21, XTAL_MEKD5 / 4), TIMER_TRACE);
}
/***********************************************************
Keypad
************************************************************/
// Keypad input is disable on views with the RS232 input.
WRITE_LINE_MEMBER(mekd5_state::reset_key_w)
{
uint8_t view = machine().render().first_target()->view();
if (view > 1) return;
m_maincpu->set_input_line(INPUT_LINE_RESET, state ? CLEAR_LINE : ASSERT_LINE);
// TODO reset other devices.
}
bool mekd5_state::keypad_key_pressed()
{
uint8_t view = machine().render().first_target()->view();
if (view > 1) return 0;
return (m_keypad_columns[0]->read() & m_digit) ||
(m_keypad_columns[1]->read() & m_digit) ||
(m_keypad_columns[2]->read() & m_digit) ||
(m_keypad_columns[3]->read() & m_digit);
}
INPUT_CHANGED_MEMBER(mekd5_state::keypad_changed)
{
m_kpd_pia->cb1_w(mekd5_state::keypad_key_pressed());
}
READ_LINE_MEMBER(mekd5_state::keypad_cb1_r)
{
return mekd5_state::keypad_key_pressed();
}
READ8_MEMBER(mekd5_state::keypad_key_r)
{
uint8_t view = machine().render().first_target()->view();
if (view > 1) return m_segment;
uint8_t mux = (m_digit & 0xc0) >> 6;
uint8_t i = (m_keypad_columns[mux]->read() & m_digit) ? 0 : 0x80;
return i | m_segment;
}
/***********************************************************
Seven segment LED display, and cassette
************************************************************/
// PA
WRITE8_MEMBER(mekd5_state::led_segment_w)
{
m_segment = data & 0x7f;
m_display->matrix(m_digit & 0x3f, ~m_segment);
}
// PB
WRITE8_MEMBER(mekd5_state::led_digit_w)
{
m_digit = data;
m_display->matrix(m_digit & 0x3f, ~m_segment);
// PB7 also drives the cassette output.
m_cass->output(BIT(data, 7) ? -1.0 : +1.0);
// Update the keypad pressed output which depends on m_digit.
m_kpd_pia->cb1_w(mekd5_state::keypad_key_pressed());
}
READ_LINE_MEMBER(mekd5_state::kansas_r)
{
uint8_t data = m_cass->input() > +0.0;
return data;
}
/***********************************************************
ACIA clocks
************************************************************/
WRITE_LINE_MEMBER(mekd5_state::write_f1_clock)
{
if (BIT(m_baud_rate->read(), 0))
{
m_acia->write_txc(state);
m_acia->write_rxc(state);
}
}
WRITE_LINE_MEMBER(mekd5_state::write_f3_clock)
{
if (BIT(m_baud_rate->read(), 1))
{
m_acia->write_txc(state);
m_acia->write_rxc(state);
}
}
WRITE_LINE_MEMBER(mekd5_state::write_f5_clock)
{
if (BIT(m_baud_rate->read(), 2))
{
m_acia->write_txc(state);
m_acia->write_rxc(state);
}
}
WRITE_LINE_MEMBER(mekd5_state::write_f7_clock)
{
if (BIT(m_baud_rate->read(), 3))
{
m_acia->write_txc(state);
m_acia->write_rxc(state);
}
}
WRITE_LINE_MEMBER(mekd5_state::write_f9_clock)
{
if (BIT(m_baud_rate->read(), 4))
{
m_acia->write_txc(state);
m_acia->write_rxc(state);
}
}
WRITE_LINE_MEMBER(mekd5_state::write_f13_clock)
{
if (BIT(m_baud_rate->read(), 5))
{
m_acia->write_txc(state);
m_acia->write_rxc(state);
}
}
/***********************************************************
************************************************************/
void mekd5_state::init_mekd5()
{
}
void mekd5_state::machine_start()
{
}
void mekd5_state::machine_reset()
{
// Trace timer out low.
m_kpd_pia->cb2_w(0);
m_brg->rsa_w(CLEAR_LINE);
m_brg->rsb_w(ASSERT_LINE);
// /DCD and /CTS are wired low.
m_acia->write_dcd(CLEAR_LINE);
m_acia->write_cts(CLEAR_LINE);
}
/***********************************************************
Machine
************************************************************/
static DEVICE_INPUT_DEFAULTS_START(terminal)
DEVICE_INPUT_DEFAULTS("RS232_RXBAUD", 0xff, RS232_BAUD_9600)
DEVICE_INPUT_DEFAULTS("RS232_TXBAUD", 0xff, RS232_BAUD_9600)
DEVICE_INPUT_DEFAULTS("RS232_STARTBITS", 0xff, RS232_STARTBITS_1)
DEVICE_INPUT_DEFAULTS("RS232_DATABITS", 0xff, RS232_DATABITS_8)
DEVICE_INPUT_DEFAULTS("RS232_PARITY", 0xff, RS232_PARITY_NONE)
DEVICE_INPUT_DEFAULTS("RS232_STOPBITS", 0xff, RS232_STOPBITS_1)
DEVICE_INPUT_DEFAULTS_END
void mekd5_state::mekd5(machine_config &config)
{
M6802(config, m_maincpu, XTAL_MEKD5); /* 894.8 kHz clock */
m_maincpu->set_addrmap(AS_PROGRAM, &mekd5_state::mekd5_mem);
INPUT_MERGER_ANY_HIGH(config, "mainirq").output_handler().set_inputline(m_maincpu, M6802_IRQ_LINE);
INPUT_MERGER_ANY_HIGH(config, "mainnmi").output_handler().set_inputline(m_maincpu, INPUT_LINE_NMI);
// LED display
PWM_DISPLAY(config, m_display).set_size(6, 7);
m_display->set_segmask(0x3f, 0x7f);
config.set_default_layout(layout_mekd5);
SPEAKER(config, "mono").front_center();
CASSETTE(config, m_cass);
m_cass->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cass->add_route(ALL_OUTPUTS, "mono", 0.05);
// Keypad and display PIA (U23). IRQA is NC. CB2 is trace timer input.
PIA6821(config, m_kpd_pia, 0);
m_kpd_pia->readpa_handler().set(FUNC(mekd5_state::keypad_key_r));
m_kpd_pia->writepa_handler().set(FUNC(mekd5_state::led_segment_w));
m_kpd_pia->writepb_handler().set(FUNC(mekd5_state::led_digit_w));
m_kpd_pia->readca1_handler().set(FUNC(mekd5_state::kansas_r));
m_kpd_pia->ca2_handler().set(FUNC(mekd5_state::trace_timer_clear_w));
m_kpd_pia->readcb1_handler().set(FUNC(mekd5_state::keypad_cb1_r));
m_kpd_pia->irqb_handler().set("mainnmi", FUNC(input_merger_device::in_w<1>));
// User PIA (U9).
// IRQA and IRQB can be independently jumpered to IRQ or NMI via J1.
// All the I/O lines are available at the User I/O connector.
PIA6821(config, m_user_pia, 0);
// IRQ is NC. RX and TX clk are wired together. RTS is available.
// /DCD and /CTS and wired low.
ACIA6850(config, m_acia, 0);
m_acia->txd_handler().set("rs232", FUNC(rs232_port_device::write_txd));
MC14411(config, m_brg, XTAL(1'843'200));
m_brg->out_f<1>().set(FUNC(mekd5_state::write_f1_clock));
m_brg->out_f<3>().set(FUNC(mekd5_state::write_f3_clock));
m_brg->out_f<5>().set(FUNC(mekd5_state::write_f5_clock));
m_brg->out_f<7>().set(FUNC(mekd5_state::write_f7_clock));
m_brg->out_f<9>().set(FUNC(mekd5_state::write_f9_clock));
m_brg->out_f<13>().set(FUNC(mekd5_state::write_f13_clock));
rs232_port_device &rs232(RS232_PORT(config, "rs232", default_rs232_devices, "terminal"));
rs232.rxd_handler().set(m_acia, FUNC(acia6850_device::write_rxd));
rs232.set_option_device_input_defaults("terminal", DEVICE_INPUT_DEFAULTS_NAME(terminal));
}
/***********************************************************
ROMS
************************************************************/
ROM_START(mekd5)
ROM_REGION(0x10000,"maincpu",0)
ROM_LOAD("d5bug.rom", 0xf000, 0x0800, CRC(67c00a2c) SHA1(ae321dbca0baf4b67d62bfec77266d9132b973bf))
ROM_END
/***************************************************************************
Game driver(s)
***************************************************************************/
// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS
COMP( 1980, mekd5, 0, 0, mekd5, mekd5, mekd5_state, init_mekd5, "Motorola", "MEK6802D5" , MACHINE_NO_SOUND )

305
src/mame/layout/mekd4.lay Normal file
View File

@ -0,0 +1,305 @@
<?xml version="1.0"?>
<mamelayout version="2">
<element name="digit" defstate="0">
<led7seg>
<color red="0.85" green="0.0" blue="0.0" />
</led7seg>
</element>
<element name="background">
<rect>
<bounds left="0" top="0" right="1" bottom="1" />
<color red="0.1" green="0.1" blue="0.1" />
</rect>
</element>
<element name="btn_0">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="0"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_1">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="1"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_2">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="2"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_3">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="3"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_4">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="4"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_5">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="5"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_6">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="6"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_7">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="7"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_8">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="8"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_9">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="9"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_a">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="A"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_b">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="B"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_c">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="C"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_d">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="D"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_e">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="E"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_f">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="F"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_rst">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="RS"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_fs">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="FS"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_fc">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="FC"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_pl">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="P/L"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_tb">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="T/B"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_m">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="M"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_ex">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="EX"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_rd">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="RD"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_go">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="GO"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<group name="displays">
<!-- Black background -->
<bezel element="background">
<bounds left="0" top="0" right="482.0" bottom="70" />
</bezel>
<bezel name="digit7" element="digit">
<bounds left="5.5" top="20" right="30.5" bottom="50" />
</bezel>
<bezel name="digit6" element="digit">
<bounds left="63.5" top="20" right="88.5" bottom="50" />
</bezel>
<bezel name="digit5" element="digit">
<bounds left="121.5" top="20" right="146.5" bottom="50" />
</bezel>
<bezel name="digit4" element="digit">
<bounds left="179.5" top="20" right="204.5" bottom="50" />
</bezel>
<bezel name="digit3" element="digit">
<bounds left="257.5" top="20" right="282.5" bottom="50" />
</bezel>
<bezel name="digit2" element="digit">
<bounds left="315.5" top="20" right="340.5" bottom="50" />
</bezel>
<bezel name="digit1" element="digit">
<bounds left="393.5" top="20" right="418.5" bottom="50" />
</bezel>
<bezel name="digit0" element="digit">
<bounds left="451.5" top="20" right="476.5" bottom="50" />
</bezel>
</group>
<group name="keypad">
<bezel element="background">
<bounds x="0" y="0" width="7.1" height="6.70" />
</bezel>
<cpanel element="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></cpanel>
</group>
<view name="LED Displays, Terminal and Keypad" index="0">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="406" y="0" width="148" height="140" /></group>
<screen index="0"><bounds x="0" y="160" width="640" height="480" /></screen>
</view>
<view name="LED Displays, CRT and Keypad" index="1">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="406" y="0" width="148" height="140" /></group>
<screen index="1"><bounds x="0" y="160" width="640" height="480" /></screen>
</view>
<view name="LED Displays and Keypad" index="2">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
<group ref="keypad"><bounds x="112" y="57" width="171" height="161" /></group>
</view>
<view name="LED Displays" index="3">
<group ref="displays"><bounds x="0" y="0" width="320" height="47" /></group>
</view>
</mamelayout>

296
src/mame/layout/mekd5.lay Normal file
View File

@ -0,0 +1,296 @@
<?xml version="1.0"?>
<mamelayout version="2">
<element name="digit" defstate="0">
<led7seg>
<color red="0.85" green="0.0" blue="0.0" />
</led7seg>
</element>
<element name="background">
<rect>
<bounds left="0" top="0" right="1" bottom="1" />
<color red="0.1" green="0.1" blue="0.1" />
</rect>
</element>
<element name="btn_0">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="0"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_1">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="1"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_2">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="2"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_3">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="3"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_4">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="4"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_5">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="5"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_6">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="6"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_7">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="7"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_8">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="8"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_9">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="9"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_a">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="A"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_b">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="B"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_c">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="C"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_d">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="D"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_e">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="E"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_f">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.92" green="0.92" blue="0.92" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="1.0" green="1.0" blue="1.0" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.96" green="0.96" blue="0.96" /></rect>
<text string="F"><bounds x="0.1" y="0.2" width="0.8" height="0.6" /><color red="0.0" green="0.0" blue="0.0" /></text>
</element>
<element name="btn_rst">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="RS"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_fs">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="FS"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_fc">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="FC"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_pl">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="P/L"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_tb">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="T/B"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_m">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="M"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_ex">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="EX"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_rd">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="RD"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<element name="btn_go">
<rect state="0"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect state="1"><bounds x="0.0" y="0.0" width="1.0" height="1.0" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="0"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.14" green="0.36" blue="0.45" /></rect>
<rect state="1"><bounds x="0.1" y="0.1" width="0.9" height="0.9" /><color red="0.22" green="0.44" blue="0.53" /></rect>
<rect><bounds x="0.1" y="0.1" width="0.8" height="0.8" /><color red="0.18" green="0.40" blue="0.49" /></rect>
<text string="GO"><bounds x="0.1" y="0.25" width="0.8" height="0.5" /><color red="0.96" green="0.96" blue="0.96" /></text>
</element>
<group name="displays">
<!-- Black background -->
<bezel element="background">
<bounds left="0" top="0" right="3485.0" bottom="738" />
</bezel>
<bezel name="digit5" element="digit">
<bounds left="62.5" top="219" right="312.5" bottom="519" />
</bezel>
<bezel name="digit4" element="digit">
<bounds left="562.5" top="219" right="812.5" bottom="519" />
</bezel>
<bezel name="digit3" element="digit">
<bounds left="1062.5" top="219" right="1312.5" bottom="519" />
</bezel>
<bezel name="digit2" element="digit">
<bounds left="1562.5" top="219" right="1812.5" bottom="519" />
</bezel>
<bezel name="digit1" element="digit">
<bounds left="2672.5" top="219" right="2922.5" bottom="519" />
</bezel>
<bezel name="digit0" element="digit">
<bounds left="3172." top="219" right="3422.5" bottom="519" />
</bezel>
</group>
<group name="keypad">
<bezel element="background">
<bounds x="0" y="0" width="7.1" height="6.70" />
</bezel>
<cpanel element="btn_rst" inputtag="RESET" inputmask="0x01"><bounds x="0.35" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fs" inputtag="COL0" inputmask="0x10"><bounds x="1.70" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_fc" inputtag="COL1" inputmask="0x10"><bounds x="3.05" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_pl" inputtag="COL2" inputmask="0x10"><bounds x="4.40" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_tb" inputtag="COL3" inputmask="0x10"><bounds x="5.75" y="0.15" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_7" inputtag="COL0" inputmask="0x08"><bounds x="0.35" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_8" inputtag="COL1" inputmask="0x08"><bounds x="1.70" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_9" inputtag="COL2" inputmask="0x08"><bounds x="3.05" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_a" inputtag="COL3" inputmask="0x08"><bounds x="4.40" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_m" inputtag="COL0" inputmask="0x20"><bounds x="5.75" y="1.50" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_4" inputtag="COL0" inputmask="0x04"><bounds x="0.35" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_5" inputtag="COL1" inputmask="0x04"><bounds x="1.70" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_6" inputtag="COL2" inputmask="0x04"><bounds x="3.05" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_b" inputtag="COL3" inputmask="0x04"><bounds x="4.40" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_ex" inputtag="COL1" inputmask="0x20"><bounds x="5.75" y="2.85" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_1" inputtag="COL0" inputmask="0x02"><bounds x="0.35" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_2" inputtag="COL1" inputmask="0x02"><bounds x="1.70" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_3" inputtag="COL2" inputmask="0x02"><bounds x="3.05" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_c" inputtag="COL3" inputmask="0x02"><bounds x="4.40" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_rd" inputtag="COL2" inputmask="0x20"><bounds x="5.75" y="4.20" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_0" inputtag="COL0" inputmask="0x01"><bounds x="0.35" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_f" inputtag="COL1" inputmask="0x01"><bounds x="1.70" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_e" inputtag="COL2" inputmask="0x01"><bounds x="3.05" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_d" inputtag="COL3" inputmask="0x01"><bounds x="4.40" y="5.55" width="1.0" height="1.0" /></cpanel>
<cpanel element="btn_go" inputtag="COL3" inputmask="0x20"><bounds x="5.75" y="5.55" width="1.0" height="1.0" /></cpanel>
</group>
<view name="LED Displays and Keypad" index="0">
<group ref="displays"><bounds x="0" y="0" width="320" height="68" /></group>
<group ref="keypad"><bounds x="55" y="80" width="240" height="226" /></group>
</view>
<view name="LED Displays" index="1">
<group ref="displays"><bounds x="0" y="0" width="320" height="68" /></group>
</view>
<view name="LED Displays, Terminal" index="2">
<group ref="displays"><bounds x="160" y="0" width="320" height="68" /></group>
<screen index="0"><bounds x="0" y="80" width="640" height="480" /></screen>
</view>
<view name="Terminal" index="3">
<screen index="0"><bounds x="0" y="0" width="640" height="480" /></screen>
</view>
</mamelayout>

View File

@ -21493,6 +21493,12 @@ meijinsn // (c) 1986 SNK
@source:mekd2.cpp
mekd2 // 1977 Motorola Evaluation Kit
@source:mekd4.cpp
mekd4 // 1980 Motorola Evaluation Kit
@source:mekd5.cpp
mekd5 // 1980 Motorola Evaluation Kit
@source:menghong.cpp
crzyddz2 // 2006 Sealy
menghong // 2004? Sealy

View File

@ -463,6 +463,8 @@ mdisk.cpp
megadriv.cpp
megadriv_rad.cpp
mekd2.cpp
mekd4.cpp
mekd5.cpp
mephisto_brikett.cpp
mephisto_glasgow.cpp
mephisto_mm1.cpp