This package allows MS-DOS programs to be run in Linux. A virtual machine (the DOS box) provides the necessary BIOS functions and emulates most of the chip devices (for example: timer, interrupt, and keyboard controller).
Documentation can be found in /usr/share/doc/packages/dosemu, the man page, and in the sources.
Starting with version 1.0.2, DOSEMU configuration files are no longer in /etc but in the user's HOME directory in ~/dosemu. DOSEMU no longer has the SUID bit set, so if you need access to hardware that requires root privileges, you must run DOSEMU as root.
If you rely on the old configuration scheme, you can get it back by using dosemu.bin instead of dosemu (dos and xdos have been renamed to dosemu and xdosemu).
The parameter $_hogthreshold in ~/dosemu/conf/dosemu.conf defines how often an idling DOSEMU should return the CPU to Linux and its default value (1) means "all power to Linux." The higher this value is, the more CPU power is dedicated to DOSEMU. The value (0) disables this feature completely, hence: "all power to DOSEMU." If that is not fast enough, you (running as UID root) can get maximum performance with
nice -19 dos -D-a 2>/dev/null
Do not be surprised if other Linux processes then run very sluggishly.
On sensitive systems, you should never offer an suid-root DOSEMU as world readable. Even if the '$_secure' option in dosemu.conf is set, it is still possible that some DPMI clients (most likely Dos4gw based ones) may succeed in accessing the whole user space (including DOSEMU code) and thus gain root access. A comfortable solution is to have two copies of the DOSEMU binary, a non-suid-root one for world access and a suid-root one (protected by file permissions) only available to trusted users.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.4.0.1.r2065-bp156.3.5 info | GA Release | 2024-05-13 | 15 SP6 |
|
|
1.4.0.1.r2065-bp155.2.11 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.4.0.1.r2065-bp154.1.45 info | GA Release | 2022-05-12 | 15 SP4 |
|
|
1.4.0.1.r2065-bp153.1.13 info | GA Release | 2021-02-26 | 15 SP3 |
|
|
1.4.0.1.r2065-bp152.3.16 info | GA Release | 2020-04-09 | 15 SP2 |
|
|
1.4.0.1.r2065-bp151.2.14 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
1.4.0.1.r2065-bp150.2.6 info | GA Release | 2018-07-30 | 15 |
|
|