diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua index ff6e0f45149..8cd2db99615 100644 --- a/scripts/target/mame/arcade.lua +++ b/scripts/target/mame/arcade.lua @@ -5042,6 +5042,7 @@ files { MAME_DIR .. "src/mame/drivers/photoplysx.cpp", MAME_DIR .. "src/mame/drivers/pipeline.cpp", MAME_DIR .. "src/mame/drivers/pkscram.cpp", + MAME_DIR .. "src/mame/drivers/playcenter.cpp", MAME_DIR .. "src/mame/drivers/pntnpuzl.cpp", MAME_DIR .. "src/mame/drivers/policetr.cpp", MAME_DIR .. "src/mame/includes/policetr.h", diff --git a/src/mame/arcade.flt b/src/mame/arcade.flt index 61fab9cacc7..c488fdda6ea 100644 --- a/src/mame/arcade.flt +++ b/src/mame/arcade.flt @@ -970,6 +970,7 @@ playmark.cpp play_1.cpp play_2.cpp play_3.cpp +playcenter.cpp pluto5.cpp plygonet.cpp pntnpuzl.cpp diff --git a/src/mame/drivers/playcenter.cpp b/src/mame/drivers/playcenter.cpp new file mode 100644 index 00000000000..69958865ec9 --- /dev/null +++ b/src/mame/drivers/playcenter.cpp @@ -0,0 +1,82 @@ +// license:BSD-3-Clause +// copyright-holders: +/******************************************************************************* + + Skeleton driver for "PlayCenter" PC-based touch games + + Hardware overview for "PlayCenter Champions Tournament": + Motherboard: EPoX EP-MVP4F + Unknown RAM size, AMD K6 processor (unknown speed) + PCI Ethernet card (unknown chipset) + + The security scheme is quite simple: + Each minigame is a VisualBasic executable that receives three numbers when + invoked, the hard disk serial number (readed through the Windows enumerator + file), the Ethernet MAC address, and a third one, and concatenates them + moving some bits around. + Then, calls the security board via RS-232 (it's a simple PCB with a PIC and + a serial port), getting another number (the PIC always returns the same + number, there are no states or logic). + Finally, the game compares both numbers with a simple formula, refusing to + work if there's a mismatch. + Since the security involves hardware unique serial numbers, each PIC program + is unique for each single machine (and these hardware parts are not + replaceble by the user / operator). + +*******************************************************************************/ + +#include "emu.h" +#include "cpu/i386/i386.h" +#include "speaker.h" + +namespace { + +class playcenter_state : public driver_device +{ +public: + playcenter_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag) + , m_maincpu(*this, "maincpu") + { + } + + void playcenter(machine_config &config); + +private: + void mem_map(address_map &map); + void io_map(address_map &map); + + required_device m_maincpu; +}; + +void playcenter_state::mem_map(address_map &map) +{ + map(0x00000000, 0x0009ffff).ram(); + map(0xfffc0000, 0xffffffff).rom().region("mb_bios", 0); +} + +void playcenter_state::io_map(address_map &map) +{ +} + +static INPUT_PORTS_START(playcenter) +INPUT_PORTS_END + +void playcenter_state::playcenter(machine_config &config) +{ + PENTIUM(config, m_maincpu, 166'000'000); // Actually an AMD K6, frequency unknown + m_maincpu->set_addrmap(AS_PROGRAM, &playcenter_state::mem_map); + m_maincpu->set_addrmap(AS_IO, &playcenter_state::io_map); +} + +ROM_START(plycntrchtr) + ROM_REGION32_LE(0x40000, "mb_bios", 0) // Bios date: 03/13/2001 + ROM_LOAD("vp4f1313.bin", 0x00000, 0x40000, CRC(bd4b155f) SHA1(3eafe71e89bf84b72a42e933187676fe08db0492)) + + DISK_REGION( "ide:0:hdd:image" ) + DISK_IMAGE("playcenter_epox_9.3_tournament", 0, SHA1(64a88d4ab10d82ba0bd175511242ba6771cfc5ce)) +ROM_END + +} // Anonymous namespace + +GAME(2000, plycntrchtr, 0, playcenter, playcenter, playcenter_state, empty_init, ROT0, "Recreativos Presas / Undergaming", "PlayCenter Champions Tournament (v9.3)", MACHINE_IS_SKELETON) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 9c7826f505d..9b4c53e2edb 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -34623,6 +34623,9 @@ theraida // (c) 1984 Playmatic / EFOSA trailer // ufo_x // +@source:playcenter.cpp +plycntrchtr // (c) 2000 Recreativos Presas / Undergaming + @source:playch10.cpp pc_1942 // (c) 1985 Capcom pc_bball // (c) 1984 Nintendo of America