figured out 2 of the dipswitches.

This commit is contained in:
David Haywood 2016-10-05 16:52:28 +01:00
parent 1bdbde7fa8
commit a32bbdf009

View File

@ -91,7 +91,7 @@ WRITE8_MEMBER(mjsenpu_state::palette_high_w)
WRITE8_MEMBER(mjsenpu_state::oki_bank_w)
{
// or some input muxing?
if (data!=0x80 && data !=0x81)
if (data &~0x93)
printf("oki bank_w %02x\n", data);
}
@ -214,9 +214,9 @@ static INPUT_PORTS_START( mjsenpu )
PORT_DIPNAME( 0x00000004, 0x00000004, "Value 3" )
PORT_DIPSETTING( 0x00000004, "0" )
PORT_DIPSETTING( 0x00000000, "1" )
PORT_DIPNAME( 0x00000008, 0x00000008, "Symbol 1" )
PORT_DIPSETTING( 0x00000008, "0" )
PORT_DIPSETTING( 0x00000000, "1" )
PORT_DIPNAME( 0x00000008, 0x00000000, DEF_STR( Demo_Sounds ) )
PORT_DIPSETTING( 0x00000008, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00000000, DEF_STR( On ) )
PORT_DIPNAME( 0x00000010, 0x00000010, DEF_STR( Flip_Screen ) )
PORT_DIPSETTING( 0x00000010, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00000000, DEF_STR( On ) )
@ -240,9 +240,9 @@ static INPUT_PORTS_START( mjsenpu )
PORT_DIPNAME( 0x00000004, 0x00000004, "Symbol 3" )
PORT_DIPSETTING( 0x00000004, "0" )
PORT_DIPSETTING( 0x00000000, "1" )
PORT_DIPNAME( 0x00000008, 0x00000008, "Symbol 4" )
PORT_DIPSETTING( 0x00000008, "0" )
PORT_DIPSETTING( 0x00000000, "1" )
PORT_DIPNAME( 0x00000008, 0x00000008, "Control Type" )
PORT_DIPSETTING( 0x00000008, "Mahjong Panel" )
PORT_DIPSETTING( 0x00000000, "Joystick" )
PORT_DIPNAME( 0x00000010, 0x00000010, "Symbol 5" )
PORT_DIPSETTING( 0x00000010, "0" )
PORT_DIPSETTING( 0x00000000, "1" )