I don't know of a step-by-step guide to setting up DOS Mame.
Try installing the DOS 7.10 that is available here:
http://newdos.yginfo.net/msdos71They even have a bootable cd-rom image that you can use just like a Windows install. As far as I can remember, it should let you format and partition your hard drive during the install.
After that, read through
The Purple Mame Page to get an idea of how you need your autoxec.bat and config.sys setup (they'll probably be fine unless you're using an arcade monitor). Generally, if you're just using a PC monitor you shouldn't need to
change anything, but you will need to
add some lines to get your soundcard working and get your frontend to startup.
Here's some bare necessities that most DOS tutorials already assume that you know:
Config.sys runs when the computer first starts up. Among other things, it tells the PC what memory manager to use and how to setup the CD-Rom.
Autoexec.bat runs right after config.sys. It tells the PC how to set your soundcard (points it towards your DOS dirvers), how to setup your video card to work properly on whatever monitor you have, and whatever else you want the PC to do on startup. For a DOS Mame box, the last few lines of autoexec will tell it to run
ArcadeOS or
another DOS frontend.
Both these files are located at the C:\ root. To edit them from the C:\ prompt, type:
edit autoexec.bat
Hope this helps a little. Let me know if I'm being too basic here.
Edit: A couple of years ago there was a bootable CD that formatted your hard drive, installed the minimum of DOS that Mame needs, ArcadeOS and Mame. I think it was called "Fraggle's Boot CD", but I think it has since dissappeared. There is a similar bootable CD called
Omnicade but I've never tried and the
RetroBlast review wasn't too kind on it.