English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 15 May 2020, 04:51   #1
Registered User

Join Date: Apr 2020
Location: Melbourne / Australia
Posts: 16
Function key to toggle between CPU fastest possible and cycle exact

Not sure if this has been requested before, but I have been developing with Devpac for OCS a lot recently and thought it would be nice to have a function key to toggle between CPU fastest possible and cycle exact. That is when compiling code, I'd like it to be as fast as the emulator will allow, but then when running the compiled code, I'd like the code to run under normal conditions. Visually this is represented by the CPU consumption % in windowed mode.
BigT is offline  
Old 15 May 2020, 17:54   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 45
Posts: 24,045
I am not sure if single key can be configured to do that but two keys should be possible (one to set config #1 and another to set config #2 can be done using "custom event" input events)

Another more automatic option would be to include config change code in your compiled executable. Protocol is quite simple, it is basically string that contains config file key value pairs. Check uae-configuration sources for more information and I think somewhere here was another thread that included some example code too.
Toni Wilen is offline  
Old 15 May 2020, 18:17   #3
Registered User

Join Date: Dec 2010
Location: Athens/Greece
Age: 49
Posts: 557
whats wrong with the "end - pause" toggle?
alkis is offline  
Old 15 May 2020, 20:18   #4
Registered User
Join Date: Sep 2017
Location: Kansas, USA
Posts: 152
The cycle-exact overhead doesn't go away with turbo on.
Rotareneg is offline  
Old 15 May 2020, 22:37   #5
Registered User

Join Date: Mar 2016
Location: Australia
Posts: 828
Isn’t “warp mode” more what you’re looking for if you want fast complication speeds?
alpine9000 is offline  
Old 16 May 2020, 15:12   #6
Registered User

Join Date: Apr 2020
Location: Melbourne / Australia
Posts: 16
Thanks Toni for your suggestion, I wasn't aware of the custom input handlers. Great feature, albeit a little hidden. Thanks alpine9000 you are right on the money !! Warp mode is exactly what I was looking for, END+PAUSE is the key mapping (toggle on and toggle off). Makes my Devpac run like greased lightning. Cheers ! (Alkis - you were also spot on, I just didn't understand your answer at first - it all makes sense now !!)
BigT is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU speed slider in memory cycle-exact mode amilo3438 support.WinUAE 5 12 December 2017 21:05
[Feature Request] Cycle Exact for other Cpu Zilog support.WinUAE 13 05 December 2017 19:08
cycle exact cpu emulation speed, accurate ? turrican3 support.WinUAE 1 23 December 2013 18:20
Cycle-exact faster than fastest-possible Leandro Jardim support.WinUAE 4 03 December 2010 23:28
Problem with cycle-exact and custum CPU emulation speed pintcat support.WinUAE 14 11 May 2010 20:12

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 01:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.10874 seconds with 15 queries