Dedicated to my late brave, beautiful and silly mummy, Debra Ross. I love you mumster.

Skip navigation

Windows 3.x on Mac OS X using DOSBox

Windows 3.1 on Mac OS X: DOS Nostalgia on Intel Mac Hardware!

As I mentioned in the previous post in this mini-series, one of the options for running Windows 3.x on Mac OS X is using the excellent little DOSBox DOS emulator. While it is akin to comparing minnows to sharks in features, the latest Mac build of DOSBox (0.72) weighs in at 10MiB, compared to VirtualBox 2.0.4’s 34.6MiB or VMware Fusion’s 247.6MiB.

DOSBox also has some distinct advantages other than filesize if you just want to run DOS. You don’t need to worry about setting up your own copy of DOS from scratch, saving you the trouble of configuring AUTOEXEC.BAT and CONFIG.SYS, and all the graphics and audio for a huge slew of devices is already set up. For people interested in running Windows 3.x, DOSBox provides generic emulated hardware that you can easily install software for.

Setting it up

  1. Grab yourself a copy of DOSBox and install it. When you run it the first time you’ll get a window like this:

    DOSBox default screen

  2. Create a folder in your home directory that will serve as you C:\ drive in DOSBox. Alternatively if you want to keep things neat and tidy, you can create a dedicated disk image using Disk Utility.

  3. Create another folder within your dosbox folder or your disk image called setup for example, then copy the contents of each Windows 3.x floppy disk into it.

  4. If you created a disk image, mount it in Mac OS X, then fire up DOSBox and map your image to c:\. Obviously if you created a folder, reference that instead:

    mount c /Volumes/[NAME OF IMAGE]

  5. Now you can navigate to your Windows installation files and start the setup process:

    z:\> c:
    c:\> cd setup
    c:\setup\> setup.exe

Installing Windows

When you see this, you're home free!
When you see this, you’re home free!

The Windows 3.x installation process is fairly self explanatory, but just a few helpful pointers:

  1. Choose "Custom Installation" with your arrow keys during the DOS-based part of the installation.
  2. When you’re asked, don’t worry about using the option to search your drive for existing applications, there aren’t any! Leave the option to install printers checked though.
  3. When you’re asked about virtual memory, leave it with the default "Temporary" option. Because we’re dealing essentially with a folder not a real file system, "Permanent" virtual memory won’t work.
  4. You’ll be asked if you want to make any changes to AUTOEXEC.BAT and CONFIG.SYS. Choose "Let you make the modifications later", because DOSBox won’t use any boot files Windows creates anyway.
  5. When you get to the printer installation step, click the "Generic / Text Only" option and hit [Install...]. Windows in the day needed a printer, any printer, to display some fonts properly.

Creating a preferences file

To save yourself the trouble of writing out that nasty mount line each time you start DOSBox, and to allow yourself to tweak some performance options it’s best to create a preferences file.

  1. Within DOSBox, enter the following (in one line):

    config -writeconf "/Users/[YOUR-USER-NAME]/Library/Preferences/DOSBox Preferences”

  2. Quit DOSBox then open the file you just created in your favourite text editor. At the very end of the file is where your custom AUTOEXEC.BAT code can be written. Enter the exact line you entered above to map your disk image or folder to drive c:.

  3. Under this, enter the following line to help Windows and DOSBox locate files:

    SET PATH=%PATH%;C:\WINDOWS

  4. If you intend to use DOSBox just to run Windows 3.x, add these lines right after your mount line so Windows starts when you start DOSBox, and DOSBox quits when Windows does:

    WIN
    EXIT

Starting Windows 3.x

Now you have a basic Windows 3.x installation running on your Mac! It’s somewhat of a surreal sight:

Windows 3.1 on Mac OS X
Windows 3.1 on Mac OS X!

Drivers

It is possible to drivers to get better performance, graphics, sound etc. DOSBox emulates a generic SoundBlaster card and a custom S3 Trio graphics card. The VOGONS (Very Old Games On New Systems) forum has a thread dedicated to this. If I have time this week I’ll elaborate further in a separate post, keep an eye on the dosonmac tag.

Running Windows 3.x on a MacBook Pro

Windows 3.1 on Mac OS X: DOS Nostalgia on Intel Mac Hardware!

In my search to find the best way to run Windows 3.x on a MacBook Pro for an assignment I talked about as well as for some silly nostalgia, there seem to be several different distinct ways of doing it. In a nutshell we have:

