mirror of
https://github.com/holub/mame
synced 2025-04-23 17:00:53 +03:00
add Bare Knuckle III inputs, promoted to working.
This commit is contained in:
parent
7b4440920a
commit
f1e007b14f
@ -673,6 +673,39 @@ static INPUT_PORTS_START( topshoot ) /* Top Shooter Input Ports */
|
||||
PORT_BIT( 0xfe, IP_ACTIVE_LOW, IPT_UNKNOWN )
|
||||
INPUT_PORTS_END
|
||||
|
||||
INPUT_PORTS_START( barek3 )
|
||||
PORT_INCLUDE( md_common )
|
||||
|
||||
PORT_START("COINS")
|
||||
PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_COIN1 )
|
||||
PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_COIN2 )
|
||||
|
||||
PORT_START("DSW")
|
||||
PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 4C_1C ) )
|
||||
PORT_DIPSETTING( 0x01, DEF_STR( 3C_1C ) )
|
||||
PORT_DIPSETTING( 0x02, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x07, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x06, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING( 0x05, DEF_STR( 1C_3C ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( 1C_4C ) )
|
||||
PORT_DIPSETTING( 0x03, DEF_STR( 1C_5C ) )
|
||||
PORT_DIPNAME(0x18, 0x00, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING( 0x18, "1" )
|
||||
PORT_DIPSETTING( 0x10, "2" )
|
||||
PORT_DIPSETTING( 0x08, "3" )
|
||||
PORT_DIPSETTING( 0x00, "4" )
|
||||
PORT_DIPNAME(0xe0, 0x00, "Unknown" )
|
||||
PORT_DIPSETTING( 0x00, "8" )
|
||||
PORT_DIPSETTING( 0x20, "6" )
|
||||
PORT_DIPSETTING( 0x40, "2" )
|
||||
PORT_DIPSETTING( 0x60, "0" )
|
||||
PORT_DIPSETTING( 0x80, "4" )
|
||||
PORT_DIPSETTING( 0xa0, "4" )
|
||||
PORT_DIPSETTING( 0xc0, "4" )
|
||||
PORT_DIPSETTING( 0xe0, "4" )
|
||||
INPUT_PORTS_END
|
||||
|
||||
/*************************************
|
||||
*
|
||||
* Machine Configuration
|
||||
@ -927,6 +960,9 @@ void md_boot_state::init_barek3()
|
||||
rom[x] = bitswap<8>(rom[x], 6,2,4,0,7,1,3,5);
|
||||
}
|
||||
|
||||
m_maincpu->space(AS_PROGRAM).install_read_port(0x380070, 0x380071, "COINS");
|
||||
m_maincpu->space(AS_PROGRAM).install_read_port(0x380078, 0x380079, "DSW");
|
||||
|
||||
init_megadrij();
|
||||
}
|
||||
|
||||
@ -942,4 +978,4 @@ GAME( 1994, ssf2mdb, 0, megadrvb_6b, ssf2mdb, md_boot_state, init_ssf2mdb, R
|
||||
GAME( 1993, srmdb, 0, megadrvb, srmdb, md_boot_state, init_srmdb, ROT0, "bootleg / Konami", "Sunset Riders (bootleg of Megadrive version)", 0)
|
||||
GAME( 1995, topshoot, 0, md_bootleg, topshoot, md_boot_state, init_topshoot, ROT0, "Sun Mixing", "Top Shooter", 0)
|
||||
GAME( 1993, sonic2mb, 0, megadrvb, aladmdb, md_boot_state, init_aladmdb, ROT0, "bootleg / Sega", "Sonic The Hedgehog 2 (bootleg of Megadrive version)", MACHINE_NOT_WORKING )
|
||||
GAME( 1993, barek3mb, 0, megadrvb, aladmdb, md_boot_state, init_barek3, ROT0, "bootleg / Sega", "Bare Knuckle III (bootleg of Megadrive version)", MACHINE_NOT_WORKING )
|
||||
GAME( 1994, barek3mb, 0, megadrvb, barek3, md_boot_state, init_barek3, ROT0, "bootleg / Sega", "Bare Knuckle III (bootleg of Megadrive version)", 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user