summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-02-04 16:37:04 +0100
committer hap <happppp@users.noreply.github.com>2021-02-04 16:37:20 +0100
commit10093f74dc5d63c1ad37e1000010b8331782794f (patch)
treec608277fa2262866276bfa5bb9f31b435bc5bb70
parent4060ca0672d62530cc5ca48cb9383907754c9800 (diff)
New working machines
-------------------- Funtronics: Tag [hap, Sean Riddle]
-rw-r--r--src/mame/drivers/hh_cop400.cpp164
-rw-r--r--src/mame/layout/funjacks.lay45
-rw-r--r--src/mame/layout/funrlgl.lay40
-rw-r--r--src/mame/layout/funtag.lay60
-rw-r--r--src/mame/mame.lst1
5 files changed, 254 insertions, 56 deletions
diff --git a/src/mame/drivers/hh_cop400.cpp b/src/mame/drivers/hh_cop400.cpp
index 292c60dff99..a5868547101 100644
--- a/src/mame/drivers/hh_cop400.cpp
+++ b/src/mame/drivers/hh_cop400.cpp
@@ -30,7 +30,8 @@
#include "ctstein.lh" // clickable
#include "einvaderc.lh"
#include "funjacks.lh" // clickable
-#include "funrlgl.lh"
+#include "funrlgl.lh" // clickable
+#include "funtag.lh" // clickable
#include "h2hbaskbc.lh"
#include "h2hhockeyc.lh"
#include "h2hsoccerc.lh"
@@ -814,7 +815,7 @@ ROM_END
/***************************************************************************
- Mattel Funtronics: Jacks
+ Mattel Funtronics: Jacks (model 1603)
* COP410L MCU bonded directly to PCB (die label COP410L/B NGS)
* 8 LEDs, 1-bit sound
@@ -881,32 +882,32 @@ u8 funjacks_state::read_g()
// config
static INPUT_PORTS_START( funjacks )
- PORT_START("IN.0") // D0 port G
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON3 )
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
+ PORT_START("IN.0") // D0 port L
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 )
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 )
- PORT_START("IN.1") // D1 port G
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON4 )
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON5 )
+ PORT_START("IN.1") // D1 port L
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 )
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON4 )
- PORT_START("IN.2") // D2 port G
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 )
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 ) // positioned at 1 o'clock on panel, increment clockwise
+ PORT_START("IN.2") // D2 port L
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 ) // positioned at 1 o'clock on panel, increment clockwise
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 )
PORT_START("IN.3") // port G
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_CUSTOM ) // speaker
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START )
- PORT_CONFNAME( 0x08, 0x00, DEF_STR( Players ) )
- PORT_CONFSETTING( 0x00, "1" )
- PORT_CONFSETTING( 0x08, "2" )
+ PORT_CONFNAME( 0x08, 0x08, DEF_STR( Difficulty ) )
+ PORT_CONFSETTING( 0x08, "1" )
+ PORT_CONFSETTING( 0x00, "2" )
INPUT_PORTS_END
void funjacks_state::funjacks(machine_config &config)
{
/* basic machine hardware */
- COP410(config, m_maincpu, 750000); // approximation - RC osc. R=47K, C=56pF
- m_maincpu->set_config(COP400_CKI_DIVISOR_8, COP400_CKO_OSCILLATOR_OUTPUT, false); // guessed
+ COP410(config, m_maincpu, 850000); // approximation - RC osc. R=47K, C=56pF
+ m_maincpu->set_config(COP400_CKI_DIVISOR_16, COP400_CKO_OSCILLATOR_OUTPUT, false); // guessed
m_maincpu->write_d().set(FUNC(funjacks_state::write_d));
m_maincpu->write_l().set(FUNC(funjacks_state::write_l));
m_maincpu->write_g().set(FUNC(funjacks_state::write_g));
@@ -935,7 +936,7 @@ ROM_END
/***************************************************************************
- Mattel Funtronics: Red Light Green Light
+ Mattel Funtronics: Red Light Green Light (model 1604)
* COP410L MCU bonded directly to PCB (die label COP410L/B NHZ)
* 14 LEDs, 1-bit sound
@@ -1005,8 +1006,8 @@ INPUT_PORTS_END
void funrlgl_state::funrlgl(machine_config &config)
{
/* basic machine hardware */
- COP410(config, m_maincpu, 750000); // approximation - RC osc. R=51K, C=91pF
- m_maincpu->set_config(COP400_CKI_DIVISOR_8, COP400_CKO_OSCILLATOR_OUTPUT, false); // guessed
+ COP410(config, m_maincpu, 800000); // approximation - RC osc. R=51K, C=91pF
+ m_maincpu->set_config(COP400_CKI_DIVISOR_16, COP400_CKO_OSCILLATOR_OUTPUT, false); // guessed
m_maincpu->write_d().set(FUNC(funrlgl_state::write_d));
m_maincpu->write_l().set(FUNC(funrlgl_state::write_l));
m_maincpu->read_l_tristate().set_constant(0xff);
@@ -1015,7 +1016,7 @@ void funrlgl_state::funrlgl(machine_config &config)
/* video hardware */
PWM_DISPLAY(config, m_display).set_size(4, 4);
- m_display->set_bri_levels(0.01, 0.1); // top led is brighter
+ m_display->set_bri_levels(0.005, 0.1); // top led is brighter
config.set_default_layout(layout_funrlgl);
/* sound hardware */
@@ -1036,6 +1037,126 @@ ROM_END
/***************************************************************************
+ Mattel Funtronics: Tag (model 1497)
+ * COP410L MCU bonded directly to PCB (die label COP410L/B GTJ)
+ * 7 LEDs, 7 buttons, 1-bit sound
+
+***************************************************************************/
+
+class funtag_state : public hh_cop400_state
+{
+public:
+ funtag_state(const machine_config &mconfig, device_type type, const char *tag) :
+ hh_cop400_state(mconfig, type, tag)
+ { }
+
+ void update_display();
+ void write_d(u8 data);
+ void write_l(u8 data);
+ void write_g(u8 data);
+ u8 read_l();
+ u8 read_g();
+ void funtag(machine_config &config);
+};
+
+// handlers
+
+void funtag_state::update_display()
+{
+ m_display->matrix(m_d, m_l);
+}
+
+void funtag_state::write_d(u8 data)
+{
+ // D: led grid + input mux
+ m_inp_mux = data;
+ m_d = ~data & 0xf;
+ update_display();
+}
+
+void funtag_state::write_l(u8 data)
+{
+ // L0,L1: led state
+ m_l = data & 3;
+ update_display();
+}
+
+void funtag_state::write_g(u8 data)
+{
+ // G2: speaker out
+ m_speaker->level_w(data >> 2 & 1);
+}
+
+u8 funtag_state::read_l()
+{
+ // L2: difficulty switch
+ return m_inputs[4]->read() | 8;
+}
+
+u8 funtag_state::read_g()
+{
+ // G0,G1: multiplexed inputs
+ // G3: start button
+ return read_inputs(3, 3) | m_inputs[3]->read() | 4;
+}
+
+// config
+
+static INPUT_PORTS_START( funtag )
+ PORT_START("IN.0") // D0 port G
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 )
+
+ PORT_START("IN.1") // D1 port G
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON5 )
+
+ PORT_START("IN.2") // D2 port G
+ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON3 )
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON6 )
+
+ PORT_START("IN.3") // port G
+ PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START )
+
+ PORT_START("IN.4") // port L
+ PORT_CONFNAME( 0x04, 0x04, DEF_STR( Difficulty ) )
+ PORT_CONFSETTING( 0x04, "1" )
+ PORT_CONFSETTING( 0x00, "2" )
+INPUT_PORTS_END
+
+void funtag_state::funtag(machine_config &config)
+{
+ /* basic machine hardware */
+ COP410(config, m_maincpu, 1000000); // approximation - RC osc. R=47K, C=91pF
+ m_maincpu->set_config(COP400_CKI_DIVISOR_16, COP400_CKO_OSCILLATOR_OUTPUT, false); // guessed
+ m_maincpu->write_d().set(FUNC(funtag_state::write_d));
+ m_maincpu->write_l().set(FUNC(funtag_state::write_l));
+ m_maincpu->write_g().set(FUNC(funtag_state::write_g));
+ m_maincpu->read_l().set(FUNC(funtag_state::read_l));
+ m_maincpu->read_g().set(FUNC(funtag_state::read_g));
+
+ /* video hardware */
+ PWM_DISPLAY(config, m_display).set_size(4, 2);
+ config.set_default_layout(layout_funtag);
+
+ /* sound hardware */
+ SPEAKER(config, "mono").front_center();
+ SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.25);
+}
+
+// roms
+
+ROM_START( funtag )
+ ROM_REGION( 0x0200, "maincpu", 0 )
+ ROM_LOAD( "cop410l_b_gtj", 0x0000, 0x0200, CRC(ce565da6) SHA1(34e5f39e32f220007d353c93787c1a6d117592c1) )
+ROM_END
+
+
+
+
+
+/***************************************************************************
+
Mattel Dalla$ (J.R. handheld)
* COP444 MCU label COP444L-HYN/N
* 8-digit 7seg display, 1-bit sound
@@ -1819,7 +1940,8 @@ CONS( 1980, unkeinv, 0, 0, unkeinv, unkeinv, unkeinv_state, e
CONS( 1980, lchicken, 0, 0, lchicken, lchicken, lchicken_state, empty_init, "LJN", "I Took a Lickin' From a Chicken", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_MECHANICAL )
CONS( 1979, funjacks, 0, 0, funjacks, funjacks, funjacks_state, empty_init, "Mattel", "Funtronics: Jacks", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
-CONS( 1979, funrlgl, 0, 0, funrlgl, funrlgl, funrlgl_state, empty_init, "Mattel", "Funtronics: Red Light Green Light", MACHINE_SUPPORTS_SAVE )
+CONS( 1979, funrlgl, 0, 0, funrlgl, funrlgl, funrlgl_state, empty_init, "Mattel", "Funtronics: Red Light Green Light", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1980, funtag, 0, 0, funtag, funtag, funtag_state, empty_init, "Mattel", "Funtronics: Tag", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1981, mdallas, 0, 0, mdallas, mdallas, mdallas_state, empty_init, "Mattel", "Dalla$ (J.R. handheld)", MACHINE_SUPPORTS_SAVE ) // ***
CONS( 1980, plus1, 0, 0, plus1, plus1, plus1_state, empty_init, "Milton Bradley", "Plus One", MACHINE_SUPPORTS_SAVE | MACHINE_IMPERFECT_CONTROLS ) // ***
diff --git a/src/mame/layout/funjacks.lay b/src/mame/layout/funjacks.lay
index db935ac2e09..687e40b7f14 100644
--- a/src/mame/layout/funjacks.lay
+++ b/src/mame/layout/funjacks.lay
@@ -6,8 +6,6 @@ license:CC0
<!-- define elements -->
- <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
-
<element name="led" defstate="0">
<disk state="0"><color red="0.2" green="0.05" blue="0.06" /></disk>
<disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
@@ -22,32 +20,37 @@ license:CC0
<disk state="1"><color red="0.25" green="0.25" blue="0.25" /></disk>
</element>
+ <element name="switch" defstate="1">
+ <rect><color red="0.12" green="0.12" blue="0.12" /></rect>
+ <text state="1" string="1" align="1"><color red="0.4" green="0.4" blue="0.42" /></text>
+ <text state="0" string="2" align="2"><color red="0.4" green="0.4" blue="0.42" /></text>
+ </element>
+
<!-- build screen -->
<view name="Internal Layout">
<bounds left="0" right="11" top="0" bottom="11" />
- <element ref="static_black">
- <bounds left="0" right="11" top="0" bottom="11" />
- </element>
-
- <element name="3.0" ref="led"><bounds x="0.2" y="0.2" width="1" height="1" /></element>
- <element name="3.1" ref="led"><bounds x="9.8" y="0.2" width="1" height="1" /></element>
- <element name="2.1" ref="led"><bounds x="4" y="2" width="1" height="1" /></element>
- <element name="2.0" ref="led"><bounds x="6" y="2" width="1" height="1" /></element>
- <element name="1.0" ref="led"><bounds x="3" y="4" width="1" height="1" /></element>
- <element name="0.0" ref="led"><bounds x="7" y="4" width="1" height="1" /></element>
- <element name="1.1" ref="led"><bounds x="4" y="6" width="1" height="1" /></element>
- <element name="0.1" ref="led"><bounds x="6" y="6" width="1" height="1" /></element>
-
- <element ref="butr" inputtag="IN.2" inputmask="0x10"><bounds x="3.3" y="0.4" width="1.2" height="1.2" /></element>
- <element ref="butr" inputtag="IN.2" inputmask="0x20"><bounds x="6.5" y="0.4" width="1.2" height="1.2" /></element>
- <element ref="butr" inputtag="IN.1" inputmask="0x20"><bounds x="1.3" y="3.9" width="1.2" height="1.2" /></element>
- <element ref="butr" inputtag="IN.0" inputmask="0x20"><bounds x="8.5" y="3.9" width="1.2" height="1.2" /></element>
- <element ref="butr" inputtag="IN.1" inputmask="0x10"><bounds x="3.3" y="7.4" width="1.2" height="1.2" /></element>
- <element ref="butr" inputtag="IN.0" inputmask="0x10"><bounds x="6.5" y="7.4" width="1.2" height="1.2" /></element>
+
+ <element name="3.1" ref="led"><bounds x="0.2" y="0.2" width="1" height="1" /></element>
+ <element name="3.0" ref="led"><bounds x="9.8" y="0.2" width="1" height="1" /></element>
+ <element name="2.0" ref="led"><bounds x="4" y="2" width="1" height="1" /></element>
+ <element name="2.1" ref="led"><bounds x="6" y="2" width="1" height="1" /></element>
+ <element name="1.1" ref="led"><bounds x="3" y="4" width="1" height="1" /></element>
+ <element name="0.1" ref="led"><bounds x="7" y="4" width="1" height="1" /></element>
+ <element name="1.0" ref="led"><bounds x="4" y="6" width="1" height="1" /></element>
+ <element name="0.0" ref="led"><bounds x="6" y="6" width="1" height="1" /></element>
+
+ <element ref="butr" inputtag="IN.2" inputmask="0x20"><bounds x="3.3" y="0.4" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.2" inputmask="0x10"><bounds x="6.5" y="0.4" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.1" inputmask="0x10"><bounds x="1.3" y="3.9" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.0" inputmask="0x10"><bounds x="8.5" y="3.9" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.1" inputmask="0x20"><bounds x="3.3" y="7.4" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.0" inputmask="0x20"><bounds x="6.5" y="7.4" width="1.2" height="1.2" /></element>
<element ref="butd" inputtag="IN.3" inputmask="0x04"><bounds x="4.8" y="9.2" width="1.4" height="1.4" /></element>
+ <element ref="switch" inputtag="IN.3" inputmask="0x08" inputraw="yes"><bounds x="8.5" y="10.0" width="1.2" height="0.6" /></element>
+
</view>
</mamelayout>
diff --git a/src/mame/layout/funrlgl.lay b/src/mame/layout/funrlgl.lay
index 14cef718bd3..b43420f4ca3 100644
--- a/src/mame/layout/funrlgl.lay
+++ b/src/mame/layout/funrlgl.lay
@@ -6,8 +6,6 @@ license:CC0
<!-- define elements -->
- <element name="static_black"><rect><color red="0.0" green="0.0" blue="0.0" /></rect></element>
-
<element name="ledr" defstate="0">
<disk state="0"><color red="0.14" green="0.02" blue="0.03" /></disk>
<disk state="1"><color red="0.5" green="0.1" blue="0.11" /></disk>
@@ -19,14 +17,22 @@ license:CC0
<disk state="2"><color red="0.2" green="1.0" blue="0.32" /></disk>
</element>
+ <element name="but" defstate="0">
+ <rect state="0"><color red="0.12" green="0.12" blue="0.12" /></rect>
+ <rect state="1"><color red="0.25" green="0.25" blue="0.25" /></rect>
+ </element>
+
+ <element name="switch" defstate="1">
+ <rect><color red="0.12" green="0.12" blue="0.12" /></rect>
+ <text state="1" string="1" align="1"><color red="0.4" green="0.4" blue="0.42" /></text>
+ <text state="0" string="2" align="2"><color red="0.4" green="0.4" blue="0.42" /></text>
+ </element>
+
<!-- build screen -->
<view name="Internal Layout">
- <bounds left="-1" right="12" top="-0.2" bottom="12" />
- <element ref="static_black">
- <bounds left="-1" right="12" top="-0.2" bottom="12" />
- </element>
+ <bounds left="-1" right="10" top="-0.5" bottom="16.8" />
<element name="0.0" ref="ledr"><bounds x="0" y="0" width="1" height="1" /></element>
<element name="1.0" ref="ledr"><bounds x="0" y="2" width="1" height="1" /></element>
@@ -35,15 +41,21 @@ license:CC0
<element name="0.2" ref="ledr"><bounds x="0" y="8" width="1" height="1" /></element>
<element name="1.2" ref="ledr"><bounds x="0" y="10" width="1" height="1" /></element>
- <element name="2.2" ref="ledr"><bounds x="5" y="2" width="1" height="1" /></element>
- <element name="3.3" ref="ledg"><bounds x="5" y="4" width="1" height="1" /></element>
+ <element name="2.2" ref="ledr"><bounds x="4" y="2" width="1" height="1" /></element>
+ <element name="3.3" ref="ledg"><bounds x="4" y="4" width="1" height="1" /></element>
+
+ <element name="0.1" ref="ledr"><bounds x="8" y="0" width="1" height="1" /></element>
+ <element name="1.1" ref="ledr"><bounds x="8" y="2" width="1" height="1" /></element>
+ <element name="2.1" ref="ledr"><bounds x="8" y="4" width="1" height="1" /></element>
+ <element name="3.1" ref="ledr"><bounds x="8" y="6" width="1" height="1" /></element>
+ <element name="0.3" ref="ledr"><bounds x="8" y="8" width="1" height="1" /></element>
+ <element name="1.3" ref="ledr"><bounds x="8" y="10" width="1" height="1" /></element>
+
+ <element ref="but" inputtag="IN.0" inputmask="0x01"><bounds x="-0.2" y="13" width="1.4" height="1.4" /></element>
+ <element ref="but" inputtag="RESET" inputmask="0x01"><bounds x="3.8" y="13" width="1.4" height="1.4" /></element>
+ <element ref="but" inputtag="IN.0" inputmask="0x02"><bounds x="7.8" y="13" width="1.4" height="1.4" /></element>
- <element name="0.1" ref="ledr"><bounds x="10" y="0" width="1" height="1" /></element>
- <element name="1.1" ref="ledr"><bounds x="10" y="2" width="1" height="1" /></element>
- <element name="2.1" ref="ledr"><bounds x="10" y="4" width="1" height="1" /></element>
- <element name="3.1" ref="ledr"><bounds x="10" y="6" width="1" height="1" /></element>
- <element name="0.3" ref="ledr"><bounds x="10" y="8" width="1" height="1" /></element>
- <element name="1.3" ref="ledr"><bounds x="10" y="10" width="1" height="1" /></element>
+ <element ref="switch" inputtag="IN.0" inputmask="0x04" inputraw="yes"><bounds x="7.8" y="15.4" width="1.4" height="0.7" /></element>
</view>
</mamelayout>
diff --git a/src/mame/layout/funtag.lay b/src/mame/layout/funtag.lay
new file mode 100644
index 00000000000..0b5e6b86e78
--- /dev/null
+++ b/src/mame/layout/funtag.lay
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+license:CC0
+-->
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="text_start">
+ <text string="START"><color red="0.4" green="0.4" blue="0.42" /></text>
+ </element>
+
+ <element name="led" defstate="0">
+ <disk state="0"><color red="0.2" green="0.05" blue="0.06" /></disk>
+ <disk state="1"><color red="1.0" green="0.2" blue="0.23" /></disk>
+ </element>
+
+ <element name="butr" defstate="0">
+ <rect state="0"><color red="0.12" green="0.12" blue="0.12" /></rect>
+ <rect state="1"><color red="0.25" green="0.25" blue="0.25" /></rect>
+ </element>
+ <element name="butd" defstate="0">
+ <disk state="0"><color red="0.12" green="0.12" blue="0.12" /></disk>
+ <disk state="1"><color red="0.25" green="0.25" blue="0.25" /></disk>
+ </element>
+
+ <element name="switch" defstate="1">
+ <rect><color red="0.12" green="0.12" blue="0.12" /></rect>
+ <text state="1" string="1" align="1"><color red="0.4" green="0.4" blue="0.42" /></text>
+ <text state="0" string="2" align="2"><color red="0.4" green="0.4" blue="0.42" /></text>
+ </element>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="2.5" right="10.6" top="0.8" bottom="12.9" />
+
+ <element name="0.1" ref="led"><bounds x="3" y="3" width="1" height="1" /></element>
+ <element name="1.1" ref="led"><bounds x="6" y="3" width="1" height="1" /></element>
+ <element name="2.1" ref="led"><bounds x="9" y="3" width="1" height="1" /></element>
+ <element name="3.0" ref="led"><bounds x="6" y="5" width="1" height="1" /></element>
+ <element name="0.0" ref="led"><bounds x="3" y="7" width="1" height="1" /></element>
+ <element name="1.0" ref="led"><bounds x="6" y="7" width="1" height="1" /></element>
+ <element name="2.0" ref="led"><bounds x="9" y="7" width="1" height="1" /></element>
+
+ <element ref="butr" inputtag="IN.0" inputmask="0x01"><bounds x="2.9" y="1.3" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.1" inputmask="0x01"><bounds x="5.9" y="1.3" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.2" inputmask="0x01"><bounds x="8.9" y="1.3" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.0" inputmask="0x02"><bounds x="2.9" y="8.5" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.1" inputmask="0x02"><bounds x="5.9" y="8.5" width="1.2" height="1.2" /></element>
+ <element ref="butr" inputtag="IN.2" inputmask="0x02"><bounds x="8.9" y="8.5" width="1.2" height="1.2" /></element>
+
+ <element ref="butd" inputtag="IN.3" inputmask="0x08"><bounds x="5.85" y="10.85" width="1.3" height="1.3" /></element>
+ <element ref="text_start"><bounds x="5.75" y="12.2" width="1.5" height="0.6" /></element>
+
+ <element ref="switch" inputtag="IN.4" inputmask="0x04" inputraw="yes"><bounds x="8.9" y="11.55" width="1.2" height="0.6" /></element>
+
+ </view>
+</mamelayout>
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index b1c439951ab..dcdca0e5263 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -16070,6 +16070,7 @@ ctstein // Castle Toy
einvaderc // Entex
funjacks // Mattel
funrlgl // Mattel
+funtag // Mattel
h2hbaskbc // Coleco
h2hhockeyc // Coleco
h2hsoccerc // Coleco