trunk/src/mame/drivers/meritm.c
| r17868 | r17869 | |
| 768 | 768 | PORT_INCLUDE(meritm_crt250) |
| 769 | 769 | |
| 770 | 770 | PORT_MODIFY("PIO1_PORTA") |
| 771 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME( "Hold 1 / Take / Lo" ) |
| 772 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME( "Hold 2" ) |
| 773 | | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME( "Hold 3" ) |
| 774 | | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME( "Hold 4" ) |
| 775 | | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME( "Hold 5 / Double Up / Hi" ) |
| 776 | | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_S) PORT_NAME( "Bet" ) |
| 777 | | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_D) PORT_NAME( "Deal" ) |
| 771 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME( "Hold 1 / Take / Lo" ) |
| 772 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 ) |
| 773 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 ) |
| 774 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 ) |
| 775 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME( "Hold 5 / Double Up / Hi" ) |
| 776 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET ) |
| 777 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) |
| 778 | 778 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 779 | 779 | |
| 780 | 780 | PORT_MODIFY("DSW") |
trunk/src/mame/drivers/merit.c
| r17868 | r17869 | |
| 857 | 857 | PORT_DIPSETTING( 0x00, "Single Side Cocktail" ) |
| 858 | 858 | INPUT_PORTS_END |
| 859 | 859 | |
| 860 | | static INPUT_PORTS_START( pitboss ) |
| 860 | static INPUT_PORTS_START( pitboss ) /* PCB pinout maps 12 lamp outputs, Diagnostics & Books Switches - Where are they mapped? */ |
| 861 | 861 | PORT_START("IN0") |
| 862 | 862 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1/P2 Button 1") |
| 863 | 863 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1/P2 Button 2") |
| r17868 | r17869 | |
| 893 | 893 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_COCKTAIL PORT_CODE(KEYCODE_F) PORT_NAME("P2 Button 4") |
| 894 | 894 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_COCKTAIL PORT_CODE(KEYCODE_G) PORT_NAME("P2 Button 5") |
| 895 | 895 | PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_COCKTAIL PORT_CODE(KEYCODE_W) PORT_NAME("P2 Play") |
| 896 | | PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN ) |
| 896 | PORT_DIPNAME( 0x40, 0x40, "1-7" ) |
| 897 | PORT_DIPSETTING( 0x40, DEF_STR( Off ) ) |
| 898 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 899 | PORT_DIPNAME( 0x80, 0x80, "1-8" ) |
| 900 | PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) |
| 901 | PORT_DIPSETTING( 0x00, DEF_STR( On ) ) |
| 897 | 902 | |
| 898 | 903 | PORT_START("DSW") |
| 899 | 904 | PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW:1") |