PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

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

PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Post by MortalThing »

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: 945
Joined: Thu 17 Dec, 2015 6:20 pm

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

Post by omarsis81 »

Is the problem just a slowdown?
MortalThing
Posts: 33
Joined: Tue 24 Mar, 2015 10:51 pm

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

Post by MortalThing »

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: 945
Joined: Thu 17 Dec, 2015 6:20 pm

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

Post by omarsis81 »

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: 33
Joined: Tue 24 Mar, 2015 10:51 pm

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

Post by MortalThing »

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: 945
Joined: Thu 17 Dec, 2015 6:20 pm

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

Post by omarsis81 »

It is not a good idea to mention 86Box here...
MortalThing
Posts: 33
Joined: Tue 24 Mar, 2015 10:51 pm

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

Post by MortalThing »

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: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

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

Post by SarahWalker »

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: 945
Joined: Thu 17 Dec, 2015 6:20 pm

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

Post by omarsis81 »

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: 33
Joined: Tue 24 Mar, 2015 10:51 pm

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

Post by MortalThing »

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

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

Post by SarahWalker »

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: 33
Joined: Tue 24 Mar, 2015 10:51 pm

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

Post by MortalThing »

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