From 6f280a898215410f503e3a322ef8234012a0fc51 Mon Sep 17 00:00:00 2001 From: flama12333 <143599905+flama12333@users.noreply.github.com> Date: Sat, 26 Apr 2025 17:11:36 -0500 Subject: [PATCH 1/4] add in game music info in the dip switch for koftball.cpp the sw1 number 2 could be auto-play in kaimenhu but unused in jxzh due to different. --- src/mame/bmc/koftball.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/bmc/koftball.cpp b/src/mame/bmc/koftball.cpp index 7c1186051216b..143ed53d9127b 100644 --- a/src/mame/bmc/koftball.cpp +++ b/src/mame/bmc/koftball.cpp @@ -516,7 +516,7 @@ static INPUT_PORTS_START( jxzh ) PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:!3") PORT_DIPSETTING( 0x2000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:!2") + PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( In-Game Music ) ) PORT_DIPLOCATION("SW2:!2") PORT_DIPSETTING( 0x4000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:!1") From eecd4f311bd7ec19a7ea49e9e894feb02c119030 Mon Sep 17 00:00:00 2001 From: flama12333 <143599905+flama12333@users.noreply.github.com> Date: Sat, 26 Apr 2025 17:22:16 -0500 Subject: [PATCH 2/4] also update dip switch info for kaimenhu koftball.cpp at dip switch 1 number 2 not sure but look like autoplay . --- src/mame/bmc/koftball.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/bmc/koftball.cpp b/src/mame/bmc/koftball.cpp index 143ed53d9127b..77b531136813a 100644 --- a/src/mame/bmc/koftball.cpp +++ b/src/mame/bmc/koftball.cpp @@ -424,7 +424,7 @@ static INPUT_PORTS_START( koftball ) PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!2") PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!1") + PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( AutoPlay ) ) PORT_DIPLOCATION("SW1:!1") PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:!8") @@ -492,7 +492,7 @@ static INPUT_PORTS_START( jxzh ) PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!3") PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!2") + PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( AutoPlay ) ) PORT_DIPLOCATION("SW1:!2") PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!1") From 9811cbbd99b11db74cd375c32a502a57838ee1d7 Mon Sep 17 00:00:00 2001 From: flama12333 <143599905+flama12333@users.noreply.github.com> Date: Mon, 28 Apr 2025 13:19:02 -0500 Subject: [PATCH 3/4] add PORT_DIPNAME koftball.cpp --- src/mame/bmc/koftball.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/bmc/koftball.cpp b/src/mame/bmc/koftball.cpp index 77b531136813a..77d0f1ada348a 100644 --- a/src/mame/bmc/koftball.cpp +++ b/src/mame/bmc/koftball.cpp @@ -516,7 +516,7 @@ static INPUT_PORTS_START( jxzh ) PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:!3") PORT_DIPSETTING( 0x2000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( In-Game Music ) ) PORT_DIPLOCATION("SW2:!2") + PORT_DIPNAME( 0x4000, 0x4000, "In-Game Music" ) PORT_DIPLOCATION("SW2:!2") PORT_DIPSETTING( 0x4000, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x8000, 0x0000, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:!1") From 6050653877323328cd1d586593c8bcdd197c2e3e Mon Sep 17 00:00:00 2001 From: flama12333 <143599905+flama12333@users.noreply.github.com> Date: Mon, 28 Apr 2025 13:24:22 -0500 Subject: [PATCH 4/4] Update koftball.cpp --- src/mame/bmc/koftball.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mame/bmc/koftball.cpp b/src/mame/bmc/koftball.cpp index 77d0f1ada348a..9e4414e753bfe 100644 --- a/src/mame/bmc/koftball.cpp +++ b/src/mame/bmc/koftball.cpp @@ -424,8 +424,8 @@ static INPUT_PORTS_START( koftball ) PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!2") PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( AutoPlay ) ) PORT_DIPLOCATION("SW1:!1") - PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) + PORT_DIPNAME( 0x0080, 0x0080, "AutoPlay?" ) PORT_DIPLOCATION("SW1:!1") + PORT_DIPSETTING( 0x0080, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW2:!8") PORT_DIPSETTING( 0x0100, DEF_STR( Off ) ) @@ -492,8 +492,8 @@ static INPUT_PORTS_START( jxzh ) PORT_DIPNAME( 0x0020, 0x0020, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!3") PORT_DIPSETTING( 0x0020, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) - PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( AutoPlay ) ) PORT_DIPLOCATION("SW1:!2") - PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) + PORT_DIPNAME( 0x0040, 0x0040, "AutoPlay?" ) PORT_DIPLOCATION("SW1:!2") + PORT_DIPSETTING( 0x0040, DEF_STR( Off ) ) PORT_DIPSETTING( 0x0000, DEF_STR( On ) ) PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:!1") PORT_DIPSETTING( 0x0080, DEF_STR( Off ) )