User Tools

Site Tools


bin-to-db

This is an old revision of the document!


convert binary file to defb for source

issue this command in linux console:

hexdump -ve '"\t""\t""db""\t" 7/1 "#%02X, " 1/1 " #%02X" "\n"' $1 | sed -r 's/(, #  )+$/\n/'

where $1 is your binary file.

bin-to-db.1357903939.txt.gz · Last modified: 2013/01/11 12:32 by darkbyte