Q. How can I translate OMF files to HEX or BIN format ?
A. Raisonance has developed a specific tool, OMF2HEX.exe available here, that translates OMF files to HEX or BIN format, and supports files with code at addresses higher than 0xFFFF.
Here is the command-line usage of the OMF2HEX inputfile command:
<Commands> | |
HEX|HEXstd | Generates a standard HEX file |
HEXext | Generates a extended HEX file (default). Same as HEXstd but with PAGE information |
BIN | Generates a BINARY for each CODE PAGE used |
HEXfile(fname) | Specifies name of the HEX generated file (only with HEXstd and HEXext options) |
RANGE(lowaddr-highaddr) | Specifies range of addresses converted (only with HEXstd and HEXext options) |
CACHE(size) | Specifies alignment of the HEX record generated (only with HEXstd and HEXext options) |
EVENODD | Generates one file for even addresses and one file for odd ones (only on 16-bit files) |
NOEVENODD | Does not generate separate files for odd and even addresses |
SINGLE | Generates a single file |
NOSINGLE | Does not generate a single file |