Page 1 of 1

Documentation error in .crt file description

Posted: Sat Sep 21, 2024 10:29 pm
by SunSailor
The documentation of the file format of the emulators .crt files is wrong in one statement. It says, the carts playload would start at offset 512, but instead it starts already at byte 480. The error comes from the 32 of the program version, but the offset jumps by 63 bytes in the table instead.

Re: Documentation error in .crt file description

Posted: Sun Sep 22, 2024 2:07 am
by TomXP411
Thanks for that.

Looking at the emulator manual at https://github.com/X16Community/x16-emulator , you're correct: the Program Version field has a Length of 32, but the empty space after it starts at 192. This means the Location column reserves 64 byte for Program Version, rather than the listed 32 bytes.

I've checked in with MooingLemur, and he'll confirm where the emulator looks for the Bank Flags and Payload data fields. Once we know for sure, we'll get that fixed.