Skip to content

Conversation

@boeckmann
Copy link

While reverse engineering an old Digital Research tool I noticed that the OMFDUMP utility from the NASM repo failed to correctly parse some OMF FIXUP records. I was also not able to compile it for DOS because of the memory mapped io.

So I made several changes to it:

  • fixed decoding of FIXUP records
  • memory mapped IO converted to ordinary file IO for compatibility
  • ignores garbage after MODEND (produced by Digital Research RASM86)
  • adds / enhances decoding of several record types

I was able to build this with clang under Mac and Watcom C under DOS.

- fixes decoding of FIXUP records
- memory mapped IO converted to ordinary file IO for compatibility
- ignores garbage after MODEND (produced by Digital Research RASM86)
- adds / enhances decoding of several record types

Signed-off-by: Bernd Boeckmann <bernd-github@boeckmann.io>
@hpax
Copy link
Member

hpax commented Oct 6, 2025

I incorporated a bunch of your improvements for 3.00, but I'm not 100% I got them all due to codebase divergence. If there are still improvements you would like to make, please rebase them on the current master.

Thanks!!

@hpax hpax closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants