mamedev / mame

MAME
https://www.mamedev.org/
Other
8.07k stars 2.01k forks source link

720: service mode missing in XML #12912

Open the-virtual-arcade opened 3 hours ago

the-virtual-arcade commented 3 hours ago

MAME version

0.270

System information

N/A

INI configuration details

No response

Emulated system/software

driver: atari/atarisy2.cpp

Incorrect behaviour

Hi

I'm making a website with INI files for MAME. One of them is reading "Free Play" dipswitch and "Service Mode" in the XML.

Download the INI file "PCB Properties" here:

https://the-virtual-arcade.github.io/

I found a game, 720, which has the service mode (using F2) but does NOT have it written in the XML.

The following tag is present in the XML for game 720

<input players="1" coins="3">

it should be

<input players="1" coins="3" service="yes">

Is it possible to add it?

Regards Harry, Virtual Arcade website

Expected behaviour

I expect all games with service mode having a service="yes"

Steps to reproduce

No response

Additional details

No response

ajrhacker commented 2 hours ago

The service="yes" XML attribute indicates the presence of non-toggle "Service" inputs (which are usually called "Test" switches on JAMMA boards), not "Service Mode" DIP switches (which are listed separately in the XML).

the-virtual-arcade commented 46 minutes ago

OK got it!

`

        <dipvalue name="On" value="0" />`

Is pressing F2 doing the same as switching the DIP switch above to "On"? Or what exactly is the function of F2 (it works in some games, but not in all) and is the availability of the F2 function written somewhere in the XML too?