Musings of a network engineer
my altered version of Michael Steil's (who has a blog over at Pagetable) program to extract files from an ADF (Amiga disk file). My altered version restores the full file path (not just the filename itself), allows you to set the start and end sector (useful for HD floppies or damaged adf files) and made the debug output a compilation option instead of the default As part of my ongoing fun with the Amiga developer pre-release tools hidden on the 27.X kickstart disks I was curious to run some of the binaries through a hex dumper that was able to decode the Amiga binary, mainly in search of "interesting" (it's only really interesting if you're an Amiga fan or a nerd to a high degree) information.
As some of you might know an Amiga binary file has multiple hunks, of different types, which contain the executable binary code as well as all sorts of optional information (including debug information). There is a good document Over on Wikipedia that describes the Amiga Hunk format to a good degree. This tool is designed to run through a binary file, decoding those hunks and giving you information about each one of them.
The program takes one required argument (which is the filename of the binary to decode) and two optional ones
The tool is available on my GitHub page as objectexaminer.c. It should be easy to compile on any *nix system with
gcc -o objectexaminer objectexaminer.c