As long as you describe inputs sufficiently, AIs can figure out the rest themselves nowadays.
Point it to mame and it will find the relevant driver, and take it from there. Claude code will also take screenshots of the process and whatnot.
Its scary how good modern models are.
It will...