ibm PCjr — 2-113

4. Locations 4 and 5 contain the word hex AA55. This is used as a test for the presence of the second cartridge by "Cartridge Basic". 5. Location 6 must be a 0 to follow the DOS conventions. 6. Location 7 can be either hex FF to indicate an unprotected BASIC program, or hex FE to indicate a protected program. 7. Location 8 must be the start of the BASIC program. It must be interpretable Basic and not compiled. Also, at the end of the program PAD to the next 2048 byte boundary with hex OFF. 8. eRC bytes: The last two locations of the address space used by the cartridge must be blank. CRC characters will be placed in these bytes when the cartridge is built.

See the routine at label "CRC Check", in the BIOS listing for the CRC algorithm. Program Cartridge 2-113