Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 13 Nov 2019, 11:59
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How do you get DOSbox running in Puppy 4.1.2?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
stowpirate


Joined: 18 Mar 2007
Posts: 69

PostPosted: Sun 22 Feb 2009, 14:01    Post subject:  How do you get DOSbox running in Puppy 4.1.2?  

How do you get DOSbox running in Puppy 4.1.2? Downloaded the 0.71 and missing SDL libs bit failed to run. Any idea or alternatives would be useful. My machine is 1.2Ghz Duron with only 512mb ram so full virtual machine running Windows might be a bit heavy to get dos support for free games?
Back to top
View user's profile Send private message 
Bruce B

Joined: 18 May 2005
Posts: 11488
Location: The Peoples Republic of California

PostPosted: Mon 23 Feb 2009, 20:30    Post subject:  

My opinion and advice is don't - use DOSEMU instead.

http://dosemu.sourceforge.net/stable/

Code:

USE dosemu-1.4.0-bin.tgz
USE dosemu-freedos-1.0-bin.tgz

NOT dosemu-1.4.0-1.i386.rpm (all-in-one RPM, includes FreeDOS)


Download and install the two tgz packages.

Do not download or install the rpm package.

Now you have DOSEMU with FreeDOS - but you can run any DOS

Fullscreen mode, Windows mode, what you prefer. Many instances as you please.

Configuration file, boot different DOS from floppy image.

Full system access, but be careful of course.

Doesn't use much memory either.

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14452
Location: Gatineau (Qc), Canada

PostPosted: Thu 26 Feb 2009, 09:09    Post subject: DOSBox runs fine here  

Hello, slowpirate.

DOSBox runs fine on both my 4.12 setups (I have one with jwm and another with icewm). This is how I did it -- with some patience.

1) petget and install DOSBox 0.71
2) also get the DOSBox 0.,72 pet package, but don't open it with pupzip. It would confuse things. Rather:
3) a) unpack the DOSBox 0.72 package with peazip. Peazip will create a DOSBox directory with the DOSBOX tar file in it
b) Now you can use pupzip or peazip to open this tar file. If using pupzip, make sure the sub-directory parameter is on.
4) locate the dosbox 0.72 executable in the bin directory of the 0.72 package

5) in rox, open the usr/local/DOSBox0.71 directory
6) rename or copy the dosbox that's there to dosbox0.71
7) copy the doxbox executable from the 0.72 package (item 4 above) to /usr/local/dosbox0.71

8) fuse (copy) the /doc and /share directories that are in the DOSBox 0.72 package with the /doc and /share directories in your regular /usr directory.

9) find the SDL libraries for Puppy 3.01 or Muppy 0.82. These are the SDL libraries that work with DOSBox, not earlier or later ones. (I can send you a copy if you don't find it.)

10) Copy these SDL libraries to your /usr/lib directory.

NOTE. At this point, as a precaution, you should open a console directly or through ROX, in /usr/local/DOSBox and type ./dosbox
If you have any libraries missing, the program will tell you. You shouldn't if you got thosae in #9) above. If all is ok, you should see the familiar dos console with a Z:/ prompt.
If you are still missing some libraries, find and add them one by one until dosbox works! (It sounds worse than it is!)

11) You'll also need a keyboard.sys file -- from Freedos 1.0, or a Win 98 or ME, or an MSDos 5 or 6, package corresponding to your language. Put it in the /usr/local/DOSBox directory. (If you pluck it off Win or MS, try to make sure the copy is legal to avoid yourself some potential problems.)

12) You'll ABSOLUTELY need the DOSBOX configuration file entitled "dosbox.conf", which you will put in /usr/local/DOSBox. Google it or IxQuick it, it was not in the packages I initially downloaded. However there is one dosbox.conf file in the DOSBoxGUI pet file. Once you found the dosbox.conf, put it in /usr/local/DOSBox.

