From 796f54597a5e0fe6402d44c7b6a2098f09175a39 Mon Sep 17 00:00:00 2001 From: David Haywood Date: Thu, 27 Jun 2013 17:10:28 +0000 Subject: [PATCH] type x skeleton. I have no interest in this *at all* but I keep getting bugged about it so I'm giving people a place to pt notes. From an objective point of view we at least need somewhere to establish details and proper documentation about the hardware and what the original platform consists of in both terms of PC side, software side and original security side before the there is no hope at all due to the travesty being created by all the hacked to run on PC dumps or 'files copied from mounted encrypted partitions' type junk. That at least I feel is our duty because nobody else is going to care. --- .gitattributes | 1 + src/mame/drivers/taito_type_x.c | 180 ++++++++++++++++++++++++++++++++ src/mame/mame.lst | 3 + src/mame/mame.mak | 1 + 4 files changed, 185 insertions(+) create mode 100644 src/mame/drivers/taito_type_x.c diff --git a/.gitattributes b/.gitattributes index 0b4b39b399b..909cd4d5319 100644 --- a/.gitattributes +++ b/.gitattributes @@ -3783,6 +3783,7 @@ src/mame/drivers/taito_f3.c svneol=native#text/plain src/mame/drivers/taito_h.c svneol=native#text/plain src/mame/drivers/taito_l.c svneol=native#text/plain src/mame/drivers/taito_o.c svneol=native#text/plain +src/mame/drivers/taito_type_x.c svneol=native#text/plain src/mame/drivers/taito_x.c svneol=native#text/plain src/mame/drivers/taito_z.c svneol=native#text/plain src/mame/drivers/taitoair.c svneol=native#text/plain diff --git a/src/mame/drivers/taito_type_x.c b/src/mame/drivers/taito_type_x.c new file mode 100644 index 00000000000..3e783d102c7 --- /dev/null +++ b/src/mame/drivers/taito_type_x.c @@ -0,0 +1,180 @@ +/* Taito Type X Skeleton + - PC based platforms + + (insert original hardware specs, plus any other details here) + + todo: everything.. + + - there is no bios dump + + - there are a lot of hacked versions of the games designed to run on PCs + this driver is for storing information about the unmodified versions only, + the 'hacked to run on PC' versions are of no interest to MAME, only proper + drive images. + + - some of the games are said to be encrypted, how does this work, how do we + get the keys? some images are copies of the files from an already mounted + filesystem, again this isn't suitable for MAME. + + - hardware specs can differ from game to game as well as between the platform + types, I'm currently not sure what constitutes a new platform (different + security?) need Guru style readmes for each platform. + + - Taito's NESiCA Live platform probably comes after this, but as it's likely + impossible to ever emulate it. + + - Prelim game lists (system16.com) + + Taito Type X games + + Chaos Breaker / Dark Awake + Datacarddass Dragon Ball Z + Dinoking III + Dinomax + Dragon Quest Monster: Battle Road + Gigawing Generations + Harakari Professional Baseball + Homura + King Of Jurassic + Raiden III + Raiden IV + Shikigami No Shiro III / The Castle of Shikigami III + Spica Adventure + Taisen Hot Gimmick 5 + Taisen Hot Gimmick Mix Party + Tetris The Grand Master 3 : Terror Instinct + The King of Fighters 98 Ultimate Match + Trouble Witches + Usagi Online + Zoids Card Colosseum + + Taito Type X+ games + Battle Gear 4 + Battle Gear 4 Tuned + Half Life 2 Survivor + War Of The Grail + + + Taito Type X2 games + + Battle Fantasia + BlazBlue: Calamity Trigger + BlazBlue: Continuum Shift + BlazBlue: Continuum Shift Extend + BlazBlue: Continuum Shift II + Chase H.Q. 2 / Chase H. Q. : Nancy Yori Kinkyuu Renraku + D1GP Arcade + Dariusburst AC + Elevator Action Death Parade + Half Life 2: Survivor Ver. 2.0 + KOF Maximum Impact: Regulation A + KOF Maximum Impact: Regulation A2 + Matrimelee Matsuri / Power Instinct V + Samurai Spirits Sen / Samurai Shodown: Edge of Destiny + Street Fighter IV + Super Street Fighter IV Arcade Edition + The King of Fighters XII + The King of Fighters XIII + Wacky Races + + Taito Type X2 satellite terminal games + + Aquarian Age Alternative + Eternal Wheel + Lord of Vermilion + + + Taito Type X Zero games + + Spin Gear + +*/ + + +#include "emu.h" +#include "cpu/i386/i386.h" + +class taito_type_x_state : public driver_device +{ +public: + taito_type_x_state(const machine_config &mconfig, device_type type, const char *tag) + : driver_device(mconfig, type, tag), + m_maincpu(*this, "maincpu") + { } + + required_device m_maincpu; + + virtual void machine_start(); + virtual void machine_reset(); + virtual void video_start(); + UINT32 screen_update_taito_type_x(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); +}; + + + + +void taito_type_x_state::video_start() +{ +} + + +UINT32 taito_type_x_state::screen_update_taito_type_x(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) +{ + return 0; +} + +static ADDRESS_MAP_START( taito_type_x_map, AS_PROGRAM, 32, taito_type_x_state ) + AM_RANGE(0x00, 0x0f) AM_ROM +ADDRESS_MAP_END + +static INPUT_PORTS_START( taito_type_x ) +INPUT_PORTS_END + + +void taito_type_x_state::machine_start() +{ +} + +void taito_type_x_state::machine_reset() +{ +} + +// todo: different configs for the different machine types. +static MACHINE_CONFIG_START( taito_type_x, taito_type_x_state ) + + /* basic machine hardware */ + MCFG_CPU_ADD("maincpu", PENTIUM3, 733333333) /* Wrong, much newer processors, much faster. */ + MCFG_CPU_PROGRAM_MAP(taito_type_x_map) + + /* video hardware */ + MCFG_SCREEN_ADD("screen", RASTER) + MCFG_SCREEN_REFRESH_RATE(60) + MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0)) + MCFG_SCREEN_SIZE(640, 480) + MCFG_SCREEN_VISIBLE_AREA(0, 640-1, 0, 480-1) + MCFG_SCREEN_UPDATE_DRIVER(taito_type_x_state, screen_update_taito_type_x) + + MCFG_PALETTE_LENGTH(0x10000) + +MACHINE_CONFIG_END + + + +/*************************************************************************** + + Game drivers + +***************************************************************************/ + +ROM_START( hotgmkmp ) + ROM_REGION( 0x10000, "maincpu", ROMREGION_ERASEFF ) + ROM_LOAD("taito_type_x_bios.bin", 0x00, 0x10000, NO_DUMP ) // size unknown. + /* bios, video bios etc. not dumped */ + + DISK_REGION( "hdd" ) // Single 40GB drive + DISK_IMAGE( "wdc wd400eb-11cpf0", 0, SHA1(15f8cf77b5bdc516a891022462a42521be1d7553) ) +ROM_END + + +GAME( 2005, hotgmkmp, 0, taito_type_x, taito_type_x, driver_device, 0, ROT0, "XNauts", "Taisen Hot Gimmick Mix Party", GAME_NOT_WORKING | GAME_NO_SOUND ) + diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 1de9b781bed..a097068eac0 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -2472,6 +2472,9 @@ batlgr2 // E87 (c) 2000 Taito (2.04J) batlgr2a // E87 (c) 2000 Taito (2.01J) raizpin // F14 (c) 2002 Taito +// Taito Type-X / X+/ X2 / X Zero +hotgmkmp // (c) 2005 XNauts + invqix // F34 (c) 2003 Taito Corporation // Toaplan games diff --git a/src/mame/mame.mak b/src/mame/mame.mak index c0ca8c8c5db..641e29e5a8a 100644 --- a/src/mame/mame.mak +++ b/src/mame/mame.mak @@ -1737,6 +1737,7 @@ $(MAMEOBJ)/taito.a: \ $(MACHINE)/taitoio.o \ $(VIDEO)/taitoic.o \ $(AUDIO)/taito_zm.o \ + $(DRIVERS)/taito_type_x.o \ $(MAMEOBJ)/tatsumi.a: \ $(DRIVERS)/kingdrby.o \