English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 22 February 2016, 09:24   #1
selco
Registered User
 
Join Date: Aug 2013
Location: Germany
Posts: 81
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
selco is offline  
Old 22 February 2016, 11:20   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,542
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.
Toni Wilen is online now  
Old 22 February 2016, 13:40   #3
selco
Registered User
 
Join Date: Aug 2013
Location: Germany
Posts: 81
Thanks Toni. You suggestion solves the issue.

W $dff09a $4000.w # disable
W $dff09a $C000.w # enable
selco 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
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

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 17:07.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06638 seconds with 13 queries