Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > VICE - "warp mode" is sometimes super-slow..?
2024-07-27 16:33
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)
2024-07-27 18:26
Jetboy

Registered: Jul 2006
Posts: 338
it runs 80% for me without warp mode :)
2024-07-27 19:55
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.
2024-07-28 09:34
spider-j

Registered: Oct 2004
Posts: 498
Quoting Raistlin
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.

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.
2024-07-28 10:06
iAN CooG

Registered: May 2002
Posts: 3201
use older Vice 3.2 instead of the new ones if you want a real warp mode.
2024-07-28 10:28
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
2024-07-28 10:39
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%.
2024-07-28 15:04
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.
2024-07-28 15:58
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.
2024-07-28 16:03
tlr

Registered: Sep 2003
Posts: 1791
Quoting Gordian
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.

Of course. The random number generator is part of the SID emulation. The same happens if you pull the SID from a c64.
2024-07-28 16:21
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
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
CA$H/TRiAD
syntaxerror
iAN CooG/HVSC
map/Plush
Airwolf/F4CG
Guests online: 147
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.6)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 The Demo Coder  (9.6)
8 Comaland 100%  (9.6)
9 Wonderland XIV  (9.6)
10 What Is The Matrix 2  (9.6)
Top onefile Demos
1 Layers  (9.7)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 Copper Booze  (9.6)
5 Rainbow Connection  (9.5)
6 Morph  (9.5)
7 Dawnfall V1.1  (9.5)
8 Libertongo  (9.5)
9 Katzen-Video.mp4  (9.5)
10 Onscreen 5k  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Fairlight  (9.3)
5 Triad  (9.3)
Top Coders
1 Axis  (9.8)
2 Sailor  (9.8)
3 Graham  (9.8)
4 Crossbow  (9.8)
5 Lft  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.062 sec.