10contained in the last 256-byte page of the on-card RAM.If you have a 2048-byte RAM, you are seeing locations0700-7FF on the screen. Bit 7 of the byte at 0700 is inthe upper left comer. Try storing a sequence of eight AAbytes followed by eight 55 bytes starting at location0700. Keep repeating this sequence to draw acheckerboard pattern on the screen. There are 32 rows ofspots on the screen. Each row represents 8 memory bytes(64 bits). Locations 0700-0707 are shown in the top row,0708-07OF in the next row down. Draw a bit map onpaper and you can construct pictures on the TV screen byentering the proper byte sequences. The byte pattern fordisplaying the word COSMAC is shown in Appendix A.Memory ReadSuppose you wish to examine the contents of amemory location. Flip RUN up while pressing key C.Enter the address of the location you want to examine.Press key A for the Memory Read mode. You will seethe memory address and the byte stored at that addresson the screen. Press any hex key to step through memoryand see the contents. Memory locations examined areleft unchanged. If a program doesn't run properly youcan use this mode to verify that it was stored correctly inmemory.You can now enter and run the short beeper programshown in Appendix A. Flip RUN up with key C pressed.Release key C and enter address 0000. Press key 0 toselect the Memory Write mode. Now enter the beeperprogram one byte at a time using the hex keyboard. FlipRUN down to reset the computer. Flip RUN up toexecute the beeper program you just loaded intolocations 0000-OOOC. You can load and run anyCOSMAC VIP program in this manner. For most of thegame programs you will first have to load the CHIP-8interpreter (Appendix C) into locations 0000-OIFFfollowed by the game program starting at location 0200.Tape WriteAny program you load into memory will be lost whenyou turn off power. Unless it is safely stored, you willhave to key it in by hand again the next time you want touse it. The cassette interface is provided so that afterkeying in a program you can then record it on an audiocassette; and when you want to use the program again,all you have to do is play it back into the memory fromthe cassette. This playback usually takes less than 30seconds.The COSMAC VIP cassette interface was designed towork with most standard audio cassette recorders.Panasonic models RQ-309DS, RQ-212D, and RQ-413Shave yielded satisfactory results as has the SonyRCA COSMAC VIP Instruction ManualTC-150. In general, better quality recorders providemore reliable operation.Your tape recorder must have an 8-ohm earphone orexternal speaker jack and a microphone input jack.Connect the cassette recorder to the COSMAC VIPtape-in tape-out pads on the right-hand side of the card asshown in the cassette attachment diagram in AppendixA.After properly connecting your cassette recorder youcan try recording and playing back a cassette using theoperating system as described below. Follow the cassetterecording guidelines provided in Appendix A for bestresults. If you run into trouble, use the cassette phase anddata test procedures described in Appendix A fortroubleshooting.The memory is divided into 256-byte pages forrecording. You can record 1 to 15 consecutive pages ontape. The low-order byte of your starting address shouldbe 00. Select the operating system by holding key Cdown while flipping RUN up. Enter the 4-digit addressof the first page to be recorded on tape. Press key F andyou're ready to record. Rewind a blank cassette and placeyour cassette unit in the record mode. Wait about 10seconds and tap the hex key that represents the numberof pages you want to record on tape. The screen will goblank and you'll hear a tone while recording. When thespecified number of pages has been recorded on thecassette, the tone will end and the last memory byterecorded on tape will be shown on the screen.Tape ReadTo load memory from a previously recorded cassette,first select the operating system (RUN and key C). Enterthe memory address of the first page to be loaded(usually 0000). Press key B to select the Tape Readmode. Rewind and play the cassette. Immediately pressthe hex key representing the number of pages you wantto load into memory from the cassette. The tape recordertone control should be set to maximum high. The volumecontrol should be set for a steadily glowing tape lightwhen data is being read from the tape. The screen will goblank while the program is loaded from the tape intomemory. It will show the last byte loaded into memoryat the end of loading.If the Q light and tone come on while a tape is beingread, an error occurred. Flip RUN down, rewind thecassette, and try again. You may h ' ave to readjust thecassette volume control. Be sure that the cassettecontains at least as many pages as you specify to beloaded. For most of the game programs, load theCHIP-8 interpreter program (Appendix C) into 0000-