Running DOS programs on a modern macOS system requires the use of a DOS emulator. macOS does not natively support DOS-based applications, so an emulator like DOSBox-X is necessary to create a suitable environment. This emulator allows you to run old software and games that were originally designed for the DOS operating system.

DOSBox-X emulates a complete PC, from the original IBM PC up to late-1990s Pentium III machines, and includes its own simulated DOS, so most programs start without a separate copy of MS-DOS. The machine type, CPU speed, video hardware, and sound card are all settings, which helps when a program expects specific hardware or runs at the wrong speed.

Only software built for DOS runs directly, because a Windows program needs a copy of Windows installed inside the emulator first. The games and applications themselves are not included, and many old titles remain under copyright even when they are no longer sold.

Steps to run a DOS program on macOS using DOSBox-X:

  1. Open the Terminal on your macOS.
  2. Install Homebrew if it's not already installed.
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  3. Use Homebrew to install DOSBox-X on your system.
    $ brew install dosbox-x
    Warning: Treating dosbox-x as a formula. For the cask, use homebrew/cask/dosbox-x
    ##### snipped
    ==> Installing dependencies for dosbox-x: libogg, flac, libvorbis, opus, libsndfile, portaudio, fluid-synth, libslirp and sdl2
    ==> Installing dosbox-x dependency: libogg
    ##### snipped
    ==> Running `brew cleanup dosbox-x`...
    Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
    Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).</ dosbox-x Downloads/Golden\ axe/GOLD.EXE
    LOG: Early LOG Init complete
    LOG: DOSBox-X's working directory: /Users/shakir
    LOG: Logging init: beginning logging proper. This is the end of the early init logging
    LOG: Logging: No logfile was given. All further logging will be discarded.
    LOG: DOSBox-X version 0.84.1 (macOS SDL2)
    LOG: macOS EXE path: dosbox-x
    ##### snipped
  4. Download the desired DOS programs or games.
  5. Run the program's executable file using DOSBox-X.
    $ dosbox-x Downloads/Golden\ Axe/GOLD.EXE
    LOG: Early LOG Init complete
    LOG: DOSBox-X's working directory: /Users/shakir
    LOG: Logging init: beginning logging proper. This is the end of the early init logging
    LOG: Logging: No logfile was given. All further logging will be discarded.
    LOG: DOSBox-X version 0.84.1 (macOS SDL2)
    ##### snipped
Share this guide