Alexander Hude hacked/reversed engineered the Leica M8, M9 and M240 cameras firmware and made a very detailed post about his finding. Here is a recap:
“There are plenty of surprise quirks – from firmwares using the Doom WAD data format, to compression methods used by iD software in old game releases. [Alex]’s work runs the gamut from plotting out GUI icons on graph paper, to building custom tools to tease apart the operation of the code. Sample components were even sourced from connector manufacturers to reverse engineer various accessories, too.” (Hackaday)