Hi!
I have a doubt about how it works the process from and hex file generated by sdcc to binary to MSX.
For example, the first line of my ihx file is:
:200106003E02D3993E8FD399DB991F3E00D3993E8FD399DA0601C901000021020039799668
following the explanation of the ihx file the first part :20010600 is explanation of the line, so the binary code that I want in memory of the MSX is 3E02D3... (the last two characters (68) is the cheksum).
Translating to a binary format using hex2bin I get CDEEADC3. I was expecting that the program would remove the header and leave only 3E02D3, not to transform it to CDEEADC3. Why is that?
If the binary file is a .com file, when it is loaded in MSX-DOS it loads the binary file at 0x100 and start to run from that point, so the first bytes to appear in memory should be 3E02D3. Am I right?