English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.WinUAE (https://eab.abime.net/forumdisplay.php?f=5)
-   -   uae-configuration: how to enable/disable 'cycle-exact'? (https://eab.abime.net/showthread.php?t=49744)

hexaae 24 December 2009 16:40

uae-configuration: how to enable/disable 'cycle-exact'?
 
Is there a way to invoke (enable/disable) cycle-exact from within WUAE? I'd like to set it for a couple of WHDLoad games...

Leffmann 24 December 2009 16:45

Hardware -> Chipset -> Options -> Cycle exact. If you were asking how to toggle the flag from inside the emulated Amiga then I don't know, and I'm not sure you can seamlessly switch this mode on and off.

Retro-Nerd 24 December 2009 16:46

ExecuteStartup=uae-configuration blitter_cycle_exact true
ExecuteCleanup=uae-configuration blitter_cycle_exact false

hexaae 24 December 2009 16:56

Quote:

Originally Posted by Retro-Nerd (Post 627878)
ExecuteStartup=uae-configuration blitter_cycle_exact true
ExecuteCleanup=uae-configuration blitter_cycle_exact false

It does nothing :(
I tested cpu_cycle_exact true, cycle_exact true but it doesn't seem to work...

NewDeli 24 December 2009 17:31

Did you copy uae-configuration in the C directory ?
It's a small program without any icon that is provided with full versions of WinUAE.

Retro-Nerd 24 December 2009 17:35

Yep, Deli is right.

Quote:

ExecuteStartup=uae-configuration cpu_cycle_exact true
ExecuteCleanup=uae-configuration cpu_cycle_exact false
This should work. :)

Toni Wilen 24 December 2009 20:45

cycle_exact should be used with new WinUAE versions but cpu_cycle_exact also works (both, at least now, automatically changes other needed options like blitter_cycle_exact)

Also remember to disable JIT before trying to switch cycle exact on.

btw, currently cycle exact (via uae-configuration) won't automatically enable "A500 speed" (cpu_speed=real), any other cpu_speed option can cause incorrect timing.

Retro-Nerd 24 December 2009 21:11

Quote:

ExecuteStartup=uae-configuration cachesize 0 cpu_speed real cycle_exact true
ExecuteCleanup=uae-configuration cachesize 8192 cpu_speed max cycle_exact false
The full command. :)

Toni Wilen 24 December 2009 21:19

Quote:

Originally Posted by Retro-Nerd (Post 627939)
The full command. :)

Better reverse order of cleanup commands. Someday it may not be possible to enable JIT before disabling cycle exact..

Retro-Nerd 24 December 2009 21:22

Ok, thanks for the info. Will keep this in mind.

hexaae 25 December 2009 10:10

Quote:

Originally Posted by Toni Wilen (Post 627941)
Better reverse order of cleanup commands. Someday it may not be possible to enable JIT before disabling cycle exact..

Quote:

Originally Posted by Toni Wilen (Post 627932)
Also remember to disable JIT before trying to switch cycle exact on.

Thank you friends!
ExecuteStartup=uae-configuration cachesize 0 cycle_exact true
ExecuteCleanup=uae-configuration cycle_exact false cpu_speed max cachesize 8192

seem to work fine with Nebulus2 WHDLoad (without cycle_exact "niche-monsters" wouldn't be visible! Go right in the very first tower...) and my emulated 060/fastest/JIT settings! :)

Skirner 07 January 2010 15:19

in witch file you add the lines? so workbench always start with JIT enabled. even if a whdload game has disabled it.

Retro-Nerd 07 January 2010 15:25

WB starts always with JIT enabled, if you configure it in WinUAE. Write the execute tooltype into the game icons (mouse rightclick -> Icons -> Informations.

Skirner 07 January 2010 15:42

I mean if i "ctrl+alt+del" but (ctrl+A+A) to reset the amiga from a whdload game. workbench loads up without JIT enabled. because whdload disables jit when i launch a game.
So can I add to any prefs file within WB to automaticaly enable jit when wb boots?

Retro-Nerd 07 January 2010 15:46

Why do you want to reset from WHDLoad games? There is a quit key (watch the blue splash screen to see which one for a specific game) for every WHDLoad game. The quitkey activates this command
Quote:

ExecuteCleanup=uae-configuration cycle_exact false cpu_speed max cachesize 8192
re-enable JIT and returns to the WB desktop, where you can start another WHDLoad game.

Skirner 07 January 2010 16:06

yes i know, but its not always one quit with the "quit" key. as it's different key in lots of games, and some preffered keys are very hard to find on the pc keyboard.

i have whdload setted up with the 'cycle_exact false' stuff. Thats why i wonder if there is any way to have it enabled again when wb boot up. (in any of the boot files) or something like that.

edit: yes it works if i quit game with right quit key

Retro-Nerd 07 January 2010 16:21

You can set a global quit key for all games. Open s:whdload.prefs with an editor and configure your key. Here are the rawkey codes:

http://whdload.de/docs/en/rawkey.html

hexaae 07 January 2010 18:16

Quote:

Originally Posted by Skirner (Post 631672)
yes i know, but its not always one quit with the "quit" key. as it's different key in lots of games, and some preffered keys are very hard to find on the pc keyboard.

That's why you have to spend a few time on the WUAE input config panel and learn/reconfigure your own keyboard. Once you've done this, the problem will be solved.

My advices:
  1. reconfigure WUAE<->Amiga keyboard
  2. use WHD ExecuteStartup and ExecuteCleanup tooltypes when needed (and you'll discover that many games need the "C:uae-configuration cachesize 0"
  3. reconfigure your S:WHDLoad.prefs file and use the 2 files "S:WHDLoad_start" and "S:WHDLoad_cleanup" automatically executed everytime WHDLoad starts and quits, if present in S:
  4. put a string like this at the beginning of your SSeq:"C:uae-configuration cachesize 8192 cpu_speed max" to avoid slow boot-up if you have to reset when your emulation speed has been degraded

Skirner 07 January 2010 18:38

Okey, thanks. Just one more question.. ;)
Is it possible to set F11 as WHDLoad quit key?

edit: sorry hexaae, diddnt see your post

Skirner 07 January 2010 18:42

Quote:

Originally Posted by hexaae (Post 631712)

4. put a string like this at the beginning of your SSeq:"C:uae-configuration cachesize 8192 cpu_speed max" to avoid slow boot-up if you have to reset when your emulation speed has been degraded

Hmm. ok, but i dont really understand what my SSeq: is? :spin or where it is.


All times are GMT +2. The time now is 14:45.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.04811 seconds with 11 queries