English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 04 March 2015, 20:03   #21
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
is it possible to disassemble 68k using the free version of IDA?
Kamelito
kamelito is offline  
Old 05 March 2015, 13:44   #22
crabfists
Registered User
 
crabfists's Avatar
 
Join Date: Feb 2008
Location: warrington UK
Posts: 118
@SparkyNZ I will look and see if I still have these files archived somewhere.
crabfists is offline  
Old 09 March 2015, 23:21   #23
fuzzylogic
Registered User
 
Join Date: Jan 2010
Location: Germany
Posts: 67
The most annoying thing about IDA and its 68k-module is that it does not disassemble pc-relative code correctly, for example:

"lea label(pc),a0"

will be translated to

"lea label,a0"

and this is NOT CORRECT since the opcodes are "totally" different.
fuzzylogic is offline  
Old 10 March 2015, 03:17   #24
Galahad/FLT
Going nowhere
 
Galahad/FLT's Avatar
 
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 8,987
IS there anything that can dissassemble Atari ST .prg files correctly with proper relocated labels etc?
Galahad/FLT is offline  
Old 10 March 2015, 13:26   #25
mark_k
Registered User
 
Join Date: Aug 2004
Location:
Posts: 3,336
Does ST2Amiga on Fish disk 448 do what you want (in conjunction with ReSource)?
mark_k is offline  
Old 10 March 2015, 13:57   #26
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
Quote:
Originally Posted by Galahad/FLT View Post
IS there anything that can dissassemble Atari ST .prg files correctly with proper relocated labels etc?
I'd say Easy Rider or TT Digger both are native ST disassemblers.

Kamelito
kamelito is offline  
Old 11 March 2015, 08:52   #27
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,801
For the Laziest...
http://freddo.chez.com/Sources/Utils/eazy4en.zip
http://members.chello.nl/h.robbers/TTD.html

Kamelito
kamelito is offline  
Old 11 March 2015, 22:16   #28
crabfists
Registered User
 
crabfists's Avatar
 
Join Date: Feb 2008
Location: warrington UK
Posts: 118
@SparkyNZ I've attached the plugin and source in the zone. Hope you find it useful.
crabfists is offline  
Old 03 August 2018, 11:03   #29
Seboss
Registered User
 
Join Date: Feb 2018
Location: Grenoble / France
Posts: 14
Hello there. Sorry about the thread necromancy, but the original link to @crabfists' IDA plugin is dead. Would anyone provide an alternative source? Thanks!
Seboss is offline  
Old 03 August 2018, 11:26   #30
crabfists
Registered User
 
crabfists's Avatar
 
Join Date: Feb 2008
Location: warrington UK
Posts: 118
I’ll see if I still have it...
crabfists is offline  
Old 30 September 2018, 00:03   #31
crabfists
Registered User
 
crabfists's Avatar
 
Join Date: Feb 2008
Location: warrington UK
Posts: 118
Sorry for the delay. I finally found it.

I made a quick Sourceforge page so it won't disappear again.

https://sourceforge.net/projects/idapluginamiga/files/
crabfists is offline  
Old 01 October 2018, 23:01   #32
jarre
Registered User
 
jarre's Avatar
 
Join Date: Sep 2016
Location: Deventer - Netherlands
Posts: 599
Quote:
Originally Posted by Galahad/FLT View Post
IS there anything that can dissassemble Atari ST .prg files correctly with proper relocated labels etc?
Can't IDA do this job..?
jarre is offline  
Old 01 October 2018, 23:15   #33
jarre
Registered User
 
jarre's Avatar
 
Join Date: Sep 2016
Location: Deventer - Netherlands
Posts: 599
For all who interested i have IDA pro v6.8
jarre is offline  
Old 02 October 2018, 06:46   #34
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
I'm a fan of radare2, it's open source and text (terminal) based, currently supports these platforms (68k highlighted).

Code:
_dAe  8 16       6502        LGPL3   6502/NES/C64/Tamagotchi/T-1000 CPU
_dAe  8          8051        PD      8051 Intel CPU
_dA_  16 32      arc         GPL3    Argonaut RISC Core
a___  16 32 64   arm.as      LGPL3   as ARM Assembler (use ARM_AS environment) (by pancake)
adAe  16 32 64   arm         BSD     Capstone ARM disassembler
_dA_  16 32 64   arm.gnu     GPL3    Acorn RISC Machine CPU
_d__  16 32      arm.winedbg LGPL2   WineDBG's ARM disassembler
adAe  8 16       avr         GPL     AVR Atmel
adAe  16 32 64   bf          LGPL3   Brainfuck (by pancake, nibble) v4.0.0
_dA_  32         chip8       LGPL3   Chip8 disassembler
_dA_  16         cr16        LGPL3   cr16 disassembly plugin
_dA_  32         cris        GPL3    Axis Communications 32-bit embedded processor (by pancake)
adA_  32 64      dalvik      LGPL3   AndroidVM Dalvik
ad__  16         dcpu16      PD      Mojang's DCPU-16
_dA_  32 64      ebc         LGPL3   EFI Bytecode (by Fedor Sakharov)
adAe  16         gb          LGPL3   GameBoy(TM) (z80-like) (by condret)
_dAe  16         h8300       LGPL3   H8/300 disassembly plugin
_dAe  32         hexagon     LGPL3   Qualcomm Hexagon (QDSP6) V6 (by xvilka)
_d__  32         hppa        GPL3    HP PA-RISC
_dAe             i4004       LGPL3   Intel 4004 microprocessor
_dA_  8          i8080       BSD     Intel 8080 CPU
adA_  32         java        Apache  Java bytecode
_d__  32         lanai       GPL3    LANAI
_d__  8          lh5801      LGPL3   SHARP LH5801 disassembler
_d__  32         lm32        BSD     disassembly plugin for Lattice Micro 32 ISA (by Felix Held)
_dA_  16 32      m68k        BSD     Capstone M68K disassembler
_dA_  32         malbolge    LGPL3   Malbolge Ternary VM (by condret)
_dA_  32         mcore       LGPL3   Motorola MCORE disassembler
_d__  16         mcs96       LGPL3   condrets car
adAe  16 32 64   mips        BSD     Capstone MIPS disassembler
adAe  32 64      mips.gnu    GPL3    MIPS CPU
_dA_  16         msp430      LGPL3   msp430 disassembly plugin
_dA_  32         nios2       GPL3    NIOS II Embedded Processor
_dAe  8          pic         LGPL3   PIC disassembler
_dAe  32 64      ppc         BSD     Capstone PowerPC disassembler (by pancake)
_dA_  32 64      ppc.gnu     GPL3    PowerPC
_d__  32         propeller   LGPL3   propeller disassembly plugin
_dA_  32 64      riscv       GPL     RISC-V
_dAe  32         rsp         LGPL3   Reality Signal Processor
_dAe  32         sh          GPL3    SuperH-4 CPU
_dA_  8 16       snes        LGPL3   SuperNES CPU
_dAe  32 64      sparc       BSD     Capstone SPARC disassembler
_dA_  32 64      sparc.gnu   GPL3    Scalable Processor Architecture
_d__  16         spc700      LGPL3   spc700, snes' sound-chip
_d__  32         sysz        BSD     SystemZ CPU disassembler
_dA_  32         tms320      LGPLv3  TMS320 DSP family (c54x,c55x,c55x+,c64x)
_d__  32         tricore     GPL3    Siemens TriCore CPU
_dAe  32         v810        LGPL3   v810 disassembly plugin (by pancake)
_dAe  32         v850        LGPL3   v850 disassembly plugin
_dAe  8 32       vax         GPL     VAX
adA_  32         wasm        MIT     WebAssembly (by cgvwzq) v0.1.0
_dA_  32         ws          LGPL3   Whitespace esotheric VM
a___  16 32 64   x86.as      LGPL3   Intel X86 GNU Assembler
_dAe  16 32 64   x86         BSD     Capstone X86 disassembler
a___  16 32 64   x86.nasm    LGPL3   X86 nasm assembler
a___  16 32 64   x86.nz      LGPL3   x86 handmade assembler
_dA_  16         xap         PD      XAP4 RISC (CSR)
_dA_  32         xcore       BSD     Capstone XCore disassembler (by pancake)
_dAe  32         xtensa      GPL3    XTensa CPU
adA_  8          z80         GPL     Zilog Z80 (by condret)
I have used the 68k module for reversing, but not for Amiga, been using native tools for that (hrtmon, resource, etc.).
modrobert is offline  
Old 02 October 2018, 08:19   #35
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Quote:
Originally Posted by jarre View Post
Can't IDA do this job..?

Any disassembler which supports 680x0 CPUs can do this job. I prefer ReSource for this. The (rather obvious) trick here is to convert the Atari ST files to something which Amiga disassemblers can easily handle.
StingRay is offline  
Old 02 October 2018, 14:58   #36
WayneK
Registered User
 
Join Date: May 2004
Location: Somewhere secret
Age: 50
Posts: 365
Quote:
Originally Posted by modrobert View Post
I'm a fan of radare2, it's open source and text (terminal) based, currently supports these platforms (68k highlighted).


I have used the 68k module for reversing, but not for Amiga, been using native tools for that (hrtmon, resource, etc.).

I did try Radare2 "back in the day(tm)" (shortly after it's initial release), it was so buggy/awful I had to stop using it before I smashed something...
There is a hilarious presentation on Youtube by the author "dispelling myths" about Radare2 being buggy and hard to use - which includes him not being able to compile the latest version, and it segfaulting every 2 minutes while he tries to reverse a simple example program!


That said, I have used it more recently for x86 stuff, and it's actually a very useful tool these days - but personally for the more 'unsupported' architectures (Amiga included) I wouldn't choose to use it.


Stick with IDA (ok, pc-relative stuff is an annoyance but you can tell by the instruction size if an LEA is relative or not, it's rarely a critical issue), or tools on Amiga (AR, Resource, etc.)
WayneK is offline  
Old 03 October 2018, 10:51   #37
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 775
Quote:
Originally Posted by WayneK View Post
I did try Radare2 "back in the day(tm)" (shortly after it's initial release), it was so buggy/awful I had to stop using it before I smashed something...
There is a hilarious presentation on Youtube by the author "dispelling myths" about Radare2 being buggy and hard to use - which includes him not being able to compile the latest version, and it segfaulting every 2 minutes while he tries to reverse a simple example program!

That said, I have used it more recently for x86 stuff, and it's actually a very useful tool these days - but personally for the more 'unsupported' architectures (Amiga included) I wouldn't choose to use it.

Stick with IDA (ok, pc-relative stuff is an annoyance but you can tell by the instruction size if an LEA is relative or not, it's rarely a critical issue), or tools on Amiga (AR, Resource, etc.)
I found a bug radare2, reported it via IRC, got a working fix five minutes later and was asked to write a regression test for it which was pulled.

If you feel at home with unix style environments and shells like bash, then I can't recommend radare2 enough, it's getting better every day.
modrobert is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disassembler copse Coders. General 86 01 January 2023 20:34
Peasauce disassembler copse Coders. General 1 31 January 2021 20:54
Sandisk EXTREME III 4GB CF card compatible with IDA-CF adapter ? Overdoc support.Hardware 4 27 December 2008 13:44
ReSource disassembler gizmomelb request.Apps 5 21 January 2006 23:50
Built in disassembler XDread request.UAE Wishlist 4 24 April 2004 02:20

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:00.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.44753 seconds with 14 queries