trunk/src/mame/drivers/dooyong.c
| r22943 | r22944 | |
| 512 | 512 | PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_TILT ) /* maybe, but I'm not sure */ |
| 513 | 513 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 514 | 514 | 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 ) |
| 517 | 517 | INPUT_PORTS_END |
| 518 | 518 | |
| 519 | 519 | static INPUT_PORTS_START( gulfstrm ) |
| r22943 | r22944 | |
| 615 | 615 | |
| 616 | 616 | static INPUT_PORTS_START( superx ) |
| 617 | 617 | 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 ) ) |
| 618 | 623 | INPUT_PORTS_END |
| 619 | 624 | |
| 620 | 625 | static INPUT_PORTS_START( popbingo ) |
trunk/src/mame/drivers/limenko.c
| r22943 | r22944 | |
| 619 | 619 | PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1) |
| 620 | 620 | PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) |
| 621 | 621 | 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) |
| 624 | 624 | PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) |
| 625 | 625 | PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) |
| 626 | 626 | PORT_BIT( 0xff00ffff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| r22943 | r22944 | |
| 630 | 630 | PORT_BIT( 0x00020000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(2) |
| 631 | 631 | PORT_BIT( 0x00040000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(2) |
| 632 | 632 | 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) |
| 635 | 635 | PORT_BIT( 0x00400000, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2) |
| 636 | 636 | PORT_BIT( 0x00800000, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2) |
| 637 | 637 | PORT_BIT( 0xff00ffff, IP_ACTIVE_LOW, IPT_UNUSED ) |
trunk/src/mame/drivers/atarisy1.c
| r22943 | r22944 | |
| 650 | 650 | PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 651 | 651 | |
| 652 | 652 | PORT_START("F60000") /* F60000 */ |
| 653 | /* Note that "P1 Button 1' and 'P2 Start' both act as "Hop' Buttons" in game" */ |
| 653 | 654 | 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 ) |
| 657 | 658 | PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") |
| 658 | 659 | PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 659 | 660 | PORT_SERVICE( 0x0040, IP_ACTIVE_LOW ) |
trunk/src/mame/drivers/cps1.c
| r22943 | r22944 | |
| 713 | 713 | |
| 714 | 714 | #define CPS1_DIFFICULTY_1(diploc) \ |
| 715 | 715 | 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)" ) |
| 724 | 724 | |
| 725 | 725 | #define CPS1_DIFFICULTY_2(diploc) \ |
| 726 | 726 | PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) ) PORT_DIPLOCATION(diploc ":1,2,3") \ |
trunk/src/mame/drivers/kaneko16.c
| r22943 | r22944 | |
| 1021 | 1021 | PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 1022 | 1022 | |
| 1023 | 1023 | 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 ) ) |
| 1027 | 1027 | PORT_SERVICE_DIPLOC( 0x0200, IP_ACTIVE_LOW, "SW1:2" ) |
| 1028 | 1028 | PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SW1:3") |
| 1029 | 1029 | PORT_DIPSETTING( 0x0400, DEF_STR( Off ) ) |
trunk/src/mame/drivers/leland.c
| r22943 | r22944 | |
| 625 | 625 | |
| 626 | 626 | PORT_MODIFY("IN0") |
| 627 | 627 | 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) |
| 630 | 644 | INPUT_PORTS_END |
| 631 | 645 | |
| 632 | 646 | |
trunk/src/mame/drivers/tank8.c
| r22943 | r22944 | |
| 211 | 211 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 212 | 212 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(8) |
| 213 | 213 | |
| 214 | | /* play time is 4351 + N * 640 frames */ |
| 214 | /* play time setting according to documents */ |
| 215 | 215 | PORT_START("DSW1") |
| 216 | 216 | 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" ) |
| 228 | 230 | 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" ) |
| 233 | 233 | PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNUSED ) |
| 234 | 234 | |
| 235 | 235 | PORT_START("DSW2") |
trunk/src/mame/drivers/namcos1.c
| r22943 | r22944 | |
| 818 | 818 | PORT_INCLUDE( ns1 ) |
| 819 | 819 | |
| 820 | 820 | 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 ) ) |
| 821 | 824 | PORT_DIPNAME( 0x20, 0x20, "Show Coordinates" ) PORT_DIPLOCATION("SW:3") |
| 822 | 825 | PORT_DIPSETTING( 0x20, DEF_STR( Off ) ) |
| 823 | 826 | 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 ) ) |
| 824 | 830 | PORT_DIPNAME( 0x08, 0x08, "Sprite Viewer" ) PORT_DIPLOCATION("SW:5") |
| 825 | 831 | PORT_DIPSETTING( 0x08, DEF_STR( Off ) ) |
| 826 | 832 | 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 ) ) |
| 830 | 833 | PORT_DIPNAME( 0x01, 0x01, "Freeze" ) PORT_DIPLOCATION("SW:8") |
| 831 | 834 | PORT_DIPSETTING( 0x01, DEF_STR( Off ) ) |
| 832 | 835 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |