22 February 2016, 09:24 | #1 |
Registered User
Join Date: Aug 2013
Location: Germany
Posts: 82
|
Disable Taskswitching in WinUAE-Debugger
Hi,
I am following a prgram in the debugger and after some time it seems a task switch happens. Is there a way to do manually Disable() and re-Enable(), maybe by writing to Custom registers? regards |
22 February 2016, 11:20 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,595
|
Debugger is too low level feature to understand exec task switching but if you only need to temporarily switch off interrupts without using exec: clear bit 14 of INTENA (move.w #$4000,$dff09a or something similar) to disable it and set bit 14 to enable interrupts (move.w #$c000,$dff09a)
btw, don't use this in production code, always check first if interrupts were originally enabled before re-enabling them. |
22 February 2016, 13:40 | #3 |
Registered User
Join Date: Aug 2013
Location: Germany
Posts: 82
|
Thanks Toni. You suggestion solves the issue.
W $dff09a $4000.w # disable W $dff09a $C000.w # enable |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Does WinUae disable Strokeit? | Mclane | support.WinUAE | 4 | 16 January 2010 11:49 |
Need help using the WinUAE Debugger | Steve | support.WinUAE | 9 | 10 January 2009 20:00 |
Disable Windows shortcuts while running WinUAE on Vista | thomas | request.UAE Wishlist | 11 | 24 July 2008 10:49 |
WinUAE Debugger | BippyM | support.WinUAE | 7 | 02 April 2008 07:59 |
WinUAE 0.99: how to disable rom scanning at startup ? | Leo42 | support.WinUAE | 6 | 07 August 2004 14:45 |
|
|