Binarus
2013-03-13 11:20:20 UTC
Hi all,
I'd like to know how to disassemble an EXE file using the OpenWatcom tools.
Background:
I am working on a big DOS 16-bit project (C, C++ and ASM mixed), and from time to time, I'd like to check the assembly code which has been generated. Notably, I am interested in seeing the right (final) values of segments and offsets when looking at the code which the compiler produces from my inline assembly.
I know that I can disassemble the object files, but that wouldn't help since I can't see the final addresses then. For that, I would have to disassemble the final executable. Currently, I am regularly transferring the executable from my Windows development box to the target system and then use the debugger under DOS to see what I want. But that is very time consuming and uncomfortable.
I did not find any way to use the OpenWatcom debuggers from within my development system. The debuggers always threw error messages which said something like that it couldn't use the whole screen, and then it was terminated.
So, I am looking for a way for disassembling or debugging the executable (not the object files) on my development box. Is this possible?
Thank you very much,
Binarus
I'd like to know how to disassemble an EXE file using the OpenWatcom tools.
Background:
I am working on a big DOS 16-bit project (C, C++ and ASM mixed), and from time to time, I'd like to check the assembly code which has been generated. Notably, I am interested in seeing the right (final) values of segments and offsets when looking at the code which the compiler produces from my inline assembly.
I know that I can disassemble the object files, but that wouldn't help since I can't see the final addresses then. For that, I would have to disassemble the final executable. Currently, I am regularly transferring the executable from my Windows development box to the target system and then use the debugger under DOS to see what I want. But that is very time consuming and uncomfortable.
I did not find any way to use the OpenWatcom debuggers from within my development system. The debuggers always threw error messages which said something like that it couldn't use the whole screen, and then it was terminated.
So, I am looking for a way for disassembling or debugging the executable (not the object files) on my development box. Is this possible?
Thank you very much,
Binarus