-
The change should be to:
DrawText(g.buffer, offset, kWindowChars-11);
along with all the 49's changed to: kWindowChars-11; otherwise, the last four characters won't get printed.
2009-09-17 06:20:59 UTC by trog24
-
In EditWindow.c, change line 1893 from:
DrawText(g.buffer, kDisHexStart, kWindowChars);
to:
DrawText(g.buffer, kDisHexStart, 11);
Following line 1925, aadd:
else
{
DrawText(g.buffer, offset, 49);
}
These changes will print only the first 11 characters of g.buffer, set an offset and then print the remaining characters of the line in the correct color. This...
2009-09-17 05:31:26 UTC by trog24
-
Look at the function "_drawDump" in the file "EditWindow.c". Search for "DM_Disassembly" which is the drawmode for displaying the disassembly.
In the _drawDump function you will find a call to a function "PPC_Disassemble", which is what actually creates the text that gets drawn.
2009-09-16 19:38:18 UTC by raving
-
I see that you still have not gotten to this problem. Could you tell me which module prints the branch functions so that I can take a look at it?.
2009-09-16 07:41:12 UTC by trog24
-
Thanks for your response. I later discovered a trick to make the program work, without involving HexEdit. I do appreciate your reply; it looks like I will never be qualified to use HexEdit... no problem now, though.
2009-09-15 18:53:20 UTC by wstrohm
-
raving made 1 file-release changes.
2009-09-15 16:59:01 UTC by raving
-
raving made 2 file-release changes.
2009-09-15 16:58:01 UTC by raving
-
raving made 1 file-release changes.
2009-09-15 16:57:01 UTC by raving
-
raving made 1 file-release changes.
2009-09-15 16:56:01 UTC by raving
-
The DATA and RSRC displays are showing you the raw data of the data and resource forks of the file, respectively.
The information they display will only make as much sense as the data in those forks, in this case it will be pretty much meaningless.
So, when you are looking at the DATA view, you are not actually looking at commands, you are viewing information in the data resource of...
2009-09-15 16:39:22 UTC by raving