Nukey Shay Posted March 19, 2013 Share Posted March 19, 2013 I'm glad you noticed that. You actually hit the nail right on the head. Using the reset vector doesn't work a lot of the time.A disassembler could be made to ignore the upper 3 bits of all addressing (the 2600 does anyway). Setting the origin as $Dxxx or $Fxxx is really only useful to get the absolute addressed stuff labelled by the disassembly process. Although it's true that data tables, etc...could be repurposing the upper 3 bits of vectors they hold for other uses The labels themselves missing this reference is of little consequence, IMO. Quote Link to comment Share on other sites More sharing options...
+stephena Posted March 19, 2013 Author Share Posted March 19, 2013 A disassembler could be made to ignore the upper 3 bits of all addressing (the 2600 does anyway). Setting the origin as $Dxxx or $Fxxx is really only useful to get the absolute addressed stuff labelled by the disassembly process. Although it's true that data tables, etc...could be repurposing the upper 3 bits of vectors they hold for other uses The labels themselves missing this reference is of little consequence, IMO. True, and from the POV of generating a valid assembly file it would be fine. But the intent is to generate a readable assembly file as well, with as much hints as possible to the programmer. So while it's not absolutely required, it would be very nice to clearly define the RORG addresses. 1 Quote Link to comment Share on other sites More sharing options...
Omegamatrix Posted March 19, 2013 Share Posted March 19, 2013 A disassembler could be made to ignore the upper 3 bits of all addressing (the 2600 does anyway). Setting the origin as $Dxxx or $Fxxx is really only useful to get the absolute addressed stuff labelled by the disassembly process. Although it's true that data tables, etc...could be repurposing the upper 3 bits of vectors they hold for other uses The labels themselves missing this reference is of little consequence, IMO. It sure helps to have the complete absolute address if there are indirect pointers that are referenced from other banks. I'm happy with how RORG works now, and I think majority voting would solve figuring out what RORG to use. Quote Link to comment Share on other sites More sharing options...
+stephena Posted March 19, 2013 Author Share Posted March 19, 2013 It sure helps to have the complete absolute address if there are indirect pointers that are referenced from other banks. I'm happy with how RORG works now, and I think majority voting would solve figuring out what RORG to use. I'm going to be tied up for a little while on the new debugger/disassembly view(s), so I won't get back to this for a week or two. Would you be willing to add something like this to your personal distella build, so I can see exactly how you'd go about doing it? I assume you'd have another pass for it?? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.