Using DOSBox to run MASM 8086 on Ubuntu or Windows x64

So you’ve decided to learn to program in 16bit MASM, but you either don’t have Visual Studio, or you have installed a 64bit version of Windows, or you’ve installed Ubuntu… well there is a solution, and its name is DOSBox 0.74.

Let’s get started! If you’re using the Windows OS, follow these instructions:

  • download and install DOSBox 0.74.
  • download MASM 8086 Assembler and extract it to “c:\8086\” so that 8086 will contain all the *.exe files.
  • run DOSBox 0.74 and type : mount  c  c:\8086
    c:
  • Now your ready to start coding!

If you’re using Ubuntu, follow these instructions:

  • Open your terminal and type the follow commands to download and install DOSbox:
  1. sudo apt-get update
  2. sudo apt-get install dosbox
  • download MASM 8086 Assembler and extract it to “/home/coding/8086” so that 8086 will contain all the *.exe files. 
  • Then run DOSBox from: Applications>Games>DOSBox Emulator.
  • Then type in the following commands:
  1. mount c /home/prashanth/8086
  2. c:
  • Now you’re ready to start coding!

If you still don’t understand my instructions, CLICK HERE for better instructions.

Leave a comment