| |
Raistlin
Registered: Mar 2007 Posts: 685 |
VICE - "warp mode" is sometimes super-slow..?
I've noticed that entering Warp Mode on VICE, the results can vary quite a lot and wondered what might be happening. In particular, some of the dot-scroller parts in such as I Love the Cube 100% will run almost at 100% in Warp Mode .. where other parts will run at 800% or so.
I noticed that the code has a load of ANE instructions .. so maybe there's some problem with those?
Just thought I'd ask. I hope this is the correct forum category.
(I'm running the Windows build BTW, 3.7.1) |
|
| |
Jetboy
Registered: Jul 2006 Posts: 338 |
it runs 80% for me without warp mode :) |
| |
Gordian
Registered: May 2022 Posts: 87 |
Warp mode depends on "Enable sound playback" option for sure. It's much more faster when sound is disabled.
Maybe the part you mentioned uses SID quite intensively. |
| |
spider-j
Registered: Oct 2004 Posts: 498 |
Quoting RaistlinI've noticed that entering Warp Mode on VICE, the results can vary quite a lot and wondered what might be happening. In particular, some of the dot-scroller parts in such as I Love the Cube 100% will run almost at 100% in Warp Mode .. where other parts will run at 800% or so.
Here the dot scroller part goes down a bit (~650% instead of 750%-850% like the rest), but I do use recent trunk (VICE 3.8 SVN r45251) and have compiled it myself running on Linux.
Maybe there's less optimization with generic builds or newer VICE version perfoms better or for some reason Windows perform poorly at that part.
In general when it comes to VICE: if I encounter any "problems" I make sure to get the most current trunk version first to make sure I don't find anything that VICE team had addressed already. Afair there are nightly Windows builds somewhere to be found. |
| |
iAN CooG
Registered: May 2002 Posts: 3201 |
use older Vice 3.2 instead of the new ones if you want a real warp mode. |
| |
Jetboy
Registered: Jul 2006 Posts: 338 |
Quote: Warp mode depends on "Enable sound playback" option for sure. It's much more faster when sound is disabled.
Maybe the part you mentioned uses SID quite intensively.
Not the case here. I turned off sound, and it slows down in the same spot.
It's not ANE instruction most probably, as i tried to run:
c000 sei
c001 ane #$80
c003 jmp *c001
and it runs at full speed.
VICE 3.6.1 here on win10 |
| |
jab
Registered: Apr 2020 Posts: 20 |
Quote: I've noticed that entering Warp Mode on VICE, the results can vary quite a lot and wondered what might be happening. In particular, some of the dot-scroller parts in such as I Love the Cube 100% will run almost at 100% in Warp Mode .. where other parts will run at 800% or so.
I noticed that the code has a load of ANE instructions .. so maybe there's some problem with those?
Just thought I'd ask. I hope this is the correct forum category.
(I'm running the Windows build BTW, 3.7.1)
Quoting Raistlin(I'm running the Windows build BTW, 3.7.1)
Generally speaking, I understand there are sometimes reasons™ to use older versions of VICE, but is it really too much trouble to at least try it with the most recent one, before bringing up an issue? It could have been fixed already.
...but in this case seems it's not. With the Windows 3.8 build the CPU meter drops from around 600% to 40% on my machine. Turning warp mode off at that point returns to 100%. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11390 |
Those things must be genuine windows problems, warp works just fine for me :)
(also make sure to use the exact same settings when comparing those numbers, else it makes even less sense)
Quote:Warp mode depends on "Enable sound playback" option for sure. It's much more faster when sound is disabled.
It used to do this in older releases, it doesn't do this anymore in newer releases, as that broke certain things (in particular the testbench).
Quote:Generally speaking, I understand there are sometimes reasons™ to use older versions of VICE, but is it really too much trouble to at least try it with the most recent one, before bringing up an issue? It could have been fixed already.
If there are reasons to use 3.7.1 over a recent one then we definitely want to hear them - because there shouldn't be any. For coding, you really want to use the head revision in all cases. |
| |
Gordian
Registered: May 2022 Posts: 87 |
Quoting chatGPZ
Quote:Warp mode depends on "Enable sound playback" option for sure. It's much more faster when sound is disabled.
It used to do this in older releases, it doesn't do this anymore in newer releases, as that broke certain things (in particular the testbench).
Is it intended that uncheck "Enable sound playback" disables emulating SID entirely? I've noticed that random number generator based on $D41B doesn't work while sound is disabled. |
| |
tlr
Registered: Sep 2003 Posts: 1791 |
Quoting GordianIs it intended that uncheck "Enable sound playback" disables emulating SID entirely? I've noticed that random number generator based on $D41B doesn't work while sound is disabled.
Of course. The random number generator is part of the SID emulation. The same happens if you pull the SID from a c64. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11390 |
I should have been more precise: in the past warpmode did disable some things which DO change the emulation (besides running faster of course) - on of them was that it disabled the SID alltogether (which produces problems with programs that require SID emulation, obviously). It does not do that anymore for a while. So yes, if you manually disable the SID, then warp will be faster. The same is true for a few other things, some of which may or may not be enabled by default. |
... 29 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 | 4 - Next |