Previous 199869 Revisions Next

r18203 Saturday 29th September, 2012 at 14:58:10 UTC by Brian Troha
mcr68.c: Add dipswitch locations to all sets in the driver. [Brian Troha]
[src/mame/drivers]mcr68.c

trunk/src/mame/drivers/mcr68.c
r18202r18203
421421   PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
422422
423423   PORT_START("DSW")
424   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coinage ) )
424   PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coinage ) )      PORT_DIPLOCATION("SW1:1,2,3")
425425   PORT_DIPSETTING(    0x05, DEF_STR( 6C_1C ) )
426426   PORT_DIPSETTING(    0x04, DEF_STR( 5C_1C ) )
427427   PORT_DIPSETTING(    0x03, DEF_STR( 4C_1C ) )
r18202r18203
430430   PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
431431   PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
432432   PORT_DIPSETTING(    0x07, DEF_STR( Free_Play ) )
433   PORT_DIPNAME( 0x38, 0x00, "Buy-in" )
433   PORT_DIPNAME( 0x38, 0x00, "Buy-in" )         PORT_DIPLOCATION("SW1:4,5,6")
434434   PORT_DIPSETTING(    0x00, "1 coin" )
435435   PORT_DIPSETTING(    0x08, "2 coins" )
436436   PORT_DIPSETTING(    0x10, "3 coins" )
r18202r18203
439439   PORT_DIPSETTING(    0x28, "6 coins" )
440440   PORT_DIPSETTING(    0x30, "7 coins" )
441441   PORT_DIPSETTING(    0x38, DEF_STR( None ) )
442   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Difficulty ) )
442   PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:7,8")
443443   PORT_DIPSETTING(    0xc0, DEF_STR( Easier ) )
444444   PORT_DIPSETTING(    0x00, DEF_STR( Normal ) )
445445   PORT_DIPSETTING(    0x40, DEF_STR( Harder ) )
r18202r18203
486486   PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(3)
487487   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
488488
489   PORT_START("DSW")
490   PORT_BIT( 0x0003, IP_ACTIVE_LOW, IPT_UNUSED )
491   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )
489   PORT_START("DSW")   /* There are actually 10 switches, but where do 9 & 10 map to?? (10=Freeze Screen) */
490   PORT_DIPUNUSED_DIPLOC( 0x0001, IP_ACTIVE_LOW, "SW1:1" )
491   PORT_DIPUNUSED_DIPLOC( 0x0002, IP_ACTIVE_LOW, "SW1:2" )
492   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW1:3")
492493   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
493494   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
494   PORT_DIPNAME( 0x0008, 0x0008, "Coins per Life Unit" )
495   PORT_DIPNAME( 0x0008, 0x0008, "Coins per Life Unit" )   PORT_DIPLOCATION("SW1:4")
495496   PORT_DIPSETTING(      0x0008, "1" )
496497   PORT_DIPSETTING(      0x0000, "2" )
497   PORT_DIPNAME( 0x0010, 0x0010, "Life Unit" )
498   PORT_DIPNAME( 0x0010, 0x0010, "Life Unit" )      PORT_DIPLOCATION("SW1:5")
498499   PORT_DIPSETTING(      0x0010, "1000" )
499500   PORT_DIPSETTING(      0x0000, "2000" )
500   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )
501   PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:6")
501502   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
502503   PORT_DIPSETTING(      0x0020, DEF_STR( On ) )
503   PORT_DIPNAME( 0x00c0, 0x0000, DEF_STR( Difficulty ) )
504   PORT_DIPNAME( 0x00c0, 0x0000, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:7,8")
504505   PORT_DIPSETTING(      0x0040, DEF_STR( Easy ) )
505506   PORT_DIPSETTING(      0x0000, DEF_STR( Medium ) )
506507   PORT_DIPSETTING(      0x0080, DEF_STR( Hard ) )
r18202r18203
540541   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME ("P1 R Button")/* Right Button */
541542
542543   PORT_START("DSW")   /* dipswitches */
543   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Coinage ) )
544   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:1,2")
544545   PORT_DIPSETTING(      0x0002, DEF_STR( 2C_1C ) )
545546   PORT_DIPSETTING(      0x0003, DEF_STR( 1C_1C ) )
546547   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_2C ) )
547548   PORT_DIPSETTING(      0x0000, "1C/2C (duplicate)" )
548   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )
549   PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW1:3")
549550   PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
550551   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
551   PORT_DIPNAME( 0x0018, 0x0008, "Point Threshholds" )
552   PORT_DIPNAME( 0x0018, 0x0008, "Point Threshholds" )   PORT_DIPLOCATION("SW1:4,5")
552553   PORT_DIPSETTING(      0x0008, DEF_STR( Easy ) )
553554   PORT_DIPSETTING(      0x0018, DEF_STR( Medium ) )
554555   PORT_DIPSETTING(      0x0010, DEF_STR( Hard ) )
555556   PORT_DIPSETTING(      0x0000, DEF_STR( Hardest ) )
556   PORT_DIPNAME( 0x0060, 0x0060, "Free Timer After" )
557   PORT_DIPNAME( 0x0060, 0x0060, "Free Timer After" )   PORT_DIPLOCATION("SW1:6,7")
557558   PORT_DIPSETTING(      0x0000, "30 sec" )
558559   PORT_DIPSETTING(      0x0040, "45 sec" )
559560   PORT_DIPSETTING(      0x0060, "60 sec" )
560561   PORT_DIPSETTING(      0x0020, "90 sec" )
561   PORT_DIPNAME( 0x0080, 0x0080, "Rack Advance (Cheat)" ) PORT_CODE(KEYCODE_F1)
562   PORT_DIPNAME( 0x0080, 0x0080, "Rack Advance (Cheat)" ) PORT_CODE(KEYCODE_F1)   PORT_DIPLOCATION("SW1:8")
562563   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
563564   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
564565   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
r18202r18203
605606   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
606607
607608   PORT_START("DSW")
608   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Coinage ) )
609   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:1,2")
609610   PORT_DIPSETTING(      0x0002, DEF_STR( 2C_1C ) )
610611   PORT_DIPSETTING(      0x0003, DEF_STR( 1C_1C ) )
611612   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_2C ) )
612613   PORT_DIPSETTING(      0x0000, "1C/2C (duplicate)" )
613   PORT_DIPNAME( 0x000c, 0x0000, DEF_STR( Difficulty ) )
614   PORT_DIPNAME( 0x000c, 0x0000, DEF_STR( Difficulty ) )   PORT_DIPLOCATION("SW1:3,4")
614615   PORT_DIPSETTING(      0x0008, DEF_STR( Easy ) )
615616   PORT_DIPSETTING(      0x0000, DEF_STR( Medium ) )
616617   PORT_DIPSETTING(      0x0004, DEF_STR( Hard ) )
617618   PORT_DIPSETTING(      0x000c, "Medium (duplicate)" )
618   PORT_DIPNAME( 0x0020, 0x0020, "Dollar Receptor" )
619   PORT_DIPUNUSED_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" )
620   PORT_DIPNAME( 0x0020, 0x0020, "Dollar Receptor" )   PORT_DIPLOCATION("SW1:6")
619621   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
620622   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
621   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )
623   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
622624   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
623625   PORT_DIPSETTING(      0x0040, DEF_STR( On ) )
624   PORT_DIPNAME( 0x0080, 0x0080, "Rack Advance (Cheat)" ) PORT_CODE(KEYCODE_F1)
626   PORT_DIPNAME( 0x0080, 0x0080, "Rack Advance (Cheat)" ) PORT_CODE(KEYCODE_F1)   PORT_DIPLOCATION("SW1:8")
625627   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
626628   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
627629   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
r18202r18203
662664   PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_PLAYER(4)
663665
664666   PORT_START("DSW")
665    PORT_DIPNAME( 0x0001, 0x0001, DEF_STR( Unknown ) )
666    PORT_DIPSETTING(      0x0001, DEF_STR( Off ) )
667    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
668    PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Unknown ) )
669    PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
670    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
671    PORT_DIPNAME( 0x0004, 0x0004, DEF_STR( Unknown ) )
672    PORT_DIPSETTING(      0x0004, DEF_STR( Off ) )
673    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
674    PORT_DIPNAME( 0x0008, 0x0008, DEF_STR( Unknown ) )
675    PORT_DIPSETTING(      0x0008, DEF_STR( Off ) )
676    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
677    PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Unknown ) )
678    PORT_DIPSETTING(      0x0010, DEF_STR( Off ) )
679    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
680    PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) )
681    PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
682    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
683    PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
684    PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
685    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
686    PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
687    PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
688    PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
667   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:1,2")
668   PORT_DIPSETTING(      0x0002, DEF_STR( 2C_1C ) )
669   PORT_DIPSETTING(      0x0003, DEF_STR( 1C_1C ) )
670   PORT_DIPSETTING(      0x0001, DEF_STR( 1C_2C ) )
671   PORT_DIPSETTING(      0x0000, "1C/1C (duplicate)" )
672   PORT_DIPUNUSED_DIPLOC( 0x0004, IP_ACTIVE_LOW, "SW1:3" )
673   PORT_DIPUNUSED_DIPLOC( 0x0008, IP_ACTIVE_LOW, "SW1:4" )
674   PORT_DIPUNUSED_DIPLOC( 0x0010, IP_ACTIVE_LOW, "SW1:5" )
675   PORT_DIPUNUSED_DIPLOC( 0x0020, IP_ACTIVE_LOW, "SW1:6" )
676   PORT_DIPUNUSED_DIPLOC( 0x0040, IP_ACTIVE_LOW, "SW1:7" )
677   PORT_DIPNAME( 0x0080, 0x0080, "Rack Advance (Cheat)" ) PORT_CODE(KEYCODE_F1)   PORT_DIPLOCATION("SW1:8")
678   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
679   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
689680   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
690681INPUT_PORTS_END
691682
r18202r18203
710701   PORT_START("IN1")
711702   PORT_BIT( 0xffff, IP_ACTIVE_HIGH, IPT_UNUSED )   /* player 1/2 joysticks go here */
712703
713   PORT_START("DSW")
714   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Game_Time ) )
704   PORT_START("DSW")   /* There are actually 10 switches, but where do 9 & 10 map to?? (10=Freeze Screen) */
705   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Game_Time ) )   PORT_DIPLOCATION("SW1:1,2")
715706   PORT_DIPSETTING(      0x0003, "Preset Time" )
716707   PORT_DIPSETTING(      0x0002, "Preset + 10sec" )
717708   PORT_DIPSETTING(      0x0001, "Preset + 20sec" )
718709   PORT_DIPSETTING(      0x0000, "Preset + 30sec" )
719   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coinage ) )
710   PORT_DIPNAME( 0x001c, 0x001c, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:3,4,5")
720711   PORT_DIPSETTING(      0x0014, DEF_STR( 3C_1C ) )
721712   PORT_DIPSETTING(      0x0018, DEF_STR( 2C_1C ) )
722713   PORT_DIPSETTING(      0x001c, DEF_STR( 1C_1C ) )
r18202r18203
725716   PORT_DIPSETTING(      0x0008, DEF_STR( 1C_3C ) )
726717   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_5C ) )
727718   PORT_DIPSETTING(      0x0000, DEF_STR( 1C_6C ) )
728   PORT_DIPNAME( 0x0020, 0x0020, "Team Names" )
719   PORT_DIPNAME( 0x0020, 0x0020, "Team Names" )      PORT_DIPLOCATION("SW1:6")
729720   PORT_DIPSETTING(      0x0020, "Default" )
730721   PORT_DIPSETTING(      0x0000, "Hometown Heroes" )
731   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )
722   PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:7")
732723   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
733724   PORT_DIPSETTING(      0x0040, DEF_STR( On ) )
734   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Free_Play ) )
725   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW1:8")
735726   PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
736727   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
737728   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )
r18202r18203
777768   PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
778769   PORT_BIT( 0xff00, IP_ACTIVE_HIGH, IPT_UNUSED )   /* player 1 joystick goes here */
779770
780   PORT_START("DSW")
781   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Game_Time ) )
771   PORT_START("DSW")   /* There are actually 10 switches, but where do 9 & 10 map to?? (10=Freeze Screen) */
772   PORT_DIPNAME( 0x0003, 0x0003, DEF_STR( Game_Time ) )   PORT_DIPLOCATION("SW1:1,2")
782773   PORT_DIPSETTING(      0x0000, "Shortest" )
783774   PORT_DIPSETTING(      0x0002, "Short" )
784775   PORT_DIPSETTING(      0x0003, DEF_STR( Medium ) )
785776   PORT_DIPSETTING(      0x0001, "Long" )
786   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Coinage ) )
777   PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:1,2")
787778   PORT_DIPSETTING(      0x0008, DEF_STR( 2C_1C ) )
788779   PORT_DIPSETTING(      0x000c, DEF_STR( 1C_1C ) )
789   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
780   PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )   PORT_DIPLOCATION("SW1:3,4")
790781   PORT_DIPSETTING(      0x0004, "Set Your Own" )
791   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Demo_Sounds ) )
782   PORT_DIPNAME( 0x0010, 0x0010, DEF_STR( Demo_Sounds ) )   PORT_DIPLOCATION("SW1:5")
792783   PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
793784   PORT_DIPSETTING(      0x0010, DEF_STR( On ) )
794   PORT_DIPNAME( 0x0020, 0x0020, "Test Switch" )
785   PORT_DIPNAME( 0x0020, 0x0020, "Test Switch" )      PORT_DIPLOCATION("SW1:6")
795786   PORT_DIPSETTING(      0x0020, DEF_STR( Off ) )
796787   PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
797   PORT_DIPNAME( 0x0040, 0x0040, "Coin Chutes" )
788   PORT_DIPNAME( 0x0040, 0x0040, "Coin Chutes" )      PORT_DIPLOCATION("SW1:7")
798789   PORT_DIPSETTING(      0x0000, "Individual" )
799790   PORT_DIPSETTING(      0x0040, "Common" )
800   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Joystick ) )
791   PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Joystick ) )   PORT_DIPLOCATION("SW1:8")
801792   PORT_DIPSETTING(      0x0080, DEF_STR( Standard ) )
802793   PORT_DIPSETTING(      0x0000, "Rotated" )
803794   PORT_BIT( 0xff00, IP_ACTIVE_HIGH, IPT_UNUSED )   /* player 2 joystick goes here */
r18202r18203
834825   PORT_BIT( 0x00ff, IP_ACTIVE_LOW, IPT_UNUSED )
835826   PORT_BIT( 0xff00, IP_ACTIVE_HIGH, IPT_UNUSED )   /* analog controls go here */
836827
837   PORT_START("DSW")
838   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coinage ) )
828   PORT_START("DSW")   /* There are actually 10 switches, but where do 9 & 10 map to?? (10=Freeze Screen) */
829   PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coinage ) )   PORT_DIPLOCATION("SW1:1,2,3")
839830   PORT_DIPSETTING(      0x0002, DEF_STR( 4C_1C ) )
840831   PORT_DIPSETTING(      0x0003, DEF_STR( 3C_1C ) )
841832   PORT_DIPSETTING(      0x0006, DEF_STR( 2C_1C ) )
r18202r18203
844835   PORT_DIPSETTING(      0x0004, DEF_STR( 1C_3C ) )
845836   PORT_DIPSETTING(      0x0001, DEF_STR( Free_Play ) )
846837   PORT_DIPSETTING(      0x0000, "Battery Options" )
847   PORT_DIPNAME( 0x0018, 0x0018, "Pool Turns" )
838   PORT_DIPNAME( 0x0018, 0x0018, "Pool Turns" )      PORT_DIPLOCATION("SW1:4,5")
848839   PORT_DIPSETTING(      0x0010, "5" )
849840   PORT_DIPSETTING(      0x0008, "6" )
850841   PORT_DIPSETTING(      0x0018, "7" )
851842   PORT_DIPSETTING(      0x0000, "8" )
852   PORT_DIPNAME( 0x0020, 0x0020, "Bowling Difficulty" )
843   PORT_DIPNAME( 0x0020, 0x0020, "Bowling Difficulty" )   PORT_DIPLOCATION("SW1:6")
853844   PORT_DIPSETTING(      0x0020, DEF_STR( Standard ) )
854845   PORT_DIPSETTING(      0x0000, "Advanced" )
855   PORT_DIPNAME( 0x0040, 0x0040, "Shot Timer" )
846   PORT_DIPNAME( 0x0040, 0x0040, "Shot Timer" )      PORT_DIPLOCATION("SW1:7")
856847   PORT_DIPSETTING(      0x0000, "Slower" )
857848   PORT_DIPSETTING(      0x0040, DEF_STR( Standard ) )
858   PORT_DIPNAME( 0x0080, 0x0080, "Golf Holes" )
849   PORT_DIPNAME( 0x0080, 0x0080, "Golf Holes" )      PORT_DIPLOCATION("SW1:8")
859850   PORT_DIPSETTING(      0x0080, "3" )
860851   PORT_DIPSETTING(      0x0000, "4" )
861852   PORT_BIT( 0xff00, IP_ACTIVE_LOW, IPT_UNUSED )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team