![]() |
![]() |
#1 |
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. |
![]() |
![]() |
#2 |
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. |
![]() |
#3 |
Registered User
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
|
Already tried, the result is a 0k file.
|
![]() |
![]() |
#4 |
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... :-( |
![]() |
#5 |
Posts: n/a
|
ok, just found a way to get input into my debug-window..
![]() forget what i said before. ![]() ![]() like this:> S swiv-title.mod 5b988 20ffe |
![]() |
#6 |
Registered User
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
|
Thank you, i'll try
|
![]() |
![]() |
#7 |
Posts: n/a
|
![]()
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.
![]() |
![]() |
#8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 48
Posts: 26,090
|
Just use save state files or Action Replay!
Debugger s-command will be fixed in next release... |
![]() |
![]() |
#9 |
Registered User
Join Date: Sep 2002
Location: Italy
Age: 40
Posts: 466
|
Thank you Toni.
Yes, save state - I forgot this feature! |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
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 |
|
|