From 0bb2009f908e2e3d5c247ec013759e908b2e0399 Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 3 Dec 2022 12:27:57 +0100 Subject: [PATCH] hkittymp: add steering wheel [dink] hkittymp: correct game title Machine promoted to working ------- Magical Pumpkin: Puroland de Daibouken (Japan 960712) [dink] --- src/mame/capcom/cps1.cpp | 24 ++++++++++++++++++++++-- src/mame/capcom/cps1_v.cpp | 2 +- src/mame/mame.lst | 2 +- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/mame/capcom/cps1.cpp b/src/mame/capcom/cps1.cpp index ea4d3a27d0e..aeecaa2e59c 100644 --- a/src/mame/capcom/cps1.cpp +++ b/src/mame/capcom/cps1.cpp @@ -3609,6 +3609,26 @@ static INPUT_PORTS_START( pokonyan ) PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW(C):8" ) INPUT_PORTS_END +static const ioport_value mpumpkin_handle[] = { 0, 1, 3, 2 }; + +static INPUT_PORTS_START( mpumpkin ) + PORT_INCLUDE( pokonyan ) + + PORT_MODIFY("IN0") + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED ) + + PORT_MODIFY("IN1") + PORT_BIT( 0x0003, 0x0000, IPT_POSITIONAL ) PORT_POSITIONS(4) PORT_REMAP_TABLE(mpumpkin_handle) PORT_SENSITIVITY(100) PORT_KEYDELTA(1) PORT_CENTERDELTA(0) PORT_WRAPS + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNUSED ) + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) // Kitty + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) // Keroppi + PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) // Badtz-Maru + PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED ) +INPUT_PORTS_END + /* A Final Fight board with mismatched USA and Japan GFX proves that the columns of the 8x8 tilemap alternate between sides of the 16x16 tile resulting @@ -13819,7 +13839,7 @@ ROM_START( pokonyan ) */ ROM_END -ROM_START( hkittymp ) // B board: ? C board: 92631C-6 +ROM_START( mpumpkin ) // B board: ? C board: 92631C-6 ROM_REGION( CODE_SIZE, "maincpu", 0 ) /* 68000 code */ ROM_LOAD16_WORD_SWAP( "mpa_23.8f", 0x00000, 0x80000, CRC(38b9883a) SHA1(94a89a360a502f209aa905e7eb2f1d472960850f) ) // remaining sockets are empty @@ -14664,7 +14684,7 @@ GAME( 1995, megamana, megaman, cps1_12MHz, megaman, cps_state, init_cps1, GAME( 1995, rockmanj, megaman, cps1_12MHz, rockmanj, cps_state, init_cps1, ROT0, "Capcom", "Rockman: The Power Battle (CPS1, Japan 950922)", MACHINE_SUPPORTS_SAVE ) GAME( 2000, ganbare, 0, ganbare, ganbare, cps_state, init_ganbare, ROT0, "Capcom", "Ganbare! Marine Kun (Japan 2K0411)", MACHINE_SUPPORTS_SAVE ) GAME( 1994, pokonyan, 0, cps1_10MHz, pokonyan, cps_state, init_cps1, ROT0, "Capcom", "Pokonyan! Balloon (Japan 940322)", MACHINE_SUPPORTS_SAVE ) // 2002-10-24 was on the ROM labels, 940322 on the startup screen... take your pick -GAME( 1996, hkittymp, 0, cps1_10MHz, pokonyan, cps_state, init_cps1, ROT0, "Capcom", "Hello Kitty Magical Pumpkin (Japan 960712)", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) // needs 'wheel' emulation +GAME( 1996, mpumpkin, 0, cps1_10MHz, mpumpkin, cps_state, init_cps1, ROT0, "Capcom", "Magical Pumpkin: Puroland de Daibouken (Japan 960712)", MACHINE_SUPPORTS_SAVE ) /* Games released on CPS-1 hardware by Mitchell */ diff --git a/src/mame/capcom/cps1_v.cpp b/src/mame/capcom/cps1_v.cpp index 89f9a970a90..207e71a4e80 100644 --- a/src/mame/capcom/cps1_v.cpp +++ b/src/mame/capcom/cps1_v.cpp @@ -1821,7 +1821,7 @@ static const struct CPS1config cps1_config_table[]= {"sf2qp2", CPS_B_14, mapper_STF29, 0x36 }, {"sf2thndr", CPS_B_17, mapper_STF29, 0x36 }, {"sf2thndr2", CPS_B_17, mapper_STF29, 0x36 }, - {"hkittymp", CPS_B_21_DEF, mapper_sfzch }, // PAL is dumped but not analyzed yet, same as SFZCH + {"mpumpkin", CPS_B_21_DEF, mapper_sfzch }, // PAL is dumped but not analyzed yet, same as SFZCH /* from here onwards the CPS-B board has suicide battery and multiply protection */ diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 8563b3a208b..2c9a96102a7 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -11007,7 +11007,6 @@ ganbare // 11/04/2000 (c) 2000 (Japan) ghouls // 12/1988 (c) 1988 (World) ghoulsu // 12/1988 (c) 1988 (USA) gulunpa // -hkittymp // 12/07/1996 (c) 1996 (Japan) knights // 27/11/1991 (c) 1991 (World) knightsb2 // bootleg knightsj // 27/11/1991 (c) 1991 (Japan) @@ -11030,6 +11029,7 @@ mercs // 02/03/1990 (c) 1990 (World) mercsj // 02/03/1990 (c) 1990 (Japan) mercsu // 08/06/1990 (c) 1990 (USA) mercsur1 // 02/03/1990 (c) 1990 (USA) +mpumpkin // 12/07/1996 (c) 1996 (Japan) msword // 25/07/1990 (c) 1990 (World) mswordj // 23/06/1990 (c) 1990 (Japan) mswordr1 // 23/06/1990 (c) 1990 (World)