From da69e8daacf5d8846e54f798f6b3cfa1cf55cb6f Mon Sep 17 00:00:00 2001 From: Ivan Vangelista Date: Tue, 4 Apr 2017 19:58:47 +0200 Subject: [PATCH] New not working machine ----------------------------------- Gaelco Championship Tuning Race [Mark F., Smitdogg, The Dumping Union] Also renamed the driver from tokyocop.cpp to gaelcopc.cpp. Other game on this hardware is Ring Riders. (nw) --- scripts/target/mame/arcade.lua | 2 +- src/mame/arcade.flt | 2 +- .../drivers/{tokyocop.cpp => gaelcopc.cpp} | 41 ++++++++++++------- src/mame/mame.lst | 7 ++-- 4 files changed, 32 insertions(+), 20 deletions(-) rename src/mame/drivers/{tokyocop.cpp => gaelcopc.cpp} (54%) diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index 2416ee6e3c5..b85fa8bbd4a 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -1812,6 +1812,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/gaelcopc.cpp", MAME_DIR .. "src/mame/drivers/glass.cpp", MAME_DIR .. "src/mame/includes/glass.h", MAME_DIR .. "src/mame/video/glass.cpp", @@ -1826,7 +1827,6 @@ files { MAME_DIR .. "src/mame/drivers/thoop2.cpp", MAME_DIR .. "src/mame/includes/thoop2.h", MAME_DIR .. "src/mame/video/thoop2.cpp", - MAME_DIR .. "src/mame/drivers/tokyocop.cpp", MAME_DIR .. "src/mame/drivers/wrally.cpp", MAME_DIR .. "src/mame/includes/wrally.h", MAME_DIR .. "src/mame/machine/wrally.cpp", diff --git a/src/mame/arcade.flt b/src/mame/arcade.flt index f0d2bfee6a0..b019fec64e5 100644 --- a/src/mame/arcade.flt +++ b/src/mame/arcade.flt @@ -405,6 +405,7 @@ g627.cpp gaelco.cpp gaelco2.cpp gaelco3d.cpp +gaelcopc.cpp gaiden.cpp gal3.cpp galaga.cpp @@ -1210,7 +1211,6 @@ tnzs.cpp toaplan1.cpp toaplan2.cpp toki.cpp -tokyocop.cpp tomcat.cpp tonton.cpp toobin.cpp diff --git a/src/mame/drivers/tokyocop.cpp b/src/mame/drivers/gaelcopc.cpp similarity index 54% rename from src/mame/drivers/tokyocop.cpp rename to src/mame/drivers/gaelcopc.cpp index 0261cbe55e8..8b8f9ffee32 100644 --- a/src/mame/drivers/tokyocop.cpp +++ b/src/mame/drivers/gaelcopc.cpp @@ -1,13 +1,10 @@ // license:BSD-3-Clause // copyright-holders:David Haywood -/* Tokyo Cop +/* Gaelco PC based hardware TODO: -can't be emulated without proper mb bios +- tokyocop can't be emulated without proper mb bios -Italian Version - -PC based hardware Custom motherboard with 82815 82801 @@ -19,6 +16,11 @@ Pentium 4 (??? XXXXMhz) I/O Board with Altera Flex EPF15K50EQC240-3 +The graphics cards are swappable between nVidia cards from +the era. There is no protection on the games, you can just swap out +hard drives to change games, though they do seem to have their own +motherboard bioses. + */ @@ -27,10 +29,10 @@ I/O Board with Altera Flex EPF15K50EQC240-3 #include "screen.h" -class tokyocop_state : public driver_device +class gaelcopc_state : public driver_device { public: - tokyocop_state(const machine_config &mconfig, device_type type, const char *tag) + gaelcopc_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), m_maincpu(*this, "maincpu") { } @@ -47,31 +49,31 @@ protected: }; -void tokyocop_state::video_start() +void gaelcopc_state::video_start() { } -uint32_t tokyocop_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +uint32_t gaelcopc_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) { return 0; } -static ADDRESS_MAP_START( tokyocop_map, AS_PROGRAM, 32, tokyocop_state ) +static ADDRESS_MAP_START( gaelcopc_map, AS_PROGRAM, 32, gaelcopc_state ) AM_RANGE(0x00000000, 0x0001ffff) AM_ROM ADDRESS_MAP_END -static INPUT_PORTS_START( tokyocop ) +static INPUT_PORTS_START( gaelcopc ) INPUT_PORTS_END -static MACHINE_CONFIG_START( tokyocop, tokyocop_state ) +static MACHINE_CONFIG_START( gaelcopc, gaelcopc_state ) /* basic machine hardware */ MCFG_CPU_ADD("maincpu", PENTIUM, 2000000000) /* Pentium4? */ - MCFG_CPU_PROGRAM_MAP(tokyocop_map) + MCFG_CPU_PROGRAM_MAP(gaelcopc_map) /* video hardware */ MCFG_SCREEN_ADD("screen", RASTER) - MCFG_SCREEN_UPDATE_DRIVER(tokyocop_state, screen_update) + MCFG_SCREEN_UPDATE_DRIVER(gaelcopc_state, screen_update) MCFG_SCREEN_REFRESH_RATE(60) MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) MCFG_SCREEN_SIZE(64*8, 32*8) @@ -90,5 +92,14 @@ ROM_START(tokyocop) DISK_IMAGE( "tokyocop", 0, SHA1(a3cf011c8ef8ec80724c28e1534191b40ae8515d) ) ROM_END +ROM_START(tuningrc) + ROM_REGION32_LE(0x80000, "maincpu", 0) /* motherboard bios */ + ROM_LOAD("310j.u10", 0x000000, 0x80000, CRC(70b0797a) SHA1(696f602e83359d5d36798d4d2962ee85171e3622) ) -GAME( 2003, tokyocop, 0, tokyocop, tokyocop, driver_device, 0, ROT0, "Gaelco", "Tokyo Cop (Italy)", MACHINE_IS_SKELETON ) + DISK_REGION( "disks" ) // Hitachi HDS728080PLAT20 ATA/IDE + DISK_IMAGE( "tuningrc", 0, SHA1(4055cdc0b0c0e99252b90fbfafc48b693b144d67) ) +ROM_END + + +GAME( 2003, tokyocop, 0, gaelcopc, gaelcopc, driver_device, 0, ROT0, "Gaelco", "Tokyo Cop (Italy)", MACHINE_IS_SKELETON ) +GAME( 2005, tuningrc, 0, gaelcopc, gaelcopc, driver_device, 0, ROT0, "Gaelco", "Gaelco Championship Tuning Race", MACHINE_IS_SKELETON ) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 899b74eb9d1..caaf06de290 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -12752,6 +12752,10 @@ speedup10 // (c) 1996 - Ref ??? surfplnt // (c) 1997 - Ref 971223 surfplnt40 // (c) 1997 - Ref 970514 +@source:gaelcopc.cpp +tokyocop // (c) 2003 (Arcade TV Game List - P.168, Right, 19 from bottom) +tuningrc // + @source:gaiden.cpp drgnbowl // (c) 1992 Nics drgnbowla // (c) 1992 Nics @@ -36215,9 +36219,6 @@ tokiu // (c) 1989 Tad + Fabtek license (US) tokiua // (c) 1989 Tad + Fabtek license (US) tokip -@source:tokyocop.cpp -tokyocop // (c) 2003 (Arcade TV Game List - P.168, Right, 19 from bottom) - @source:tomcat.cpp tomcat // (proto) (c) 1985