Previous 199869 Revisions Next

r22944 Sunday 19th May, 2013 at 18:43:41 UTC by hap
- input/DIP bugs fixed in several drivers [Sonikos]



(note to Sonikos: 02650 will stay open, and 03673 won't be fixed until namcos10.c runs)
[src/mame/drivers]atarisy1.c cps1.c dooyong.c kaneko16.c leland.c limenko.c namcos1.c tank8.c

trunk/src/mame/drivers/dooyong.c
r22943r22944
512512   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_TILT )  /* maybe, but I'm not sure */
513513   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
514514   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
515   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
516   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
515   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
516   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
517517INPUT_PORTS_END
518518
519519static INPUT_PORTS_START( gulfstrm )
r22943r22944
615615
616616static INPUT_PORTS_START( superx )
617617   PORT_INCLUDE( dooyongm68_generic )
618
619   PORT_MODIFY("DSW") /* In documentation this switch enables "service mode" but it never had any effect in game */
620   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SWA:1")
621   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
622   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
618623INPUT_PORTS_END
619624
620625static INPUT_PORTS_START( popbingo )
trunk/src/mame/drivers/limenko.c
r22943r22944
619619   PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_PLAYER(1)
620620   PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_PLAYER(1)
621621   PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
622   PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
623   PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
622   PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1)
623   PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
624624   PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1)
625625   PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1)
626626   PORT_BIT( 0xff00ffff, IP_ACTIVE_LOW, IPT_UNUSED )
r22943r22944
630630   PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )  PORT_PLAYER(2)
631631   PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )  PORT_PLAYER(2)
632632   PORT_BIT( 0x00080000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(2)
633   PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
634   PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
633   PORT_BIT( 0x00100000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
634   PORT_BIT( 0x00200000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
635635   PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
636636   PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2)
637637   PORT_BIT( 0xff00ffff, IP_ACTIVE_LOW, IPT_UNUSED )
trunk/src/mame/drivers/atarisy1.c
r22943r22944
650650   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
651651
652652   PORT_START("F60000")    /* F60000 */
653   /* Note that "P1 Button 1' and 'P2 Start' both act as "Hop' Buttons" in game"  */
653654   PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Left Hop/P1 Start")
654   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_START2 ) PORT_NAME("Right Hop/P2 Start")
655   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Unused Button 1")
656   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("Unused Button 2")
655   PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("Right Hop/P2 Start")
656   PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNUSED )
657   PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_UNUSED )
657658   PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen")
658659   PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED )
659660   PORT_SERVICE( 0x0040, IP_ACTIVE_LOW )
trunk/src/mame/drivers/cps1.c
r22943r22944
713713
714714#define CPS1_DIFFICULTY_1(diploc) \
715715   PORT_DIPNAME( 0x07, 0x04, DEF_STR( Difficulty ) ) PORT_DIPLOCATION(diploc ":1,2,3") \
716   PORT_DIPSETTING(    0x07, "1 (Easiest)" ) \
717   PORT_DIPSETTING(    0x06, "2" ) \
718   PORT_DIPSETTING(    0x05, "3" ) \
719   PORT_DIPSETTING(    0x04, "4 (Normal)" ) \
720   PORT_DIPSETTING(    0x03, "5" ) \
721   PORT_DIPSETTING(    0x02, "6" ) \
722   PORT_DIPSETTING(    0x01, "7" ) \
723   PORT_DIPSETTING(    0x00, "8 (Hardest)" )
716   PORT_DIPSETTING(    0x07, "0 (Easiest)" ) \
717   PORT_DIPSETTING(    0x06, "1" ) \
718   PORT_DIPSETTING(    0x05, "2" ) \
719   PORT_DIPSETTING(    0x04, "3 (Normal)" ) \
720   PORT_DIPSETTING(    0x03, "4" ) \
721   PORT_DIPSETTING(    0x02, "5" ) \
722   PORT_DIPSETTING(    0x01, "6" ) \
723   PORT_DIPSETTING(    0x00, "7 (Hardest)" )
724724
725725#define CPS1_DIFFICULTY_2(diploc) \
726726   PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) PORT_DIPLOCATION(diploc ":1,2,3") \
trunk/src/mame/drivers/kaneko16.c
r22943r22944
10211021   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
10221022
10231023   PORT_START("DSW1")          /* from the MCU - $10497e.b <- $208000.b */
1024   PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:1")
1025   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
1026   PORT_DIPSETTING(      0x0100, DEF_STR( On ) )
1024   PORT_DIPNAME( 0x0100, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:1")
1025   PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
1026   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
10271027   PORT_SERVICE_DIPLOC(  0x0200, IP_ACTIVE_LOW, "SW1:2" )
10281028   PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:3")
10291029   PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
trunk/src/mame/drivers/leland.c
r22943r22944
625625
626626   PORT_MODIFY("IN0")
627627   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
628   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
629   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START3 )
628   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START2 )
629   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
630   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
631
632   PORT_MODIFY("IN1")
633   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
634   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
635
636   PORT_MODIFY("AN1")
637   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
638   PORT_MODIFY("AN2")   /* Analog pedal 2 */
639   PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2)
640   PORT_MODIFY("AN4")
641   PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
642   PORT_MODIFY("AN5")   /* Analog wheel 2 */
643   PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_PLAYER(2)
630644INPUT_PORTS_END
631645
632646
trunk/src/mame/drivers/tank8.c
r22943r22944
211211   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
212212   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(8)
213213
214   /* play time is 4351 + N * 640 frames */
214   /* play time setting according to documents */
215215   PORT_START("DSW1")
216216   PORT_DIPNAME( 0x0f, 0x08, "Play Time" )
217   PORT_DIPSETTING(    0x0f, "73 seconds" )
218   PORT_DIPSETTING(    0x0e, "83 seconds" )
219   PORT_DIPSETTING(    0x0d, "94 seconds" )
220   PORT_DIPSETTING(    0x0c, "105 seconds" )
221   PORT_DIPSETTING(    0x0b, "115 seconds" )
222   PORT_DIPSETTING(    0x0a, "126 seconds" )
223   PORT_DIPSETTING(    0x09, "137 seconds" )
224   PORT_DIPSETTING(    0x08, "147 seconds" )
225   PORT_DIPSETTING(    0x07, "158 seconds" )
226   PORT_DIPSETTING(    0x06, "169 seconds" )
227   PORT_DIPSETTING(    0x05, "179 seconds" )
217   PORT_DIPSETTING(    0x0f, "60 seconds" )
218   PORT_DIPSETTING(    0x07, "70 seconds" )
219   PORT_DIPSETTING(    0x0b, "80 seconds" )
220   PORT_DIPSETTING(    0x03, "90 seconds" )
221   PORT_DIPSETTING(    0x0d, "100 seconds" )
222   PORT_DIPSETTING(    0x05, "110 seconds" )
223   PORT_DIPSETTING(    0x09, "120 seconds" )
224   PORT_DIPSETTING(    0x01, "130 seconds" )
225   PORT_DIPSETTING(    0x0e, "140 seconds" )
226   PORT_DIPSETTING(    0x06, "150 seconds" )
227   PORT_DIPSETTING(    0x0a, "160 seconds" )
228   PORT_DIPSETTING(    0x02, "170 seconds" )
229   PORT_DIPSETTING(    0x0c, "180 seconds" )
228230   PORT_DIPSETTING(    0x04, "190 seconds" )
229   PORT_DIPSETTING(    0x03, "201 seconds" )
230   PORT_DIPSETTING(    0x02, "211 seconds" )
231   PORT_DIPSETTING(    0x01, "222 seconds" )
232   PORT_DIPSETTING(    0x00, "233 seconds" )
231   PORT_DIPSETTING(    0x08, "200 seconds" )
232   PORT_DIPSETTING(    0x00, "210 seconds" )
233233   PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED )
234234
235235   PORT_START("DSW2")
trunk/src/mame/drivers/namcos1.c
r22943r22944
818818   PORT_INCLUDE( ns1 )
819819
820820   PORT_MODIFY( "DIPSW" )
821   PORT_DIPNAME( 0x40, 0x40, "Invincibility (Cheat)") PORT_DIPLOCATION("SW:2")
822   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
823   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
821824   PORT_DIPNAME( 0x20, 0x20, "Show Coordinates" ) PORT_DIPLOCATION("SW:3")
822825   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
823826   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
827   PORT_DIPNAME( 0x10, 0x10, "Level Selection" ) PORT_DIPLOCATION("SW:4")
828   PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
829   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
824830   PORT_DIPNAME( 0x08, 0x08, "Sprite Viewer" ) PORT_DIPLOCATION("SW:5")
825831   PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
826832   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
827   PORT_DIPNAME( 0x04, 0x04, "Invincibility (Cheat)") PORT_DIPLOCATION("SW:6")
828   PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
829   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
830833   PORT_DIPNAME( 0x01, 0x01, "Freeze" ) PORT_DIPLOCATION("SW:8")
831834   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
832835   PORT_DIPSETTING(    0x00, DEF_STR( On ) )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team