Documentation error in .crt file description

This is the starting place for reporting bugs to the team. We will pass bug reports on to the developers after validating the reports.

You can report bugs in hardware, operating system (KERNAL or BASIC ROMs), the emulator, or the Demo library. For bugs specific to downloaded programs, use the download forum.
Post Reply
SunSailor
Posts: 12
Joined: Mon Apr 03, 2023 10:50 pm

Documentation error in .crt file description

Post 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.
TomXP411
Posts: 1762
Joined: Tue May 19, 2020 8:49 pm

Re: Documentation error in .crt file description

Post 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.
Post Reply