zxcdw zxcdw - 1 month ago 13
Linux Question

Disassembler for Linux capable of disassembling old DOS .COM/.EXE files

My first question here, hopefully I'm not doing it wrong.

My problem is that I have a certain old DOS program which has quite much hacked the file format to the extreme to save space. (Yes, it's a demoscene prod for those who know.)

Objdump doesn't want to help me with it; quick Googling yielded no real results for the problem and the manpage doesn't seem too generous in this regard either.

There are others yes, like lida. However, for some reason I couldn't get lida to work; I believe there are alternatives.

Anyone have any experience of disassembling DOS executables on Linux? Or should I just try some DOS based disassembler and run it on Dosemu?

Answer

IDA is the best disassembler, and there is also linux version. It's better than a simple dissasembler because it's interactive.

Also, if you want to see nice "hand made" assembly, the best place to look are old viruses. And not the binaries, but sources, because they are commented. You can try Netlux for that.