summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cv1k.cpp
diff options
context:
space:
mode:
author MetalliC <0vetal0@gmail.com>2017-11-16 09:48:26 +0200
committer MetalliC <0vetal0@gmail.com>2017-11-16 09:48:26 +0200
commitdcfec6125b082dbbd069c597ecdb1318bddf6688 (patch)
tree059a45add61b97c32d1bee31fb83c4524422c782 /src/mame/drivers/cv1k.cpp
parent31660e1498764ec4c4a1478ab8417ad63560fbf1 (diff)
cv1k.cpp: consistent service mode enter button (nw)
Diffstat (limited to 'src/mame/drivers/cv1k.cpp')
-rw-r--r--src/mame/drivers/cv1k.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/mame/drivers/cv1k.cpp b/src/mame/drivers/cv1k.cpp
index 8bb613248ff..da9cf4f3cad 100644
--- a/src/mame/drivers/cv1k.cpp
+++ b/src/mame/drivers/cv1k.cpp
@@ -138,7 +138,7 @@ Information by The Sheep, rtw, Ex-Cyber, BrianT & Guru
------------------------------------------------------
- To enter service mode in most cases hold down 0 (Service 2) for a few seconds
+ To enter service mode in most cases hold down Service (F2) for a few seconds
(I believe it's the test button on the PCB)
Some games also use the test dipswitch as an alternative method.
@@ -367,7 +367,7 @@ static ADDRESS_MAP_START( cv1k_port, AS_IO, 64, cv1k_state )
ADDRESS_MAP_END
-static INPUT_PORTS_START( cv1k )
+static INPUT_PORTS_START( cv1k_base )
PORT_START("DSW") // 18000050.l (18000050.b + 3 i.e. MSB + 3, is shown as DIPSW)
// note: physical switch have default/Off position marked as "ON" which is a bit confusing
PORT_DIPUNUSED_DIPLOC( 0x01, 0x00, "S2:1" )
@@ -378,7 +378,7 @@ static INPUT_PORTS_START( cv1k )
PORT_START("PORT_C")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 ) // Service coin
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // Test Button on JAMMA Edge
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 ) // Test Button on JAMMA Edge
PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 ) // TODO: IMPLEMENT COIN ERROR!
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN2 )
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
@@ -396,7 +396,7 @@ static INPUT_PORTS_START( cv1k )
PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1)
PORT_START("PORT_F")
- PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 ) // S3 Test Push Button
+ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 ) // S3 Test Push Button
PORT_BIT( 0xfd, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START("PORT_L") // 4000134.b, 4000136.b
@@ -423,8 +423,15 @@ static INPUT_PORTS_START( cv1k )
PORT_ADJUSTER(50, "Blitter Delay")
INPUT_PORTS_END
+static INPUT_PORTS_START( cv1k )
+ PORT_INCLUDE( cv1k_base )
+
+ PORT_MODIFY("PORT_F")
+ PORT_SERVICE_NO_TOGGLE( 0x02, IP_ACTIVE_LOW ) // S3 Test Push Button
+INPUT_PORTS_END
+
static INPUT_PORTS_START( cv1ks )
- PORT_INCLUDE( cv1k )
+ PORT_INCLUDE( cv1k_base )
PORT_MODIFY("DSW")
PORT_SERVICE_DIPLOC( 0x01, IP_ACTIVE_HIGH, "S2:1")