From 78c211b3bb2cdd05fbad2a0a56ee0b3854ef2754 Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Thu, 7 Jan 2021 19:26:41 +0100 Subject: New machines marked as NOT_WORKING ---------------------------------- Mini Guay [jordigahan, ClawGrip] --- scripts/target/mame/arcade.lua | 1 + src/mame/arcade.flt | 1 + src/mame/drivers/gaelco2.cpp | 3 +- src/mame/drivers/miniguay.cpp | 112 +++++++++++++++++++++++++++++++++++++++++ src/mame/mame.lst | 3 ++ 5 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 src/mame/drivers/miniguay.cpp diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 0a07011669f..4dd6fbd898c 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -4991,6 +4991,7 @@ files { MAME_DIR .. "src/mame/drivers/midas.cpp", MAME_DIR .. "src/mame/drivers/mil4000.cpp", MAME_DIR .. "src/mame/drivers/miniboy7.cpp", + MAME_DIR .. "src/mame/drivers/miniguay.cpp", MAME_DIR .. "src/mame/drivers/minivideo.cpp", MAME_DIR .. "src/mame/drivers/mirax.cpp", MAME_DIR .. "src/mame/drivers/missbamby.cpp", diff --git a/src/mame/arcade.flt b/src/mame/arcade.flt index 9984a859418..72355e4cb08 100644 --- a/src/mame/arcade.flt +++ b/src/mame/arcade.flt @@ -785,6 +785,7 @@ midzeus.cpp mikie.cpp mil4000.cpp miniboy7.cpp +miniguay.cpp minivadr.cpp minivideo.cpp mirage.cpp diff --git a/src/mame/drivers/gaelco2.cpp b/src/mame/drivers/gaelco2.cpp index 4c9d315d2cd..21c9dbc28da 100644 --- a/src/mame/drivers/gaelco2.cpp +++ b/src/mame/drivers/gaelco2.cpp @@ -23,6 +23,7 @@ Cardioline Stepper | 1997 | CG-1V 288 | 970410 | IO board ST62T15B6 MCU (not really protection) Bang! | 1998 | CG-1V 388 | 980921/1 | No Super Roller | 1998 | CG-1V-218 | | DS5002FP (by Nova Desitec) + Champion Pool | 1999 | CG-1V-138 | 0005487 | DS5002FP (by Nova Desitec) Play 2000 | 1999 | CG-1V-149 | 990315 | DS5002FP (by Nova Desitec) -----------------------+------+-------------+----------+-------------------------------------------------- @@ -2749,7 +2750,7 @@ GAME( 1999, play2000_40i,play2000, play2000, play2000, gaelco2_state, i GAME( 1998, srollnd, 0, srollnd, play2000, gaelco2_state, init_play2000, ROT0, "Nova Desitec", "Super Roller (v7.0)", MACHINE_NOT_WORKING ) // missing ds5002fp dump -GAME( 1999, chmppool, 0, play2000, play2000, gaelco2_state, init_play2000, ROT0, "Nova Desitec", "Champion Pool (v1.0)", MACHINE_NOT_WORKING ) // missing ds5002fp dump +GAME( 1999, chmppool, 0, srollnd, play2000, gaelco2_state, init_play2000, ROT0, "Nova Desitec", "Champion Pool (v1.0)", MACHINE_NOT_WORKING ) // missing ds5002fp dump // Gym equipment GAME( 1997, sltpcycl, 0, saltcrdi, saltcrdi, gaelco2_state, init_play2000, ROT0, "Salter Fitness / Gaelco", "Pro Cycle Tele Cardioline (Salter Fitness Bike V.1.0, Checksum 02AB)", 0 ) // Same board and ROM as Pro Reclimber diff --git a/src/mame/drivers/miniguay.cpp b/src/mame/drivers/miniguay.cpp new file mode 100644 index 00000000000..c46cf8d6b53 --- /dev/null +++ b/src/mame/drivers/miniguay.cpp @@ -0,0 +1,112 @@ +// license:BSD-3-Clause +// copyright-holders: + +/* + Mini Guay (c) 1986 Cirsa + + Slot machine. + + Main components: + 1 x 8085 + 1 x AY-3-8910 + 1 x 8256A (MUART, unemulated) + 2 x 8155 + 2 x 8-dip banks (between AY and MUART) + 1 x 6.144MHz Osc + battery backed RAM + + Two different PCBs were found with same components, albeit some from different producers. + According to pics of the machine found on the net, it has leds. +*/ + +#include "emu.h" +#include "cpu/i8085/i8085.h" +#include "machine/i8155.h" +#include "sound/ay8910.h" +#include "screen.h" +#include "speaker.h" + + +namespace { + +class miniguay_state : public driver_device +{ +public: + miniguay_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + void miniguay(machine_config &config); + +private: + required_device m_maincpu; + + void main_map(address_map &map); +}; + +void miniguay_state::main_map(address_map &map) +{ + map(0x0000, 0x7fff).rom().region("maincpu", 0); +} + +static INPUT_PORTS_START( miniguay ) + PORT_START("IN0") + PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + PORT_START("IN1") + PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNKNOWN ) + + PORT_START("DSW1") + PORT_DIPUNKNOWN_DIPLOC(0x01, 0x01, "SW1:1") + PORT_DIPUNKNOWN_DIPLOC(0x02, 0x02, "SW1:2") + PORT_DIPUNKNOWN_DIPLOC(0x04, 0x04, "SW1:3") + PORT_DIPUNKNOWN_DIPLOC(0x08, 0x08, "SW1:4") + PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "SW1:5") + PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "SW1:6") + PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "SW1:7") + PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "SW1:8") + + PORT_START("DSW2") + PORT_DIPUNKNOWN_DIPLOC(0x01, 0x01, "SW2:1") + PORT_DIPUNKNOWN_DIPLOC(0x02, 0x02, "SW2:2") + PORT_DIPUNKNOWN_DIPLOC(0x04, 0x04, "SW2:3") + PORT_DIPUNKNOWN_DIPLOC(0x08, 0x08, "SW2:4") + PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "SW2:5") + PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "SW2:6") + PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "SW2:7") + PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "SW2:8") +INPUT_PORTS_END + + +void miniguay_state::miniguay(machine_config &config) +{ + // basic machine hardware + I8085A(config, m_maincpu, 6.144_MHz_XTAL); // divider not verified + m_maincpu->set_addrmap(AS_PROGRAM, &miniguay_state::main_map); + + I8155(config, "i8155_1", 6.144_MHz_XTAL / 2); // divider not verified + + I8155(config, "i8155_2", 6.144_MHz_XTAL / 2); // divider not verified + + // sound hardware + SPEAKER(config, "mono").front_center(); + ay8910_device &ay(AY8910(config, "ay", 6.144_MHz_XTAL / 4)); // divider not verified + //ay.port_a_read_callback().set_ioport("DSW1"); + //ay.port_b_read_callback().set_ioport("DSW2"); + ay.add_route(ALL_OUTPUTS, "mono", 0.30); +} + + +ROM_START( miniguay ) + ROM_REGION( 0x8000, "maincpu", 0 ) + ROM_LOAD( "a21t_b-82.bin", 0x0000, 0x8000, CRC(04865da9) SHA1(78cf41d8428eb67ae40e764494ac03d45762500a) ) + + ROM_REGION( 0x200, "plds", 0 ) + ROM_LOAD( "pat_031_pal16r4.bin", 0x000, 0x104, NO_DUMP ) +ROM_END + +} // Anonymous namespace + + +GAME( 1986, miniguay, 0, miniguay, miniguay, miniguay_state, empty_init, ROT0, "Cirsa", "Mini Guay", MACHINE_IS_SKELETON_MECHANICAL ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index f38a17a7b23..f5cea93339e 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -23158,6 +23158,9 @@ miniforce // D26 cabinet test board @source:miniframe.cpp minifram +@source:miniguay.cpp +miniguay + @source:minitel_2_rpic.cpp minitel2 // -- cgit v1.2.3