Moonmarch
Posts: 75
Joined: Thu Mar 07, 2019 1:34 am

DOSBox 0.74-3 MSDOS x86 emulator

Sun Jul 14, 2019 9:13 am

Version 0.74-3 of the DOSBox program was released recently, the previous version of DOSBox was version 0.74-2 which was more difficult to compile on the RPI computer in comparison to the recent version, the latest release requires no additional command line arguments or adjustments to config files to compile successfully.

If you do not have plans to build the DOSBox source code, you can always install the DOSBox program included in the Debian repository, this is version 0.74 of the DOSBox program:

Code: Select all

sudo apt-get install dosbox
Here is a link to the website:

https://www.dosbox.com/

To download the source code, open the terminal:

Code: Select all

wget https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/dosbox-0.74-3.tar.gz
To unpack the file:

Code: Select all

tar -xzf dosbox-0.74-3.tar.gz
Before building the source code you will need to download and install dependencies from the Debian repository, the list of dependencies needed for the DOSBox program can be found in the INSTALL document located in the dosbox-0.74-3 folder, install all of the dependencies.

To build the program:

Code: Select all

cd dosbox-0.74-3

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make -j2
Compiling the program will take at least 10 minutes, to open the program:

Code: Select all

cd src

Code: Select all

./dosbox
To change the configuration settings open the dosbox-"version".conf file located in /home/pi/.dosbox directory, here are some settings that you should adjust in the dosbox config file:

core=dynamic
cycles=auto

To run the program in fullscreen you will need to enable full KMS drivers in raspi-config.

Here are some games that I tested using the DOSBox emulator, didn't try out any full 3D games:

Runs at full speed:
-Wolfenstein 3D
-Spear of Destiny
-Ultimate Doom
-SimCity 1989
-Dune 2

Runs with slowdown:
-Doom 2

Somewhat playable:
-SimCity 2000 Special Edition

fruitoftheloom
Posts: 19810
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: DOSBox 0.74-3 MSDOS x86 emulator

Sun Jul 14, 2019 9:24 am

Moonmarch wrote:
Sun Jul 14, 2019 9:13 am
Version 0.74-3 of the DOSBox program was released recently, the previous version of DOSBox was version 0.74-2 which was more difficult to compile on the RPI computer in comparison to the recent version, the latest release requires no additional command line arguments or adjustments to config files to compile successfully.

If you do not have plans to build the DOSBox source code, you can always install the DOSBox program included in the Debian repository, this is version 0.74 of the DOSBox program:

Code: Select all

sudo apt-get install dosbox
Here is a link to the website:

https://www.dosbox.com/

To download the source code, open the terminal:

Code: Select all

wget https://sourceforge.net/projects/dosbox/files/dosbox/0.74-3/dosbox-0.74-3.tar.gz
To unpack the file:

Code: Select all

tar -xzf dosbox-0.74-3.tar.gz
Before building the source code you will need to download and install dependencies from the Debian repository, the list of dependencies needed for the DOSBox program can be found in the INSTALL document located in the dosbox-0.74-3 folder, install all of the dependencies.

To build the program:

Code: Select all

cd dosbox-0.74-3

Code: Select all

./autogen.sh

Code: Select all

./configure

Code: Select all

make -j2
Compiling the program will take at least 10 minutes, to open the program:

Code: Select all

cd src

Code: Select all

./dosbox
To change the configuration settings open the dosbox-"version".conf file located in /home/pi/.dosbox directory, here are some settings that you should adjust in the dosbox config file:

core=dynamic
cycles=auto

To run the program in fullscreen you will need to enable full KMS drivers in raspi-config.

Here are some games that I tested using the DOSBox emulator, didn't try out any full 3D games:

Runs at full speed:
-Wolfenstein 3D
-Spear of Destiny
-Ultimate Doom
-SimCity 1989
-Dune 2

Runs with slowdown:
-Doom 2

Somewhat playable:
-SimCity 2000 Special Edition

APT is Debian's preference:

Code: Select all

sudo apt update
sudo apt install dosbox

DOSBOX (0.74-2-3+deb10u1)

https://packages.debian.org/buster/dosbox
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Buster.
Raspberry Pi Model 2B v1.1

Moonmarch
Posts: 75
Joined: Thu Mar 07, 2019 1:34 am

Re: DOSBox 0.74-3 MSDOS x86 emulator

Sun Jul 14, 2019 7:22 pm

I used the "sudo apt update" command, I did notice my computer did update, I was wondering why some programs would not update after running the apt-get update && apt-get upgrade command, to update a program what I did instead was run the apt-get install "program name" command which would update the program manually, thanks for the advice.

After searching Google I noticed today, apt is a program that is used similarly to tar which is a program that you can use to unpack tar.gz files, which will have commands that you can use with the program, the same situation with apt, is there a difference between apt and apt-get I would say both commands are different commands that you can use with the apt program, for a while I was only using apt-get update, apt-get upgrade, apt remove, apt autoremove, apt-get install, there are more commands you can use with apt.

I haven't installed Raspbian Buster yet, I will eventually my plan was to format the SD card then reinstall the operating system, the same idea with large Windows 10 updates, I format the hard drive then reinstall the operating system.

fruitoftheloom
Posts: 19810
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: DOSBox 0.74-3 MSDOS x86 emulator

Sun Jul 14, 2019 7:33 pm

Moonmarch wrote:
Sun Jul 14, 2019 7:22 pm
I used the "sudo apt update" command, I did notice my computer did update, I was wondering why some programs would not update after running the apt-get update && apt-get upgrade command, to update a program what I did instead was run the apt-get install "program name" command which would update the program manually, thanks for the advice.

After searching Google I noticed today, apt is a program that is used similarly to tar which is a program that you can use to unpack tar.gz files, which will have commands that you can use with the program, the same situation with apt, is there a difference between apt and apt-get I would say both commands are different commands that you can use with the apt program, for a while I was only using apt-get update, apt-get upgrade, apt remove, apt autoremove, apt-get install, there are more commands you can use with apt.

I haven't installed Raspbian Buster yet, I will eventually my plan was to format the SD card then reinstall the operating system, the same idea with large Windows 10 updates, I format the hard drive then reinstall the operating system.


https://wiki.debian.org/Apt

http://manpages.ubuntu.com/manpages/xen ... apt.8.html

.
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Buster.
Raspberry Pi Model 2B v1.1

User avatar
leilei
Posts: 13
Joined: Wed Jun 26, 2019 2:26 am

Re: DOSBox 0.74-3 MSDOS x86 emulator

Sun Jul 14, 2019 10:19 pm

I recommend building from source as I don't think the binaries downstream have the ARM dynamic recompiler included (probably for debian security reasons).

The Pi3B gets roughly 486dx2-66 performance on the arm dynarec with max cycles and is somewhat playable for Duke Nukem 3D. Output=surface without scaling is fastest for the old VC4 driver. Also keep in mind that 15-30fps was perfectly acceptable in the era! Getting spoiled by 60fps wasn't until 1998 with the advent of 3d cards, write caching, PCI/AGP2X and such.

Moonmarch
Posts: 75
Joined: Thu Mar 07, 2019 1:34 am

Re: DOSBox 0.74-3 MSDOS x86 emulator

Mon Jul 15, 2019 12:12 am

My guide is not completely original, I decided to write the guide to let people know MS DOS emulation is possible on the RPI without needing to use a fork of DOSBox or use Retropie OS, the DOSBox program from the Debian repository was not able to run Doom 1993 at all for some reason, don't know if the forks of DOSBox will run faster on the RPI computer or are even currently in development.

Here are some guides on compiling DOSBox I found on the RPI forums:

DOSBOX with GLES2 + tv shader + dynamic recompiler:
https://www.raspberrypi.org/forums/view ... 8&t=110957

compiling dosbox with dynamic recompilation support:
https://www.raspberrypi.org/forums/view ... hp?t=95421

User avatar
DavidS
Posts: 4277
Joined: Thu Dec 15, 2011 6:39 am
Location: USA
Contact: Website

Re: DOSBox 0.74-3 MSDOS x86 emulator

Mon Jul 15, 2019 2:14 pm

There is also FastDOSBox for the Raspberry Pi computers. Yes it is a bit older, though I am fairly sure it is still a good bit faster. Unfortunately the original site went down, though it is still on the Web Archivie at:
https://web.archive.org/web/20130629010 ... tware.html

You will probably want the Raspbian version of the three versions provided.
RPi = The best ARM based RISC OS computer around
More than 95% of posts made from RISC OS on RPi 1B/1B+ computers. Most of the rest from RISC OS on RPi 2B/3B/3B+ computers

Moonmarch
Posts: 75
Joined: Thu Mar 07, 2019 1:34 am

Re: DOSBox 0.74-3 MSDOS x86 emulator

Wed Jul 17, 2019 6:16 am

Thanks for the link FastDOSBox was one of the programs I was searching for after several days of adjusting settings on the DOSBox program from the Debian repository when I started using the RPI computer, I'll build the program one of these days, I heard about FastDOSBox I didn't use the program, because the program was not being actively developed there is no official website the last version released was 1.6 that was released in 2014.

If I had to choose to compile a program that runs video games or certain video games, I would compile a open source game engine for example system shock, which I will build one of these days don't know when, not every game has a source port, if I can't compile the game engine then I will use a MS DOS emulator.

Return to “Gaming”