DosBox performance on MorphOS/Powerbook
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Cego
    Posts: 593 from 2006/5/28
    From: Germany
    Hi there,

    i am using MorphOS on my Powerbook 5,8 with 2GB installed RAM.

    I wanted to fire up DosBox to play a round of one of my most favourite racer games called Screamer.
    To my suprize it runs very slow on my config and can't even run it smoothly when i select the low spec version of the game.

    I disabled all the unnecessary hardware emulation in the config file of DosBox, i played around with the cpu types and cycles it won't get any better. So i'm wondering if the MorphOS hardware is just too slow to emulate a x86 pc designed to run a game which only needs a 486 and some memory or if the dosbox port is not optimized?
    can it be related to the missing opengl drivers in morphos? would that increase the performance?

    The funny thing is, that the setup programm of that game shows me as CPU an x86 running at 68MHz, which should be more than enough for this game.

    Now maybe there are some of you who may want to test that game and give me some feedback about the performance.
    Powerbook G4@1,67GHz, 2GB DDR2 Ram, Radeon 9700, 60GB SSD, MorphOS 3.7
    PowerMac Dual G5 @2.3GHz, 4GB DDR Ram, Radeon 9600XT, 2x250GB HD, MorphOS 3.7, MacOS X Leopard 10.5.8
  • »08.02.13 - 13:46
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 10759 from 2003/5/22
    From: Germany
    > i'm wondering if the MorphOS hardware is just too slow to emulate a x86 pc
    > designed to run a game which only needs a 486 and some memory or if the
    > dosbox port is not optimized?

    I guess the answer is a matter of perspective, given that DOSBox lacks an x86-to-PPC JIT compiler. You may want to have a look at those references:

    http://amigaworld.net/modules/newbb/viewtopic.php?topic_id=32295&forum=32&start=60#672503
    http://www.roylongbottom.org.uk/dhrystone%20results.htm

    From there you can see that the x86 CPU that DOSBox emulates on your PowerBook should be performing somewhere between a 40 MHz 80386 and a 50 MHz 80486.

    > can it be related to the missing opengl drivers in morphos?
    > would that increase the performance?

    I doubt it. DOSBox is a 2D application. Even 3D games running within DOSBox are rendered by the (emulated) CPU. I don't know if it's technically feasible to enhance DOSBox in a way that makes it possible for 3D software running within the guest system to have its graphics rendered by the hardware-acceleration infrastructure of the host system (like is possible with WinUAE for instance).
  • »08.02.13 - 15:10
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    pampers
    Posts: 1057 from 2009/2/26
    From: Tczew, Poland
    Hi Cego

    I can confirm that this game is really slow on my PB 5,9 as well, even with some DosBox config tweaking. Well, probably we will have to wait for G5 MorphOS port to be able to emulate pc a little bit faster.

    I'd love to see Q ported for MorphOS ;)
    MorphOS 3.x
  • »09.02.13 - 16:24
    Profile Visit Website
  • MorphOS Developer
    zukow
    Posts: 525 from 2005/2/9
    From: Poland
    i suggest using FPSE for playing old games
  • »09.02.13 - 19:48
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    analogkid
    Posts: 580 from 2004/11/3
    From: near myself
    Andreas_Wolf,
    Quote:


    I don't know if it's technically feasible to enhance DOSBox in a way that makes it possible for 3D software running within the guest system to have its graphics rendered by the hardware-acceleration infrastructure of the host system (like is possible with WinUAE for instance).


    There's a patch for DOSBox to emulate Glide (the API used by 3dfx for its Voodoo cards) in Dosbox. I don't know whether this patch is of any use for the MorphOS version.

    http://vogons.zetafleet.com/viewtopic.php?t=16462

    [ Edited by analogkid 10.02.2013 - 17:24 ]
  • »10.02.13 - 16:23
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    stephen_robinson
    Posts: 745 from 2007/4/22
    I've just had a nice afternoon playing the original (and best!) Dark Forces game on MorphOS 3.1 on 1.5Ghz macmini, Very impressed at the speed of it.
  • »23.03.13 - 17:00
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Stephen: If your Mini is pulling off Dark Forces at full speed that that is great news! I just bought Soviet's old Efika board which I know will not be much use in regards to DOSbox, but later down the road when G5 support is officially added I do intend to get one of those. Considering that Dark Forces can be run at full speed on a Mini, I'm sure that the Terminator FPS and Anvil of Dawn will run just fine on the G5 as well!
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »23.03.13 - 18:53
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    stephen_robinson
    Posts: 745 from 2007/4/22
    Just tried the rather obscure game Normality on my 1.67 Powerbook, took a right load of fafing about to get it installed as it kept crashing and freezing the whole computer, but anyway, got it installed

    works ok, but I did have to drop down to low detail or else the movement was a bit jerky, check out this video, (skip the first 5 minutes) to see the 3d environment of the game.

    http://www.youtube.com/watch?v=lkcfNV-jkaY
  • »23.03.13 - 22:27
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    XDelusion
    Posts: 602 from 2010/10/27
    Normality, what a game! :)
    "I hope life isn't a big joke, because I don't get it." - Jack Handey

    Registered MorphOS user, Amiga user, and Atari 8-bit user.
  • »24.03.13 - 05:18
    Profile Visit Website
  • MorphOS Developer
    zukow
    Posts: 525 from 2005/2/9
    From: Poland
    i'll check that, i also have some hacked powersdl.library with support for additional overlay formats to allow dosbox use overlay on radeons
  • »19.12.19 - 16:41
    Profile Visit Website
  • MorphOS Developer
    zukow
    Posts: 525 from 2005/2/9
    From: Poland
    bah, it crashes when using dynamic cpu type
  • »19.12.19 - 19:08
    Profile Visit Website
  • MorphOS Developer
    zukow
    Posts: 525 from 2005/2/9
    From: Poland
    i'll try to do it today.
  • »21.01.20 - 16:24
    Profile Visit Website