I use MS-DOS, not Unix, and I always
solve the problem of converting a hex
dump to a binary file using two
standard tools: a text editor and an
assembler.
(files are in the format of 16 pairs
of uppercase hex digits per line,
with a trailing space after every
pair - even the last one on a line)
So a sample line might be
"00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F "
Adjust the following steps for your
assembler. Delete trailing spaces,
convert every space to ",$", and add
" DB $" to the beginning of every line:
" DB $00,$01,$02,$03,$04,$05,$06,$07,$08,$09,$0A,$0B,$0C,$0D,$0E,$0F"
Add any required directives (ORG, END,
etc.) and assemble.
--
Paul
Monroe, Michigan USA