DOSBox-X-App for Windows and macOS


DOSBox-X with printing and other additional features

This page will have further information at a later date. This page currently lists only the essential things you need to know.

The DOSBox-X-App is a slightly customized version of DOSBox-X, combined with external programs and commands that make it easy to print and create PDFs from DOS applications. Unlike the original DOSBox-X, which is designed to run all DOS applications and games, and early versions of Windows, the special-purpose DOSBox-X-App on this page has been customized for use with applications, not games.

Download the Windows installer from this link.

Download the macOS version for Intel and Apple Silicon from this link. In versions posted here before 8 July 2021, printing and PDF creation did not work correctly; that has now (I hope) been corrected. When running the app on an Apple Silicon Mac, note that the application may have still have some Intel-based components that may require Rosetta 2 to be installed, I am trying to replace these with all-Apple-Silicon components.

The current version of the DOSBox-X-App is based on a custom build of the 1 November 2021 version of the original DOSBox-X.

Update schedule: I plan to update this application approximately twice each year, so the next update should be posted late in 2021 or early 2022. The original DOSBox-X is updated every month, so if you need its latest features, you should use the original DOSBox-X instead of this customized app.

If you are looking for an emulator program in which to run DOS applications under Windows, I can't tell you which emulator you should use, because I don't know what you want to use it for. For various reasons that don't matter to anyone but me, I use vDos for running most DOS applications, but you may prefer DOSBox-X. Keep in mind that some DOS programs won't run under vDos, and require the use of DOSBox-X or DOSBox or some other emulator. These vDos-incompatible programs (e.g. XyWrite, QuickBasic, etc.) use the keyboard in ways that vDos does not support; others use specialized software functions that vDos does not support. The DOSBox-X-App provided here should work correctly with all such programs. Also, in graphic mode, vDos supports only VGA (640x480) graphics, while DOSBox-X supports high-resolution VESA graphics. And, when used for networked applications, vDos will display a nag screen until it is registered.

If you plan to run networked database applications (e.g. dBase, Paradox, FoxPro, etc.), use only the original version of DOSBox-X, not any version that you find on my site. I cannot provide any support for networked database applications used with my modified version, but you can get fast, thorough, and responsive support for the original DOSBox-X through the DOSBox-X GitHub site.


Run commands automatically at startup

Under Windows, when the DOSBox-X-App starts up, it opens in virtual drive B: which is the same as the folder <your user folder>\DOSBoxXApp\AppHD If you want to run commands (such as one of the alternate window sizes shown below) add it to the file B:\OPTIONS.BAT, which is the equivalent of autoexec.bat.

Under macOS, when the DOSBox-X-App starts up, it opens in virtual drive C:, which is the same as the folder ~/DOSBoxDisk. (It creates this folder on startup if the folder doesn't already exist.) If you want to run commands (such as one of the alternate window sizes shown below) create a file C:\AUTOEXEC.BAT and add one or more commands to it (such as one of the alternate window sizes shown below). You can create this file with a command like this at the C:\> prompt: echo rem>autoexec.bat and then edit the file in a text editor, or add commands like this: echo 25lines>>autoexec.bat (and notice the double angle bracket which appends the line to an existing file). (This feature did not work correctly until a fixed version was posted on 13 July 2021.)


Shortcut keys

Unlike standard DOSBox-X, the DOSBox-X-App supports only a few shortcut keys, as follows (and notice the different assignments for the macOS version!)

In the Windows version, these are listed on a message box accessible by clicking the System Menu (the icon at the upper right) and choosing "DOSBox-X-App keyboard help."

Unlike standard DOSBox-X (running with default settings), the DOSBox-X-App does not require you to refresh directories after modifying them outside DOSBox-X itself.


Alternate window sizes

The DOSBox-X-App starts up, by default, in a 43-line window. You can change this at any time by entering one of the following commands.

These commands are not available in standard DOSBox-X, but standard DOSBox-X provides equivalents of some of these modes with its standard commands 80x25,  80x43, 80x50, and 80x60. The mode con command may also be used for some modes (enter that command for details).

If the DOS prompt disappears when you switch to a new window size, you can make it return by entering any command that writes to the screen (like echo or ver, but not cls).


Clipboard exchange with host system

The DOSBox-X-App can exchange text with the Windows or macOS clipboard in various ways that extend the clipboard exchange features in standard DOSBox-X.

To copy text to the Windows clipboard, use one of these methods:

To copy text to the macOS clipboard, use one of these methods:

To paste text from the Windows clipboard, use one of these methods:

To paste text from the macOS clipboard, do this:


Printing from the DOSBox-X-App

The DOSBox-X-App currently supports printing from PCL and PostScript drivers, and also tries to print plain ASCII text. It does not support Epson or other older printer languages. The destination of the printer output depends on the LPT port that you choose for the printer driver in your DOS application:

For most applications, you will need to enter LPT4 through LPT6 as filenames, because these ports were not available on DOS machines.

You can modify these assignments to suit your needs:

In Windows, edit the file <your user folder>\DOSBoxXApp\DOSBox\xapp.conf and search for "CUSTOMIZATION", then follow the instructions. Save the file when you are finished. Your settings will be used when you next launch the application.

In macOS, hold down the Option key when launching the application, choose "Customize printer port options" from the menu, and follow the instructions in the file that opens in TextEdit. Save the file when you are finished. Your settings will be used when you next launch the application.

Problems with ASCII text printout (Windows only):

(Feature added 26 September 2021.) If your DOS application is setup to print to an Epson or other dot-matrix printer, then the output from the Windows version of the DOSBox-X-App may show misplaced linebreaks or text. If this occurs, then do the following. Download DOSPrinter.exe from http://dosprinter.net and copy it into the DOSBox folder in your DOSBox-X-App system. When you print ASCII text from the DOSBox-X-App, it will now use DOSPrinter.exe to create the final output instead of its default method. Until you register DOSPrinter.exe (US$40), it will create watermarks on some or all output files; these watermarks may or may not matter to you.

Feel free to get in touch with me for further help in adjusting text output from this app.


Graphic and keyboard option (macOS only)

DOSBox-X can be built in two ways, one that uses the SDL1 graphic and keyboard library, the other that uses the newer SDL2 library. Under Windows, the DOSBox-X-App uses the SDL2 library, which is more widely compatible with international keyboard. Under macOS, I have found that the SDL1 library has fewer problems, so the DOSBox-X-App, by default, uses SDL1. However, if you add SDL2 to the name of the app, then it will use SDL2 instead. Please feel free to report on any results you find with either library.


Edward Mendelson (em thirty-six [at] columbia [dot] edu, but with two initials and two numerals before the [at] sign, not spelled out as shown here). .