Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
shadow1013

OS/2 Executables

Recommended Posts

Has anyone ever looked at the linker script for Hexen or Heretic? They are linked as OS/2 Linear Executables, and I'm pretty sure the same must have been done for DOOM and Strife. But the question is, why would iD do that?

Share this post


Link to post

The Watcom 32-bit extenders use the LE file format attached to a DOS stub. Just because it was developed for OS/2 first doesn't mean it isn't used elsewhere.

Share this post


Link to post

Yup. When you want to load any of the EXEs into IDA Pro, you gotta tear off the DOS extender first in a hex editor because IDA, despite containing a large amount of DOS-relevant knowledge including what all the interrupt functions and IO ports do, doesn't know about the concept of extenders. Just gotta snip-snip at the second MZ header inside the file :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×