mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
Hooked up inputs and Dip-SW for Ron Jan and Pinkiri 8 [Angelo Salese]
This commit is contained in:
parent
100aac5849
commit
5f273b35d8
@ -204,25 +204,25 @@ static VIDEO_UPDATE( pinkiri8 )
|
||||
count2=0;
|
||||
for (i=0x80;i<0xc0;i+=2)
|
||||
{
|
||||
|
||||
|
||||
printf("%02x, ", janshi_unk[i+1]);
|
||||
|
||||
|
||||
count2++;
|
||||
|
||||
|
||||
if (count2==0x10)
|
||||
{
|
||||
printf("\n");
|
||||
count2 = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//popmessage("%02x",janshi_crtc_regs[0x0a]);
|
||||
col_bank = (janshi_crtc_regs[0x0a] & 0x40) >> 6;
|
||||
|
||||
@ -306,9 +306,9 @@ static VIDEO_UPDATE( pinkiri8 )
|
||||
else
|
||||
{
|
||||
width = 1;
|
||||
height = 2;
|
||||
height = 2;
|
||||
}
|
||||
|
||||
|
||||
// hacks!
|
||||
if (game_type_hack==1) // janshi
|
||||
{
|
||||
@ -359,7 +359,7 @@ static VIDEO_UPDATE( pinkiri8 )
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (height==1)
|
||||
y+=16;
|
||||
@ -547,7 +547,7 @@ static ADDRESS_MAP_START( pinkiri8_io, ADDRESS_SPACE_IO, 8 )
|
||||
|
||||
ADDRESS_MAP_END
|
||||
|
||||
static INPUT_PORTS_START( pinkiri8 )
|
||||
static INPUT_PORTS_START( base_inputs )
|
||||
PORT_START("SYSTEM")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_NAME("Reset SW")
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_NAME("Books SW")
|
||||
@ -579,15 +579,15 @@ static INPUT_PORTS_START( pinkiri8 )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("PL1_04")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("PL1_05")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE )
|
||||
@ -619,15 +619,15 @@ static INPUT_PORTS_START( pinkiri8 )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_K ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_CHI ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_MAHJONG_RON ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("PL2_04")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_D ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_H ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_MAHJONG_L ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_PON ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("PL2_05")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_LAST_CHANCE ) PORT_PLAYER(2)
|
||||
@ -743,7 +743,7 @@ static INPUT_PORTS_START( pinkiri8 )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( janshi )
|
||||
PORT_INCLUDE( pinkiri8 )
|
||||
PORT_INCLUDE( base_inputs )
|
||||
|
||||
PORT_MODIFY("DSW1")
|
||||
PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW1:1,2,3")
|
||||
@ -815,6 +815,314 @@ static INPUT_PORTS_START( janshi )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW4:8" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( ronjan )
|
||||
PORT_INCLUDE( base_inputs )
|
||||
|
||||
PORT_MODIFY("DSW1")
|
||||
PORT_DIPNAME( 0x03, 0x00, "Play Time Limit" ) PORT_DIPLOCATION("SW1:1,2")
|
||||
PORT_DIPSETTING( 0x00, "16 Seconds" )
|
||||
PORT_DIPSETTING( 0x01, "13 Seconds" )
|
||||
PORT_DIPSETTING( 0x02, "10 Seconds" )
|
||||
PORT_DIPSETTING( 0x03, "7 Seconds" )
|
||||
PORT_DIPNAME( 0x04, 0x04, "Coin Payment" ) PORT_DIPLOCATION("SW1:3")
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Normal ) )
|
||||
PORT_DIPSETTING( 0x00, "Auto" )
|
||||
//FIXME: Bet Min can't be higher than Bet Max, needs a conditional dip here (or maybe, unified dips)
|
||||
PORT_DIPNAME( 0x38, 0x38, "Bet Min" ) PORT_DIPLOCATION("SW1:4,5,6")
|
||||
PORT_DIPSETTING( 0x38, "1" )
|
||||
PORT_DIPSETTING( 0x30, "2" )
|
||||
PORT_DIPSETTING( 0x28, "3" )
|
||||
PORT_DIPSETTING( 0x20, "4" )
|
||||
PORT_DIPSETTING( 0x18, "5" )
|
||||
PORT_DIPSETTING( 0x10, "6" )
|
||||
PORT_DIPSETTING( 0x08, "8" )
|
||||
PORT_DIPSETTING( 0x00, "10" )
|
||||
PORT_DIPNAME( 0xc0, 0x00, "Bet Max" ) PORT_DIPLOCATION("SW1:7,8")
|
||||
PORT_DIPSETTING( 0xc0, "5" )
|
||||
PORT_DIPSETTING( 0x80, "10" )
|
||||
PORT_DIPSETTING( 0x40, "15" )
|
||||
PORT_DIPSETTING( 0x00, "20" )
|
||||
|
||||
PORT_MODIFY("DSW2")
|
||||
PORT_DIPNAME( 0x0f, 0x00, "Rate of Win" ) PORT_DIPLOCATION("SW2:1,2,3,4")
|
||||
PORT_DIPSETTING( 0x00, "98%" )
|
||||
PORT_DIPSETTING( 0x01, "95%" )
|
||||
PORT_DIPSETTING( 0x02, "92%" )
|
||||
PORT_DIPSETTING( 0x03, "89%" )
|
||||
PORT_DIPSETTING( 0x04, "86%" )
|
||||
PORT_DIPSETTING( 0x05, "83%" )
|
||||
PORT_DIPSETTING( 0x06, "80%" )
|
||||
PORT_DIPSETTING( 0x07, "77%" )
|
||||
PORT_DIPSETTING( 0x08, "74%" )
|
||||
PORT_DIPSETTING( 0x09, "71%" )
|
||||
PORT_DIPSETTING( 0x0a, "68%" )
|
||||
PORT_DIPSETTING( 0x0b, "65%" )
|
||||
PORT_DIPSETTING( 0x0c, "62%" )
|
||||
PORT_DIPSETTING( 0x0d, "59%" )
|
||||
PORT_DIPSETTING( 0x0e, "56%" )
|
||||
PORT_DIPSETTING( 0x0f, "53%" )
|
||||
PORT_DIPNAME( 0x10, 0x10, "Limit Display" ) PORT_DIPLOCATION("SW2:5")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0xe0, 0xe0, "Credit Limit" ) PORT_DIPLOCATION("SW2:6,7,8")
|
||||
PORT_DIPSETTING( 0x00, "50000" )
|
||||
PORT_DIPSETTING( 0x20, "40000" )
|
||||
PORT_DIPSETTING( 0x40, "30000" )
|
||||
PORT_DIPSETTING( 0x60, "20000" )
|
||||
PORT_DIPSETTING( 0x80, "15000" )
|
||||
PORT_DIPSETTING( 0xa0, "10000" )
|
||||
PORT_DIPSETTING( 0xc0, "5000" )
|
||||
PORT_DIPSETTING( 0xe0, "No Limit" )
|
||||
|
||||
PORT_MODIFY("DSW3")
|
||||
PORT_DIPNAME( 0x07, 0x07, "Key In Coinage" ) PORT_DIPLOCATION("SW3:1,2,3")
|
||||
PORT_DIPSETTING( 0x00, "1 Coin/500 Credits" )
|
||||
PORT_DIPSETTING( 0x01, "1 Coin/200 Credits" )
|
||||
PORT_DIPSETTING( 0x02, "1 Coin/100 Credits" )
|
||||
PORT_DIPSETTING( 0x03, "1 Coin/50 Credits" )
|
||||
PORT_DIPSETTING( 0x04, "1 Coin/25 Credits" )
|
||||
PORT_DIPSETTING( 0x05, "1 Coin/20 Credits" )
|
||||
PORT_DIPSETTING( 0x06, "1 Coin/10 Credits" )
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPNAME( 0x78, 0x40, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW3:4,5,6,7")
|
||||
PORT_DIPSETTING( 0x78, "10 Coins/1 Credit" )
|
||||
PORT_DIPSETTING( 0x70, DEF_STR( 5C_1C ) )
|
||||
PORT_DIPSETTING( 0x68, "5 Coins/2 Credits" )
|
||||
PORT_DIPSETTING( 0x60, DEF_STR( 4C_1C ) )
|
||||
PORT_DIPSETTING( 0x58, DEF_STR( 3C_1C ) )
|
||||
PORT_DIPSETTING( 0x50, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x48, DEF_STR( 2C_3C ) )
|
||||
PORT_DIPSETTING( 0x38, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING( 0x30, DEF_STR( 1C_4C ) )
|
||||
PORT_DIPSETTING( 0x28, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPSETTING( 0x20, "1 Coin/10 Credits" )
|
||||
PORT_DIPSETTING( 0x18, "1 Coin/20 Credits" )
|
||||
PORT_DIPSETTING( 0x10, "1 Coin/25 Credits" )
|
||||
PORT_DIPSETTING( 0x08, "1 Coin/50 Credits" )
|
||||
PORT_DIPSETTING( 0x00, "1 Coin/100 Credits" )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW3:8" )
|
||||
|
||||
PORT_MODIFY("DSW4")
|
||||
PORT_DIPNAME( 0x01, 0x01, "Odds Type" ) PORT_DIPLOCATION("SW4:1")
|
||||
PORT_DIPSETTING( 0x01, "A" )
|
||||
PORT_DIPSETTING( 0x00, "B" )
|
||||
PORT_DIPNAME( 0x02, 0x02, "Special Bonus Odds" ) PORT_DIPLOCATION("SW4:2")
|
||||
PORT_DIPSETTING( 0x02, "A" )
|
||||
PORT_DIPSETTING( 0x00, "B" )
|
||||
PORT_DIPNAME( 0x04, 0x00, "Kind Mark of Back" ) PORT_DIPLOCATION("SW4:3")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x08, 0x08, "Nudity" ) PORT_DIPLOCATION("SW4:4")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x08, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x10, 0x10, "BGM" ) PORT_DIPLOCATION("SW4:5")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x20, 0x20, "Voice" ) PORT_DIPLOCATION("SW4:6")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x40, 0x40, "Double Up Game" ) PORT_DIPLOCATION("SW4:7")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x80, 0x80, "Double Up Limit" ) PORT_DIPLOCATION("SW4:8")
|
||||
PORT_DIPSETTING( 0x80, "6" )
|
||||
PORT_DIPSETTING( 0x00, "No Limit" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static INPUT_PORTS_START( pinkiri8 )
|
||||
PORT_INCLUDE( base_inputs )
|
||||
|
||||
/* standard mahjong panel converted to a hanafuda one */
|
||||
PORT_MODIFY("PL1_01")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
|
||||
|
||||
PORT_MODIFY("PL1_02")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET )
|
||||
|
||||
PORT_MODIFY("PL1_03")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("PL1_04")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("PL1_05")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("PL2_01")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_A ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_E ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_YES ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
|
||||
|
||||
PORT_MODIFY("PL2_02")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_B ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_F ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_HANAFUDA_NO ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_MAHJONG_BET ) PORT_PLAYER(2)
|
||||
|
||||
PORT_MODIFY("PL2_03")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_C ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_G ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("PL2_04")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_HANAFUDA_D ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_HANAFUDA_H ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("PL2_05")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_MAHJONG_FLIP_FLOP ) PORT_PLAYER(2)
|
||||
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_MODIFY("DSW1")
|
||||
PORT_DIPNAME( 0x01, 0x01, "Game Style" ) PORT_DIPLOCATION("SW1:1")
|
||||
PORT_DIPSETTING( 0x01, "Win / Bet" )
|
||||
PORT_DIPSETTING( 0x00, "Out / In" )
|
||||
PORT_DIPNAME( 0x02, 0x02, "Premium Hand" ) PORT_DIPLOCATION("SW1:2")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x04, 0x04, "Coin Payment" ) PORT_DIPLOCATION("SW1:3")
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Normal ) )
|
||||
PORT_DIPSETTING( 0x00, "Auto" )
|
||||
//FIXME: Bet Min can't be higher than Bet Max, needs a conditional dip here (or maybe, unified dips)
|
||||
PORT_DIPNAME( 0x38, 0x38, "Bet Min" ) PORT_DIPLOCATION("SW1:4,5,6")
|
||||
PORT_DIPSETTING( 0x38, "1" )
|
||||
PORT_DIPSETTING( 0x30, "2" )
|
||||
PORT_DIPSETTING( 0x28, "3" )
|
||||
PORT_DIPSETTING( 0x20, "4" )
|
||||
PORT_DIPSETTING( 0x18, "5" )
|
||||
PORT_DIPSETTING( 0x10, "6" )
|
||||
PORT_DIPSETTING( 0x08, "8" )
|
||||
PORT_DIPSETTING( 0x00, "10" )
|
||||
PORT_DIPNAME( 0xc0, 0x00, "Bet Max" ) PORT_DIPLOCATION("SW1:7,8")
|
||||
PORT_DIPSETTING( 0xc0, "5" )
|
||||
PORT_DIPSETTING( 0x80, "10" )
|
||||
PORT_DIPSETTING( 0x40, "15" )
|
||||
PORT_DIPSETTING( 0x00, "20" )
|
||||
|
||||
PORT_MODIFY("DSW2")
|
||||
PORT_DIPNAME( 0x0f, 0x00, "Rate of Win" ) PORT_DIPLOCATION("SW2:1,2,3,4")
|
||||
PORT_DIPSETTING( 0x00, "90%" )
|
||||
PORT_DIPSETTING( 0x01, "86%" )
|
||||
PORT_DIPSETTING( 0x02, "82%" )
|
||||
PORT_DIPSETTING( 0x03, "78%" )
|
||||
PORT_DIPSETTING( 0x04, "74%" )
|
||||
PORT_DIPSETTING( 0x05, "70%" )
|
||||
PORT_DIPSETTING( 0x06, "66%" )
|
||||
PORT_DIPSETTING( 0x07, "62%" )
|
||||
PORT_DIPSETTING( 0x08, "58%" )
|
||||
PORT_DIPSETTING( 0x09, "54%" )
|
||||
PORT_DIPSETTING( 0x0a, "50%" )
|
||||
PORT_DIPSETTING( 0x0b, "46%" )
|
||||
PORT_DIPSETTING( 0x0c, "42%" )
|
||||
PORT_DIPSETTING( 0x0d, "38%" )
|
||||
PORT_DIPSETTING( 0x0e, "34%" )
|
||||
PORT_DIPSETTING( 0x0f, "30%" )
|
||||
PORT_DIPNAME( 0x10, 0x10, "Odds Type" ) PORT_DIPLOCATION("SW2:5")
|
||||
PORT_DIPSETTING( 0x10, "A" )
|
||||
PORT_DIPSETTING( 0x00, "B" )
|
||||
PORT_DIPNAME( 0x20, 0x20, "BGM" ) PORT_DIPLOCATION("SW2:6")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x40, 0x00, "Oya (Owner)" ) PORT_DIPLOCATION("SW2:7")
|
||||
PORT_DIPSETTING( 0x40, "CPU Only" )
|
||||
PORT_DIPSETTING( 0x00, "Winner" )
|
||||
PORT_DIPNAME( 0x80, 0x00, "Koi Time Limit" ) PORT_DIPLOCATION("SW2:8")
|
||||
PORT_DIPSETTING( 0x80, "15 Seconds" )
|
||||
PORT_DIPSETTING( 0x00, "30 Seconds" )
|
||||
|
||||
PORT_MODIFY("DSW3")
|
||||
PORT_DIPNAME( 0x07, 0x07, "Key In Coinage" ) PORT_DIPLOCATION("SW3:1,2,3")
|
||||
PORT_DIPSETTING( 0x00, "1 Coin/500 Credits" )
|
||||
PORT_DIPSETTING( 0x01, "1 Coin/200 Credits" )
|
||||
PORT_DIPSETTING( 0x02, "1 Coin/100 Credits" )
|
||||
PORT_DIPSETTING( 0x03, "1 Coin/50 Credits" )
|
||||
PORT_DIPSETTING( 0x04, "1 Coin/25 Credits" )
|
||||
PORT_DIPSETTING( 0x05, "1 Coin/20 Credits" )
|
||||
PORT_DIPSETTING( 0x06, "1 Coin/10 Credits" )
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPNAME( 0x78, 0x40, DEF_STR( Coinage ) ) PORT_DIPLOCATION("SW3:4,5,6,7")
|
||||
PORT_DIPSETTING( 0x78, "10 Coins/1 Credit" )
|
||||
PORT_DIPSETTING( 0x70, DEF_STR( 5C_1C ) )
|
||||
PORT_DIPSETTING( 0x68, "5 Coins/2 Credits" )
|
||||
PORT_DIPSETTING( 0x60, DEF_STR( 4C_1C ) )
|
||||
PORT_DIPSETTING( 0x58, DEF_STR( 3C_1C ) )
|
||||
PORT_DIPSETTING( 0x50, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x48, DEF_STR( 2C_3C ) )
|
||||
PORT_DIPSETTING( 0x38, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING( 0x30, DEF_STR( 1C_4C ) )
|
||||
PORT_DIPSETTING( 0x28, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPSETTING( 0x20, "1 Coin/10 Credits" )
|
||||
PORT_DIPSETTING( 0x18, "1 Coin/20 Credits" )
|
||||
PORT_DIPSETTING( 0x10, "1 Coin/25 Credits" )
|
||||
PORT_DIPSETTING( 0x08, "1 Coin/50 Credits" )
|
||||
PORT_DIPSETTING( 0x00, "1 Coin/100 Credits" )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW3:8" )
|
||||
|
||||
PORT_MODIFY("DSW4")
|
||||
PORT_DIPNAME( 0x01, 0x01, "Pinkiri Bonus" ) PORT_DIPLOCATION("SW4:1")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x02, 0x02, "Same Month Bonus" ) PORT_DIPLOCATION("SW4:2")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( Yes ) )
|
||||
PORT_DIPNAME( 0x04, 0x00, "Play Time Limit" ) PORT_DIPLOCATION("SW4:3")
|
||||
PORT_DIPSETTING( 0x04, "7 Seconds" )
|
||||
PORT_DIPSETTING( 0x00, "12 Seconds" )
|
||||
PORT_DIPNAME( 0x18, 0x00, "Credit Clear" ) PORT_DIPLOCATION("SW4:4,5")
|
||||
PORT_DIPSETTING( 0x00, "300 Seconds" )
|
||||
PORT_DIPSETTING( 0x08, "180 Seconds" )
|
||||
PORT_DIPSETTING( 0x10, "120 Seconds" )
|
||||
PORT_DIPSETTING( 0x18, "60 Seconds" )
|
||||
PORT_DIPNAME( 0x20, 0x20, "Panel Type" ) PORT_DIPLOCATION("SW4:6") // no real difference?
|
||||
PORT_DIPSETTING( 0x20, "Mahjong" )
|
||||
PORT_DIPSETTING( 0x00, "Hanafuda" )
|
||||
PORT_DIPNAME( 0x40, 0x40, "Flip Flop Button" ) PORT_DIPLOCATION("SW4:7")
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x40, DEF_STR( Yes ) )
|
||||
PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "SW4:8" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
static const gfx_layout charlayout =
|
||||
{
|
||||
@ -970,5 +1278,5 @@ static DRIVER_INIT( ronjan )
|
||||
}
|
||||
|
||||
GAME( 1992, janshi, 0, pinkiri8, janshi, 0, ROT0, "Eagle", "Janshi", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
|
||||
GAME( 1994, ronjan, 0, pinkiri8, pinkiri8, ronjan, ROT0, "Wing Co., Ltd", "Ron Jan (Super)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING ) // 'SUPER' flashes in the middle of the screen
|
||||
GAME( 1994, ronjan, 0, pinkiri8, ronjan, ronjan, ROT0, "Wing Co., Ltd", "Ron Jan (Super)", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING ) // 'SUPER' flashes in the middle of the screen
|
||||
GAME( 1994, pinkiri8, 0, pinkiri8, pinkiri8, 0, ROT0, "Alta", "Pinkiri 8", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_GRAPHICS | GAME_NOT_WORKING )
|
||||
|
Loading…
Reference in New Issue
Block a user