DOS Emulation Under Linux - a Simple Guide
David Precious writes "With just a little work, it's possible to get your Linux system to run DOS applications with very little trouble. Whether you need to run some legacy corporate application, or just want to play some of those old classic DOS games, it's easy to get going. To make it easy, I've produced a simple guide to explain it. Hopefully it'll be of use to some people."
Will it play Duke Nukem 3D....forever?
Life is not for the lazy.
. . . you can also try DOSbox, which is a virtual DOS machine.
Bah, if I'm going to emulate DOS on linux, I'd rather play Commander Keen. =P
-Cyc
/.'s 10 Millionth
Perhaps he's not aware of the many open source ports of these two for linux with improved EVERYTHING. I reccomend the freedoom wad replacement and legacydoom.
--- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
CLI emulating CLI. Seems redundant.... or even repetitive.
I see a new era of DOS-resident viruses comming up.
Now if only we could get Windows to emulate DOS correctly, maybe then we could Play Duke3d in XP.
Im dreaming ofa big bndwdth, That can resist the
Has anyone made emulation work with Parallel port Dongles and Hasps? It seems that most of the emulators target dos games -- will they translate com and printer port calls ?
Some programs that "just work" are really a pain to change. I support a few of these that run on dos and I don't think there is a will to port them or replace them.
At this point Linux is much better maintained than dos and it would be a better fit if the programs ran perfectly? I know I'd like to dump dos.
LS
DOSBox has the advantage that it can be run on more platforms than just Linux. It can even run on Windows if need be. I've personally found DOSEMU to be more usable speed wise in the past, however I've had less compatibility problems running dos programs in DOSBox than I have using DOSEMU + FreeDOS
---
Any man who can drive safely while kissing a pretty girl is simply not giving the kiss the attention it deserves. -- AE
In real Linux distributions, click K (or G) > Configuration > Packaging > Install software
Enter root password
search for dos.
Tick the dosbox box. Click install.
All the depencancies are automagically resolved and your done in 10 seconds.
Then click
K > Applications > Emulators > Dosbox
Then volia, the c prompt is here haunt you.
Silly geeks, why do you make your life so hard when it can be so easy now days.
Am I the only one who finds the articly higly lacking any useful info?
Sure, I haven't touched DOSEMU since about 1998 but back then I remember all sorts of problems.
Even now, the article mentions nothing about setting up sound, midi playback, etc, is this all handled automatically by dosemu installer (doubt it).
This guide seems to be written by someone who just found DOSEMU yesterday and didn't know anyone used it for years before.
I mean there's even DOSEMU-HOWTO written which is the official linux dosemu howto, what's wrong with that one? It seems to be even kept up-to-date (as popular dos is these days, anyhow).
And most of the games he mentions on the site have way better native linux ports...
edlin owns them all.
stuff
Actually I have written my own PC emulator, but it is far from as usable as DOSemu. I wanted to test a way to do the emulation with only 16 bytes used for ROM. As long as it was fun I kept coding. But eventually I ran into some problems. If I actually wanted to use all the available 255KB of UMB the kernel would Oops when the stack was on the same page as my ROM. I fixed the kernel bugs together with Manfred Spraul and Stas Sergeev. But I never got back to coding on my emulator.
Do you care about the security of your wireless mouse?
Thinking about DOSemu and DOSbox remind me of an old article in Wired about the Turbo Switch on computers.
"Having a turbo switch on your computer is kind of like saying 'I have this really cool ferrari that when I press a button it turns into a pinto'".
I downloaded Dosbox and played some of the old classics at a sluggish pace... They say that an XP 1800 with DosBox is the equivalent of a 386SX-25.
"Look ma! I have this cool little program that makes my Athlon 64 3200 into a 386SX-40! Isn't that swell?"
The sad thing is... I don't think I've ever been so happy about finding a program online.
I suck.
/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
The best option is to really just put together an old gaming box. Old hardware that will run dos like a dream is avaiable everywhere. Seems to be the best option instead of messing around with various emulators trying to get them to work with game xy and z.
Or you could just wait. See, the delay with Duke Nukem Forever is that they've hidden the entire series of old Duke games in it as an easter egg, and they want them to work just right in Windows 95^H8^UMe^U2k^UXP.
DOSBox will also run on non-x86 machines. Got MacOSX or LinuxPPC? Works.
OK, I'm not getting why this article made the front page. The "tutorial" seems to consist of saying "download the software and install it", which shouldn't be too hard to figure out on one's own. The bulk of the tutorial content is pointers to four standard DOS games.
BTW, on Debian, the installation is "apt-get install dosemu-freedos". I was about to gloat about how easy that is, but it looks pretty darn easy under Slackware also. :-)
Probably the best reason to run a DOS emulator is so you can play Scorched Earth (the mother of all games).
The author of the guide says he used to play Scorched in his Sixth Form, and the network admin would join in too... exactly like in my school! This game must have been more popular than I first thought. If you've never played it, you really should...
You only waited 3 hours? You got it lucky, I've been waiting 10 years for a guide on how to use DOSEMU.
http://www.holwegner.com/software/ has a MacOS X binary of DOSBox.
There's still a dusty corner of systems design and programming that takes place on DOS: some embedded programming tools (compilers, flash burners, in circuit emulator debuggers) for some chips still work "best" on DOS.
Only now, we can use DOSEMU to run them under Linux and get the benefit of real development environment when supporting legacy apps. We can open a bash shell and use Perl, gnu make, emacs/vim, etc to drive development, then have a DOSemu / FreeDOS window to drive download and debug.
It can be quite difficult automating the Windows versions of these tools to that same level. Most of our projects use Windowes tool (running in VMware on Linux), but we did one two years ago hosted on DOSEMU and using Bytecraft's (now) excellent compiler for the PIC chips.
Best of both worlds, and many, many thanks to all the hackers that made it work so well.
- Barrie
I'm still playing DOS games from time to time, like Dune 2. Now the ironic part is that I can't get the sound to work in DOS directly (laptop with an SiS chip, no DOS usable driver avaible) neither does the sound work under Windows ME... but it works without problems in Linux using DOSEmu since it emulates an SoundBlaster 16 and a General MIDI card :-)
"By the way, does anyone know if there is a free program like DOSEMU/DOSBox for MacOS?"
There is a DOSBox package in Fink.
...can it be compiled for MacOS X or Linux/PPC - or is it somehow dependent on physical x86?
I agree - but perhaps it is a good sign that there are now Linux users who need this kind of hand holding :) I remember that, in the old days (eg, a year ago or so) one was supposed to RTFM and figure it out. Not any more?
----- One learns to itch where one can scratch.
May I suggest vdmsound Allowed me to play Dune 2 no problems under windows 2k. Bonus points for it being open source and gpl'ed eh?
groklaw, wired and slashdot. The holy trinity of work based time wasting.
I thought it rather amusing that all the classic old DOS games that the guy mentioned are in fact available as source ports for Linux (and probably most other OSs).
But in case you didn't know, you can get a very damn cool version of Scorched Earth in 3d here: http://www.scorched3d.co.uk/ (Windows, Mac OSX, Linux, source, etc.)
I played it with a bunch of friends at a LAN party recently, several of whom had played the DOS Scorched Earth before (I hadn't). Fan-fucking-tastic game. 'Twas a very satisfying moment when I was the first to discover that you could buy mini-nukes as weapons... *evil grin*
Guy who had just been hit with the nuke (along with everyone else who just heard the explosion): "WHAT THE FUCK WAS THAT???!?!??!"
Pete. :-)
IIRC, Apogee sell all their old games online on their website www.3drealms.com -quick check- Yep, if you go here: http://store.yahoo.com/3drealms/dowit.html you can find classics such as Duke Nukem (1&2), Commander Keen (various episodes), and lesser known games such as the "cute" Cosmo, Crystal Caves, etc. Those were the days!
Haven't tried this yet - freedos is still in the process of compiling on my machine - but what the heck, I'll give it a shot.
Right now, I've got a huge box full of old floppies for Dune, ChessMaster, Wolfenstein, and a bunch of other old games that I spent way too much money on, considering all they can do now is collect dust.
Now if they only had an emulator for the Win95 games that no longer work in 2000/XP... Somebody aught to support these commercial products that no longer have an OS to run on!
"The large print giveth, and the small print taketh away" -- "Step Right Up", Tom Waits
Who needs a tutorial? Just type emerge dosemu.
Karma: It's all a bunch of tree-huggin' hippy crap!
Wp5.1 for DOS was, like all other WP DOS versions, was written in assembly language for "fast keyboard response" according to WP Corp. way back when.
I still use it on DOSemu (easy, start it with -c -k and all the function keys work as expected.)
Besides that, there were severe graphics issues, you had to have them in the arcane .wpg format.
.wpg is a well-documented format.
.wpg format. It wasn't too difficult because the docs were quite good. This was for vector graphics, though, which probably isn't what you want. There are free (as in beer) Windows programs which convert other formats to wpg; a quick Google turned up Paint Shop Pro, there must be others. On Linux there is ImageMagick which is also downloadable at no charge.
Actually
About 14 years ago I remember writing a library for outputting charts in
The reason I ask is for the old venerable OrCAD 386 SDT and PCB programs... 800x600 just doesn't cut it, and that old program is still way ahead of what they've put out today in terms of ease of use, functionality and keyboard support.
I know about Eagle's cross-platform abilities and all the other win32-only ones but to be honest, none of them seem to have that right mix of keyboard use, navigation and plain old workability. I'm rapidly running out of systems that OrCAD 386 will run on. :-(
It would be nice to run non-bloated code again. I used to be amazed at the speed of spell-checking in WP 5.2 on a 286, it would most probably still beat Word 2000 on my Athlon 2.6GHz. Life was much less troublesome then, before truly abominable software, designed by idiots, for idiots, became dominant.
Now, if DOS could be combined with Unix version 7, that would be almost perfection.
Almost completely legally? So you're saying its illegal, right?
Well here was my experience installing it:
/usr/include/linux/pci.h:20, /usr/include/sys/pci.h:23, ../../../src/include/pci.h:10,
/usr/include/linux/mod_devicetable.h:18: error: parse error before "__u32"
/usr/include/linux/mod_devicetable.h:20: error: parse error before "class"
/usr/include/linux/mod_devicetable.h:21: error: parse error before "driver_data"
/usr/include/linux/mod_devicetable.h:31: error: parse error before "__u32"
/usr/include/linux/mod_devicetable.h:33: error: parse error before "model_id"
/usr/include/linux/mod_devicetable.h:34: error: parse error before "specifier_id"
/usr/include/linux/mod_devicetable.h:35: error: parse error before "version"
/usr/include/linux/mod_devicetable.h:36: error: parse error before "driver_data"
/usr/include/linux/mod_devicetable.h:99: error: parse error before "__u16"
/usr/include/linux/mod_devicetable.h:103: error: parse error before "idProduct"
/usr/include/linux/mod_devicetable.h:104: error: parse error before "bcdDevice_lo"
/usr/include/linux/mod_devicetable.h:105: error: parse error before "bcdDevice_hi"
/usr/include/linux/mod_devicetable.h:108: error: parse error before "bDeviceClass"
/usr/include/linux/mod_devicetable.h:109: error: parse error before "bDeviceSubClass"
/usr/include/linux/mod_devicetable.h:110: error: parse error before "bDeviceProtocol"
/usr/include/linux/mod_devicetable.h:113: error: parse error before "bInterfaceClass"
/usr/include/linux/mod_devicetable.h:114: error: parse error before "bInterfaceSubClass"
/usr/include/linux/mod_devicetable.h:115: error: parse error before "bInterfaceProtocol"
/usr/include/linux/mod_devicetable.h:118: error: parse error before "driver_info"
/usr/include/linux/mod_devicetable.h:135: error: parse error before "__u16"
/usr/include/linux/mod_devicetable.h:138: error: parse error before "dev_type"
/usr/include/linux/mod_devicetable.h:139: error: parse error before "cu_model"
/usr/include/linux/mod_devicetable.h:140: error: parse error before "dev_model"
/usr/include/linux/mod_devicetable.h:142: error: parse error before "driver_info"
tar xzvf dosemu-1.1.99.1.tgz
cd dosemu-1.1.99.1/
make
ERROR:
In file included from
from
from
from int.c:44:
But its dealing with Matrox card (which I dont have) so I take it out... 20 files later:
Same error different file
Suddenly I remember:
apt-get install dosemu
1 minute later I am playing X-Com UFO defense! Yea!
I, for one, don't want to go back to only using fonts that reside in the printer you have currently attached and have everything messed up when the document had to be printed elsewhere.
LOL! How little things have really changed. My current era MS Word, Lotus WordPro and WP 11 all have problems with formatting when I switch from my Lexmark to a Canon ink jet as the Canon supports edge to edge printing where the Lexmark doesn't. WP would have font issues - if a printer wouldn't have a given font in would usually default to 10 Pitch whatever...
Back in the day, as now if you were doing publication ready stuff, you had to use the right tools - and wordprocessors are not and never have been up to the task!
-- $G
There were several versions of the graphical WordPerfect available for Linux.. google and you will find a guide to getting them running on a modern distro.
Unfortunately, only the very crippled personal version is available for free, and since Corel killed all their Linux stuff, you can't get it anymore.
But the information "You can use this without problems. It works. Try it. It runs your classic games." is valueable enough. I think I would not have tried this without this article. So I did, and yes, it works, and even my good old home-brew pacman works perfectly. Good old time.
[See "Boot CP/M!" link mid-page.]
MechWarrior II: 21st Century Combat
Commander Keen
Scorched Earth/TANKS!
Hugo Whodunit (wish I could find a copy of those!)
Raptor: Call of the Shadows/Raptor 2
Descent
Duke Nukem 3D
Command and Conquer (Gold)
Warcraft I and II
Oher than the games listed above, I pretty much missed out on the DOS gaming era - I didn't get a Nintendo until '93 or so, and quite a while longer until I got a PC ('96?).
~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers