Page 1 of 1

PCEM -> Crusader Regret CPU Dynamic Recompiled problem.

Posted: Sun 03 Dec, 2017 1:25 pm
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=FzLDoARfXzY&feature=youtu.be&t=3m44s
When recompiled is turned off, the error does not appear.
Here is a video demo: https://www.youtube.com/watch?v=FzLDoARfXzY&feature=youtu.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.

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

Posted: Sun 03 Dec, 2017 11:17 pm
by omarsis81
Is the problem just a slowdown?

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

Posted: Mon 04 Dec, 2017 8:08 pm
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.

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

Posted: Mon 04 Dec, 2017 8:20 pm
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

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

Posted: Sat 16 Dec, 2017 2:14 pm
by MortalThing
Hello today I found the OLD 86box version 26.12.2016 https://github.com/OBattler/86Box/tree/e46a34a5051144e03c20ccb0b25ba7d445c86b7e
which does not have this problem you can not compare the differences in dynamic recompilation?

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

Posted: Sat 16 Dec, 2017 2:32 pm
by omarsis81
It is not a good idea to mention 86Box here...

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

Posted: Sat 16 Dec, 2017 2:54 pm
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.

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

Posted: Sat 16 Dec, 2017 4:11 pm
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.

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

Posted: Sat 16 Dec, 2017 5:06 pm
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

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

Posted: Sat 16 Dec, 2017 5:10 pm
by MortalThing
OK

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

Posted: Sat 16 Dec, 2017 5:31 pm
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.

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

Posted: Sat 16 Dec, 2017 7:38 pm
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.