[hatari-devel] A new disassembler in Hatari

Nicolas Pomarède npomarede at corp.free.fr
Thu Nov 18 23:32:56 CET 2010


Le 18/11/2010 02:41, Markus Fritze a écrit :
> Hi,
>
> With a bit delay (work...) here is the new 68k disassembler. I've written it from scratch and tested it against IDA Pro (BTW: which has a BUNCH of bugs in 68k). It is plain drop-in: add the ZIP'd source to the project and remove the old m68k_disasm() routine from newcpu.c (as well as the leftovers from the old one).
>
> If you want: add the symbol files from Symbols.zip to the .hatari folder to get symbols (and more detailed ones for the TOS 3.06 and 4.04)
>
> The disassembler can be fully configured via Diss68kOptions and optionCPUTypeMask as well the TAB settings. Check the beginning of the source. Somebody might want to add this to the preferences of Hatari.
>
> The disassembler is able to deal with any 68k CPU (68000...68060, CPU32, FPU and PMMU) and should detect illegal opcodes based on the CPU mask.
>
>
> Enjoy,
> Markus
>
>

Hello,

thanks a lot for your work, this looks really nice !

I will add this to Hatari, along with an option to choose between 
current uae's disassembler and your new one.

I have a few errors when compiling with current Hatari gcc's flags, but 
this should be easy to fix.

I will commit the resulting files once they compile so anyone can try it.

Nicolas




More information about the hatari-devel mailing list