THE CHIP
Learning an instruction set nobody documented
The NEK-100's DSP is a Dream SAM5xxx chip. Its control CPU runs a 16-bit, word-addressed instruction set similar to Dream's P16, with no public documentation. I inferred it from the firmware and marked every instruction either as confirmed, when a patch using exactly that form behaved as predicted on the instrument, or as a hypothesis.
The disassembler and assembler round-trip the firmware byte for byte, whatever is still unknown. That makes patching safe to iterate: a working experiment becomes a small patch file that contains my own instructions and short checks of the bytes it expects, not the vendor's code.
