XE file, major version 1

Technical questions regarding the XTC tools and programming with XMOS.
jaokim
New User
Posts: 2
Joined: Thu Aug 14, 2014 9:41 pm

XE file, major version 1

Post by jaokim »

My xrunxe program on my setup will only allow XE files of major version 1. It seems that xtimecomposer 15, 14, and 13 creates XE files of version 2. I’ve consulted the XE file header docs, and it states it to be “2”. My xrunxe clearly only allows a “1”.

I’m on Amiga X1000 which has the XS-1 chip on the motherboard. The tooling on Amiga is not very up to date, and I compile the .xc file using a Linux machine — but xrunxe must be run on the Amiga. I’ve got the sources for xrunxe, and it’s easy to make it allow version 2, but I don’t really know what the differences are, so I fear I might break something else.

Is there any way to make the compiler create an XE file of version 1 instead? Or do you have any other suggestions? (I could back to an even earlier xtimecomposer, but was hoping for another solution.)
CiaranW
Verified
Member
Posts: 9
Joined: Tue Jun 28, 2022 10:58 am

Post by CiaranW »

Hi - I'll preface this by saying I don't know exactly what the xrunxe program is, and I'm not familiar with the system.

But It looks like the XE version was bumped from 1 to 2 in late 2012, and this was because the polynomial used for the CRC calculation was changed. So if you're able to adapt your xrunxe program to work with the 'new' CRC as described on that documentation page (or hack it and ignore the CRC if you don't care), then you might be able to make it accept the newer XE files.

The only way to generate the 'version 1' XE files is to go back to a tools release of 2011/2012.

Hope this helps!
jaokim
New User
Posts: 2
Joined: Thu Aug 14, 2014 9:41 pm

Post by jaokim »

Hi, thanks! That's exactly the information I wanted! By the looks of it the current Xrunxe doesn't check the CRC, so I think I can live without that too. :) With the CRC being the only thing that changed, I think I can make it work!

Thanks a lot!