From b9ef04629936205607c89e63b508e8046f18d2c9 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Sat, 18 Jul 2020 12:13:44 +0200 Subject: [PATCH] New machines marked as NOT_WORKING ---------------------------------- El auto de papa [Victor Fernandez (City Game), ClawGrip] Susanita tiene un raton [Victor Fernandez (City Game), ClawGrip] --- scripts/target/mame/arcade.lua | 1 + src/mame/arcade.flt | 1 + src/mame/drivers/gaelcof3.cpp | 98 ++++++++++++++++++++++++++++++++++ src/mame/mame.lst | 4 ++ 4 files changed, 104 insertions(+) create mode 100644 src/mame/drivers/gaelcof3.cpp diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index f937b1cab88..36d3b9e739c 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -1978,6 +1978,7 @@ files { MAME_DIR .. "src/mame/video/gaelco3d.cpp", MAME_DIR .. "src/mame/machine/gaelco3d.cpp", MAME_DIR .. "src/mame/machine/gaelco3d.h", + MAME_DIR .. "src/mame/drivers/gaelcof3.cpp", MAME_DIR .. "src/mame/drivers/gaelcopc.cpp", MAME_DIR .. "src/mame/drivers/goldart.cpp", MAME_DIR .. "src/mame/drivers/glass.cpp", diff --git a/src/mame/arcade.flt b/src/mame/arcade.flt index 4053add605e..1394de38406 100644 --- a/src/mame/arcade.flt +++ b/src/mame/arcade.flt @@ -436,6 +436,7 @@ g627.cpp gaelco.cpp gaelco2.cpp gaelco3d.cpp +gaelcof3.cpp gaelcopc.cpp gaiden.cpp gal3.cpp diff --git a/src/mame/drivers/gaelcof3.cpp b/src/mame/drivers/gaelcof3.cpp new file mode 100644 index 00000000000..0e8c3668b82 --- /dev/null +++ b/src/mame/drivers/gaelcof3.cpp @@ -0,0 +1,98 @@ +// license:BSD-3-Clause +// copyright-holders: +/* + Gaelco 'Futbol-3' hardware for kiddie rides + + The PCB is very compact and has few components. The main ones are: + + PIC16C55 as main CPU + OKI M6295 for sound + 1 bank of 6 dips + + + The PCBs were inside two "Coche de Bomberos" kiddie rides from CMC Cresmatic (https://www.recreativas.org/coche-de-bomberos-6022-cresmatic). + Anyway, the hardware is generic enough to serve any basic kiddie ride. + + The only dumpable ROM on the PCB is the Oki sound samples. There are two different versions dumped (from two different machines): + + "Susanita tiene un ratón" - Based on the song composed by Emilio Alberto Aragón 'Miliki'. + + "El auto de papá" - Based on the song composed by Enrique Fischer 'Pipo Pescador'. +*/ + +#include "emu.h" +#include "cpu/pic16c5x/pic16c5x.h" +#include "sound/okim6295.h" +#include "speaker.h" + + +class gaelcof3_state : public driver_device +{ +public: + gaelcof3_state(const machine_config &mconfig, device_type type, const char *tag) : + driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + void gaelcof3(machine_config &config); + +private: + required_device m_maincpu; +}; + + +static INPUT_PORTS_START( gaelcof3 ) + PORT_START("IN0") + PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + PORT_START("DSW1") // only 6 switches + PORT_DIPNAME( 0x01, 0x01, "DSW1-1" ) PORT_DIPLOCATION("SW1:1") + PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x02, 0x02, "DSW1-2" ) PORT_DIPLOCATION("SW1:2") + PORT_DIPSETTING( 0x02, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x04, 0x04, "DSW1-3" ) PORT_DIPLOCATION("SW1:3") + PORT_DIPSETTING( 0x04, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x08, 0x08, "DSW1-4" ) PORT_DIPLOCATION("SW1:4") + PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x10, 0x10, "DSW1-5" ) PORT_DIPLOCATION("SW1:5") + PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_DIPNAME( 0x20, 0x20, "DSW1-6" ) PORT_DIPLOCATION("SW1:6") + PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) + PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) +INPUT_PORTS_END + + +void gaelcof3_state::gaelcof3(machine_config &config) +{ + PIC16C55(config, m_maincpu, 4000000); // clock not confirmed + + SPEAKER(config, "mono").front_center(); + + OKIM6295(config, "oki", 1000000, okim6295_device::PIN7_HIGH).add_route(ALL_OUTPUTS, "mono", 1.0); // clock and pin not confirmed +} + + +ROM_START( autopapa ) + ROM_REGION( 0x400, "maincpu", 0 ) + ROM_LOAD( "pic16c55.u3", 0x000, 0x400, NO_DUMP ) + + ROM_REGION( 0x40000, "oki", 0 ) + ROM_LOAD( "autopapa.u1", 0x00000, 0x40000, CRC(a3e5607e) SHA1(24a9c79edec7b2f7f64b622240f2ad8f3ffa29ca) ) +ROM_END + +ROM_START( susanita ) + ROM_REGION( 0x400, "maincpu", 0 ) + ROM_LOAD( "pic16c55.u3", 0x000, 0x400, NO_DUMP ) + + ROM_REGION( 0x40000, "oki", 0 ) + ROM_LOAD( "susanita.u1", 0x00000, 0x40000, CRC(766868cb) SHA1(eb42dc46b865bc448052d9d67c840e51c49ce49a) ) +ROM_END + +GAME( 199?, autopapa, 0, gaelcof3, gaelcof3, gaelcof3_state, empty_init, ROT0, "Gaelco", "El auto de papa", MACHINE_IS_SKELETON_MECHANICAL ) +GAME( 199?, susanita, 0, gaelcof3, gaelcof3, gaelcof3_state, empty_init, ROT0, "Gaelco", "Susanita tiene un raton", MACHINE_IS_SKELETON_MECHANICAL ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index ae6ccc5e6c5..97f32be299a 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -13991,6 +13991,10 @@ speedup10 // (c) 1996 - Ref ??? surfplnt // (c) 1997 - Ref 971223 surfplnt40 // (c) 1997 - Ref 970514 +@source:gaelcof3.cpp +autopapa // +susanita // + @source:gaelcopc.cpp rriders // tokyocop // (c) 2003 (Arcade TV Game List - P.168, Right, 19 from bottom)