PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Discussion of development and patch submission.
Post Reply
MortalThing
Posts: 26
Joined: Tue 24 Mar, 2015 10:51 pm

PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing » Sun 03 Dec, 2017 1:25 pm

PCEM - version fa7a94038dee

PCEM -> When the CPU is set to Dynamic Recompiled is a problem with the cpu in the game.
here is a video demo : https://www.youtube.com/watch?v=FzLDoAR ... be&t=3m44s
When recompiled is turned off, the error does not appear.
Here is a video demo: https://www.youtube.com/watch?v=FzLDoAR ... be&t=1m44s


I encountered the same problem in the dosbox when I can process the CPU to normal so it is OK but in the case of dynamic CPU it does similar problems.

User avatar
omarsis81
Posts: 633
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by omarsis81 » Sun 03 Dec, 2017 11:17 pm

Is the problem just a slowdown?

MortalThing
Posts: 26
Joined: Tue 24 Mar, 2015 10:51 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing » Mon 04 Dec, 2017 8:08 pm

Canceling sound and more. I know it looks like b*llsh*t, but in more games, such things happen, maybe if there's a reason for this game, we'll solve another one.

User avatar
omarsis81
Posts: 633
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by omarsis81 » Mon 04 Dec, 2017 8:20 pm

It is sertainly not BS, I have seen lots of games with that kind of sloweness, as a matter of fact this past weekend I was playing Shogun: Total War. In the 3D envieronment it works always at 100%, but in the 2D strategic map it runs at 60% or less of the speed.
I think it is not easy to solve, but as you point out it could fix many games

MortalThing
Posts: 26
Joined: Tue 24 Mar, 2015 10:51 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing » Sat 16 Dec, 2017 2:14 pm

Hello today I found the OLD 86box version 26.12.2016 https://github.com/OBattler/86Box/tree/ ... d445c86b7e
which does not have this problem you can not compare the differences in dynamic recompilation?

User avatar
omarsis81
Posts: 633
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by omarsis81 » Sat 16 Dec, 2017 2:32 pm

It is not a good idea to mention 86Box here...

MortalThing
Posts: 26
Joined: Tue 24 Mar, 2015 10:51 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing » Sat 16 Dec, 2017 2:54 pm

I'm just trying to find a solution, and I guess we just have one to compare the emulation of the dynamic compiler. It's true that this is a 86box but when we get the best of the PCEM and 86box, I think it's supreme thing. And I realize the difference between Batler and Sarah Walker, but it is a solution and here I think it is.

User avatar
SarahWalker
Site Admin
Posts: 1581
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by SarahWalker » Sat 16 Dec, 2017 4:11 pm

I'm intending to rewrite the recompiler next year for v14. So I don't see any point spending time working on improving the current recompiler if it's going to die before the next release anyway.

User avatar
omarsis81
Posts: 633
Joined: Thu 17 Dec, 2015 6:20 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by omarsis81 » Sat 16 Dec, 2017 5:06 pm

SarahWalker wrote:I'm intending to rewrite the recompiler next year for v14. So I don't see any point spending time working on improving the current recompiler if it's going to die before the next release anyway.
I feel that it will be the best release of PCem EVER! :D

MortalThing
Posts: 26
Joined: Tue 24 Mar, 2015 10:51 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing » Sat 16 Dec, 2017 5:10 pm

OK

User avatar
SarahWalker
Site Admin
Posts: 1581
Joined: Thu 24 Apr, 2014 4:18 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by SarahWalker » Sat 16 Dec, 2017 5:31 pm

Except for a quick tweak in rev 982. That fixed some slowdown on Windows startup, I don't know if it will affect Crusader or not.

MortalThing
Posts: 26
Joined: Tue 24 Mar, 2015 10:51 pm

Re: PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing » Sat 16 Dec, 2017 7:38 pm

SarahWalker wrote:Except for a quick tweak in rev 982. That fixed some slowdown on Windows startup, I don't know if it will affect Crusader or not.
Yes Crusader no Regret is OK!
Thank you very much.

Post Reply