From 52088c506fac581a3f8493cd8e1df8b20bc4fcf6 Mon Sep 17 00:00:00 2001 From: JOTEGO Date: Mon, 5 Aug 2024 17:13:43 +0200 Subject: konami/xmen.cpp: Add service switch inputs (#12641) --- src/mame/konami/xmen.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/mame/konami/xmen.cpp b/src/mame/konami/xmen.cpp index 013ea020b4b..94ab650941d 100644 --- a/src/mame/konami/xmen.cpp +++ b/src/mame/konami/xmen.cpp @@ -20,6 +20,8 @@ The board only has one of each gfx chip, the only additional chip not found on the 2/4p board is 053253. This chip is also on Run n Gun which is likewise a 2 screen game. +Reverse-engineered schematics: https://github.com/jotego/jtbin/blob/master/sch/xmen.pdf + ***************************************************************************/ #include "emu.h" @@ -508,7 +510,11 @@ static INPUT_PORTS_START( xmen ) KONAMI16_MSB_UDLR(4, IPT_BUTTON3, IPT_COIN4 ) PORT_START("EEPROM") - PORT_BIT( 0x003f, IP_ACTIVE_LOW, IPT_UNKNOWN ) // unused? + PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_SERVICE1 ) + PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_SERVICE2 ) + PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_SERVICE3 ) + PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_SERVICE4 ) + PORT_BIT( 0x0030, IP_ACTIVE_LOW, IPT_UNKNOWN ) // unused PORT_BIT( 0x0040, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_er5911_device, do_read) PORT_BIT( 0x0080, IP_ACTIVE_HIGH, IPT_CUSTOM ) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_serial_er5911_device, ready_read) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_START1 ) -- cgit v1.2.3