On Jul 30, 12:51, Jules Richardson wrote:
I have a few files in hex format (actually ROM dumps)
and want to
convert them to binary. Sort of the reverse of the hexdump utility.
I'm
not aware of a standard (and probably on-topic!) Unix
util to do
this,
but maybe someone knows if there is one, or a handy
way of doing this
using some of the standard text-processing utils that Unix has...
mload will do this for Intel HEX files and patches, but it sounds like
your files aren't quite the same as Intel HEX. However, the source
code can be modified.
http://www.dunnington.u-net.com/public/IntelHEX/
contains the tar file, but the important bits are also at
http://www.dunnington.u-net.com/public/mload.c
http://www.dunnington.u-net.com/public/mload.1
It's an implementation I did years ago of a common CP/M program called,
not surprisingly, mload.
--
Pete Peter Turnbull
Network Manager
University of York