Description
In order to deal with binary data, instead of loading them as file, you can transform them in source code format and included them as normal files. Bin2Txt is a tool that can transform any kind of binary file in the equivalent assembly or C source code.
Utilisation
To transform a binary file as a texte file:
%OSDK%\bin\Bin2Txt [switches] binary_file text_file label_name
Switches
The -s switch control the size of data:
-s1 => 8 bits -s2 => 16 bits -s4 => 32 bits
The -f switch controls the output format
-f1 => C output -f2 => S output (assembly code)
The -n switch controls the number of values to export per line
-n6 => 6 values per line -n16 => 16 values per line -n48 => 48 valies per line ... etc
Historic
Here is the list of all releases with a short description of things that changed:
Version 0.003
- Added -n switch to set the number of values per line.Version 0.001-0.002
- First released version