radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.78k stars 3.01k forks source link

Support for ADSP-21XX / 2181 disassembler #17671

Open db5fp opened 4 years ago

db5fp commented 4 years ago

I need support für ADSP-2181, disasamler. I can help with some time an code / ROM-Files, but I'm not a programming expert.

Thanks Frank

trufae commented 4 years ago

Can you share some links about this DSP? Basically what's needed to proceed is the following:

Having support for MAME would be a good thing for r2, we could use it as a debugger backend. There are some easy things to do when supporting new architectures in r2:

trufae commented 4 years ago

https://github.com/mamedev/mame/blob/master/src/devices/cpu/adsp2100/adsp2100.h

trufae commented 4 years ago

Note that mame is C++ so its not something we want in r2core. must be done in radare2-extras

db5fp commented 4 years ago

ASM is described here starting from A-1 (page 131) http://www.smd.hu/Data/Analog/DSP/21xx/Assembler%20Tools%20and%20Simulator%20Manual%2021xx/ASM.PDF Examples of files can be found along the internet example : https://wunderkis.de/sigi/index.html

Files would by BIN or HEX-files from old (EP)ROM-Images or even code from the olda assembler tools from Analogdevices

db5fp commented 4 years ago

http://bitsavers.informatik.uni-stuttgart.de/components/analogDevices/dsp/ADSP-2100_Users_Manual_3ed_Sep95.pdf page 241 (10-24) shows example of ADSP-2181 System and Memory MAP

db5fp commented 4 years ago

https://www.analog.com/media/en/dsp-documentation/evaluation-kit-manuals/442236245ADSP_2181_EZ_KIT_Lite_Legacy.pdf This is a very a very popular Dev-Kit , System is explained here and page 66 is showing schematic

db5fp commented 4 years ago

http://web.archive.org/web/20060219051448/http://www.dce.bg/~vladitx/adsp2181/

I'll try, so omaybe it's all done, yet!