If I was you I would go find a newer used computer and a newer set of rom's. You should be able to find both for free. Check crigslist or Goodwill for a new old PC and get ubuntu and
Attract mode. Just google for a newer rom set.
I would definitely not even try to do the following, as it would be a lot more work, I'm not even 100% sure how to do it, and it would be much harder then what I suggested above. But if you really want to stick with what you have then
FreeDOS may be a better OS for this. Get the old 0.36 MAME for DOS from
here, and you could probably get an old DOS FE like
Advancemame or
ArcadeOS. Again, this is a really bad idea, and it would be a lot of work for something out of date and worse in ever way.