Author Topic: [GAMES] dosbox-staging -- one of the best choice for DOS gaming  (Read 3131 times)

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
We all have heard about the JIT patch of our fellow member ClassicHasClass for the original dosbox which could be found here https://www.talospace.com/2020/01/dosbox-jit-on-ppc64le-and-how-you-can.html
His patch though not apply cleanly to the dosbox SVN trunk, however with a bit of tweak, it still work perfectly with PCPBENCH reports 28.3fps!!

Another fork of dosbox is dosbox-staging that supports PPC64LE JIT out of the box (again thanks to ClassicHasClass) is another great option but performance is not as good as that of patched JIT dosbox. The PCPBENCH can get up to 17.1fps
(ref: https://github.com/dosbox-staging/dosbox-staging/commits/main/src/cpu/core_dynrec/risc_ppc64le.h)

I am going to dig in the source code of dosbox-staging to see how they did the PPC64LE JIT and why it is slower


EDIT: Great thanks to ClassicHasClass for the Pull Request https://github.com/dosbox-staging/dosbox-staging/pull/2828

Now dosbox-staging can achieve 41 fps!

« Last Edit: September 05, 2023, 03:02:00 am by tle »
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [GAMES] dosbox-staging -- one of the best choice for DOS gaming
« Reply #1 on: August 25, 2023, 10:00:19 am »
It turns out PPC64LE JIT is currently disabled

https://github.com/dosbox-staging/dosbox-staging/commit/515161087c8e66b57f8c73ec289ae4b3a4f4548a

Quote
Upstream SVN r4424 started refactorization of cpu module, and it breaks
those backends; to be re-enabled once refactorization is done or when
we'll have time to fix it ourselves.
Faithful Linux enthusiast

My Raptor Blackbird

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: [GAMES] dosbox-staging -- one of the best choice for DOS gaming
« Reply #2 on: August 25, 2023, 09:15:20 pm »
I'll have a look. I see you opened an issue. I've been happy with my old build for so long I've never really checked current ones.

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [GAMES] dosbox-staging -- one of the best choice for DOS gaming
« Reply #3 on: August 27, 2023, 06:59:02 pm »
Great thanks to ClassicHasClass for having a look at the issue I reported at https://github.com/dosbox-staging/dosbox-staging/issues/2789
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Sr. Member
  • ****
  • Posts: 463
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: [GAMES] dosbox-staging -- one of the best choice for DOS gaming
« Reply #4 on: September 04, 2023, 06:38:59 pm »
Great thanks to ClassicHasClass for the Pull Request https://github.com/dosbox-staging/dosbox-staging/pull/2828

Now dosbox-staging can achieve 41 fps!

Faithful Linux enthusiast

My Raptor Blackbird