Dual booting with DOS
Not really feasible considering the amount of trouble I’ve already had with triple booting this MacBook Pro, plus I’m fairly confident that Apple does not supply graphics, audio and networking drivers for DOS or Windows 3.x. :-D
DOSBox
DOSBox is a dedicated, free and open source DOS emulator. It would certainly be the easiest and fastest way to get set up, but I’ve been told running Windows in it pushes the limits of it’s capabilities and it runs fairly slowly. If it works though, it’d be great!
Emulating IBM PC DOS 7.0 / 2000
Emulating just DOS is overkill when the superb DOSBox project exists, but for Windows 3.11 it may be necessary. I’ll be trying out IBM’s PC DOS 2000 which is essentially rebranded PC DOS 7.0, but is Y2K compliant, includes the Euro symbol amongst other goodies and can boot and install entirely from a CD. From previous experience I know it runs classic versions of Windows extremely well, which FreeDOS still seems to have some difficulty with.

I could try Sun Microsystems’ VirtualBox, VMware Fusion, Q (the Mac OS X native QEMU port) and Parallels Desktop, but I’ll stick to trying the first two seeing as I already use them.

If you’ve ever wanted to run DOS and Windows 3.x on your Intel Mac hardware (and I know there are millions of you, ha!), stay tuned.

Reminiscing about DOS, Windows 3.x

Windows 3.1 on Mac OS X: DOS Nostalgia on Intel Mac Hardware!

A few days ago you may have scratched your head and wondered why I took the time to post such a ridiculously long post on why I had a falling out with Microsoft. I’ve certainly made no secret of my general contempt for Microsoft’s products, but I wanted to let people know that it hadn’t always been that way. I did this partly to inform people that I’m not a brainless anti-Microsoft shill, but also so I could post about this new topic over the next few days without being called a hypocrite.. not that I’ve ever let such names stop me in the past mind.

As part of an assignment on the TCP/IP stack, I’m researching different historical operating system approaches to networking. Alongside OS/2 Warp, BeOS and early versions of the BSDs, this has allowed me to revisit two classic operating systems that were on our first family home computer: PC-DOS 4.x and later MS-DOS 6.x with Windows 3.0 (with MME) and later Windows 3.1.

Original carton box of Windows 3.1
Original carton box of Windows 3.1, from MakingTheModernWorld.co.uk

Because my father has worked with this same multinational corporation since the early 1980s he was an IBM PC user from very early on, so our home computers were always IBM machines. We missed the Commodores, the Amigas, the Ataris, the Apples, the Tandy’s and the Sinclairs, though for my own enjoyment I’ve since purchased lots of classic hardware on eBay and through other sources. As a result of this, we were DOS users from the beginning, and subsequently we were Windows 3.x series users from early on too. Fortunately we missed Windows 1.xx-386!

ASIDE: Which of the mentioned classic home computer makers is my favouite? Sinclair, by a long shot. I may have only got it a few years ago, but my ZX Spectrum is a gorgeous little computer and I love tinkering around with it, especially now I have a compact flash card adaptor for it. The graphics are clear and sharp, the bundled BASIC is lots of fun to use, and the unit itself is very portable. But that’s for another post.

When I see screenshots of these early versions of Windows, I’m taken back to Melbourne when I was four and hammering away at a keyboard with a small CRT display not quite knowing what I was doing but having fun anyway. I attribute this to the reason why I have such dreadful myopia, and why I’m so nostalgic for these things. Depending on whether you’re a nerd or not you may consider this sad, but the Windows 3.0 and 3.1 boot screens are some of my earliest memories. Really, I’m serious!

ASIDE: I can feel my beautifully silly mum whacking me over the head with her shiny clear acrylic glass twisted cane for that remark. She always said she’d be checking on me and making sure I wasn’t doing anything too nerdy and/or stupid. I believe her!

Our first machine was written off when we moved to Singapore before I was a teenager; during the move it was rattled silly which destroyed the hard drive and zapped the motherboard. It was a shame, that little 486SX with it’s 5.25 inch floppy drive and turbo button, and later a SoundBlaster card with a hex-speed CD-ROM was extremely reliable, even surprisingly when running Windows! Fortunately our second computer (and the first one I "inherited" for my own to mess around with) with it’s 200MHz Pentium MMX CPU and 32MiB of RAM is still running strong, with FreeBSD installed on it no less! Another dependable little battleship, even if I have since upgraded the hard drive and graphics card. The joke is the graphics card has more memory and CPU power than the host machine itself! Isn’t that delightful? :-D

My pad in 2007
Photo taken in 2007… my venerable, fully functional (and FreeBSD equipped) 200MHz machine is the beige box under the table, on top of the breadbox computer. Yes, I built a computer in a breadbox, I was 17 and crazy!

But I digress, as usual. Over the next few days I’m going to be documenting my adventures with running these classic Windows systems virtually on my MacBook Pro, but with plently of cross platform references for others to use if you’re a non-Mac user and are interested. As Big Kev used to say on Good Morning Australia with Bert Newton: "I’m Excited!"

I clearly don’t get out enough.