English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 17 September 2019, 17:52   #1
rikkles
Registered User
 
Join Date: Sep 2019
Location: Beirut / Lebanon
Posts: 8
Debugger noob questions

Hello, first post here. Trying to get back into Amiga hacking after 30 years, and I am looking to get the hang of WinUAE and its debugger. So please excuse stupid questions (and I have searched the forums but probably the answers are too obvious to find there):
1- When I (W)rite memory it doesn't register if I (d)isassemble afterwards the same memory space, whether I use a 68000 or 68020, with or without max compatibility. Is there some kind of processor caching? And if so, how do I get rid of it?
2- How do I tell when in the debugger which file the actual code is running from?
3- Is there a way to easily write memory changes to disk without having to resort to some hex editor? I see there are L & S commands to load a block and save a block. Say I have hit a breakpoint and identified some code to modify, can I (W)rite memory and also save the relevant block back to disk correctly?

Thanks in advance, and sorry also in advance if I'm totally off base with my questions.
rikkles is offline  
Old 17 September 2019, 20:05   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,523
1) It should work immediately. All debugger commands bypass any possible enabled emulated caches.

2) Debugger isn't really designed for that kind of debugging (It was originally only meant to trace programs that take over the system). http://eab.abime.net/showthread.php?t=91321 is probably closest. Better integration currently needs extra patches, see other threads.

3) Yes, it should work. Syntax may be a bit weird in most commands..
Toni Wilen is offline  
Old 18 September 2019, 20:32   #3
rikkles
Registered User
 
Join Date: Sep 2019
Location: Beirut / Lebanon
Posts: 8
Thanks. I think it's the program PGA Tour Golf that's doing some very weird things. I'll dig deeper.
rikkles is offline  
Old 18 September 2019, 23:46   #4
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Regarding the debugger if you’re going low level there is also Adebug which is very similar to Monam.
kamelito 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
Amiga GFX noob questions d4rk3lf Graphics 55 15 January 2019 16:48
Questions from yet another Gotek noob Amiga1992 support.Hardware 2 16 May 2017 06:27
whdload noob questions beatnik project.WHDLoad 2 23 July 2010 21:53
WHDLoad noob questions beanz project.WHDLoad 9 17 May 2008 12:58
Noob Questions Crackersixx Coders. General 12 21 January 2006 23:53

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 22:36.

Top

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