spoker.cpp: identified some dips (nw)

This commit is contained in:
Ivan Vangelista 2017-05-04 18:57:19 +02:00
parent f5c251f997
commit 905434eec0

View File

@ -291,7 +291,7 @@ static ADDRESS_MAP_START( 3super8_portmap, AS_IO, 8, spoker_state )
// AM_RANGE(0x4000, 0x40ff) AM_WRITENOP
AM_RANGE(0x5000, 0x5fff) AM_RAM_WRITE(fg_tile_w ) AM_SHARE("fg_tile_ram")
// The following one (0x6480) should be output. At begining of code, there is a PPI initialization
// The following one (0x6480) should be output. At beginning of code, there is a PPI initialization
// setting O-I-I for ports ABC. Except these routines are just a leftover from the original game,
// and now the I/O is handled by a CPLD or FPGA (as seen in goldstar and gp98).
AM_RANGE(0x6480, 0x6480) AM_READ_PORT( "IN0" )
@ -316,16 +316,27 @@ static INPUT_PORTS_START( spoker )
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_DIPUNKNOWN( 0x02, 0x02 )
PORT_DIPUNKNOWN( 0x04, 0x04 )
PORT_DIPUNKNOWN( 0x08, 0x08 )
PORT_DIPUNKNOWN( 0x10, 0x10 )
PORT_DIPUNKNOWN( 0x20, 0x20 )
PORT_DIPNAME( 0x1c, 0x1c, DEF_STR( Coinage ) )
PORT_DIPSETTING( 0x1c, DEF_STR( 1C_1C ) )
PORT_DIPSETTING( 0x18, DEF_STR( 1C_2C ) )
PORT_DIPSETTING( 0x14, DEF_STR( 1C_4C ) )
PORT_DIPSETTING( 0x10, DEF_STR( 1C_5C ) )
PORT_DIPSETTING( 0x0c, "1 Coin/10 Credits" )
PORT_DIPSETTING( 0x08, "1 Coin/20 Credits" )
PORT_DIPSETTING( 0x04, "1 Coin/40 Credits" )
PORT_DIPSETTING( 0x00, "1 Coin/50 Credits" )
PORT_DIPNAME( 0x20, 0x20, "Card Type" )
PORT_DIPSETTING( 0x20, "Cards" )
PORT_DIPSETTING( 0x00, "Numbers" )
PORT_DIPUNKNOWN( 0x40, 0x40 )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START("DSW2")
PORT_DIPUNKNOWN( 0x01, 0x01 )
PORT_DIPUNKNOWN( 0x02, 0x02 )
PORT_DIPNAME( 0x03, 0x00, "Min Bet" )
PORT_DIPSETTING( 0x03, "1" )
PORT_DIPSETTING( 0x02, "5" )
PORT_DIPSETTING( 0x01, "10" )
PORT_DIPSETTING( 0x00, "20" )
PORT_DIPUNKNOWN( 0x04, 0x04 )
PORT_DIPUNKNOWN( 0x08, 0x08 )
PORT_DIPUNKNOWN( 0x10, 0x10 )
@ -344,10 +355,30 @@ static INPUT_PORTS_START( spoker )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START("DSW4")
PORT_DIPUNKNOWN( 0xff, 0xff )
PORT_DIPNAME( 0x07, 0x07, "Max Bet" )
PORT_DIPSETTING( 0x07, "1" )
PORT_DIPSETTING( 0x06, "2" )
PORT_DIPSETTING( 0x05, "5" )
PORT_DIPSETTING( 0x04, "10" )
PORT_DIPSETTING( 0x03, "20" )
PORT_DIPSETTING( 0x02, "40" )
PORT_DIPSETTING( 0x01, "50" )
PORT_DIPSETTING( 0x00, "100" )
PORT_DIPUNKNOWN( 0x08, 0x08 )
PORT_DIPUNKNOWN( 0x10, 0x10 )
PORT_DIPUNKNOWN( 0x20, 0x20 )
PORT_DIPUNKNOWN( 0x40, 0x40 )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START("DSW5")
PORT_DIPUNKNOWN( 0xff, 0xff )
PORT_DIPUNKNOWN( 0x01, 0x01 )
PORT_DIPUNKNOWN( 0x02, 0x02 )
PORT_DIPUNKNOWN( 0x04, 0x04 )
PORT_DIPUNKNOWN( 0x08, 0x08 )
PORT_DIPUNKNOWN( 0x10, 0x10 )
PORT_DIPUNKNOWN( 0x20, 0x20 )
PORT_DIPUNKNOWN( 0x40, 0x40 )
PORT_DIPUNKNOWN( 0x80, 0x80 )
PORT_START("SERVICE")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )