Author Topic: Dosbox For Z  (Read 25445 times)

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Dosbox For Z
« on: October 17, 2005, 10:45:00 am »
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.
« Last Edit: October 17, 2005, 09:47:56 pm by chyang »
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Dosbox For Z
« Reply #1 on: October 18, 2005, 12:04:27 am »
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?
« Last Edit: October 18, 2005, 12:06:32 am by spartan »
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

spartan

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Dosbox For Z
« Reply #2 on: October 18, 2005, 01:36:40 am »
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.
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

merli

  • Full Member
  • ***
  • Posts: 227
    • View Profile
    • http://
Dosbox For Z
« Reply #3 on: October 18, 2005, 04:15:39 am »
I tried to run some games. I tried Warcraft 1 and Knights of Xentar. Both ran but were terrible slow :-( unplayable.
merli
------
SL-C1000 - pdaxii13 5.3.3 but considering go back to beta1
Wifi D-link DCF-650W CF card - not using
bluetooth Billionton BT CF card and Samsung SGH-i310 GPRS
Pretec Cheetah 133x 4GB SD, Pretec Cheetah 80x 1GB CF

The_Poet

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • http://allecase.topcities.com
Dosbox For Z
« Reply #4 on: October 18, 2005, 05:59:21 am »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99810\"][{POST_SNAPBACK}][/a][/div]


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

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Dosbox For Z
« Reply #5 on: October 18, 2005, 11:06:11 am »
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

so i packaged it up and built an ipk for it
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Kedge

  • Newbie
  • *
  • Posts: 42
    • View Profile
Dosbox For Z
« Reply #6 on: October 20, 2005, 01:29:34 am »
Quote
so i packaged it up and built an ipk for it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99872\"][{POST_SNAPBACK}][/a][/div]

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
C750 with Cacko 1.22b...

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Dosbox For Z
« Reply #7 on: October 20, 2005, 07:08:12 pm »
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.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

wmadan

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • http://
Dosbox For Z
« Reply #8 on: October 20, 2005, 10:59:31 pm »
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

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Dosbox For Z
« Reply #9 on: October 21, 2005, 12:56:10 am »
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.
C3000 with Tetsu v18d Special Kernel and Sharp 1.11JP ROM
1GB Lexmark SD, 2GB Mini SD, Socket Revision H Bluetooth, Ambicom Wi-Fi

Kedge

  • Newbie
  • *
  • Posts: 42
    • View Profile
Dosbox For Z
« Reply #10 on: October 21, 2005, 03:11:54 am »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100286\"][{POST_SNAPBACK}][/a][/div]
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
C750 with Cacko 1.22b...

chyang

  • Sr. Member
  • ****
  • Posts: 270
    • View Profile
    • http://mail.ustc.edu.cn/~chyang/
Dosbox For Z
« Reply #11 on: October 21, 2005, 05:01:06 am »
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100276\"][{POST_SNAPBACK}][/a][/div]

Press cancel to ease it.
SL-C3200+Symbol CF WIFI+Corsair 2GB SD
SL-5500+Sharp-3.13 ROM+Viking 512MB CF+Kinston 256MB SD
[img]http://sunsetyang.googlepages.com/c3200.gif\" border=\"0\" class=\"linked-sig-image\" /][img]http://sunsetyang.googlepages.com/5500.gif\" border=\"0\" class=\"linked-sig-image\" /]
Socket CF Bluetooth + EagleTec CF Lan Card + EagleTec CF Modem
Histroy:
[SL-C3000 Cacko 1.23 Beta 1] Sold on 2006/07/27
MA701 CF WIFI + EagleTec CF Bluetooth + D-Link DCF-660W WIFI
[SL5500+Sharp-3.13 ROM+SimpleTech 64MB CF+Hagiwara 128MB SD] Lost on 18,March,04

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Dosbox For Z
« Reply #12 on: December 08, 2005, 05:47:57 pm »
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

souvenirs souvenirs ;-)
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

Miami_Bob

  • Sr. Member
  • ****
  • Posts: 483
    • View Profile
Dosbox For Z
« Reply #13 on: December 20, 2005, 06:58:43 am »
Quote
souvenirs souvenirs ;-)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=106506\"][{POST_SNAPBACK}][/a][/div]
Is that a John Prine - Steve Goodman reference? (G)
Bob W - Miami FL
--------------------
"The legs of the duck are short and
 cannot be lengthened without distress
 to the duck.

The legs of the crane are long and
 cannot be shortened without distress
 to the crane."

Chuang-tzu

--------------------
C860 main - Sharp 1.40 JP ROM
Language conversion by hand

alts: Cacko 1.22 / OZ 3.5.1 / pdaXrom
512Mb SanDisk SD (x2) / 512Mb SanDisk CF (x2)
Lexar 1Gb CF / AmbiCom WL1100C-CF 802.11b WiFi

Out of Hp200LX, from HP100LX, via HP95LX
--------------------
Desktop MegaTower c/ twin DataPort HD racks;
12 removable HDs with multi OSs - no waiting.

--------------------

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Dosbox For Z
« Reply #14 on: December 23, 2005, 09:47:32 pm »
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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K