23 March 2024, 17:57 | #1 |
Registered User
Join Date: May 2015
Location: Kirkland, Washington, USA
Posts: 56
|
Using UaeLib to enable/disable warp mode
I want to use UaeLib to control the awesome warp mode from code. However, I can't get it to explicitly Enable or Disable from code, I can only toggle it. Does someone know why the my commands UaeCommand 'AKS_WARP 1' and UaeCommand 'AKS_WARP -1' (with the macro below) doesn't explicitly set or clear the warp mode?
I'm using WinUAE 5.0.0 Code:
UaeCommand: macro move.l a0,-(a7) pea 0.w move.l a0, -(sp) pea .cmdend\@-.cmd\@ pea .cmd\@(pc) pea -1.w pea 82.w jsr $f0ff60 lea 24(sp), sp move.l (a7)+,a0 bra .done\@ .cmd\@: dc.b \1 dc.b 0 .cmdend\@: even .done\@: endm UaeCommand 'AKS_WARP 1' UaeCommand 'AKS_WARP -1' |
23 March 2024, 21:35 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
Input events by default now gets toggle for some reason I don't remember. It probably is side-effect of some change.
"warp 0" or "warp 1" should work (changes "warp" config file entry) |
24 March 2024, 07:26 | #3 |
Registered User
Join Date: May 2015
Location: Kirkland, Washington, USA
Posts: 56
|
oh. I didn't realize that AKS_WARP and warp were two different settings. Yes, "warp 1" and "warp 0" work perfectly. Thank you again!
|
27 March 2024, 20:41 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
|
ASK_ events should work again as expected in 530b2.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Enable Warp mode with modern keyboard? | rsn8887 | support.WinUAE | 4 | 01 July 2021 01:38 |
Apollo 2030 disable/enable | amigaosx | support.Hardware | 2 | 03 July 2019 19:20 |
Write Protected / Enable Disable in Config? | ransom1122 | support.WinUAE | 3 | 11 June 2017 13:25 |
Auto enable warp mode | Keylonta | support.FS-UAE | 5 | 01 January 2017 02:44 |
uae-configuration: how to enable/disable 'cycle-exact'? | hexaae | support.WinUAE | 32 | 28 October 2014 08:39 |
|
|