Jump to content

Photo

The best dissassembler for Atari


129 replies to this topic

#1 TXG/MNX OFFLINE  

TXG/MNX

    River Patroller

  • 3,629 posts

Posted Thu Oct 30, 2014 1:31 AM

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.



#2 Rybags OFFLINE  

Rybags

    Quadrunner

  • 15,632 posts
  • Location:Australia

Posted Thu Oct 30, 2014 1:59 AM

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.



#3 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Thu Oct 30, 2014 3:34 AM

I love DIS6502 as it also supported ATARI Screen Code etc. and output in many formats.

 

http://sourceforge.n...ojects/dis6502/



#4 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • 10,774 posts
  • Location:Baden-Württemberg, Germany

Posted Thu Oct 30, 2014 4:26 AM

I love DIS6502 as it also supported ATARI Screen Code etc. and output in many formats.

 

http://sourceforge.n...ojects/dis6502/

 

yeah... only dowbside is the tiny fixed window size... esp. on HD screens. :D



#5 flashjazzcat OFFLINE  

flashjazzcat

    Quadrunner

  • 13,493 posts
  • Location:United Kingdom

Posted Thu Oct 30, 2014 5:01 AM

+1 for DIS6502.

#6 MrFish OFFLINE  

MrFish

    River Patroller

  • 4,813 posts
  • Location:1010-1010

Posted Thu Oct 30, 2014 7:19 AM

yeah... only dowbside is the tiny fixed window size... esp. on HD screens. icon_mrgreen.gif

 

Yeah, it could use an update, with sizeable screen and options for font and point size. It's looking pretty tiny these days.


Edited by MrFish, Thu Oct 30, 2014 7:19 AM.


#7 Tezz ONLINE  

Tezz

    River Patroller

  • 2,364 posts
  • Location:Manchester, England

Posted Thu Oct 30, 2014 7:33 AM

+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.



#8 TXG/MNX OFFLINE  

TXG/MNX

    River Patroller

  • Topic Starter
  • 3,629 posts

Posted Thu Oct 30, 2014 2:45 PM

 

yeah... only dowbside is the tiny fixed window size... esp. on HD screens. :D

 

Hmm would be nice if that can be fixed



#9 Wrathchild OFFLINE  

Wrathchild

    Stargunner

  • 1,956 posts
  • Location:Reading, UK.

Posted Thu Oct 30, 2014 4:06 PM

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.



#10 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Thu Oct 30, 2014 4:39 PM

 

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 by JAC!, Thu Oct 30, 2014 4:42 PM.


#11 flashjazzcat OFFLINE  

flashjazzcat

    Quadrunner

  • 13,493 posts
  • Location:United Kingdom

Posted Thu Oct 30, 2014 4:41 PM

 

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.



#12 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Thu Oct 30, 2014 4:47 PM

Great! I had sent a mail to James Wilkinson, because he's mentioned for the Win32 port.

About.png



#13 Tezz ONLINE  

Tezz

    River Patroller

  • 2,364 posts
  • Location:Manchester, England

Posted Thu Oct 30, 2014 4:48 PM

This is the thread and post from a couple of years back that I recalled earlier: http://atariage.com/...ment/?p=2555965

 

Edit: Thanks Jac, that AA post was in fact from James.


Edited by Tezz, Thu Oct 30, 2014 4:52 PM.


#14 Tezz ONLINE  

Tezz

    River Patroller

  • 2,364 posts
  • Location:Manchester, England

Posted Thu Oct 30, 2014 4:59 PM

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.



#15 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Mon Apr 6, 2015 10:09 AM

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.png

Attached Files


Edited by JAC!, Mon Apr 6, 2015 10:12 AM.


#16 flashjazzcat OFFLINE  

flashjazzcat

    Quadrunner

  • 13,493 posts
  • Location:United Kingdom

Posted Mon Apr 6, 2015 10:12 AM

Superb - thanks! :)



#17 ebiguy OFFLINE  

ebiguy

    Star Raider

  • 99 posts
  • Location:Paris, France

Posted Mon Apr 6, 2015 11:27 AM

I am pleased with this new version.

Thank you JAC!



#18 sm3 OFFLINE  

sm3

    Dragonstomper

  • 580 posts
  • Location:USA

Posted Mon Apr 6, 2015 11:36 AM

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!



#19 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Mon Apr 6, 2015 2:32 PM

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.



#20 TXG/MNX OFFLINE  

TXG/MNX

    River Patroller

  • Topic Starter
  • 3,629 posts

Posted Tue Apr 7, 2015 4:25 AM

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 by TXG/MNX, Tue Apr 7, 2015 4:53 AM.


#21 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Tue Apr 7, 2015 3:03 PM

>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.

Attached Thumbnails

  • Font.png

Edited by JAC!, Tue Apr 7, 2015 3:28 PM.


#22 Heaven/TQA OFFLINE  

Heaven/TQA

    Quadrunner

  • 10,774 posts
  • Location:Baden-Württemberg, Germany

Posted Wed Apr 8, 2015 12:13 AM

Thanks, Peter! DIS is so cool... but a pain on modern laptops :)



#23 JAC! OFFLINE  

JAC!

    Stargunner

  • 1,672 posts
  • Always looking for GFX and MSX for my demos
  • Location:Lebach, Germany

Posted Sat Apr 11, 2015 1:29 PM

>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.

Font.png

Edited by JAC!, Sat Apr 11, 2015 1:29 PM.


#24 flashjazzcat OFFLINE  

flashjazzcat

    Quadrunner

  • 13,493 posts
  • Location:United Kingdom

Posted Sat Apr 11, 2015 1:36 PM

Looks good.

#25 AtariGeezer OFFLINE  

AtariGeezer

    River Patroller

  • 2,665 posts
  • Location:Santee, CA

Posted Sat Apr 11, 2015 2:26 PM

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...

 

Attached File  atari.fon.zip   4.08KB   196 downloads


Edited by AtariGeezer, Sat Apr 11, 2015 9:58 PM.





0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users