ibm PCjr — 2-111

containing offset within this segment to the code that is entered when this name is called. There can be as many names as desired, providing that a hex 00 is placed in the count field following the last name pointer. If a cartridge has a routine called I TEST I at location hex OFB5 (offset from start of segment that the cartridge is in) that needs to be executed when I test I is entered as a DOS command the entry at location 6 would be hex 04,54,45,53,54,B5,OF. CRC 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. C. The following conventions will be followed for cartridges that wish to be recognized by "Cartridge BASIC" as containing interpretable-BASIC Code: • The cartridge-chip selects must address hex DOOOO since the BASIC cartridge addresses hex EOOOO. When "Cartridge BASIC" is activated, it will check for a second cartridge program at hex DOOOO. If the second cartridge is present and formatted properly, then the BASIC code is loaded into RAM and run. • The format for this interpretable-BASIC code must be as follows: Program Cartridge 2-111