13) Edit this dosbox.conf file as needed; the default settings from the one in the DOSBoxGui pet file should work out of the box. If not, you'll have to doodle with the screen parameters in the dosbox.conf file.

Also, pay special attention to the bottom of the configuration file, the [autoexec] section, that's were the actual loading of the DOS program occurs.

For example,
=-=-=-=-=-=-=-=-=-=-=-=
[autoexec]
# Lines in this section will be run at startup.
@echo off
# echo Pour utiliser Agenda_Cal, taper :
# echo mount c ~/Agenda_Cal
# echo c:
# echo cal.exe christia.cal
# echo.
# echo Pour jouer 'a Tetris, taper :
# echo mount c ~/tetris1
# echo c:
# echo tetris.exe
# echo.
# echo Et ainsi de suite.
mount c ~/Emul_DOS
c:
# dir *.com /w
# dir *.exe /w
nnansi.com D
4dos.com pwrmenu.exe
=-=-=-=-=-=-=-=-=-=-=-=
NOTE: as you can see, the remarked statements follow the bash-Linux custom of "#", not the "rem" or "::" fashion that is customary in DOS.
=-=-=-=-=-=-=-=-=-=-=-=

13) Create a directory in /root to receive your dos programs or games, for example EMUL_DOS. Make sure you point to it properly in the dosbox.conf file.

14) Put your favorite dos program or game in /root/EMUL_Dos and create its own *.conf file for it (for example tetris.conf).

15) For ease of use, create a script file such as "doxbox.sh", Mine contains simply

#!/bin/sh
cd /usr/local/DOSBox
dosbox

A handy thing would be for you to duplicate these scripts and config files for each DOS program you are using.

16) The DOSBox author is not too hot about it, but if you will be using programs and not just games under DOSBox, I have found it helpful to use 4dos on top of DOSBox. See my example above. It adds more functions, you see. 4dos is freeware now, and maintained by a Russian fellow.

Some programs I occasionally use under DOSBox 0.72 in Puppy 4.12:

Cal.exe, a cardware from the Netherlands (ca 1998)
Calendar.exe (came with SuprEdit; shareware)
View.exe (same)
QubeCalc (you still can't view your data from six different perspectives in either a Windows or Linux spreadsheet... However, sometimes that's exactly what you need to trigger THE proper decision.)
SuprEdit (shareware)
PowerMenu (freeware; ca 2004)
PowerBrowse (Italian DBF freeware)

Some games I occasionally play under DOSBox 0.72 in Puppy 4.12:
i-ching.exe
mjvga.exe (a very player-friendly Mah-Jong; ca 1988)
Tetris.exe

Let me know if this helps?
TTYL.

musher0

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
sidders

Joined: 23 Jul 2008
Posts: 470
Location: Bolton, uk

PostPosted: Tue 19 May 2009, 11:06    Post subject:  

I created some games and petted them for Dosbox. I used Dosbox 0.72 in 412.

If you need the Dosbox.conf, there is one included with each pet from here:
http://www.murga-linux.com/puppy/viewtopic.php?t=42119
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14452
Location: Gatineau (Qc), Canada

PostPosted: Tue 19 May 2009, 13:11    Post subject:  

DOS games on Linux! Yeeesss! That's great, sidders! Razz
I'll go have a look.

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14452
Location: Gatineau (Qc), Canada

PostPosted: Tue 19 May 2009, 13:34    Post subject:  

Hi, sidders,

Aj's World of discovery is Just the thing if you want to feel young again! Smile
Thanks!

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
sidders

Joined: 23 Jul 2008
Posts: 470
Location: Bolton, uk

PostPosted: Tue 19 May 2009, 14:19    Post subject:  

Your welcome Musher

Any problems with them let me know. I'll post any others i make there, but it could be a while yet.

Enjoy
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0389s ][ Queries: 11 (0.0053s) ][ GZIP on ]