Outpost BBS
[ Index | Outpost BBS | Cheepware | Micronet | Maximus/Squish | Links | Virtual Pascal | SWAG Mirror ]
Installling DOSemu On Modern Linux Systems
It is possible to install DOSemu using a patch that a friend of mine created for DOSemu to prevent the segmentation faults that occur using DOSemu without being patched. I tried dosemu2 but had no success. I setup DOSemu under Devuan Linux 5.0 (Daedalus) but the directions should work with minor modifications on any Linux distro. Slackware Linux has the libraries you need installed assuming a standard full install of Slackware. I compiled DOSemu for a default install.
NOTE: This code is old, but it works, and the documentation is outdated. The specific reason I use DOSemu is it behaves better for me than either DOSbox or DOSbos-X.
I do not and cannot offer support on installing DOSemu! You are on your own.
Here's the steps to get this done:
- You will need to run the following command to install necessary dependencies for Devuan:
apt install build-essential git libslang2-dev xaw3dg-dev libsdl-console libsdl-console-dev
- In your home directory, run this command:
git clone git://git.code.sf.net/p/dosemu/code dosemu
- Download the following files into your new dosemu directory:
FreeDOS image (if you are not using another DOS for your interpreter): Make sure to rename it to dosemu-freedos-bin.tgz so DOSemu will see it during its compiling. DO not extract the archive! DOSemu will do the work for you.
A patch that fixes segfaults in the DOSemu code: Once copied to your dosemu directory, simply extract it using this command: tar xf dosemu-segfault-fix.tgz. The patch will be installed into the DOSemu source code tree correctly. Why this patch? The shortcut command "sysctl -w vm.mmap_min_addr=0" trick doesn't work on all systems and the patch fixes this correctly in the source code.
- Run these commands in sequence:
- ./configure
- make
- su (DO NOT USE su - or sudo!)
- make install
- If all is successful, DOSemu will give some additional information for you then you'll be returned to a prompt. From there, type xdosemu or dosemuand you should see a DOSemu window open. To exit the emulator, type exitemu.
Stuck? Try here for some documentation.
Top
© Sean Dennis. All rights reserved.
Questions or comments? Contact me. About this website