Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best approach for debugging a Win 16-bit application?

I must reverse a legacy windows (16-bit, NE exec) application that controls an old DAQ that I must interface somehow with upgraded hardware. I've been able to disassemble the exec using W32Dasm (and WindowsCodeBack as well, the only two from many that I've tried that have worked) but the resulting asm file contains too many lines. I'd like to use a debugger and set some breakpoints to restrict the work. Could you advise which is the right approach to debug a Win16 app in 32-bit times? A VM running Windows98 for example? Which Win16 debugger could I use?

Many thanks

like image 839
user1179145 Avatar asked Nov 14 '22 11:11

user1179145


1 Answers

IDA can disassemble Win16 programs as well (though not the free version), and it's much more convenient than plain dead listing.

As for debuggers, I would try to find the Win16 Turbo Debugger (TDW.EXE). There's also OpenWatcom, which even supports remote debugging (so you can run the program in a VM and the debugger UI on your desktop).

like image 187
Igor Skochinsky Avatar answered Jan 28 '23 10:01

Igor Skochinsky