From 9b12b9abfce38c29cdf13957e70104b5f0e97aaa Mon Sep 17 00:00:00 2001 From: ClawGrip Date: Thu, 9 May 2024 19:22:56 +0200 Subject: [PATCH] Add a skeleton for a new Recreativos Franco slot game and move all RF drivers to their own folder (#12313) New not working machine ----------------------------- Jail Break (Recreativos Franco slot machine) [Hammy, ClawGrip] --- src/mame/mame.lst | 33 ++--- src/mame/{misc => recfranco}/rf51w14cg.cpp | 0 src/mame/recfranco/rfjailbrk.cpp | 122 ++++++++++++++++++ src/mame/{misc => recfranco}/rfslots8085.cpp | 0 src/mame/{misc => recfranco}/rfslotsmcs48.cpp | 0 .../{misc => recfranco}/rfslotspcpent.cpp | 0 6 files changed, 140 insertions(+), 15 deletions(-) rename src/mame/{misc => recfranco}/rf51w14cg.cpp (100%) create mode 100644 src/mame/recfranco/rfjailbrk.cpp rename src/mame/{misc => recfranco}/rfslots8085.cpp (100%) rename src/mame/{misc => recfranco}/rfslotsmcs48.cpp (100%) rename src/mame/{misc => recfranco}/rfslotspcpent.cpp (100%) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 1c14e697f57..a9576372a1d 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -31547,21 +31547,6 @@ rcorsair // (c) 1984 Nakasawa bs94 // (c) 1994 Entretenimientos GEMINIS re900 // (c) 1993 Entretenimientos GEMINIS -@source:misc/rf51w14cg.cpp -rf51w14cg // (c) 2003 Recreativos Franco - -@source:misc/rfslots8085.cpp -bbombo // (c) 198? Recreativos Franco -bformula2 // (c) 1988 Recreativos Franco - -@source:misc/rfslotsmcs48.cpp -ajofrin // (c) 1981 Recreativos Franco -babyfrts // (c) 198? Recreativos Franco -babyfrts25 // (c) 198? recreativos Franco - -@source:misc/rfslotspcpent.cpp -rfsantafeg // (c) 2014 Recreativos Franco - @source:misc/rgum.cpp rgum // @@ -38474,6 +38459,24 @@ visicom // vip // 1977 Cosmac VIP VP-711 vp111 // 1977 Cosmac VIP VP-111 +@source:recfranco/rf51w14cg.cpp +rf51w14cg // (c) 2003 Recreativos Franco + +@source:recfranco/rfjailbrk.cpp +rfjailbrk // (c) 2000 Recreativos Franco + +@source:recfranco/rfslots8085.cpp +bbombo // (c) 198? Recreativos Franco +bformula2 // (c) 1988 Recreativos Franco + +@source:recfranco/rfslotsmcs48.cpp +ajofrin // (c) 1981 Recreativos Franco +babyfrts // (c) 198? Recreativos Franco +babyfrts25 // (c) 198? recreativos Franco + +@source:recfranco/rfslotspcpent.cpp +rfsantafeg // (c) 2014 Recreativos Franco + @source:regnecentralen/rc702.cpp rc702 // 1979 RC702 diff --git a/src/mame/misc/rf51w14cg.cpp b/src/mame/recfranco/rf51w14cg.cpp similarity index 100% rename from src/mame/misc/rf51w14cg.cpp rename to src/mame/recfranco/rf51w14cg.cpp diff --git a/src/mame/recfranco/rfjailbrk.cpp b/src/mame/recfranco/rfjailbrk.cpp new file mode 100644 index 00000000000..d4a9677a7fa --- /dev/null +++ b/src/mame/recfranco/rfjailbrk.cpp @@ -0,0 +1,122 @@ +// license:BSD-3-Clause +// copyright-holders: +/************************************************************************************************** + + Skeleton driver for Recreativos Franco slot games on PCB "53396607". + __________________________ _________________ __________________________ + _________| J1 |________| J5 |________| J2 |_____ + | |_________________________| |________________| |_________________________| | + | | + | 4116R-1 4116R-1 4116R-1 4116R-1 ___ ULN2803A ULN2803A ___ | + | ___ | | ___ | | ___ | | ___ ___ ___ ___ ___ | | | | | | ___ | | | | | + | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + | |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| |__| | + | 74HC4052D 74HC4052D 74HC4052D 5xH11AA1 ___ ULN2803A 74HC4052D ULN2803A| + | ___ ___ ___ ___ | | | + | | | | | | | | | |__<-74HC4052D | + | _______ _______ |__| |__| |__| |__| _______ _______ _______ _______ | + ||OKI | |OKI | ___ ___ ___ ___<- 8x |OKI | |OKI | |OKI | |OKI | | + ||M82C55A |M82C55A | | | | | | | | H1N202CBN |M82C55A |M82C55A |M82C55A |M82C55A | + ||______| |______| |__| |__| |__| |__| |______| |______| |______| |______| | + | ___ ___ ___ ___ | + ||SW1 |SW2 |SW4 |SW3 | + ||__| | | _____ _____ _____ _____ _____ ___ | | | | | + | |__| |OKI | |OKI | |OKI | |OKI | |OKI | ·· ·· | | |__| |__| | + | __________ M82C51A M82C51A M82C51A M82C51A M82C51A JMP11 JMP12 |__<-74HC139M | + | Xtal N80C188XL20 .. ___ .. ___ .. ___ .. ___ .. ___ __________ | + | 24 MHz | | 74HC4024D 74HC4024D 74HC4024D 74HC4024D 74HC4024D| OKI | ___ ___ | + | | | .. |__| .. |__| .. |__| .. |__| .. |__| | M6379 | | | | <-LM380N | + | ___ ___ |_________| .. .. .. .. .. |_________| H11AA1 |__| | +74LS20-> || | JMP3 JMP4 JMP8 JMP9 JMP10 ___ | + ||__||__| JMP1->.. .. .. _____ _____ ___ |SW5 JMP5 .. JMP6 .. JMP7 .. | + | 74LS04 .. JMP2 JMP13 |CS82C59A |CS82C59A |HC138A | | .. .. .. | + | ___ ___ _____ _____ _____ |____| |____| |__| |__| _____ _____ _____ | + | | | | | |EPROM |EPROM DS1644 Xtal _______ |U39 | |U40 | |U41 | | + | | | | | |H | |L | | | ___2.4576 ___ |OKI | |EMPTY |EMPTY |EMPTY | + | |__| |__| | | | | | | | | MHz | | |M82C55A | | | | | | | + 2x74HC573AN | | | | | | |__| |__| · · |______| | | | | | | | + | |____| |____| |____|74HC4060 74HC74 J3 J4 |____| |____| |____| | + |_________________________________________________test_test___________________________________________| + +-JMP3, JMP4, JMP8, JMP9, and JMP10 are for setting up the baud rate of each OKI M82C51A USART (you can + configuse 1200, 2400, 4800, 9600, 19200 or 38400 bps. + +****************************************************************************************/ + +#include "emu.h" +#include "cpu/i86/i186.h" +#include "machine/i8255.h" +#include "machine/pic8259.h" +#include "sound/okim6376.h" +#include "speaker.h" + +namespace { + +class rfjailbrk_state : public driver_device +{ +public: + rfjailbrk_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + , m_oki(*this, "oki") + { + } + + void rfjailbrk(machine_config &config); + +protected: + virtual void machine_start() override; + +private: + required_device m_maincpu; + required_device m_oki; +}; + +void rfjailbrk_state::machine_start() +{ +} + +static INPUT_PORTS_START(rfjailbrk) +INPUT_PORTS_END + +void rfjailbrk_state::rfjailbrk(machine_config &config) +{ + I80188(config, m_maincpu, 24_MHz_XTAL); // Intel N80C188XL20 + + I8255A(config, "pia2"); // OKI M82C55A-2V + I8255A(config, "pia1"); // OKI M82C55A-2V + I8255A(config, "pia7"); // OKI M82C55A-2V + I8255A(config, "pia3"); // OKI M82C55A-2V + I8255A(config, "pia5"); // OKI M82C55A-2V + I8255A(config, "pia6"); // OKI M82C55A-2V + + PIC8259(config, "pic1", 0); // CS82C59A + PIC8259(config, "pic2", 0); // CS82C59A + + // Sound hardware + + SPEAKER(config, "mono").front_center(); + + OKIM6376(config, m_oki, 2.4576_MHz_XTAL/8).add_route(ALL_OUTPUTS, "mono", 1.0); // Guess +} + +// Only one PCB found, probably the game uses more PCBs for reels, etc. +ROM_START(rfjailbrk) + ROM_REGION(0x090000, "maincpu", 0) + ROM_LOAD("jail_break_high_0322b.eprom_h", 0x00000, 0x80000, CRC(93bf9b55) SHA1(3296099b768b26c750a2164678b3585374c93a6d)) + ROM_LOAD("jail_break_low_0322c.eprom_l", 0x80000, 0x10000, CRC(737291dc) SHA1(ce95acf88eda6a1e151d42dfdd7c69b27dc0a9e3)) // 1ST AND 2ND HALF IDENTICAL + + ROM_REGION(0x180000, "oki", 0) + // Three sockets, all of them unpopulated on the found PCB + ROM_LOAD("rfjailbrk_sound.u39", 0x000000, 0x080000, NO_DUMP) + ROM_LOAD("rfjailbrk_sound.u40", 0x080000, 0x080000, NO_DUMP) + ROM_LOAD("rfjailbrk_sound.u41", 0x100000, 0x080000, NO_DUMP) + + ROM_REGION(0x2000, "nvram", 0) + ROM_LOAD("ds1644.ram", 0x0000, 0x2000, CRC(dc9cb822) SHA1(7e3ab8c0ad49a8e0efd66a2061b881d51877bc75)) +ROM_END + +} // anonymous namespace + +// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS +GAME(2000, rfjailbrk, 0, rfjailbrk, rfjailbrk, rfjailbrk_state, empty_init, ROT0, "Recreativos Franco", "Jail Break (Recreativos Franco slot machine)", MACHINE_IS_SKELETON_MECHANICAL) diff --git a/src/mame/misc/rfslots8085.cpp b/src/mame/recfranco/rfslots8085.cpp similarity index 100% rename from src/mame/misc/rfslots8085.cpp rename to src/mame/recfranco/rfslots8085.cpp diff --git a/src/mame/misc/rfslotsmcs48.cpp b/src/mame/recfranco/rfslotsmcs48.cpp similarity index 100% rename from src/mame/misc/rfslotsmcs48.cpp rename to src/mame/recfranco/rfslotsmcs48.cpp diff --git a/src/mame/misc/rfslotspcpent.cpp b/src/mame/recfranco/rfslotspcpent.cpp similarity index 100% rename from src/mame/misc/rfslotspcpent.cpp rename to src/mame/recfranco/rfslotspcpent.cpp