Menu

#495 Continue warping after RUN

general
closed-denied
gpz
None
new feature
2025-04-17
2025-04-16
Ark
No

I would like to see a command line option that makes x64sc continue using autostart warp mode (-autostart-warp) until a specified number of cycles after RUN have passed.

For example, -autostart-warp-extension=5000000 would extend autostart warping for 5000000 cycles after RUN has been issued. This should also apply to -autostartprgmode=1, i. e. even if no initial loading from disk etc. was necessary.

The thing is that I often need to test programs that need quite some time initializing (loading more stuff from disk, but also CPU-bound stuff). Warping draws a lot of CPU power so I would like to minimize the amount of time it is initially enabled. Also, the keyboard shortcut for toggling warp mode is very similar to how I close windows in my window manager, so you can image what sometimes happens unintentionally.

Discussion

  • gpz

    gpz - 2025-04-16

    I'd rather not make the autostart logic even more complex (it is already silly complex)...

    BUT: you can probably achieve what you want to do by using a simple monitor script

     
  • Ark

    Ark - 2025-04-17

    Thank you, gpz, for pointing out that the monitor should already be capable of that.

    After some experimenting, I came up with what essentially amounts to creating a file myscript.mon containing

    until $1234
    warp off
    

    and then launching x64sc like

    x64sc -moncommands myscript.mon -warp 

    which is exactly what I was looking for.

     
  • gpz

    gpz - 2025-04-17

    cheers :) Yeah monitor scripts can be a powerful tool for things like this

     
  • gpz

    gpz - 2025-04-17
    • status: open --> closed-denied
    • assigned_to: gpz
     

Log in to post a comment.

MongoDB Logo MongoDB