I'm currently in the process of building a MAME cabinet and was wondering about 2 things.
1) is it possible to query the inputs of roms? Something like "rom1 uses 2 joysticks and 3 button and rom2 uses 2 joystick and 6 buttons". I want to install those rgb lit buttons and wanted to hook them up to an Arduino and only light those buttons up, that are supported by a particular rom.
2) is it possible to sniff the memory of a rom during runtime? I was thinking of installing a DMD which displays some informations for certain roms like highscore. I would achieve that with writing code for those roms that I want to support. The code would sniff specific memory regions for those informations.
Thanks in advance