WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: HOWTO: DosBox  (Read 5287 times)

Offline gunny

  • Newbie
  • *
  • Posts: 3
HOWTO: DosBox
« on: February 03, 2012, 10:08:17 AM »
I ran into a problem starting DosBox and then getting the arrows keys to work on my old IBM ThinkPad.

When I tried to start DosBox nothing happened, so I opened terminal and ran dosbox from the command-line.

That returned the following error "error while loading shared libraries: libSDL_sound-1.0.so.1: cannot open shared object file: No such file or directory"

Searching the forum I found a post from marco which in part said "As it turns out the missing dependencies are: 'sdl-sound.tcz', 'libasound.tcz', and 'libvorbis.tcz'."

I loaded sdl-sound.tcz, libasound.tcz, libvorbis.tcz and DosBox opened.

The next problem I encountered was the arrow keys were not working.

The fix for this was to set usecancodes to false in the dosbox-0.74.conf file.

Afterwards I was able to install Windows 3.1 with sound, video and joy stick drivers.

Now my grandson can play some old school dos and windows games.

Tiny Core Linux Rocks!!!

« Last Edit: February 03, 2012, 10:14:10 AM by gunny »

Offline Lee

  • Hero Member
  • *****
  • Posts: 578
    • My Core wiki user page
Re: HOWTO: DosBox
« Reply #1 on: February 03, 2012, 03:16:54 PM »
Thanks for the HOWTO.

I don't suppose you've tested that setup with Red Storm Rising or F19 Stealth Fighter?

Try this for screen shots w/o the terminal window showing:
Code: [Select]
( screenshot.sh & ) ; exit
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm
PPR, data persistence through filetool.sh
USB Flash drive, one partition, ext2, grub4dos

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: HOWTO: DosBox
« Reply #2 on: February 03, 2012, 08:50:15 PM »
I wanted to package dbgl time ago but did not succeed  :P

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: HOWTO: DosBox
« Reply #3 on: February 04, 2012, 05:31:09 AM »
Thanks, gunny. Your tips really helped. I can now use the great DOS word processor--Norton Textra!

Offline gunny

  • Newbie
  • *
  • Posts: 3
Re: HOWTO: DosBox
« Reply #4 on: February 04, 2012, 05:39:05 AM »
Lee,

Thanks for the screenshot tip!  :)

I added the following to .jwmrc-keys
Code: newbielink:javascript:void(0); [nonactive]
<Key mask="A" key="p">exec:screenshot.sh</Key>
 

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: HOWTO: DosBox
« Reply #5 on: February 06, 2012, 08:44:33 AM »
I have one odd observation in my installation of DosBox. When I first boot up, DosBox won't start. If I invoke it through a terminal window, I get the following:

Quote
tc@box:~$ dosbox
dosbox: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory

But if I run Firefox first and then start DosBox, it works just fine. Strange.

Online Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4262
Re: HOWTO: DosBox
« Reply #6 on: February 06, 2012, 09:00:04 AM »
Hi OldAdamUser2
That's because  libasound  is a dependency of Firefox, once you run it,  libasound  gets loaded.
Try running  dosbox --help  and see if there is a switch to disable sound if you don't need it.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1104
  • HandMace informatic works
Re: HOWTO: DosBox
« Reply #7 on: February 06, 2012, 12:22:39 PM »
with jack is not possible to play multiple audio sources simultaneously?

Offline OldAdamUser2

  • Full Member
  • ***
  • Posts: 199
Re: HOWTO: DosBox
« Reply #8 on: February 08, 2012, 02:21:11 PM »
My problem was that I had set up Firefox to load ondemand. Once I changed it to load onboot, Dosbox works just fine. No need to actually start Firefox before Dosbox.

Offline floppy

  • Hero Member
  • *****
  • Posts: 577
Re: HOWTO: DosBox
« Reply #9 on: February 12, 2012, 12:10:07 PM »
Afterwards I was able to install Windows 3.1 with sound, video and joy stick drivers.

Now my grandson can play some old school dos and windows games.
@gunny. Could you please update that post with..:
- how to install windows3.1 within DosBox
- few  links where to find dos and windows games free of charge
?
I have a small project: change my AMD K6-III into a "playstation" year 198x..!
AMD K6-IIIATZ 550MHz MB DFI K6xv3/+66
P4 HP DC7100 3GB 3GHz
Samsung NC10 boot from SD card port (via USB reader)
.. all TinyCore proofed

Offline flyinghamster

  • Newbie
  • *
  • Posts: 14
Re: HOWTO: DosBox
« Reply #10 on: March 20, 2012, 12:24:05 PM »
I got a question for you tinycore dosbox users out there!  :D

I am thinking about setting up a couple of tinycore usbsticks with extensions/libs to set up an the ipx network that is included in dosbox for network compatibility with certain dos games and was wondering if anyone had experience with this protocol in linux machines?

Specifically wondering if there are any specific libs i need for ipx network compatability.


Online gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 3498
Re: HOWTO: DosBox
« Reply #11 on: March 20, 2012, 02:50:38 PM »
The only one I recall was MARS nwe.
Martin Stovers Netware Emulator.

Offline Pseudoman

  • Jr. Member
  • **
  • Posts: 60
    • Sudoman's Domain
Re: HOWTO: DosBox
« Reply #12 on: March 20, 2012, 04:34:03 PM »
You shouldn't need any libs for IPX if you are using DOSBox. DOSBox will emulate IPX over UDP/IP.
Check out:
http://www.dosbox.com/wiki/Connectivity
Q: Are We Not Men? A: We Are SUDO!

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 693
Re: HOWTO: DosBox
« Reply #13 on: March 30, 2012, 10:42:09 AM »
this is interesting thread


Offline flyinghamster

  • Newbie
  • *
  • Posts: 14
Re: HOWTO: DosBox
« Reply #14 on: April 03, 2012, 06:31:28 AM »
 :D thanks, was worried i would have to go through a long process