Ok many posts in a row today, but I have already gone a bit into this project so I want to share it all in a somewhat cronological order, as well as these posts keep me on my toes about actually finishing it since there might be people watching me here. Haha.

Anyway, as I mentioned earlier I wanted to use this as the mame brain:

A Via Epia CN13000 which I originally had in a
robot project I was doing but havent touched in a while. For that I decided the Via was just too slow so I got another mini-itx as the robot brain which worked much better. So the Via Epia was just lying around really, collecting dust. I really wanted to use that for this Donkey Kong project - surely this 1.3 GHz board should be able to emulate a 1981 game?!? Well, so far it has proved to be somewhat of a nightmare, and I have spent more time experimenting with mame for that than I have building my cabinet which I should be doing!
Anyway, the first issue was choosing an OS - I basically had three options, WinXp, Linux or DOS. WinXP I really wanted to avoid for two reasons, slow boot and unecessary big install as well as I had to get hold of a valid license unless I wanted to break laws. I wish MS had a free OS for embedded hobby stuff like this... alas they dont so Linux was really an option then to look at first. After some back and forth I was able to install xubuntu on a USB stick and boot from that - yay, got a nice desktop up and everything worked brilliantly. Installing that to hd and it would boot faster too. I then installed mame and tried to run it... blargh... complete and utter slideshow of a thing. Not playable at all. Obviously I would have to try to find an earlier build of mame but I felt the speed was really appaling so I had no real hopes. Perhaps it was using the wrong drivers for the via graphics? I had no idea, and I was unfortunately not skilled to figure out which graphics driver was running and if there was one for the via CN700 that would improve matters.
So I looked at another linux distro, one specifically made for gaming classics:
Puppy Arcade 10. That also booted up brilliantly from a USB stick and I was pretty pleased with the presentation and how easy it was to use. So I tried mame and Donkey Kong... blarghhh again... only around 50% speed. If I changed the desktop to 640x480x16 I was able to get around 60%. It was using the vesa drivers and I saw there was some things about switching to xorg drivers, and according to some tips from others they should be faster too... perhaps... I havent gotten around to trying that yet though.
I wanted to try another option alltogheter: FreeDos. I used Rufus 1.1.7f which makes a bootable USB stick with FreeDos. That booted up just fine on the Via and it was very strange to be back in DOS land after all these years. Anyway my mission then was to find mame compiled for it, so I found
mame for dos 0.90b and got that working fine after a failed attempt at getting advancemame for dos to work (it gave me a scrambled screen). I think perhaps it was a missing memory driver that broke advancemame, as I got a similar problem with mame for dos which at least gave me an error message that could be interpreted. Well, wouldnt you know, the game runs at 100%!!! YAY! I was so happy about this because even from a bog old slow 512kb USB stick this thing boots up quite fast and loads Donkey Kong just like that! I imagine a newer USB stick would work even better (the Via board has USB 2.0 ports actually).
Well, so then came the next challenge really, how to get sound working? I recall my old sound blaster times (and later a Gravis Ultrasound) that there were some BLASTER variable you could set and stuff. I googled up a bit and learned that some via boards actually had sound blaster emulation. I was very eager to try that out but realised that my bios didnt have the option I was supposed to look for, only to learn that for the CN13000, this feature was removed! GRRRR!! Oh well, and looking more closely around the internet it seems there is no good way to get mame with sound on the via board without a real soundblaster installed. So that is really the option I am considering, I might even find and old soundblaster in my boxes. I really enjoy this simple DOS solution so it would be a shame to have to go the WinXP route where I know the AC97 is well supported by drivers, and possibly even graphics accelleration.
The WinXP looks even more tempting now that I also have realised that hooking up the Ipac to a USB port can get erratic results in DOS - and I really experienced that since DK drops to 70% speed once I do anything on the controller (but not when I use the keyboard, even a USB one, very odd). Ultimarc mentions something about slow support in DOS and a better option is to use the PS2 plug then - I just have to get hold of a male-male PS2 cable then which I currently dont have. Anyone have a cheap WinXP license I can buy for a dollar?

So this has been a "little" introduction to my hardware woes, but generally I am very satisfied to see mame run fine under FreeDos but I really need sound and its tempting to just choose WinXP since I could then use the onboard AC97 and not hassle with an additional PCI card. I guess I could fix bootup speed a bit by nLite'ing XP a bit as well as getting a cheap 30GB china SSD. It might even make the system able to be used for more than Donkey Kong then as well... haha.

BTW, while I am at it, which mame would you run in dos? I am not sure if the 0.90b that I found (link above) is any good? Anything that might be faster? Or even fix my Ipac troubles?