From b991f0e822518ec5a9d04a60dcb3c48eed1200a2 Mon Sep 17 00:00:00 2001 From: Steven Coomber <81829553+scoomby@users.noreply.github.com> Date: Wed, 17 Nov 2021 15:37:01 +0000 Subject: cop01.cpp: unknown dip switches enable an undocumented invulnerability cheat (MT#8132) (#8832) * cop01.cpp: unknown dip switches enable an undocumented invulnerability cheat (MT#8132) --- src/mame/drivers/cop01.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/mame/drivers/cop01.cpp b/src/mame/drivers/cop01.cpp index 61fdbc388f7..abeb582fc7d 100644 --- a/src/mame/drivers/cop01.cpp +++ b/src/mame/drivers/cop01.cpp @@ -233,7 +233,9 @@ static INPUT_PORTS_START( cop01 ) PORT_DIPSETTING( 0x08, DEF_STR( 2C_3C ) ) PORT_DIPSETTING( 0x0c, DEF_STR( 1C_3C ) ) PORT_DIPSETTING( 0x04, DEF_STR( 1C_6C ) ) - PORT_DIPUNUSED( 0x10, IP_ACTIVE_LOW ) + PORT_DIPNAME( 0x10, 0x10, "Invulnerability (Cheat, 1/2)" ) // Undocumented invulnerability cheat (both DIP switches need to be ON) + PORT_DIPSETTING( 0x10, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) ) PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x20, DEF_STR( On ) ) @@ -273,7 +275,9 @@ static INPUT_PORTS_START( cop01 ) PORT_DIPSETTING( 0x20, "30k 80k 50k+" ) PORT_DIPSETTING( 0x40, "30k 130k 100k+" ) PORT_DIPSETTING( 0x00, "30k 180k 150k+" ) - PORT_DIPUNUSED( 0x80, IP_ACTIVE_LOW ) + PORT_DIPNAME( 0x80, 0x80, "Invulnerability (Cheat, 2/2)" ) // Undocumented invulnerability cheat (both DIP switches need to be ON) + PORT_DIPSETTING( 0x80, DEF_STR( Off ) ) + PORT_DIPSETTING( 0x00, DEF_STR( On ) ) INPUT_PORTS_END /* There is an ingame bug at 0x00e4 to 0x00e6 that performs 3 times 'rrca' instead of 'rlca' -- cgit v1.2.3