Next Previous Contents

9. Video and sound

9.1 Can I run 32-bit video games under dosemu?

Mark Rejhon (mdrejhon@magi.com) reported (95/4/8) that

With the recent DPMI improvements that has gone into 0.60, you can now run some 32-bit video games in dosemu. If the game is compatible in an OS/2 DOS box, there are chances that it will work in dosemu. (Example 32-bit games include Descent, Dark Forces, Mortal Kombat 2, Rise of The Triad, which have all successfully been tested in recent dosemu releases).

Before you attempt to run a video game, you must have the keyboard configured in raw keyboard mode and enabled VGA graphics modes, in the /etc/dosemu.conf file.

Note, however, you will have to turn off the sound in the game. (Someone will have to program in sound board emulation before we can avoid this). Note that game timers can be a little bit slow, due to Linux multitasking and lack of high-frequency timer support. So the games may run from anywhere from 5 to 100 percent speed. Typically, the speed is approximately 50 percent in recent dosemu releases and is expected to improve eventually.

Who knows, it might even work. If you can't get it to work, check EMUfailure.txt if the program is listed there, or falls in a category of programs that at present don't or probably never work with dosemu. If you think, it should be listed in EMUfailure.txt, report to linux-msdos@vger.rutgers.edu

There is a security hole when having enabled DPMI and having dosemu suid root (especially when using dos4gw-based games), the client is able to access the whole user space, hence also can modify the dosemu code itself. Use of the 'secure' option in /etc/dosemu.conf, e.g.

$_secure = "ngd" # secure for: n (normal users), g (guest), d (dexe)
disables this. It is better to run dosemu as a normal user under X rather than root anyway.

9.2 Exiting from dosemu gives me a screen full of garbage.

(95/4/8)

The problem is that the font information for the VGA text screen is not being saved. Get a copy of the svgalib package. The current source is in

sunsite.unc.edu:/pub/Linux/libs/graphics/svgalib-1.3.1.tar.gz
It may also be available as a pre-compiled package in your favorite Linux distribution (e.g., Slackware, etc.). Use savetextmode to save the current text mode and font to a file in /tmp before running dosemu. Then run textmode upon exiting dosemu to restore it.

Addition from (lermen@elserv.ffm.fgan.de(97/2/11)):

Have a look also at src/arch/linux/debugger/README.recover and README.dosdebug, dosdebug can aid you recovering.

9.3 Why doesn't my soundcard software work with dosemu?

Dosemu includes a rudimentary soundblaster emulator called SBemu - the documentation for it is currently at http://www.slitesys.demon.co.uk/a.macdonald/dosemu/sound/ This is a work in progress, not completed yet so much or most DOS software that uses sound will not work correctly with it yet.


Next Previous Contents

Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:58:00