Location Contents 0 055H 1 OAAH 2 Length 4 OAAH 3 OCBH 5 055H 6 0 7 OFFH if unprotected Basic program or OFEH if protected Basic program 8 Start of interpretable Basic code n OFFH Padding to next 2048 byte boundary Last 2 Addresses CRC Bytes Cartridge Format 1. Locations 0 and 1 contain the word hex 55AA. This is used as a test for the presence of the cartridge during the configuration-deterrnination portion of the power-on routines. 2. Location 2 contains a length indicator representing the entire address space taken by the ROM on the cartridge. The algorithm for determining the contents of this byte is (length/512).
The contents of this byte is used by the CRC routine to determine how much ROM to check. 3. Location 3 must be hex OCB for a I far return I instruction. 2-112 Program Cartridge