In MAME, setting it up globaly to FREE play, NO such thing
however you can run each game and go to the dip/switches and set it to FREE PLAY, thats the only way.
If you use ADvmame, there is a feature that set everything (Globaly)FREE PLAY if the game of course supports FREE Play.