With the imminent release of the Atari Falcon 030, Reservoir Gods have updated their development tooling to support the exciting new DSP 56001 chip in these computers. We can't wait to get our hands on one of these bad boys!
Well, we may be 33 years late to the party - but better late than never! The rg cross-development tools now fully support the Motorola DSP56001.
rg-asm
rg-asm now features comprehensive support for the Falcon DSP: the complete DSP56001 instruction set, dual parallel moves, DO loops, all memory spaces. It can emit in many formats, including standard .LOD, .P56, .OUT, .CLD/.CLN, as well as raw bina$
One of really nice new features is support for mixed mode assembly. You can now write your 68030 code and DSP code in a single file, and seamlessly switch between both.
- Equates & constants: 68k constants are automatically inherited in DSP blocks
- Symbol export: DSP routines and labels export back to the host 68k code as equates
- Macros & structs: Share macros and structs between your DSP and 68k code
- Flexible layout: You can embed DSP code as either 3-byte per word packed or 4-byte per word unpacked


dc $624954,$6D4153,$544552,$202020 ; "bITmASTER "dc $6E6F20,$445350,$202D20,$6E6F20 ; "no DSP - no "dc $66756E,$202121 ; "fun !!"


Comments
The embedded DSP detection has been extended outside of just Xbios calls, it also detects code that directly sends data to the DSP via direct hardware address manipulation.
Extensions like the external DSP embedded in the Sound Designer 2 card and hardware transfers are also detected, so it should now disassemble all the DSP payloads in that binary also.
However, I'm wondering how to extract DSP asm from SD 2 or DSPBench (https://www.leonik.net/dml/sec_nemb.py).
Now I am extracting the DSP binary code from disassembled 68k code, converting it to an .LOD file with my script, and then converting .LOD to asm using rg-dis
BSET #0,X:$FFE0
JCLR #0,X:$FFE9,L_p0003
MOVE #$1,B
MOVEM B,P:$001B
MOVE #$FFFFFF,B
Would it be possible better to use ">" "
If you are working with a different assembler, or just want the DSP code itself without the 68k code, there is a new option in the latest version "--extract-dsp ". This will extract all DSP payloads from a binary into individual source code files in the specified directory. You can also extract as LOD or P56 files if you prefer, more details in the readme.
And good point about the force size operators which could auto short immediates on some assemblers. The latest version of rg-dis now emits explicit force size operators on immediates so re-assembly remains byte identical.
great, thanks.
One more question - is it possible to disasm raw 56k program (e.g. dump of DSP P RAM) ?