This is a simple DOS emulator for the Linux text console, supporting basic DOS system calls and console I/O.
EMU2 - Simple x86 + DOS Emulator, version 2021.01
Usage: emu2 [options] <prog.exe> [args...] [-- environment vars]
Options (processed before program name):
-h Show this help.
-b <addr> Load header-less binary at address.
-r <seg>:<ip> Specify a run address to start execution.
(only for binary loaded data).
Environment variables:
EMU2_DEBUG_NAME Base name of a file to write the debug log, defaults to the exe name if not given.
EMU2_DEBUG List of debug options to activate, from the following: 'cpu', 'int', 'port', 'dos', 'video'.
EMU2_PROGNAME DOS program name, if not given use the unix name.
EMU2_DEFAULT_DRIVE DOS default (current) drive letter, if not given use 'C:'
EMU2_CWD DOS current working directory, use 'C:\' if not given.
EMU2_DRIVE_n Set unix path as root of drive 'n', by default all drives point to the unix working directory.
EMU2_CODEPAGE Set DOS code-page. Set to '?' to show lost of code-pages.
EMU2_LOWMEM Limit DOS memory to 512KB, fixes some old buggy programs.
Source: https://github.com/dmsc/emu2 Build config: https://github.com/popey/emu2-snap
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
On Arch Linux, snap can be installed from the Arch User Repository (AUR). The manual build process is the Arch-supported install method for AUR packages, and you’ll need the prerequisites installed before you can install any AUR package. You can then install snap with the following:
git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
sudo systemctl enable --now snapd.socket
If AppArmor is enabled in your system, enable the service which loads AppArmor profiles for snaps:
sudo systemctl enable --now snapd.apparmor.service
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap
and /snap
:
sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install emu2, simply use the following command:
sudo snap install emu2
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.