Previous 199869 Revisions Next

r44543 Thursday 28th January, 2016 at 03:20:50 UTC by Roberto Fresca
Pyon Pyon Jump: Proper inputs + DIP switches support. [Roberto Fresca]
[src/mame/drivers]kurukuru.cpp

trunk/src/mame/drivers/kurukuru.cpp
r253054r253055
488488   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("3rd (Pyoko)")
489489   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("4th (Kunio)")
490490   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("5th (Pyon Pyon)")
491   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_N) PORT_NAME("Unknown A0h - bit5")
492   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_M) PORT_NAME("Unknown A0h - bit6")
491   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_N) PORT_NAME("Unknown A0h - bit5")
492   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_M) PORT_NAME("Unknown A0h - bit6")
493493   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
494494
495495   PORT_START("IN1")
r253054r253055
558558INPUT_PORTS_END
559559
560560
561static INPUT_PORTS_START( ppj )
562   PORT_START("IN0")
563   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("1st (Boketa)")
564   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("2nd (Kunio)")
565   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME("3rd (Pyon-Pyon)")
566   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME("4th (Pyokorin)")
567   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME("5th (Botechin)")
568   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_S) PORT_NAME("Unknown 70h - bit5")
569   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_D) PORT_NAME("Unknown 70h - bit6")
570   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
571
572   PORT_START("IN1")
573   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_9) PORT_NAME("Bookkeeping")
574   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN3 )   PORT_NAME("Medal In")
575   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_CODE(KEYCODE_0) PORT_NAME("Reset Button")
576   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
577   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_OTHER )   PORT_CODE(KEYCODE_A) PORT_NAME("Unknown 60h - bit4")
578   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )   PORT_IMPULSE (2)
579   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SPECIAL ) PORT_READ_LINE_DEVICE_MEMBER("hopper", ticket_dispenser_device, line_r)    // hopper feedback
580   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_GAMBLE_PAYOUT )
581
582   PORT_START("DSW1")  // found in the PCB: 00000000 (arranged for sale since they are uncommon settings)
583   PORT_DIPNAME( 0x07, 0x03, "Coinage A (100 Y)" ) PORT_DIPLOCATION("DSW1:1,2,3")
584   PORT_DIPSETTING(    0x00, "1 Coin / 1 Medal" )
585   PORT_DIPSETTING(    0x04, "1 Coin / 2 Medal" )
586   PORT_DIPSETTING(    0x02, "1 Coin / 3 Medal" )
587   PORT_DIPSETTING(    0x06, "1 Coin / 4 Medal" )
588   PORT_DIPSETTING(    0x01, "1 Coin / 5 Medal" )
589   PORT_DIPSETTING(    0x05, "1 Coin / 6 Medal" )
590   PORT_DIPSETTING(    0x03, "1 Coin / 10 Medal" )
591   PORT_DIPSETTING(    0x07, "1 Coin / 11 Medal" )
592   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW1:4")
593   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
594   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
595   PORT_DIPNAME( 0x10, 0x00, "Unknown (related to coin1/payout)")  PORT_DIPLOCATION("DSW1:5")
596   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
597   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
598   PORT_DIPNAME( 0x20, 0x00, "Coinage Config" )    PORT_DIPLOCATION("DSW1:6")
599   PORT_DIPSETTING(    0x00, "Coin 1 = Normal" )
600   PORT_DIPSETTING(    0x20, "Coin 1 = Payout" )
601   PORT_DIPNAME( 0x40, 0x00, "Payout Mode" )       PORT_DIPLOCATION("DSW1:7")
602   PORT_DIPSETTING(    0x40, "Manual" )
603   PORT_DIPSETTING(    0x00, "Automatic" )
604   PORT_DIPNAME( 0x80, 0x00, "Repeat Last Bet")    PORT_DIPLOCATION("DSW1:8")
605   PORT_DIPSETTING(    0x80, DEF_STR( No ) )
606   PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
607
608   PORT_START("DSW2")  // found in the PCB: 00000000 (arranged for sale since they are uncommon settings)
609   PORT_DIPNAME( 0x07, 0x01, "Percentage" )    PORT_DIPLOCATION("DSW2:1,2,3")
610   PORT_DIPSETTING(    0x07, "50%" )
611   PORT_DIPSETTING(    0x03, "60%" )
612   PORT_DIPSETTING(    0x05, "70%" )
613   PORT_DIPSETTING(    0x01, "75%" )
614   PORT_DIPSETTING(    0x06, "80%" )
615   PORT_DIPSETTING(    0x02, "85%" )
616   PORT_DIPSETTING(    0x04, "90%" )
617   PORT_DIPSETTING(    0x00, "95%" )
618   PORT_DIPNAME( 0x08, 0x00, "Winwave" )       PORT_DIPLOCATION("DSW2:4")
619   PORT_DIPSETTING(    0x08, "Small" )
620   PORT_DIPSETTING(    0x00, "Big" )
621   PORT_DIPNAME( 0x10, 0x00, "M.Medal" )       PORT_DIPLOCATION("DSW2:5")
622   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
623   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
624   PORT_DIPNAME( 0x60, 0x60, "HG" )            PORT_DIPLOCATION("DSW2:6,7")
625   PORT_DIPSETTING(    0x60, "20-1" )
626   PORT_DIPSETTING(    0x20, "50-1" )
627   PORT_DIPSETTING(    0x40, "100-1" )
628   PORT_DIPSETTING(    0x00, "200-1" )
629   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) ) PORT_DIPLOCATION("DSW2:8")
630   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
631   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
632
633INPUT_PORTS_END
634
635
561636/*************************************************
562637*        Machine Start & Reset Routines          *
563638*************************************************/
r253054r253055
700775
701776/*    YEAR  NAME      PARENT  MACHINE   INPUT     STATE          INIT  ROT    COMPANY                   FULLNAME                        FLAGS  */
702777GAME( 199?, kurukuru, 0,      kurukuru, kurukuru, driver_device, 0,    ROT0, "Success / Taiyo Jidoki", "Kuru Kuru Pyon Pyon (Japan)",   0 )
703GAME( 199?, ppj,      0,      ppj,      kurukuru, driver_device, 0,    ROT0, "Success / Taiyo Jidoki", "Pyon Pyon Jump (V1.40, Japan)", MACHINE_NOT_WORKING )
778GAME( 199?, ppj,      0,      ppj,      ppj,      driver_device, 0,    ROT0, "Success / Taiyo Jidoki", "Pyon Pyon Jump (V1.40, Japan)", MACHINE_IMPERFECT_SOUND | MACHINE_NOT_WORKING )


Previous 199869 Revisions Next


© 1997-2024 The MAME Team