X-HEAD will read the file and display its headers in following format:
bbbb-eeee xxxxwhere bbbb is the begin, eeee - the end of the block, and xxxx is the execution address (init or run vector).
The summary includes:
xxxx bytes - length of file, including headers
xxxx blocks - number of headers
xxxx inits - number of init blocks (02e2-02e3)
xxxx modules - number of FFFF headers (one at the beginning is required)
All displayed numbers are hexadecimal, of course.
You can redirect output to a file, for example:
XHEAD TEST >TEST.HDR