English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.WinUAE (http://eab.abime.net/forumdisplay.php?f=5)
-   -   Function key to toggle between CPU fastest possible and cycle exact (http://eab.abime.net/showthread.php?t=102226)

BigT 15 May 2020 04:51

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.

Toni Wilen 15 May 2020 17:54

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.

alkis 15 May 2020 18:17

whats wrong with the "end - pause" toggle? :)

Rotareneg 15 May 2020 20:18

The cycle-exact overhead doesn't go away with turbo on.

alpine9000 15 May 2020 22:37

Isn’t “warp mode” more what you’re looking for if you want fast complication speeds?

BigT 16 May 2020 15:12

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 !!)

All times are GMT +2. The time now is 04:30.

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

Page generated in 0.04291 seconds with 11 queries