-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional debugger features #4
Comments
There doesn't seem to be a way to directly change register values while debugging. |
Added to the list |
Since I have decided to participate, I will actively share my opinions. |
Thanks for your comments. Yes, it's very easy to add. |
I'm really glad that it has been extremely useful. |
What .sym file format(s) do you support, from which assembler(s)? This doesn't seem to be documented, and the source code for add_symbol() in gui_debug_disassembler.cpp doesn't contain any comments that would help. |
Thanks for bringing this to my attention. |
I'll try a test soon, I'm just writing a new test ROM to confirm some of the edge cases of the VDC's DMA behavior for Mesen2's author. I don't know if you saw, but PCEAS's "classic" .sym file format changed slightly a few months ago, and it now also supports a modified form of wla-dx's .sym file format so that it can provide source-level-debugging information to Mesen2. I don't know if you plan to add source-level-debugging to Geargrafx, but even if not, you may wish to support the new .sym format if only to be able to read things like the size or is-a-function information for the symbols. Best wishes, John |
Source-level debugging is not planned for now. As in my other emus this is just a project for fun and learning. I usually focus on the emulation part and Geargrafx still lacks a lot of work on it. But I will check the changes in PCEAS .sym format. Could you point me to where it is discussed? |
There are some small quirks in the VDC access timings and when and just how long the CPU is stalled that will break certain games if you don't get the VCE -> VDC -> CPU interactions just right. Good luck!
The details haven't been publicly discussed as such, only the results. Here's a summary of the format that I'll clean up a bit more and add to the HuC/HuCC/PCEAS repository, as you'll see, it's basically inspired by wla-dx, but with all of the block names changed because the contents are just a little bit different ...
Please note that the "classic" PCEAS symbols use this format for symbols in Street Fighter II banks ...
... where the first number before the ':' marks the 512KByte overlay number. In the new Mesen2 .sym format, extra Street Fighter II 512KByte banks are just shown as banks >= $100, in blocks of 64 banks.
|
Thanks a lot for the information! |
There is an inconvenience where the addresses displayed in the saved code from the debugger differ from the addresses pointed to by the opcodes. I would appreciate it if the addresses shown in the debugger could be added to the saved code's addresses. Also, I would like the symbols currently displayed in the debugger to be directly applied to the saved code. Ultimately, it would be best if the disassembler output from the debugger were applied exactly as it is to the saved code. |
Thanks for reporting I'll take a look |
The current "save to file" dialog saves all disassembled code to file. Including the code that is not presented in the window because is in other (not selected) banks. It uses physical address for this, that's why you see it doesn't match. I added a new option so in addition to that you can "save to file" the current view of the disassembler window. |
That’s a great idea. |
Hello, it seems that the currently saved memory data are missing addresses. If the dumped memory file does not contain the referenced addresses, it will be difficult to read. Additionally, while storing memory as a text file is a good approach, saving it in binary format can also be useful for effectively utilizing the dumped memory. I would appreciate it if you could consider both options. I pay my respects to you for your dedication to the advancement of the emulator. |
Can you elaborate? I can't see this issue. The disassembler works by translating each instr as soon as it is executed, in real time. It doesn't run ahead. If you save a dump and then execute more code, this new code will not be in the dump. Is that the case?
I don't understand this. You can save a binary representation of the memory using the memory editor window, including the rom. |
Could you please watch this video? Build 1.0.0-23-g047ce82
|
I am asking whether it can be saved as a binary file, that is, a raw file. |
Let me summarize my point once again. As seen in the video I uploaded, GearGrafx saves memory dumps in a text file format. My suggestion is to add addresses, as shown in the window, to make it more convenient. Additionally, I would like to suggest adding a feature to save memory dumps in a binary format (Raw). A Raw file saved in binary format can be useful in many ways |
@ToughkidDev There are two options now:
|
I'm not sure if my opinion is generally a requirement for other users, but nonetheless, I sincerely appreciate your proactive response. Thank you.
|
The text was updated successfully, but these errors were encountered: