durgadas311
Veteran Member
CP/M has LOAD.COM or HEXCOM.COM that will convert Intel HEX to binary, and there is also a GENHEX.COM (with source code) in MP/M that will convert a binary file to Intel HEX (you can specify the base address, too).
The reason one might use Intel HEX (as is still done by many DOWNLOAD functions today) is that it has error detection built-in. Otherwise, you'll need to build a protocol around the binary stream to be able to have any idea if the binary file resembles the original. Or else resign yourself to wondering when things don't work exactly as expected.
The reason one might use Intel HEX (as is still done by many DOWNLOAD functions today) is that it has error detection built-in. Otherwise, you'll need to build a protocol around the binary stream to be able to have any idea if the binary file resembles the original. Or else resign yourself to wondering when things don't work exactly as expected.