LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2004, 11:47 AM   #1
ricstamps
LQ Newbie
 
Registered: Jan 2003
Location: Detroit, MI area, USA
Distribution: redhat 8, debian
Posts: 7

Rep: Reputation: 0
running DOS programs under Linux


This may be a really stupid question, but I can't seem to find anything on it thru a search here. I am trying to run an MS-DOS program that currently resides on another computer here on my local(home) network. In Windows I can run the program on my computer in a DOS window by creating a PIF (Program Information File) that puts an icon on the desktop that allows me to run the DOS program, Is there a similar way to run DOS programs under Linux? If not, how does one run a DOS program under Linux? I am using SuSE 9.0 Pro, on an AMD 2000+ system, 512 megs ram, 2 hard drives, one for wimdows, one for Linux. ANy help for this newbie would be greatly appreciated.
 
Old 04-10-2004, 11:50 AM   #2
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
I think wine should do run dos programs. I'm not sure how effective it is though.

http://www.winehq.com
 
Old 04-10-2004, 11:51 AM   #3
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
http://www.dosemu.org/ This might help. This one talks about how to install it. http://www.linuxjournal.com//article.php?sid=5955

Last edited by CBlue; 04-10-2004 at 11:53 AM.
 
Old 04-10-2004, 11:58 AM   #4
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
Only dosemu runs Dos, Wine runs Windows.
 
Old 04-10-2004, 12:40 PM   #5
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
u can try dosbox to run DOS GAMES!!!
http://dosbox.sourceforge.net/
 
Old 04-10-2004, 12:50 PM   #6
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
I stand corrected.
 
Old 04-10-2004, 02:18 PM   #7
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
CBlue, what do ya mean ???
 
Old 04-10-2004, 08:06 PM   #8
CBlue
Member
 
Registered: Mar 2004
Location: South Carolina, USA
Distribution: Mepis
Posts: 287

Rep: Reputation: 31
I had said that only dosemu will allow you to run Dos on Linux but your link shows that Dos games can run on Linux using Dosbox.
 
Old 04-10-2004, 09:22 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I have been running DOSEMU for about 3 years. At first I used Novell DOS 7 as the DOS running on top of DOSEMU. Lately, I switched to using FreeDOS instead of Novell. DOSEMU works very well. Its only drawback is that the install documentation is confusing. Here are some threads discussing DOSEMU:

http://www.linuxquestions.org/questi...hreadid=141938

http://www.linuxquestions.org/questi...hreadid=133412

http://www.linuxquestions.org/questi...hreadid=128643


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 04-11-2004, 05:02 AM   #10
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
I have used DOSBox and it does a good job of running DOS programs. Both the soundcard and the joystick to work with DOSBox on my computer. It emulates the PC speaker and also emulates a type of soundcard that is supported by old DOS programs. DOSBox was also able to take my USB joystick and emulate it as something that the DOS programs would recognize. USB joysticks did not exist when the DOS programs were written but through emulation it makes it appear to be an old fasioned type of joystick.

I have used DOSBox under Red Hat 9 to play Commander Keen, Island of Danger, Galactic Battle and a few other old DOS programs. I have also used a Morse code practice program with it. I have not yet tried using it under the Slackware 9.1 that I have been using lately. I have never tried using dosemu, so I do not know how it compares to DOSBox.

DOSBox can run the programs either in a window or in full screen at 640 x 480 VGA resolution. I had to use modeprobe to load a joystick related module each time before the joystick would work. At the moment I can not recall the name of the module. Someday I will try dosemu to see how it compares to DOSBox.
 
Old 04-12-2004, 02:43 PM   #11
ricstamps
LQ Newbie
 
Registered: Jan 2003
Location: Detroit, MI area, USA
Distribution: redhat 8, debian
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks!

Thanks for all the replys! I will see what works and report back so you all can know what happened. I do appreciate the help!
Ric
 
Old 04-19-2008, 06:34 AM   #12
LAN-Dominator.nl
Member
 
Registered: Sep 2006
Location: Hendrik Ido Ambacht, Zuid-Holland, Nederland, Europa
Distribution: Ubuntu 12.04; CentOS 6.5
Posts: 137

Rep: Reputation: 15
How do you change the *&%*($#$ Resolution?

i want to make my DosBox resolution go 1280 x 1024

Here got a small part of the Conf file:

Code:
[sdl]
# fullscreen -- Start dosbox directly in fullscreen.
# fulldouble -- Use double buffering in fullscreen.
# fullresolution -- What resolution to use for fullscreen: original or fixed size (e.g. 1024x768).
# windowresolution -- Scale the window to this size IF the output device supports hardware scaling.
# output -- What to use for output: surface,overlay,opengl,openglnb.
# autolock -- Mouse will automatically lock, if you click on the screen.
# sensitiviy -- Mouse sensitivity.
# waitonerror -- Wait before closing the console if dosbox has an error.
# priority -- Priority levels for dosbox: lowest,lower,normal,higher,highest,pause (when not focussed).
#             Second entry behind the comma is for when dosbox is not focused/minimized.
# mapperfile -- File used to load/save the key/event mappings from.
# usescancodes -- Avoid usage of symkeys, might not work on all operating systems.

fullscreen=true
fulldouble=false
fullresolution=1280 x 1024
windowresolution=1280 x 1024
output=surface
autolock=true
sensitivity=100
waitonerror=true
priority=higher,normal
mapperfile=mapper.txt
usescancodes=true

[dosbox]
# language -- Select another language file.
# memsize -- Amount of memory DOSBox has in megabytes.
# machine -- The type of machine tries to emulate:hercules,cga,tandy,pcjr,vga.
# captures -- Directory where things like wave,midi,screenshot get captured.

language=
machine=sxga
captures=capture
memsize=128
What did i do wrong?!?
 
Old 04-20-2008, 01:08 PM   #13
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
The official Dosbox forum is frequented by folks developing and using Dosbox. That's a great place to read up on this stuff, search, and post questions that people who have lots of answers will see.

http://vogons.zetafleet.com
 
Old 04-20-2008, 07:54 PM   #14
webaware
Member
 
Registered: Nov 2007
Location: Australia
Distribution: Fedora FC-9 x86-64+i686,CentOS 5.2 i686
Posts: 58

Rep: Reputation: 16
I recently tried both for a program that used graphics (via Borland's old BGI graphics drivers) and it was dodgy as hell under DOSBox but worked fine in QEMU with a FreeDOS image.
 
Old 04-20-2008, 08:34 PM   #15
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
I just wanna play Jump Joe again!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Programs running in background on linux?? JellyStones Linux - General 4 02-10-2004 05:42 AM
Linux live cd running Dos utilities question... minion01 Linux - General 5 12-17-2003 10:25 PM
running windows programs on linux im1crazyassmofo Linux - Software 5 01-25-2003 04:03 PM
Running Windows programs in Linux pilot1 Linux - Newbie 8 06-21-2002 10:12 PM
Windows Emulation and running DOS programs.. shassouneh Linux - General 7 04-09-2001 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration