Help - Search - Members - Calendar
Full Version: Dosbox For Z
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
chyang
After some time debuggiing, I can run it successfully on my C3000.
It's useful for legacy dos apps.
Also updated libsdl, added shift+ctrl+cancel to brute exit sdl apps.
libsdl does have some problems inside. Don't know when I would have time again to fix the problrm. I did comparison between bvdd sdl, performance seems to be close.

When begin to run dosbox, it will blink, press cancel to ease the running.

How to run:
Extract the files
If you have installed other libSDL, first backup appropriate files.
move libSDL-1.2.so.0.7.1 to /opt/Qtopia/sharp/lib
#mv libSDL-1.2.so.0.7.1 /opt/Qtopia/sharp/lib
#ln -sf /opt/Qtopia/sharp/lib/libSDL-1.2.so.0.7.1 /opt/Qtopia/sharp/lib/libSDL-1.2.so.0
#ln -sf /opt/Qtopia/sharp/lib/libSDL-1.2.so.0.7.1 /opt/Qtopia/sharp/lib/libSDL.so

If you want to run as root, be sure to copy the file under /tmp/qtembedded-zaurus/*.spec to /tmp/qtembedded-root/

then you can run dosbox
#./dosbox

Any problems, you can report here.
spartan
Works excellently: however, it crashes the Zaurus on exit and I cannot enter the colon key. Any work-arounds?

Additionally, did you compile this against the standard kernel or Atty's optimized with iWMMX extensions?
spartan
I'd like to add that I managed to get Master of Orion II to work with some work-arounds to the keyboard issues. I didn't activate swap in my test run so past the screen shot below it completely ran out of memory and killed DosBox.

If possible, compile with optimizations and a fixed mouse support: it works very well.
merli
I tried to run some games. I tried Warcraft 1 and Knights of Xentar. Both ran but were terrible slow :-( unplayable.
The_Poet
QUOTE(spartan @ Oct 17 2005, 10:36 PM)
I'd like to add that I managed to get Master of Orion II to work with some work-arounds to the keyboard issues. I didn't activate swap in my test run so past the screen shot below it completely ran out of memory and killed DosBox.

If possible, compile with optimizations and a fixed mouse support: it works very well.
*



If I could get DOS and MOO 2 running on my Zaurus, I'd never let it alone again. Any .IPKs that will install both and run everything correctly?

Poet
Meanie
very nice Chyang! i was planning to compile dosbox because i wanted to run some old games but you beat me to it and done a great job too smile.gif

so i packaged it up and built an ipk for it
Kedge
QUOTE(Meanie @ Oct 18 2005, 04:06 PM)
so i packaged it up and built an ipk for it
*


The package is working nicely. But i can't enter the slash which is necessary.
@spartan
Is this one of the keyboard issues where you have a workaround? How do you did it?

kedge
chyang
I used one external keyboard for the unsupported keys. The SDL needs lots of re-work. Also, you may try keyhelper to remap the keyboard.
wmadan
Is this ipk just for the C3000 and C3100? I installed it on my C1000 and it installed okay. When I ran it from the terminal it complained about a couple of missing libraries, libstdc++ being one of them. I installed that from the feed and when I launched dosbox by tapping the icon on the desktop, it cause my display to flicker a lot and the only way to get out of it is to reboot.

Bill
spartan
I could only fix the slash problem by running Keyhelper with Meanie's configuration. It swaps comma with forward-slash. However, I failed to configure colon to function inside Dosbox, regardless of the key assigned in Keyhelper. However, by adding the following in your Dosbox.config file at the [Autoexec] section, you can mount and switch drives, precluding the need for a forward slash and colon.

[Autoexec]
mount c /mnt/card
C:\

Of course, replace /mnt/card with whatever directory on your Zaurus you want the C drive to point to.
Kedge
QUOTE(spartan @ Oct 21 2005, 05:56 AM)
However, by adding the following in your Dosbox.config file at the [Autoexec] section, you can mount and switch drives, precluding the need for a forward slash and colon.

[Autoexec]
mount c /mnt/card
C:\

Of course, replace /mnt/card with whatever directory on your Zaurus you want the C drive to point to.
*

Found this workaround also and it works. But the game I tried (Ascendency, very nice strategy game) is much to slow. I read that you need at least a GHz processor for games running in protected mode. How is MoO2 running?

Kedge
chyang
QUOTE(wmadan @ Oct 21 2005, 10:59 AM)
Is this ipk just for the C3000 and C3100? I installed it on my C1000 and it installed okay. When I ran it from the terminal it complained about a couple of missing libraries, libstdc++ being one of them. I installed that from the feed and when I launched dosbox by tapping the icon on the desktop, it cause my display to flicker a lot and the only way to get out of it is to reboot.

Bill
*


Press cancel to ease it. smile.gif
jpmatrix
guyz, i'm impressed...
i've just lauched Civilization 1 on my Z via Dosbox and... it works!!!
just a little slow but it seems playable smile.gif

souvenirs souvenirs ;-)
Miami_Bob
QUOTE(jpmatrix @ Dec 8 2005, 06:47 PM)
souvenirs souvenirs ;-)
*

Is that a John Prine - Steve Goodman reference? (G)
Meanie
I made an updated package http://www.users.on.net/~hluc/myZaurus/stu...0.6.3-2_arm.zip so that dosbox uses its own libSDL without touching the main SDL lib so it can co-exist with the SDL that for example doom and zemufe require.
vagrant_h
QUOTE(Meanie @ Dec 24 2005, 10:47 AM)
I made an updated package http://www.users.on.net/~hluc/myZaurus/stu...0.6.3-2_arm.zip so that dosbox uses its own libSDL without touching the main SDL lib so it can co-exist with the SDL that for example doom and zemufe require.
*


I tried this with Cacko 1.23
and it tells me some lib is missing with the name: libstdc++-libc6.1-2.so.3
speculatrix
QUOTE(vagrant_h @ Dec 31 2005, 05:51 PM)
I tried this with Cacko 1.23
and it tells me some lib is missing with the name: libstdc++-libc6.1-2.so.3
*


see if you have an alternative version of the library..

find / -name "libstdc*" -print

then hack in a link, e.g.

cd /usr/lib
ln -s libstdc++-libc6.1-3.so.3 libstdc++-libc6.1-2.so.3

or similar, this usually works if the versions are very close.
vagrant_h
QUOTE(speculatrix @ Jan 2 2006, 07:01 AM)
QUOTE(vagrant_h @ Dec 31 2005, 05:51 PM)
I tried this with Cacko 1.23
and it tells me some lib is missing with the name: libstdc++-libc6.1-2.so.3
*


see if you have an alternative version of the library..

find / -name "libstdc*" -print

then hack in a link, e.g.

cd /usr/lib
ln -s libstdc++-libc6.1-3.so.3 libstdc++-libc6.1-2.so.3

or similar, this usually works if the versions are very close.
*



Thanx, but in fact, I already found libstdc++-libc6.2-2 @ /home/QtPalmtop/lib
and tried to make a link @ /home/QtPalmtop/lib and /usr/lib
none of them works
Miami_Bob
QUOTE(vagrant_h @ Jan 2 2006, 05:18 AM)
Thanx, but in fact, I already found libstdc++-libc6.2-2 @ /home/QtPalmtop/lib
and tried to make a link @ /home/QtPalmtop/lib and /usr/lib
none of them works
*

My notes say that I installed

dosbox_0.6.3-2_arm.ipk

on my C860 and when dosbox did not like the libs that it found, just installed

libstdc6_1.2.2_arm.ipk

and dosbox was copacetic. Tree!Expl shows /home/QtPalmtop/lib/ contains

libstdc++.so.5.0.5 with libstdc++.so.5

both symblinked to

libstdc++.so.5.0.5

in /mnt/xqt/xqt-mozilla/opt/QtPalmtop/lib/

(Meanie's cramfs set).

libstdc6_1.2.2_arm.ipk installed

/usr/lib/libstdc++-3-libc6.1-2-2.10.0.so with

/usr/lib/libstdc++-3-libc6.1-2.so.3
/usr/lib/libstdc++-3-libc6.2-2.so.3
/usr/lib/libstdc++-libc6.1-2.so.3

all symblinked to it.

Check the rundosbox script in

/home/QtPalmtop/bin/

for how the dosbox lib paths are changed.

HTH. If not, shout (G)
vagrant_h
QUOTE(Miami_Bob @ Jan 3 2006, 02:07 AM)
QUOTE(vagrant_h @ Jan 2 2006, 05:18 AM)
Thanx, but in fact, I already found libstdc++-libc6.2-2 @ /home/QtPalmtop/lib
and tried to make a link @ /home/QtPalmtop/lib and /usr/lib
none of them works
*

My notes say that I installed

dosbox_0.6.3-2_arm.ipk

on my C860 and when dosbox did not like the libs that it found, just installed

libstdc6_1.2.2_arm.ipk

and dosbox was copacetic. Tree!Expl shows /home/QtPalmtop/lib/ contains

libstdc++.so.5.0.5 with libstdc++.so.5

both symblinked to

libstdc++.so.5.0.5

in /mnt/xqt/xqt-mozilla/opt/QtPalmtop/lib/

(Meanie's cramfs set).

libstdc6_1.2.2_arm.ipk installed

/usr/lib/libstdc++-3-libc6.1-2-2.10.0.so with

/usr/lib/libstdc++-3-libc6.1-2.so.3
/usr/lib/libstdc++-3-libc6.2-2.so.3
/usr/lib/libstdc++-libc6.1-2.so.3

all symblinked to it.

Check the rundosbox script in

/home/QtPalmtop/bin/

for how the dosbox lib paths are changed.

HTH. If not, shout (G)
*



Thank you, it worked
Miami_Bob
QUOTE(vagrant_h @ Jan 3 2006, 10:00 PM)
Thank you, it worked
*

You are very welcome. Its nice to be able to help another Z-lot (G) solve a problem! Glad that I could help.
Meanie
updated dosbox with the : key working smile.gif

Fn + ; = :
Fn + Ctrl + ; = ;

the file is here: http://zaurus.daemons.gr/menaie/feed/dosbox_0.6.3-3_arm.ipk
Jon_J
I just installed dosbox_0.6.3-3_arm.ipk onto my C3100.
I also have previously installed libstdc6_1.2.2_arm.ipk
I don't have Meanie's pdaxqtrom installed.
This version is supposed to run without x11 or pdaxqtrom, isn't it?

When running dosbox from the icon, or from the commandline, it opens a black screen, which looks like dosbox, but my Z is completely frozen.
The cancel button does nothing. None of the keys respond.
I must open the battery compartment, and reset my Z to get it running again.
The commandline launch didn't show any errors.

Thank you,
Jon
dougeeebear
QUOTE(Jon_J @ Sep 6 2006, 11:11 AM)
I just installed dosbox_0.6.3-3_arm.ipk onto my C3100.
I also have previously installed libstdc6_1.2.2_arm.ipk
I don't have Meanie's pdaxqtrom installed.
This version is supposed to run without x11 or pdaxqtrom, isn't it?

When running dosbox from the icon, or from the commandline, it opens a black screen, which looks like dosbox, but my Z is completely frozen.
The cancel button does nothing. None of the keys respond.
I must open the battery compartment, and reset my Z to get it running again.
The commandline launch didn't show any errors.

Thank you,
Jon
*

I had exactly the same results with this version on my C1000.
ken
QUOTE(dougeeebear @ Sep 6 2006, 11:26 AM)
I had exactly the same results with this version on my C1000.


ditto on my 6K. Not that I really expected it to work though, as X/QT isn't the same as Qtopia afaik.
dougeeebear
I have a version of Dosbox worknig on my C1000.

Read this
chyang
hi, Bob:
Can you compile dosbox natively on your Z?
If yes, would you like to do the following:
in bios_keyboard.cpp
replace
{ 0x273b, 0x273a, none, 0x27f0 }, /* ;: */
with
{ 0x273a, 0x273b, 0x273b, 0x273a }, /* :; */

This is what Meanie told me to enable the key ':'
Thanks.
--
Chen
nick12288
can someone tell me if its possible to get dosbox working on a SL-5600?
chyang
It should be possible. But you need to hack dosbox and SDL for correct display.
Miami_Bob
QUOTE(chyang @ Sep 7 2006, 07:34 AM)
hi, Bob:
  Can you compile dosbox natively on your Z?

Have not gotten it to work yet, Chen. Been a rough year - LOL!

Have just been using my old HP200LX instead rather then trying to run the DOS apps on one of the C860s now.

QUOTE
If yes, would you like to do the following:
in bios_keyboard.cpp replace
{ 0x273b, 0x273a, none, 0x27f0 }, /* ;: */
with
{ 0x273a, 0x273b, 0x273b, 0x273a }, /* :; */

I have that filed away now in working notes. THANKS!

QUOTE
This is what Meanie told me to enable the key ':'
Thanks.
--
Chen

Thanks to both you & Meanie. Sorry for the delay in reply. The window AC that cools my bed room - computer room complex died & it took a while to get a suitable replacement & install it. Hard to work the keyboard when its 92 degrees & 88% relative humidity - LOL!
fooman
Jon,

Did you ever get dosbox working? I'm running Cacko 3000 Beta 1.23 on my C3000. I previously installed dosbox_0.6.3-3_arm.ipk and libstdc6_1.2.2_arm.ipk and then created a symlink from /usr/lib/libstdc++-3-libc6.1-2-2.10.0.so to /usr/lib/libstdc++-libc6.1-2.so.3.

When I execute the rundosbox command from the command line, the screen fades to white and then everything freezes. None of the keys respond including cancel and home. Since I've run the command from an ssh session, I can hit ctrl-z to interrupt the program (but ctrl-c doesn't work). But I can't run any command to get the video back so I'm forced to reboot.

Here are the messages I see on the command line:

Display size = 480x640
CONFIG:Loading settings from config file dosbox.conf
QT_GetMachine: /proc/deviceinfo/product is 'SL-C3000'
detected machine is 'Sharp SL-C3000'
QT_GetRotation: Read spec from '/tmp/qtembedded-root/QtEmbedded-0.spec'
Rot=0, Qvga=0
QT_SetVideoMode: SL-C700 Style is Input style
QT_SetVideoMode: argSize=640x400
QT_SetVideoMode: qteSize=640x480
QT_SetVideoMode: fbSize=640x480
QT_SetVideoMode: qteRotation=0
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=0
QT_SetVideoMode: qteKeyRotation=0
QT_SetVideoMode: sdlKeyRotation=0
MIDI:Opened device:none

It repeats everything from the first "QT_GetMachine" downward two more times. Does anyone have any ideas? I'd really like to get DOS working on my Z. biggrin.gif


QUOTE(Jon_J @ Sep 6 2006, 12:11 PM)
I just installed dosbox_0.6.3-3_arm.ipk onto my C3100.
I also have previously installed libstdc6_1.2.2_arm.ipk
I don't have Meanie's pdaxqtrom installed.
This version is supposed to run without x11 or pdaxqtrom, isn't it?

When running dosbox from the icon, or from the commandline, it opens a black screen, which looks like dosbox, but my Z is completely frozen.
The cancel button does nothing. None of the keys respond.
I must open the battery compartment, and reset my Z to get it running again.
The commandline launch didn't show any errors.

Thank you,
Jon
*
chyang
I have verified that on C3000 dosbox should be working.
Have you noticed that the screen is blinking? Press cancel to ease it, then you will be able to see Dosbox running.
fooman
Thanks, I got it working. I had installed it to /hdd3 and used ipkg-link to establish symlinks. But I think the C3000 doesn't like that very much. When I installed it directly without symlinks, it works OK.

QUOTE(chyang @ Oct 21 2006, 10:16 PM)
I have verified that on C3000 dosbox should be working.
Have you noticed that the screen is blinking? Press cancel to ease it, then you will be able to see Dosbox running.
*
Jon_J
I had an older version of Dosbox running about 8 months ago. (dosbox_0.6.3-2)
I only had it installed to play some older games, which didn't work properly.
The game that I was interested in didn't play. (Betrayal at Krondor)
I tried several games. (RPGs)
None of them would play, or continue to the next screen, or they needed F1-F10 keys.
I uninstalled THAT version, and then later tried the newer one (dosbox_0.6.3-3)
When it didn't work as I mentioned in the post on the first page of this thread, I decided I didn't really need it that bad, to try and get it working again.
I may try it again this Winter, but in the meantime, I'm testing Turbografx CD games, using Cresho's emulator.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.