English Amiga Board

Go Back   English Amiga Board > Support > support.WinUAE

Thread Tools
Old 22 February 2016, 10:24   #1
Registered User
Join Date: Aug 2013
Location: Germany
Posts: 56
Disable Taskswitching in WinUAE-Debugger

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?

selco is offline  
Old 22 February 2016, 12:20   #2
Toni Wilen
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 43
Posts: 22,107
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 offline  
Old 22 February 2016, 14:40   #3
Registered User
Join Date: Aug 2013
Location: Germany
Posts: 56
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 12:49
Need help using the WinUAE Debugger Steve support.WinUAE 9 10 January 2009 21:00
Disable Windows shortcuts while running WinUAE on Vista thomas request.UAE Wishlist 11 24 July 2008 11:49
WinUAE Debugger BippyM support.WinUAE 7 02 April 2008 08:59
WinUAE 0.99: how to disable rom scanning at startup ? Leo42 support.WinUAE 6 07 August 2004 15: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 06:42.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06597 seconds with 14 queries