diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 9cf25d0ec7b..5703c473a12 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -5064,6 +5064,7 @@ files { MAME_DIR .. "src/mame/drivers/special_gambl.cpp", MAME_DIR .. "src/mame/audio/special.cpp", MAME_DIR .. "src/mame/audio/special.h", + MAME_DIR .. "src/mame/drivers/spdamjes.cpp", MAME_DIR .. "src/mame/drivers/spool99.cpp", MAME_DIR .. "src/mame/drivers/sprcros2.cpp", MAME_DIR .. "src/mame/drivers/ssingles.cpp", diff --git a/src/mame/arcade.flt b/src/mame/arcade.flt index 8fc820b1d79..c55069cfd14 100644 --- a/src/mame/arcade.flt +++ b/src/mame/arcade.flt @@ -1222,6 +1222,7 @@ spaceg.cpp spartanxtec.cpp spbactn.cpp spcforce.cpp +spdamjes.cpp spdheat.cpp spdodgeb.cpp special_gambl.cpp diff --git a/src/mame/drivers/spdamjes.cpp b/src/mame/drivers/spdamjes.cpp new file mode 100644 index 00000000000..4b7e429751b --- /dev/null +++ b/src/mame/drivers/spdamjes.cpp @@ -0,0 +1,137 @@ +// license:BSD-3-Clause +// copyright-holders: +/**************************************************************************************************************** + + Skeleton driver for "Sport Damjes 1" darts machine + + PCB labeled as "DARDO" ("Dart" in Spanish) on both sides + _______________________________________________________________________________________________________________ + | ................. ... ..... ........ ........ | + | __________ ___________ ___________ ___________ ___________ ___________ | + | |TC74HC367P |TC74HC367P |TC74HC367P |_ULN2803A_| |_ULN2803A_| |_ULN2803A_| ·| + | ________________________ ___________ ___________ ___________ ___________ ___________ ·| + | | Microchip AY-3-8910A | |__DIPSx8__| |__DIPSx8__| |T74LS259B1| |T74LS259B1| |_ULN2803A_| ·| + | |_______________________| ___________ ___________ ·| + | |T74LS259B1| |T74LS259B1| ·| + | ___________ ___________ ·| + | |T74LS259B1| |T74LS259B1| | + | ___________________ __________ | + | | UM6264-10L | |BATT 3.6V| ___________ | + | |__________________| | | |_ULN2803A_| ·| + | ___________________ |_________| ___________ ·| + | | EPROM | ___________ |T74LS259B1| ·| + | |__________________| |PAL16L8A-2CN ___________ ·| + | ________________________ |T74LS259B1| ·| + | | Zilog Z0840004PSC | | + | |_______________________| | + | | + | .. ___________ ___________ | + | .. |T74LS259B1| |T74LS259B1| ·| + | .. ·| + | .. Xtal ___________ ·| + | .. 8.000 |__CM3080__| DARDO ·| + | .. ___________ ·| + | .. |_ULN2803A_| | + | ........ :::::::::: ............. ........... | + |______________________________________________________________________________________________________________| + _______________________________________________________________________________________________________________ + | ______ ______ ______ | + | | __ || __ || __ | | + | | |_| || |_| || |_| | | + | | |_|.|| |_|.|| |_|.| | + | |_____||_____||_____| | + | | + | _ _ | + | _ (_) (_) _ | + | (_) ______ ______ ______ ______ ______ ______ (_) | + | | __ || __ || __ | | __ || __ || __ | | + | | |_| || |_| || |_| | | |_| || |_| || |_| | | + | | |_|.|| |_|.|| |_|.| | |_|.|| |_|.|| |_|.| | + | |_____||_____||_____| |_____||_____||_____| | + | ______ ______ ______ ______ ______ ______ | + | | __ || __ || __ | | __ || __ || __ | | + | | |_| || |_| || |_| | | |_| || |_| || |_| | | + | | |_|.|| |_|.|| |_|.| | |_|.|| |_|.|| |_|.| | + | |_____||_____||_____| |_____||_____||_____| | + | _ _ | + | (_) _ _ (_) | + | (_) (_) | + | | + | ______ ______ ______ ______ ______ | + | | __ || __ | | __ | | __ || __ | | + | | |_| || |_| | | |_| | | |_| || |_| | | + | | |_|.|| |_|.| DARDO | |_|.| | |_|.|| |_|.| | + | |_____||_____| |_____| |_____||_____| | + |______________________________________________________________________________________________________________| + +****************************************************************************************************************/ + +#include "emu.h" +#include "cpu/z80/z80.h" +#include "sound/ay8910.h" +#include "speaker.h" + +namespace { + +class sdamjes_state : public driver_device +{ + +public: + sdamjes_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + { + } + + void sdamjes(machine_config &config); + +private: + required_device m_maincpu; +}; + + +INPUT_PORTS_START(sdamjes) + 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 sdamjes_state::sdamjes(machine_config &config) +{ + Z80(config, m_maincpu, 8_MHz_XTAL); + + SPEAKER(config, "mono").front_center(); + + ay8910_device &ay8910(AY8910(config, "ay8910", 8_MHz_XTAL / 4)); // Divisor unknown + ay8910.port_a_read_callback().set_ioport("DSW1"); + ay8910.port_b_read_callback().set_ioport("DSW2"); + ay8910.add_route(ALL_OUTPUTS, "mono", 1.0); // Guess +} + +ROM_START(spdamjes) + ROM_REGION(0x8000, "maincpu", 0) + ROM_LOAD("sport_damjes.ic2", 0x0000, 0x8000, CRC(31ac5806) SHA1(cf4cb3636538687c1b72f902e77a5277996d06b2)) + + ROM_REGION(0x104, "plds", 0) + ROM_LOAD("pal16l8a.ic4", 0x000, 0x104, NO_DUMP) // Protected +ROM_END + +} // Anonymous namespace + +GAME(19??, spdamjes, 0, sdamjes, sdamjes, sdamjes_state, empty_init, ROT0, "T-90", "Sport Damjes 1", MACHINE_IS_SKELETON_MECHANICAL) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 7f2f24c0203..9b1823232c4 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -39343,6 +39343,9 @@ meteors // (c) 1981 Amusement World spcforc2 // bootleg spcforce // (c) 1980 Venture Line +@source:spdamjes.cpp +spdamjes // (c) 19?? T-90 S.A. + @source:spdheat.cpp spdheat // A55 (c) 1985 Taito Corporation (World) spdheatj // A55 (c) 1985 Taito Corporation (Japan)