Atariscne.org

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

 

 
 
 
rg-asm runs as a single executable with no dependencies, simply download and run:
 
 
rd-dis 
 
rg-dis can now dissassemble DSP binaries! 
 
It has full support for the Atari Falcon030's DSP 56001 chip. It works on standalone binaries (.LOD, .P56, .COFF, .OUT object binaries) - but it can also disassemble DSP code that is embedded directly inside 680x0 executables.
 
To make reverse engineering as readable as possible, rg-dis marks the boundaries of DO loops, annotates per instruction cycle cost and detects embedded ASCII strings.
 
With its full understanding of the DSP56001 memory map, it annotates on chip peripheral and control register access - including the host interface, SSI, SCI and interrupt vectors, explaining what each hardware access is doing.
 
It also automatically detects jump tables in your DSP code, defining them with symbolic labels rather than raw absolute values so your dissassembled code remains relocatable and editable.
 
 
g-dis is a single binary with no dependencies. Just download and run:
 
We'll end here with some wise words from a famous scener that rg-dis extracted from his DSP replay routine:
 
dc $624954,$6D4153,$544552,$202020  ; "bITmASTER   "
dc $6E6F20,$445350,$202D20,$6E6F20  ; "no DSP - no "
dc $66756E,$202121                  ; "fun !!"
 

Comments

Cyprian
Saturday, 10 October 2026 17:50
great, thanks!
Quote
Cyprian
Saturday, 10 October 2026 18:37
one feature request for " --inspect embedded-dsp" - recognize 32bit DSP aligned code. E.g. Sound Designer II .PRG includes DSP56k procedures, where the first byte is 0 and thre remaining 3 bytes are DSP instructions.
Quote
Cyprian
Saturday, 10 October 2026 18:50
also how to export embedded dsp code?
Quote
Pink
Sunday, 11 October 2026 02:39
The new version just published should address your issues.

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.
Quote
Cyprian
Sunday, 11 October 2026 21:48
thanks, detection works correctly.
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
Quote
Cyprian
Sunday, 11 October 2026 21:50
One remark, below disassembled code (devoid of meaning)

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 ">" "
Quote
Cyprian
Sunday, 11 October 2026 21:51
MOVEP #>$0,X:
Quote
Cyprian
Sunday, 11 October 2026 21:54
I cannot post the same code while including with Less-than sign, Greater-than sign.
Quote
Pink
Monday, 12 October 2026 09:12
If you use the default rg-asm dialect (or explicitly run with --dialect rg-asm), rg-dis will output both the 68k code and embedded DSP code into a single file that can be edited and recompiled with rg-asm.

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.
Quote
Cyprian
Monday, 12 October 2026 21:28
@Pink
great, thanks.
One more question - is it possible to disasm raw 56k program (e.g. dump of DSP P RAM) ?
Quote
Pink
Tuesday, 13 October 2026 04:16
In the latest version, direct support has been added for raw binary DSP files (e.g. dumps of DSP memory). You can load with —input-format raw and even specify the —org starting address. More details in latest readme.
Quote
Cyprian
Tuesday, 13 October 2026 14:03
ok, "--arch dsp --input-format raw" works ok now. Thanks
Quote

Add comment

Submit

© 2025-2026 The Atariscne Collective | info@atariscne.org