listsource
Option Category #
# FRONTEND COMMANDS
#
Description This option will generate a complete list of all the systems supported by MAME giving the driver name and which source files it requires.

If you add a system name after the -listsource it will only tell you the information for that system. There is a wildcard option that will let you generate a list containing systems of certain names e.g. -listsource puck* will generate a list of systems starting with puck. If you want to direct the list to a text file then use this command mame64 -listsource >listsource.txt. Again, you can use this on a specific system by adding the system name after the -listsource.
Full Command -listsource <system|wildcard>
Alt. Command -ls
Reverse Command none
Example mame64 -listsource
mame.ini Command none
Command Default none
Argument Format <system|wildcard>