summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author couriersud <couriersud@users.noreply.github.com>2022-05-08 19:22:35 +0200
committer GitHub <noreply@github.com>2022-05-09 03:22:35 +1000
commitec326fa8b7e5ad8ae9c2db7f529fa43553e3a29b (patch)
tree0152ffbabf36d7a0eb6d88e880e6005939f02e3c
parentc0c87e98dedf69b5696f842830408092b13fb4fa (diff)
rf51w14cg.cpp: Fixed checked-in Windows line endings. (#9722)
-rw-r--r--src/mame/drivers/rf51w14cg.cpp276
1 files changed, 138 insertions, 138 deletions
diff --git a/src/mame/drivers/rf51w14cg.cpp b/src/mame/drivers/rf51w14cg.cpp
index 6994bda8c6a..8f3bbbba3b1 100644
--- a/src/mame/drivers/rf51w14cg.cpp
+++ b/src/mame/drivers/rf51w14cg.cpp
@@ -1,138 +1,138 @@
-// license:BSD-3-Clause
-// copyright-holders:
-/******************************************************************************
-
- Skeleton driver for Recreativos Franco "RF51W14-CG".
- "RF51W14-CG" is the legal registry name, the game commercial name is unknown.
-
- TODO:
- - Everything
-
- ________________________________________________________________
- | ___J16_____ ___J17____ __J18__ _______________________ |
- | | ······ · | | ···· ·· | | ·· · | | :::::::::::::::::::: | |
- | ____ |
- | __ __________ |___| ____ __________________ : <- JMP4
- || | | PIA 5 | |___| | RAM | |
- ||J| | OKI | ____ | M48T08/M48T18 | |
- ||1| | 82C55A | |___| |_________________| |
- ||5| |_________| __________________ : <- JMP3
- ||_| | LOW | : <- JMP2
- | __ __________ ____________ | | |
- ||J| | PIA 4 | XTAL | Intel | |_________________| |
- ||11 | OKI | 32.000 |M80C188XL20| __________________ : <- JMP1
- | __ | 82C55A | MHz | | | HIGH |__ |
- ||J| |_________| | | | ||J||
- ||1| |___________| |_________________||1||
- ||4| __________ ____ |9||
- | __ | PIA 6 | ____ ____ ______ |___| |_||
- ||J| | OKI | HC573A HC573A |OKI | ____ __ |
- ||6| | 82C55A | 82C51A| |___| |J||
- ||_| |_________| __________________ ____ |8||
- | __ _______ | SONIDO 2 | |___| |_||
- || |SW3->DIPSx4| | | __ |
- ||J| __________ |________________| |J||
- ||7| | PIA 3 | __________________ __________ |9||
- ||_| | OKI | | SONIDO 1 | |ULN2803A_| |_||
- | __ | 82C55A | | | :: ________ __ |
- || | |_________| |________________| JMP8 |74HC238E| |J||
- ||J| _____ |5||
- ||4| __________ |____| __ |
- || | | PIA 1 | ___________ ......<-JMP10 |J||
- ||_| | OKI | | OKI | |1||
- | __ | 82C55A | | M6376 | XTAL 9.8304 |2||
- ||J| |_________| |__________| MHz __ |
- ||2| _____SW2__ ____JMP7 RS232-2 RS232-1 ____ |J||
- ||0| |_DIPSx8__| HC4040 : :::: :::: |___| |1||
- ||_| __________ ____ ______ ____ ____ |0||
- | __ | PIA 2 | |___| |OKI | |___| |___| __ |
- ||J| | OKI | ____ 82C51A| ____ |J||
- ||3| | 82C55A | |___| _ |___| |1||
- || | |_________| VOLUMEN->(_) _________ |3||
- ||_| |_LM380N_| |_||
- | _______ ____________ ____________ ______ |
- |SW1->DIPSx4| |___________| |___________| |_____| |
- |_______________________________________________________________|
-
- JPM7 = CLK/128 / CLK/64
-
-*******************************************************************************/
-
-#include "emu.h"
-
-#include "cpu/i86/i186.h"
-#include "sound/okim6376.h"
-
-#include "speaker.h"
-
-namespace
-{
-
-class rf51w14cg_state : public driver_device
-{
-public:
- rf51w14cg_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag)
- , m_maincpu(*this, "maincpu")
- , m_okim6376(*this, "oki")
- {
- }
-
- void rf51w14cg(machine_config &config);
-
-protected:
- required_device <cpu_device> m_maincpu;
- required_device <okim6376_device> m_okim6376;
-};
-
-static INPUT_PORTS_START( rf51w14cg )
- 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_START("DSW2")
- 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("DSW3")
- 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")
-INPUT_PORTS_END
-
-void rf51w14cg_state::rf51w14cg(machine_config &config)
-{
- I80188(config, m_maincpu, 32_MHz_XTAL / 2); // Intel N80C188XL-20, guess divisor
-
- SPEAKER(config, "mono").front_center();
-
- OKIM6376(config, m_okim6376, XTAL(9'830'400)/64).add_route(ALL_OUTPUTS, "mono", 1.0); // Frecuency divisor as per JMP7
-}
-
-// The board was found with the program ROMs sockets unpopulated and the M48T08 with the battery dead
-ROM_START( rf51w14cg )
- ROM_REGION( 0x100000, "maincpu", 0 )
- ROM_LOAD( "high.bin", 0x00000, 0x80000, NO_DUMP )
- ROM_LOAD( "low.bin", 0x80000, 0x80000, NO_DUMP )
-
- ROM_REGION( 0x100000, "oki", 0 )
- ROM_LOAD( "recreativos_franco_sonido-1_321dabf_01083c.u3", 0x00000, 0x80000, CRC(bd9bb391) SHA1(f08da81544e6b8c518634d081bf68d862b90c099) )
- ROM_LOAD( "recreativos_franco_sonido-2_7c8bced_01083d.u4", 0x80000, 0x80000, CRC(cf8e7957) SHA1(5d30d7f15c1690b819e467fc308f12f97577b906) )
-
- ROM_REGION( 0x2000, "nvram", 0 )
- ROM_LOAD( "recreativos_franco_mod_rf51w14-cg_2003_m48t08.bin", 0x0000, 0x2000, NO_DUMP )
-ROM_END
-
-} // anonymous namespace
-
-// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS
-GAME( 2003, rf51w14cg, 0, rf51w14cg, rf51w14cg, rf51w14cg_state, empty_init, ROT0, "Recreativos Franco", "unknown Recreativos Franco slot machine (model RF51W14-CG)", MACHINE_IS_SKELETON_MECHANICAL )
+// license:BSD-3-Clause
+// copyright-holders:
+/******************************************************************************
+
+ Skeleton driver for Recreativos Franco "RF51W14-CG".
+ "RF51W14-CG" is the legal registry name, the game commercial name is unknown.
+
+ TODO:
+ - Everything
+
+ ________________________________________________________________
+ | ___J16_____ ___J17____ __J18__ _______________________ |
+ | | ······ · | | ···· ·· | | ·· · | | :::::::::::::::::::: | |
+ | ____ |
+ | __ __________ |___| ____ __________________ : <- JMP4
+ || | | PIA 5 | |___| | RAM | |
+ ||J| | OKI | ____ | M48T08/M48T18 | |
+ ||1| | 82C55A | |___| |_________________| |
+ ||5| |_________| __________________ : <- JMP3
+ ||_| | LOW | : <- JMP2
+ | __ __________ ____________ | | |
+ ||J| | PIA 4 | XTAL | Intel | |_________________| |
+ ||11 | OKI | 32.000 |M80C188XL20| __________________ : <- JMP1
+ | __ | 82C55A | MHz | | | HIGH |__ |
+ ||J| |_________| | | | ||J||
+ ||1| |___________| |_________________||1||
+ ||4| __________ ____ |9||
+ | __ | PIA 6 | ____ ____ ______ |___| |_||
+ ||J| | OKI | HC573A HC573A |OKI | ____ __ |
+ ||6| | 82C55A | 82C51A| |___| |J||
+ ||_| |_________| __________________ ____ |8||
+ | __ _______ | SONIDO 2 | |___| |_||
+ || |SW3->DIPSx4| | | __ |
+ ||J| __________ |________________| |J||
+ ||7| | PIA 3 | __________________ __________ |9||
+ ||_| | OKI | | SONIDO 1 | |ULN2803A_| |_||
+ | __ | 82C55A | | | :: ________ __ |
+ || | |_________| |________________| JMP8 |74HC238E| |J||
+ ||J| _____ |5||
+ ||4| __________ |____| __ |
+ || | | PIA 1 | ___________ ......<-JMP10 |J||
+ ||_| | OKI | | OKI | |1||
+ | __ | 82C55A | | M6376 | XTAL 9.8304 |2||
+ ||J| |_________| |__________| MHz __ |
+ ||2| _____SW2__ ____JMP7 RS232-2 RS232-1 ____ |J||
+ ||0| |_DIPSx8__| HC4040 : :::: :::: |___| |1||
+ ||_| __________ ____ ______ ____ ____ |0||
+ | __ | PIA 2 | |___| |OKI | |___| |___| __ |
+ ||J| | OKI | ____ 82C51A| ____ |J||
+ ||3| | 82C55A | |___| _ |___| |1||
+ || | |_________| VOLUMEN->(_) _________ |3||
+ ||_| |_LM380N_| |_||
+ | _______ ____________ ____________ ______ |
+ |SW1->DIPSx4| |___________| |___________| |_____| |
+ |_______________________________________________________________|
+
+ JPM7 = CLK/128 / CLK/64
+
+*******************************************************************************/
+
+#include "emu.h"
+
+#include "cpu/i86/i186.h"
+#include "sound/okim6376.h"
+
+#include "speaker.h"
+
+namespace
+{
+
+class rf51w14cg_state : public driver_device
+{
+public:
+ rf51w14cg_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ , m_okim6376(*this, "oki")
+ {
+ }
+
+ void rf51w14cg(machine_config &config);
+
+protected:
+ required_device <cpu_device> m_maincpu;
+ required_device <okim6376_device> m_okim6376;
+};
+
+static INPUT_PORTS_START( rf51w14cg )
+ 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_START("DSW2")
+ 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("DSW3")
+ 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")
+INPUT_PORTS_END
+
+void rf51w14cg_state::rf51w14cg(machine_config &config)
+{
+ I80188(config, m_maincpu, 32_MHz_XTAL / 2); // Intel N80C188XL-20, guess divisor
+
+ SPEAKER(config, "mono").front_center();
+
+ OKIM6376(config, m_okim6376, XTAL(9'830'400)/64).add_route(ALL_OUTPUTS, "mono", 1.0); // Frecuency divisor as per JMP7
+}
+
+// The board was found with the program ROMs sockets unpopulated and the M48T08 with the battery dead
+ROM_START( rf51w14cg )
+ ROM_REGION( 0x100000, "maincpu", 0 )
+ ROM_LOAD( "high.bin", 0x00000, 0x80000, NO_DUMP )
+ ROM_LOAD( "low.bin", 0x80000, 0x80000, NO_DUMP )
+
+ ROM_REGION( 0x100000, "oki", 0 )
+ ROM_LOAD( "recreativos_franco_sonido-1_321dabf_01083c.u3", 0x00000, 0x80000, CRC(bd9bb391) SHA1(f08da81544e6b8c518634d081bf68d862b90c099) )
+ ROM_LOAD( "recreativos_franco_sonido-2_7c8bced_01083d.u4", 0x80000, 0x80000, CRC(cf8e7957) SHA1(5d30d7f15c1690b819e467fc308f12f97577b906) )
+
+ ROM_REGION( 0x2000, "nvram", 0 )
+ ROM_LOAD( "recreativos_franco_mod_rf51w14-cg_2003_m48t08.bin", 0x0000, 0x2000, NO_DUMP )
+ROM_END
+
+} // anonymous namespace
+
+// YEAR NAME PARENT MACHINE INPUT CLASS INIT ROT COMPANY FULLNAME FLAGS
+GAME( 2003, rf51w14cg, 0, rf51w14cg, rf51w14cg, rf51w14cg_state, empty_init, ROT0, "Recreativos Franco", "unknown Recreativos Franco slot machine (model RF51W14-CG)", MACHINE_IS_SKELETON_MECHANICAL )