TXG/MNX Posted October 30, 2014 Share Posted October 30, 2014 Hello, What is is the best dissassembler for use on Atari. It maybe a pc or 8-bit program but I am looking for a program that could detect text blocks and data blocks in code so I think it should be a multiple pass dissassembler. I don't know if these exists let me know. Quote Link to comment Share on other sites More sharing options...
Rybags Posted October 30, 2014 Share Posted October 30, 2014 On the actual machine I don't think there's anything that has AI to the point of detecting code/data blocks as such. On the PC is where that action is at, I've used IDA Pro which can handle all manner of programs for CPUs from the 70s classics to modern RISC and x86 types. Still, you have to help it out but when you identify a section of code it'll often unfold the program sufficiently such that you'll only need to do it a couple of dozen times for a 16K binary. There's also batch mode utilities, in some cases you supply the parameters of where code and data resides, then you run it repetitively as you keep identifying new sections. In my experience though, IDA has been most useful. You can generally take a raw binary file of 10-20K size and have something that you can work with and assemble back in well under an hour. Quote Link to comment Share on other sites More sharing options...
+JAC! Posted October 30, 2014 Share Posted October 30, 2014 I love DIS6502 as it also supported ATARI Screen Code etc. and output in many formats. http://sourceforge.net/projects/dis6502/ 3 Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted October 30, 2014 Share Posted October 30, 2014 I love DIS6502 as it also supported ATARI Screen Code etc. and output in many formats. http://sourceforge.net/projects/dis6502/ yeah... only dowbside is the tiny fixed window size... esp. on HD screens. Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted October 30, 2014 Share Posted October 30, 2014 +1 for DIS6502. Quote Link to comment Share on other sites More sharing options...
+MrFish Posted October 30, 2014 Share Posted October 30, 2014 (edited) yeah... only dowbside is the tiny fixed window size... esp. on HD screens. Yeah, it could use an update, with sizeable screen and options for font and point size. It's looking pretty tiny these days. Edited October 30, 2014 by MrFish Quote Link to comment Share on other sites More sharing options...
Tezz Posted October 30, 2014 Share Posted October 30, 2014 +2 for DIS6502 I couldn't live without it. There was talk a couple of years ago about someone new continuing development but I've not heard anything since. Quote Link to comment Share on other sites More sharing options...
TXG/MNX Posted October 30, 2014 Author Share Posted October 30, 2014 yeah... only dowbside is the tiny fixed window size... esp. on HD screens. Hmm would be nice if that can be fixed Quote Link to comment Share on other sites More sharing options...
Wrathchild Posted October 30, 2014 Share Posted October 30, 2014 You can download the old free DOS version of IDA here to try it. I've had IDA Pro from just before the turn of the century and although having tried (and still on occasion use) DIS6502, I find the IDA GUI much more straight forward. Quote Link to comment Share on other sites More sharing options...
+JAC! Posted October 30, 2014 Share Posted October 30, 2014 (edited) Yeah, it could use an update, with sizeable screen and options for font and point size. It's looking pretty tiny these days. I tried to get in touch with the author back in 2013 because of that. Pitty he didn't reply so far. Maybe I should try again now. EDIT: Just sent a mail again :-) Edited October 30, 2014 by JAC! 2 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted October 30, 2014 Share Posted October 30, 2014 I tried to get in touch with the author back in 2013 because of that. Pitty he didn't reply so far. Maybe I should try again now. I was talking to Eric via email quite regularly earlier this year about other matters. I just sent him another email; if he gets back to me, I'll ask him about DIS6502. 1 Quote Link to comment Share on other sites More sharing options...
+JAC! Posted October 30, 2014 Share Posted October 30, 2014 Great! I had sent a mail to James Wilkinson, because he's mentioned for the Win32 port. 1 Quote Link to comment Share on other sites More sharing options...
Tezz Posted October 30, 2014 Share Posted October 30, 2014 (edited) This is the thread and post from a couple of years back that I recalled earlier: http://atariage.com/forums/topic/195235-decompilerscode-readingdevelopment/?p=2555965 Edit: Thanks Jac, that AA post was in fact from James. Edited October 30, 2014 by Tezz Quote Link to comment Share on other sites More sharing options...
Tezz Posted October 30, 2014 Share Posted October 30, 2014 These were the requests I mentioned in the message to James ..I'd like to have the option to select that the code and labels in the dissasembly listing be tabbed out rather than spaced out.It'd be helpful if the file requester retained the previous directory entered.When opening a binary file could you add the xex extension.The only bug that I've come across is when you select the number of bytes per line in "OPTIONS > Output Format" to more than 32, the program crashes. Quote Link to comment Share on other sites More sharing options...
+JAC! Posted April 6, 2015 Share Posted April 6, 2015 (edited) Sometimes good things just happen. Last night when I returned from the Revision demo party at 2am, I found a message from Eric Bacher in my AA inbox. During the day we had a nice conversation and ultimately I decided to install Visual Studio 2010 on my Acer Windows XP machine that I had prepared as cheap "nobody's gonna steal it" vote machine and gave it a try. So here it is, the latest build of the improved DIS6502. 2015-04-06 - Adapted copyrights in "About..." dialog - Removed "Disk image to PC transfer..." menu item and implementation - Simpified and extended file selector filters to "Binary files (.bin;*.com;*.exe;*.xex)" "CAS files (*.cas)" "ROM files (*.bin;*.car;*.rom)" "Disk image files(*.atr;*.xfd)" "Equate files (*.equ)" - Menu item texts are file selector dialog titles are now in sync - "Assmbler Format" and "Output Format" menu option positions swapped - Default output fomat adapted to 8 words per line, 16 bytes per line, 40 characters per string - Number of screen lines in the dump component doubled from 32 to 64 - Width of disassembly component increased from 37 to 82 DIS6502.zip Edited April 6, 2015 by JAC! 11 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted April 6, 2015 Share Posted April 6, 2015 Superb - thanks! Quote Link to comment Share on other sites More sharing options...
ebiguy Posted April 6, 2015 Share Posted April 6, 2015 I am pleased with this new version. Thank you JAC! Quote Link to comment Share on other sites More sharing options...
+sm3 Posted April 6, 2015 Share Posted April 6, 2015 Fantastic! Working great so far with Windows 7 64-bit. Also, the increased size is easier to view now on my widescreen monitor. Thanks once again for your effort JAC! Quote Link to comment Share on other sites More sharing options...
+JAC! Posted April 6, 2015 Share Posted April 6, 2015 My problem is that the Windows Resource editor I have totally destroy the .rc files when I try to save them again. As a consequence I edit the resource files by hand. Works OK for text & menu, but not at all for dialogs/forms. Maybe somebody knows how to do it right with Visual Studio 2010. Quote Link to comment Share on other sites More sharing options...
TXG/MNX Posted April 7, 2015 Author Share Posted April 7, 2015 (edited) will the .rc files be fixed in the future... ? A few feature request 1) Option to maximize screen, I still cannot maximize it on my screen 2) Change fnt/fnt size option 3) TABS for several sources disasm listings Edited April 7, 2015 by TXG/MNX Quote Link to comment Share on other sites More sharing options...
+JAC! Posted April 7, 2015 Share Posted April 7, 2015 (edited) >will the .rc files be fixed in the future... ? They are not broken unless I try to edit them with a ResEdit. Hence I currently edit a copy and then move the source to the original by hand. Very very tedious, but at least the About Dialog is correct now. >Option to maximize screen, I still cannot maximize it on my screen That would be a major change because currently all the screen stuff is fixed based on defines. Real dynamic resizing would require in depth knowledge about with Win32 Even handling etc. which is something I don't have. My aim is to make it "OK" for now. >Change fnt/fnt size option Fonts are very tricky under Windows. In particular when it comes to own fonts like the 3 included here (atari/5200/oric). There is not "free resizing" instead the fond be available precompiled in the font file. In even more important any kind of scaling becomes terribly unreadable with the Atari fixed pixel fonts. I had those issues with the Hex Editor display in WUDSN IDE already. I took looog with a lot of support from the font creator to get something working (will be in WUDSN IDE 1.7.0). >TABS for several sources disasm listings That's on the todo list already (see file dis6502.txt in the download). Above all, editing in VIisual Studio 2010 is a nightmare for me. Even WUDSN IDE had a source outline in 2009 - VIsual Studio 2010 doesn't have it. I'm stunned and fight with the same silly dropdown listbox navigation bullsh.. that I first saw in VBA in 1995. Incredible. Edited April 7, 2015 by JAC! Quote Link to comment Share on other sites More sharing options...
Heaven/TQA Posted April 8, 2015 Share Posted April 8, 2015 Thanks, Peter! DIS is so cool... but a pain on modern laptops Quote Link to comment Share on other sites More sharing options...
+JAC! Posted April 11, 2015 Share Posted April 11, 2015 (edited) >Change fnt/fnt size option Fonts are very tricky under Windows. In particular when it comes to own fonts like the 3 included here (atari/5200/oric). There is not "free resizing" instead the fond be available precompiled in the font file. In even more important any kind of scaling becomes terribly unreadable with the Atari fixed pixel fonts. I had those issues with the Hex Editor display in WUDSN IDE already. I took looog with a lot of support from the font creator to get something working (will be in WUDSN IDE 1.7.0). On the other hand I like challenges :-) Layout computation based on initial font and window size works now. Now I have to figure out the Windows specific stuff how to react on resize events and update the control. Here is an example with 1024x768 and 16px high font. Edited April 11, 2015 by JAC! 2 Quote Link to comment Share on other sites More sharing options...
flashjazzcat Posted April 11, 2015 Share Posted April 11, 2015 Looks good. Quote Link to comment Share on other sites More sharing options...
AtariGeezer Posted April 11, 2015 Share Posted April 11, 2015 (edited) Only thing with the Atari font using Win32 and TextOut() is that the *Escape* character 0x1b and inverse 0x9b show as a Decimal Point/Period. Not sure if it's the Font or Windows? It's the font. just looked at it with a font editor, so I might just change it... And here is the modified font file. *remove ".zip" from filename... atari.fon.zip Edited April 12, 2015 by AtariGeezer 1 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.