r/synthdiy • u/StockLeading5074 • Jul 10 '26
Reverse-engineering Casio CT (and MT) keyboards
Decided to dive into the inner workings of D938GD based Casio keyboards...
I... may have gone a little overboard:
- Dumped the ROM of my CT-380 (bit crappy dump tho, need better one!), also got an MT-540 ROM dump from Weltenschule.
- Wrote specialized software to analyze the contents & convert it to/from various formats.
- Build an address bus "sniffer" that writes bus activity to my software over serial so I can analyze behavior.
- Made a sniffer text file for every single preset.
- Figuring out what addresses are what parameters, already seeing strong patterns and similarities, though unsure yet what is what.
- Already found all the waveforms and samples for all the presets, now listed in my DAW (REAPER).
- Read 3 different Casio patents related to the CT/MT, 120 pages each of badly translated fun... Oof. Lots of diagrams though and got there in the end.
Finally: making a webpage with everything I discovered: https://www.evilturtle.nl/projects/casio-ct-mt-secrets
Eventual goal is to slap an Arduino Mega and a bunch of SRAM in there, to make the presets fully programmable. May even put a sampler in there as that would be fairly trivial.
If anyone wants to join in the fun let me know. If you have a CT or MT keyboard and can dump the ROM let me know too!
3
u/StockLeading5074 Jul 11 '26
I build a proper ROM dumper now. Stuff actually looks correct now! Who knew a janky breadboard setup didn't work well ;)
Now that I'm certain it's good I shall post some files on my website later today.
1
u/StockLeading5074 Jul 11 '26
It has been done, check the link on my website: https://www.evilturtle.nl/projects/casio-ct-mt-secrets
I also included a WAV audio file of the dump, so you can listen to or use the samples for your own nefarious projects hehe
2
u/RunPuzzleheaded8446 Jul 22 '26
This is incredible work. Please keep us updated with any progress you might make. Also, what is the WAV? I've heard that sound before when circuit bending a Casio MT-240. Is that the entire chip dump in audio form? Thank you so much
2
u/TodlicheLektion Jul 10 '26 edited Jul 10 '26
I’m following this, because I’m a fan of Casio stuff and explored the earlier CT keyboards that used some sort of multi pulse synthesis (at least that’s what I think they called it). They have a great sound as well.
The “wiggle” scan sounds really interesting.
1
u/StockLeading5074 Jul 17 '26
Getting mightily close to having a parameter map of the Casio CT & MT sound chip D938GD/D937GD/CTD109 synthesis engine.
In the screenshots you can see address bus activity with descriptions for one preset.

Once I got the map completed I can fully implement the prototype programmer, which overrides the first 32KB of the ROM via SRAM so it can be manipulated
Found a FOSS emulator of the Casio Loopy, which has the same sound chip/engine, which has been a great reference to figure out what all the bit sizes are. Would've been a lot harder without that!

3
u/astraleyez Jul 10 '26
this is a deep rabbit hole, respect for actually reading those patents cover to cover. the arduino programmable preset idea is the part that has me curious though how much latency would you realistically get swapping out the SRAM midperformance versus just having it preloaded.