summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2021-09-14 23:25:58 +0200
committer hap <happppp@users.noreply.github.com>2021-09-14 23:26:15 +0200
commit934eb693619b8f0d50046dace7806e6de078948d (patch)
tree87541b05ef285be37bcdcd565f34aa9f7b011597
parentb6bf8b3851d2da4f2e2bc3e2577fdaf8c2234ec3 (diff)
New working machines
-------------------- Checker Challenger (model CR, 2 levels) [hap, Sean Riddle]
-rw-r--r--scripts/target/mame/mess.lua1
-rw-r--r--src/mame/drivers/fidel_cc10.cpp13
-rw-r--r--src/mame/drivers/fidel_checkc2.cpp250
-rw-r--r--src/mame/drivers/fidel_dames.cpp2
-rw-r--r--src/mame/drivers/fidel_vsc.cpp17
-rw-r--r--src/mame/drivers/hh_ucom4.cpp2
-rw-r--r--src/mame/layout/fidel_cr.lay174
-rw-r--r--src/mame/mame.lst3
-rw-r--r--src/mame/mess.flt1
9 files changed, 442 insertions, 21 deletions
diff --git a/scripts/target/mame/mess.lua b/scripts/target/mame/mess.lua
index fd82596382a..fdde1dd8cb4 100644
--- a/scripts/target/mame/mess.lua
+++ b/scripts/target/mame/mess.lua
@@ -2457,6 +2457,7 @@ files {
MAME_DIR .. "src/mame/drivers/fidel_cc1.cpp",
MAME_DIR .. "src/mame/drivers/fidel_cc10.cpp",
MAME_DIR .. "src/mame/drivers/fidel_cc7.cpp",
+ MAME_DIR .. "src/mame/drivers/fidel_checkc2.cpp",
MAME_DIR .. "src/mame/drivers/fidel_chesster.cpp",
MAME_DIR .. "src/mame/drivers/fidel_csc.cpp",
MAME_DIR .. "src/mame/drivers/fidel_dames.cpp",
diff --git a/src/mame/drivers/fidel_cc10.cpp b/src/mame/drivers/fidel_cc10.cpp
index 03b2cab3b19..8daae3ac5e4 100644
--- a/src/mame/drivers/fidel_cc10.cpp
+++ b/src/mame/drivers/fidel_cc10.cpp
@@ -27,12 +27,14 @@ advertisements, but box and manual still simply name it Checker Challenger.
******************************************************************************/
#include "emu.h"
+
#include "cpu/z80/z80.h"
#include "machine/bankdev.h"
#include "machine/i8255.h"
#include "machine/timer.h"
#include "sound/beep.h"
#include "video/pwm.h"
+
#include "speaker.h"
// internal artwork
@@ -94,18 +96,13 @@ private:
u8 ppi_portc_r();
void ppi_portc_w(u8 data);
- u8 m_inp_mux;
- u8 m_led_select;
- u8 m_7seg_data;
+ u8 m_inp_mux = 0;
+ u8 m_led_select = 0;
+ u8 m_7seg_data = 0;
};
void ccx_state::machine_start()
{
- // zerofill
- m_inp_mux = 0;
- m_led_select = 0;
- m_7seg_data = 0;
-
// register for savestates
save_item(NAME(m_inp_mux));
save_item(NAME(m_led_select));
diff --git a/src/mame/drivers/fidel_checkc2.cpp b/src/mame/drivers/fidel_checkc2.cpp
new file mode 100644
index 00000000000..d3ac45c9c22
--- /dev/null
+++ b/src/mame/drivers/fidel_checkc2.cpp
@@ -0,0 +1,250 @@
+// license:BSD-3-Clause
+// copyright-holders:hap
+// thanks-to:Sean Riddle
+/******************************************************************************
+
+Fidelity Checker Challenger (CR)
+
+Even though it has fewer levels and presumedly a weaker program, this one
+is a couple of months newer than model ACR (fidel_cc10.cpp).
+
+Hardware notes:
+- PCB label: P261A
+- NEC uCOM-43 MCU, label D546C 055 (die label same)
+- 256x4 RAM (NEC D2101AL-4)
+- 4-digit 7seg led display + 2 other leds, no sound
+
+TODO:
+- according to the manual, the right digits should blink when the CPU
+ opponent wants to make a double jump, but it doesn't blink on MAME
+
+******************************************************************************/
+
+#include "emu.h"
+
+#include "cpu/ucom4/ucom4.h"
+#include "video/pwm.h"
+
+// internal artwork
+#include "fidel_cr.lh" // clickable
+
+
+namespace {
+
+class cr_state : public driver_device
+{
+public:
+ cr_state(const machine_config &mconfig, device_type type, const char *tag) :
+ driver_device(mconfig, type, tag),
+ m_maincpu(*this, "maincpu"),
+ m_display(*this, "display"),
+ m_inputs(*this, "IN.%u", 0)
+ { }
+
+ void cr(machine_config &config);
+
+protected:
+ virtual void machine_start() override;
+
+private:
+ // devices/pointers
+ required_device<ucom4_cpu_device> m_maincpu;
+ required_device<pwm_display_device> m_display;
+ required_ioport_array<4> m_inputs;
+
+ // I/O handlers
+ void update_display();
+ void segsel_w(u8 data);
+ void seg0_w(u8 data);
+ void seg1_w(u8 data);
+ void control_w(u8 data);
+ void ram_w(u8 data);
+ u8 ram_r();
+ void rama0_w(u8 data);
+ void rama1_w(u8 data);
+ u8 input_r();
+
+ u8 m_ram[0x100];
+ u8 m_ram_address = 0;
+ u8 m_ram_data = 0;
+ u8 m_ram_control = 0;
+
+ u8 m_inp_mux = 0;
+ u8 m_led_select = 0;
+ u8 m_7seg_data = 0;
+};
+
+void cr_state::machine_start()
+{
+ memset(m_ram, 0, sizeof(m_ram));
+
+ // register for savestates
+ save_item(NAME(m_ram));
+ save_item(NAME(m_ram_address));
+ save_item(NAME(m_ram_data));
+ save_item(NAME(m_ram_control));
+ save_item(NAME(m_inp_mux));
+ save_item(NAME(m_led_select));
+ save_item(NAME(m_7seg_data));
+}
+
+
+
+/******************************************************************************
+ I/O
+******************************************************************************/
+
+void cr_state::update_display()
+{
+ m_display->matrix(m_led_select, bitswap<7>(m_7seg_data,3,2,1,0,6,5,4));
+}
+
+void cr_state::segsel_w(u8 data)
+{
+ // G: 7seg select
+ m_led_select = (m_led_select & 0x30) | data;
+ update_display();
+}
+
+void cr_state::seg0_w(u8 data)
+{
+ // H: 7seg data(low)
+ m_7seg_data = (m_7seg_data & 0xf0) | data;
+ update_display();
+}
+
+void cr_state::seg1_w(u8 data)
+{
+ // I: 7seg data(high)
+ m_7seg_data = (m_7seg_data & 0x0f) | data << 4;
+ update_display();
+}
+
+void cr_state::control_w(u8 data)
+{
+ // F0,F1: direct leds
+ m_led_select = (m_led_select & 0x0f) | (data << 4 & 0x30);
+ update_display();
+
+ // F2: RAM R/W, F3: RAM CE
+ if ((data & 0xc) == 8 && ~m_ram_control & 2)
+ m_ram[m_ram_address] = m_ram_data;
+ m_ram_control = data >> 2;
+}
+
+void cr_state::ram_w(u8 data)
+{
+ // C: RAM DI
+ m_ram_data = data;
+}
+
+u8 cr_state::ram_r()
+{
+ // B: RAM DO
+ return m_ram[m_ram_address];
+}
+
+void cr_state::rama0_w(u8 data)
+{
+ // E: RAM address(low), input mux
+ m_ram_address = (m_ram_address & 0xf0) | data;
+ m_inp_mux = data;
+}
+
+void cr_state::rama1_w(u8 data)
+{
+ // D: RAM address(high)
+ m_ram_address = (m_ram_address & 0x0f) | data << 4;
+}
+
+u8 cr_state::input_r()
+{
+ u8 data = 0;
+
+ // A: multiplexed inputs
+ for (int i = 0; i < 4; i++)
+ if (BIT(m_inp_mux, i))
+ data |= m_inputs[i]->read();
+
+ return data;
+}
+
+
+
+/******************************************************************************
+ Input Ports
+******************************************************************************/
+
+static INPUT_PORTS_START( cr )
+ PORT_START("IN.0")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("0") PORT_CODE(KEYCODE_0) PORT_CODE(KEYCODE_0_PAD)
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("PV") PORT_CODE(KEYCODE_V)
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("LV") PORT_CODE(KEYCODE_L)
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("RE") PORT_CODE(KEYCODE_R)
+
+ PORT_START("IN.1")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("1") PORT_CODE(KEYCODE_1) PORT_CODE(KEYCODE_1_PAD)
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("4") PORT_CODE(KEYCODE_4) PORT_CODE(KEYCODE_4_PAD)
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("7") PORT_CODE(KEYCODE_7) PORT_CODE(KEYCODE_7_PAD)
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("CL") PORT_CODE(KEYCODE_DEL) PORT_CODE(KEYCODE_BACKSPACE)
+
+ PORT_START("IN.2")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("2") PORT_CODE(KEYCODE_2) PORT_CODE(KEYCODE_2_PAD)
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("5") PORT_CODE(KEYCODE_5) PORT_CODE(KEYCODE_5_PAD)
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("8") PORT_CODE(KEYCODE_8) PORT_CODE(KEYCODE_8_PAD)
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("TO") PORT_CODE(KEYCODE_T)
+
+ PORT_START("IN.3")
+ PORT_BIT(0x01, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("3") PORT_CODE(KEYCODE_3) PORT_CODE(KEYCODE_3_PAD)
+ PORT_BIT(0x02, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("6") PORT_CODE(KEYCODE_6) PORT_CODE(KEYCODE_6_PAD)
+ PORT_BIT(0x04, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("9") PORT_CODE(KEYCODE_9) PORT_CODE(KEYCODE_9_PAD)
+ PORT_BIT(0x08, IP_ACTIVE_HIGH, IPT_KEYPAD) PORT_NAME("EN") PORT_CODE(KEYCODE_ENTER) PORT_CODE(KEYCODE_ENTER_PAD)
+INPUT_PORTS_END
+
+
+
+/******************************************************************************
+ Machine Configs
+******************************************************************************/
+
+void cr_state::cr(machine_config &config)
+{
+ /* basic machine hardware */
+ NEC_D546(config, m_maincpu, 400000); // approximation
+ m_maincpu->read_a().set(FUNC(cr_state::input_r));
+ m_maincpu->read_b().set(FUNC(cr_state::ram_r));
+ m_maincpu->write_c().set(FUNC(cr_state::ram_w));
+ m_maincpu->write_d().set(FUNC(cr_state::rama1_w));
+ m_maincpu->write_e().set(FUNC(cr_state::rama0_w));
+ m_maincpu->write_f().set(FUNC(cr_state::control_w));
+ m_maincpu->write_g().set(FUNC(cr_state::segsel_w));
+ m_maincpu->write_h().set(FUNC(cr_state::seg0_w));
+ m_maincpu->write_i().set(FUNC(cr_state::seg1_w));
+
+ /* video hardware */
+ PWM_DISPLAY(config, m_display).set_size(6, 7);
+ m_display->set_segmask(0xf, 0x7f);
+ config.set_default_layout(layout_fidel_cr);
+}
+
+
+
+/******************************************************************************
+ ROM Definitions
+******************************************************************************/
+
+ROM_START( checkc2 )
+ ROM_REGION( 0x0800, "maincpu", 0 )
+ ROM_LOAD( "d546c-055", 0x0000, 0x0800, CRC(ee2de21e) SHA1(ca727093dc36dc15453bc5cca4e559fdc8242355) )
+ROM_END
+
+} // anonymous namespace
+
+
+
+/******************************************************************************
+ Drivers
+******************************************************************************/
+
+// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY, FULLNAME, FLAGS
+CONS( 1978, checkc2, 0, 0, cr, cr, cr_state, empty_init, "Fidelity Electronics", "Checker Challenger (model CR, 2 levels)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NO_SOUND_HW )
diff --git a/src/mame/drivers/fidel_dames.cpp b/src/mame/drivers/fidel_dames.cpp
index e64eee89d3a..a3b56f15918 100644
--- a/src/mame/drivers/fidel_dames.cpp
+++ b/src/mame/drivers/fidel_dames.cpp
@@ -6,10 +6,10 @@
Fidelity Dame Sensory Challenger (DSC)
Hardware notes:
+- PCB label: 510-1030A01
- Z80A CPU @ 3.9MHz
- 8KB ROM(MOS 2364), 1KB RAM(2*TMM314APL)
- 4-digit 7seg panel, sensory board with 50 buttons
-- PCB label 510-1030A01
Instead of chess, it's a checkers game for once (international rules).
diff --git a/src/mame/drivers/fidel_vsc.cpp b/src/mame/drivers/fidel_vsc.cpp
index 07dacd2b342..70a83866a1b 100644
--- a/src/mame/drivers/fidel_vsc.cpp
+++ b/src/mame/drivers/fidel_vsc.cpp
@@ -148,13 +148,15 @@ IFP: Impact Printer - also compatible with C64 apparently.
******************************************************************************/
#include "emu.h"
+
#include "cpu/z80/z80.h"
#include "machine/i8255.h"
+#include "machine/clock.h"
#include "machine/sensorboard.h"
#include "machine/z80pio.h"
-#include "machine/timer.h"
#include "sound/s14001a.h"
#include "video/pwm.h"
+
#include "speaker.h"
// internal artwork
@@ -169,7 +171,6 @@ public:
vsc_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_maincpu(*this, "maincpu"),
- m_nmi_on(*this, "nmi_on"),
m_z80pio(*this, "z80pio"),
m_ppi8255(*this, "ppi8255"),
m_board(*this, "board"),
@@ -189,7 +190,6 @@ protected:
private:
// devices/pointers
required_device<cpu_device> m_maincpu;
- required_device<timer_device> m_nmi_on;
required_device<z80pio_device> m_z80pio;
required_device<i8255_device> m_ppi8255;
required_device<sensorboard_device> m_board;
@@ -205,10 +205,6 @@ private:
u8 main_io_trampoline_r(offs_t offset);
void main_io_trampoline_w(offs_t offset, u8 data);
- // periodic interrupts
- template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(nmi_on) { m_maincpu->set_input_line(Line, ASSERT_LINE); }
- template<int Line> TIMER_DEVICE_CALLBACK_MEMBER(nmi_off) { m_maincpu->set_input_line(Line, CLEAR_LINE); }
-
// I/O handlers
void update_display();
u8 speech_r(offs_t offset);
@@ -426,10 +422,9 @@ void vsc_state::vsc(machine_config &config)
m_maincpu->set_addrmap(AS_PROGRAM, &vsc_state::main_map);
m_maincpu->set_addrmap(AS_IO, &vsc_state::main_io);
- const attotime nmi_period = attotime::from_hz(600); // 555 timer, ideal frequency is 600Hz (measurement was 587Hz)
- TIMER(config, m_nmi_on).configure_periodic(FUNC(vsc_state::nmi_on<INPUT_LINE_NMI>), nmi_period);
- m_nmi_on->set_start_delay(nmi_period - attotime::from_usec(845)); // active for 0.845ms (approx half)
- TIMER(config, "nmi_off").configure_periodic(FUNC(vsc_state::nmi_off<INPUT_LINE_NMI>), nmi_period);
+ auto &nmi_clock(CLOCK(config, "nmi_clock", 600)); // 555 timer, ideal frequency is 600Hz (measurement was 587Hz)
+ nmi_clock.set_pulse_width(attotime::from_usec(845)); // active for 0.845ms (approx half)
+ nmi_clock.signal_handler().set_inputline(m_maincpu, INPUT_LINE_NMI);
I8255(config, m_ppi8255);
m_ppi8255->out_pa_callback().set(FUNC(vsc_state::ppi_porta_w));
diff --git a/src/mame/drivers/hh_ucom4.cpp b/src/mame/drivers/hh_ucom4.cpp
index 3f2e154bb71..ab6759c1c3d 100644
--- a/src/mame/drivers/hh_ucom4.cpp
+++ b/src/mame/drivers/hh_ucom4.cpp
@@ -10,7 +10,7 @@ known chips:
serial device etc.
----------------------------------------------------------------
- *055 uPD546C 1979, Fidelity Checker Challenger (CR)
+ 055 uPD546C 1978, Fidelity Checker Challenger (CR) -> fidel_checkc2.cpp
@017 uPD552C 1979, Bambino UFO Master-Blaster Station (ET-02)
@042 uPD552C 1980, Tomy Cosmic Combat (TN-??)
diff --git a/src/mame/layout/fidel_cr.lay b/src/mame/layout/fidel_cr.lay
new file mode 100644
index 00000000000..6a77ad58c45
--- /dev/null
+++ b/src/mame/layout/fidel_cr.lay
@@ -0,0 +1,174 @@
+<?xml version="1.0"?>
+<!--
+license:CC0
+-->
+<mamelayout version="2">
+
+<!-- define elements -->
+
+ <element name="static_gray"><rect><color red="0.6" green="0.6" blue="0.6" /></rect></element>
+
+ <element name="digit" defstate="0">
+ <led7seg><color red="1.0" green="0.1" blue="0.15" /></led7seg>
+ </element>
+
+ <element name="led" defstate="0">
+ <disk state="1"><color red="1.0" green="0.1" blue="0.15" /></disk>
+ <disk state="0"><color red="0.1" green="0.01" blue="0.015" /></disk>
+ </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>
+ <rect state="1">
+ <bounds x="0.0" y="0.0" width="1.0" height="1.0" />
+ <color red="0.0" green="0.0" blue="0.0" />
+ </rect>
+ </element>
+
+ <element name="text_win"><text string="I WIN"><color red="0.6" green="0.6" blue="0.6" /></text></element>
+ <element name="text_lose"><text string="I LOSE"><color red="0.6" green="0.6" blue="0.6" /></text></element>
+ <element name="text_from"><text string="FROM"><color red="0.6" green="0.6" blue="0.6" /></text></element>
+ <element name="text_to"><text string="TO"><color red="0.6" green="0.6" blue="0.6" /></text></element>
+
+ <element name="text_b1">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="RE"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b2">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="CL"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b3">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="TO"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b4">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="EN"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b5">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="LV"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b6">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="7"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b7">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="8"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b8">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="9"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b9">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="PV"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b10">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="4"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b11">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="5"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b12">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="6"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b13">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="0"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b14">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="1"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b15">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="2"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+ <element name="text_b16">
+ <rect><color red="0.6" green="0.6" blue="0.6" /></rect>
+ <text string="3"><color red="0.04" green="0.04" blue="0.04" /></text>
+ </element>
+
+
+<!-- build screen -->
+
+ <view name="Internal Layout">
+ <bounds left="-0.5" right="18" top="7.7" bottom="36" />
+
+ <!-- 7segs/leds -->
+ <element ref="text_win"><bounds x="0.7" y="8.2" width="8" height="2" /></element>
+ <element ref="text_lose"><bounds x="10.5" y="8.2" width="8" height="2" /></element>
+ <element name="4.a" ref="led"><bounds x="0" y="8.5" width="1.5" height="1.5" /></element>
+ <element name="5.a" ref="led"><bounds x="9.5" y="8.5" width="1.5" height="1.5" /></element>
+
+ <element ref="text_from"><bounds x="0" y="17.2" width="8" height="2" /></element>
+ <element ref="text_to"><bounds x="9.5" y="17.2" width="8" height="2" /></element>
+
+ <element name="digit0" ref="digit"><bounds x="0" y="11" width="4" height="6" /></element>
+ <element name="digit1" ref="digit"><bounds x="4" y="11" width="4" height="6" /></element>
+ <element name="digit2" ref="digit"><bounds x="9.5" y="11" width="4" height="6" /></element>
+ <element name="digit3" ref="digit"><bounds x="13.5" y="11" width="4" height="6" /></element>
+
+ <!-- button panel -->
+ <element ref="static_gray"><bounds x="0" y="20" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="4.5" y="20" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="9" y="20" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="13.5" y="20" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="0" y="24" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="4.5" y="24" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="9" y="24" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="13.5" y="24" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="0" y="28" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="4.5" y="28" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="9" y="28" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="13.5" y="28" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="0" y="32" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="4.5" y="32" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="9" y="32" width="4" height="3.5" /></element>
+ <element ref="static_gray"><bounds x="13.5" y="32" width="4" height="3.5" /></element>
+
+ <element ref="text_b1"><bounds x="0.1" y="20.75" width="3.8" height="2" /></element>
+ <element ref="text_b2"><bounds x="4.6" y="20.75" width="3.8" height="2" /></element>
+ <element ref="text_b3"><bounds x="9.1" y="20.75" width="3.8" height="2" /></element>
+ <element ref="text_b4"><bounds x="13.6" y="20.75" width="3.8" height="2" /></element>
+ <element ref="text_b5"><bounds x="0.1" y="24.75" width="3.8" height="2" /></element>
+ <element ref="text_b6"><bounds x="4.6" y="24.75" width="3.8" height="2" /></element>
+ <element ref="text_b7"><bounds x="9.1" y="24.75" width="3.8" height="2" /></element>
+ <element ref="text_b8"><bounds x="13.6" y="24.75" width="3.8" height="2" /></element>
+ <element ref="text_b9"><bounds x="0.1" y="28.75" width="3.8" height="2" /></element>
+ <element ref="text_b10"><bounds x="4.6" y="28.75" width="3.8" height="2" /></element>
+ <element ref="text_b11"><bounds x="9.1" y="28.75" width="3.8" height="2" /></element>
+ <element ref="text_b12"><bounds x="13.6" y="28.75" width="3.8" height="2" /></element>
+ <element ref="text_b13"><bounds x="0.1" y="32.75" width="3.8" height="2" /></element>
+ <element ref="text_b14"><bounds x="4.6" y="32.75" width="3.8" height="2" /></element>
+ <element ref="text_b15"><bounds x="9.1" y="32.75" width="3.8" height="2" /></element>
+ <element ref="text_b16"><bounds x="13.6" y="32.75" width="3.8" height="2" /></element>
+
+ <element ref="hl" inputtag="RESET" inputmask="0x01"><bounds x="0" y="20" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.1" inputmask="0x01"><bounds x="4.5" y="20" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.2" inputmask="0x01"><bounds x="9" y="20" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.3" inputmask="0x01"><bounds x="13.5" y="20" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.0" inputmask="0x02"><bounds x="0" y="24" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.1" inputmask="0x02"><bounds x="4.5" y="24" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.2" inputmask="0x02"><bounds x="9" y="24" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.3" inputmask="0x02"><bounds x="13.5" y="24" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.0" inputmask="0x04"><bounds x="0" y="28" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.1" inputmask="0x04"><bounds x="4.5" y="28" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.2" inputmask="0x04"><bounds x="9" y="28" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.3" inputmask="0x04"><bounds x="13.5" y="28" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.0" inputmask="0x08"><bounds x="0" y="32" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.1" inputmask="0x08"><bounds x="4.5" y="32" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.2" inputmask="0x08"><bounds x="9" y="32" width="4" height="3.5" /><color alpha="0.2" /></element>
+ <element ref="hl" inputtag="IN.3" inputmask="0x08"><bounds x="13.5" y="32" width="4" height="3.5" /><color alpha="0.2" /></element>
+
+ </view>
+</mamelayout>
diff --git a/src/mame/mame.lst b/src/mame/mame.lst
index 14c96ea469a..f65874186a6 100644
--- a/src/mame/mame.lst
+++ b/src/mame/mame.lst
@@ -13820,6 +13820,9 @@ backgamc //
cc7 //
cc7a //
+@source:fidel_checkc2.cpp
+checkc2
+
@source:fidel_chesster.cpp
chesster //
chesstera //
diff --git a/src/mame/mess.flt b/src/mame/mess.flt
index 6f5a06ed7b2..15e842b590c 100644
--- a/src/mame/mess.flt
+++ b/src/mame/mess.flt
@@ -316,6 +316,7 @@ fidel_card.cpp
fidel_cc1.cpp
fidel_cc10.cpp
fidel_cc7.cpp
+fidel_checkc2.cpp
fidel_chesster.cpp
fidel_csc.cpp
fidel_dames.cpp