Download and install the latest version of Mame (this guide has been update for MAME version 0.277).
For this blog entry I’m going to walk through setting up MAME to emulate a Macintosh Plus with the assumption your using MAME instead of Basilisk II because you want to initialize and partition an image file that you created from a physical drive, SD card etc. Most people use it to emulate old arcade systems and gaming consoles, but it also provide support for several of the 68k Macintosh Systems (search the page for mac.c). You likely already know what MAME is, but if not, the simplest description is a multi-purpose emulator.