English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 12 December 2002, 21:22   #1
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
Debug ?

How can i write the content of the chip ram to a file or save a *tracker module?

Experimenting a bit:

Press shift+f12 under winuae or the debug button under uae you can see the
content of the memory, and even look for *tracker clones.

Example:


>M
Found possible ProTracker (31 samples) module at 0x5b988.
Name "swiv-title", Length 0x20ffe bytes.
>

Then ( from help ):
S <file> <addr> <n>: Save a block of Amiga memory - but what is n?


[ how can i write the module to a file? ]

And also how can i write the content of the chip ram to a file?

[ an example would be welcome with 512 - 2048 kb ]

Thanx in advance.
mtb is offline  
Old 12 December 2002, 22:04   #2
guest
 
Posts: n/a
i think n must be the number of bytes to write, so you could write 'S <swiv-title.mod> 0x5b988 0x20ffe' .

I did not try this out but i think this is the way to do it.
 
Old 15 December 2002, 10:39   #3
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
Already tried, the result is a 0k file.
mtb is offline  
Old 16 December 2002, 00:18   #4
guest
 
Posts: n/a
Maybe you must convert the HEX-values to DEC, for your Example again:
S swiv-title.mod 375176 135166

(sorry, i forgot to remove the <> in my last reply.. but that should not be your problem.!?)

Unfortunately i cannot try this out because the debug window on my computer does not respond to any key... :-(
 
Old 16 December 2002, 00:59   #5
guest
 
Posts: n/a
ok, just found a way to get input into my debug-window..

forget what i said before. you dont have to convert the values to DEC..just remove the '0x' before the adresses.
like this:> S swiv-title.mod 5b988 20ffe
 
Old 16 December 2002, 10:49   #6
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
Thank you, i'll try
mtb is offline  
Old 18 December 2002, 17:31   #7
guest
 
Posts: n/a
Eek debugging the debug window

Now i discovered another problem with saving files from debug window. it seems that there is a kind of text-conversion on saving parts of the amiga memory.. when i load a saved tracker file with a hex-editor and compare it to the original file always before a value of 0x0a i find an inserted 0x0d. that is not good when you want to save mod-files.
 
Old 18 December 2002, 18:10   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
Just use save state files or Action Replay!

Debugger s-command will be fixed in next release...
Toni Wilen is online now  
Old 19 December 2002, 12:19   #9
mtb
Registered User
 
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
Thank you Toni.

Yes, save state - I forgot this feature!
mtb 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
CD32 Debug Board alanbb9 MarketPlace 25 23 June 2022 19:01
Help me debug my shitty code? h0ffman Coders. General 13 22 March 2011 15:17
Hisoft C++ Debug AlfaRomeo Coders. General 0 13 October 2008 21:17
Mame32 Debug redblade Retrogaming General Discussion 4 10 October 2005 05:43
Avoid debug output? Flinx support.WinUAE 0 23 July 2002 09:35

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:42.

Top

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