diff --git a/src/mame/drivers/wallc.cpp b/src/mame/drivers/wallc.cpp index 1dbf2b24bc5..fb7adfeafa5 100644 --- a/src/mame/drivers/wallc.cpp +++ b/src/mame/drivers/wallc.cpp @@ -245,7 +245,7 @@ VIDEO_START_MEMBER(wallc_state, unkitpkr) VIDEO_START_MEMBER(wallc_state, sidampkr) { - m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(wallc_state::get_bg_tile_info_unkitpkr), this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); + m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(wallc_state::get_bg_tile_info), this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); } uint32_t wallc_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) @@ -303,7 +303,7 @@ void wallc_state::unkitpkr_map(address_map &map) map(0x8000, 0x83ff).ram().w(this, FUNC(wallc_state::videoram_w)).mirror(0xc00).share("videoram"); /* 2114, 2114 */ map(0xa000, 0xa3ff).ram(); /* 2114, 2114 */ - map(0xb000, 0xb000).portr("IN0"); + map(0xb000, 0xb000).portr("DSW1"); map(0xb100, 0xb100).portr("IN1"); map(0xb200, 0xb200).portr("IN2"); map(0xb300, 0xb300).portr("IN3"); @@ -375,15 +375,15 @@ static INPUT_PORTS_START( wallc ) INPUT_PORTS_END static INPUT_PORTS_START( unkitpkr ) - PORT_START("IN0") /* b000 */ - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) - PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) + PORT_START("DSW1") /* b000 */ + PORT_DIPUNKNOWN_DIPLOC(0x01, 0x01, "SW1:1") + PORT_DIPUNKNOWN_DIPLOC(0x02, 0x02, "SW1:2") + PORT_DIPUNKNOWN_DIPLOC(0x04, 0x04, "SW1:3") + PORT_DIPUNKNOWN_DIPLOC(0x08, 0x08, "SW1:4") + PORT_DIPUNKNOWN_DIPLOC(0x10, 0x10, "SW1:5") + PORT_DIPUNKNOWN_DIPLOC(0x20, 0x20, "SW1:6") + PORT_DIPUNKNOWN_DIPLOC(0x40, 0x40, "SW1:7") + PORT_DIPUNKNOWN_DIPLOC(0x80, 0x80, "SW1:8") PORT_START("IN1") /* b100 */ PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) @@ -415,7 +415,7 @@ static INPUT_PORTS_START( unkitpkr ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 ) - PORT_START("DSW") /* b600 */ + PORT_START("DSW2") /* b600 */ PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW2:1,2") // ok PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x01, DEF_STR( 1C_2C ) ) @@ -438,14 +438,20 @@ INPUT_PORTS_END static INPUT_PORTS_START( sidampkr ) PORT_INCLUDE(unkitpkr) - PORT_MODIFY("IN0") /* b000 */ + PORT_MODIFY("DSW1") /* b000 */ PORT_DIPNAME( 0x01, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("SW1:1") PORT_DIPSETTING( 0x00, DEF_STR( English ) ) PORT_DIPSETTING( 0x01, DEF_STR( French ) ) PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "SW1:2" ) - PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "SW1:3" ) - PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "SW1:4" ) - PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "SW1:5" ) + PORT_DIPNAME( 0x1c, 0x00, "Min/Max Bet" ) PORT_DIPLOCATION("SW1:3,4,5") + PORT_DIPSETTING( 0x00, "Min:1; Max:2" ) + PORT_DIPSETTING( 0x04, "Min:1; Max:5" ) + PORT_DIPSETTING( 0x08, "Min:1; Max:8" ) + PORT_DIPSETTING( 0x0c, "Min:2; Max:10" ) + PORT_DIPSETTING( 0x10, "Min:5; Max:15" ) + PORT_DIPSETTING( 0x14, "Min:10; Max:20" ) + PORT_DIPSETTING( 0x18, "Min:15; Max:30" ) + PORT_DIPSETTING( 0x1c, "Min:20; Max:40" ) PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "SW1:6" ) PORT_DIPUNKNOWN_DIPLOC( 0x40, 0x40, "SW1:7" ) PORT_DIPUNKNOWN_DIPLOC( 0x80, 0x80, "SW1:8" ) @@ -550,7 +556,7 @@ MACHINE_CONFIG_START(wallc_state::unkitpkr) /* sound hardware */ MCFG_DEVICE_MODIFY("aysnd") - MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW")) + MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW2")) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) MACHINE_CONFIG_END @@ -771,5 +777,5 @@ GAME( 1984, wallc, 0, wallc, wallc, wallc_state, wallc, ROT0, GAME( 1984, wallca, wallc, wallca, wallc, wallc_state, wallca, ROT0, "Midcoin", "Wall Crash (set 2)", MACHINE_SUPPORTS_SAVE ) GAME( 1984, brkblast, wallc, wallc, wallc, wallc_state, wallca, ROT0, "bootleg (Fadesa)", "Brick Blast (bootleg of Wall Crash)", MACHINE_SUPPORTS_SAVE ) // Spanish bootleg board, Fadesa stickers / text on various components -GAME( 1984, sidampkr, 0, sidampkr, sidampkr, wallc_state, sidam, ROT270, "Sidam", "unknown Sidam Poker", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) // strings in English and French, same codebase as unkitpkr +GAME( 1984, sidampkr, 0, sidampkr, sidampkr, wallc_state, sidam, ROT270, "Sidam", "unknown Sidam Poker", MACHINE_NOT_WORKING | MACHINE_SUPPORTS_SAVE ) // needs correct decoding of the color PROM. Using the unkitpkr one gives correct colors and makes the game playable. GAME( 198?, unkitpkr, 0, unkitpkr, unkitpkr, wallc_state, unkitpkr, ROT0, "", "unknown Italian poker game", MACHINE_SUPPORTS_SAVE )