RCA CDP18S711 manual

Page 38

39

A

This Appendix contains program listings for twenty video games. These games, which illustrate en- tertainment applications of COSMAC VIP, were developed by Joe Weisbecker (games, 1 through 8), Joyce Weisbecker (games 9 and 10), Jef Winsor (games 11, 12, and 13), Tom Chen (games 14,15, and 16), and Phil Baltzer (games 17 through 20).

In the listing for each game, the first column is the memory location at which the instruction bytes in the second column are stored. The comments in the third column indicate the function of the instruction byte. The comments are not stored in memory.

The game titles are listed below:

Game Title .....................................................

1.VIP Kaleidoscope ...........................................................

2.VIP Video Display Drawing Game .................................

3.VIP Wipe Off ..................................................................

4.VIP Space Intercept .......................................................

5.VIP 4096-Bit Picture .......................................................

6.VIP Figure Shooting at Moving Target ...........................

7.VIP Tick-Tack-Toe Game ...............................................

8.VIP Spooky Spot ............................................................

9.VIP Jackpot ....................................................................

10.VIP Snake Race ...........................................................

11.VIP Card Matching Game ............................................

12.VIP Armored Vehicle Clash .........................................

13.VIP Hi-Lo ......................................................................

14.VIP Hex Reflex..............................................................

15.VIP Dot-Dash ...............................................................

16.VIP A-Mazing ...............................................................

17.VIP Deduce ..................................................................

18.VIP Shooting Stars .......................................................

19.VIP Strike-9 ..................................................................

20.VIP Card Game (like the well-known acey-

Image 38
Contents Page RCA COSMAC VIP CDP18S711 Instruction Manual VIP-311ACKNOWLEDGMENT Contents Contents Continued 1. Getting Started What This Manual CoversThe Power Supply 1. Getting Started What You SeeTurning It On Memory Write Using the Operating System11.COSMAC VIP Operation Tape Read Memory ReadTape Write Testing Your Cassette System 11.COSMAC VIP OperationBranch Instructions How to Change and Use the VariablesIII.CHIP-8Language Programming Using the Display Instructions 0206 D125 SHOW 5MI@VlV2 0208 1208 GO 020A F090 III. CHIP-8 Language Programming0200 A20A I=020A 0202 6100 V1=00 0204 6200 V2=00 020C F090 020E F000Applying CHIP-8 Some Program Ideas 111. CHIP-8Language Programming25.PROGRAMMED SPOT - Introduce children to programming concepts by letting them preprogram the movements of a spot or object on the screen IV. Machine Language Programming VIP Machine CodingMachine Language Programming Summed Up How the Input/Output Works V. Logic DescriptionHow Memory Is Addressed pressed. A 62 machine instruction causes the least significant 4 bits of memory byte to be latched into U13. These 4 bits are decoded to bring one of the 16 U13 output lines low. If the key that corresponds to this output line is pressed, the CDPI802 EF3 input will go low. The 4-bitcodes latched into U13 correspond to the equivalent key positions. After the program send8 a 4-bitcode to U13, it subsequently examines the EF3 line to see if the key corresponding to this code is pressed or not. In this manner, a program can determine when any specific key is pressed or can sequentially scan all keys while waiting for any one to be pressed. Key debounce delays must be provided in the program when required. A program can also cause a speaker tone to occur when a key is pressed. Only one key at a time should be pressed with this method of interfacing the keyboard Using the Byte Input/Output V1. Expansion Considerations and ConnectionsI RCA COSMAC VIP Instruction Manual Using the Expansion InterfaceSome Expansion Ideas Table III - External Option Terminal Connections Pin SignalV1. Expansion Considerations and Connections 2.Composing poetry or pictures with printer output Signal Tracing VIL Troubleshooting HintsOther Problems No SoundLast Resorts Beeper Program Appendix A - Test and Operating DataByte Pattern for Displaying COSMAC Test Program Cassette Attachment Diagram Cassette Phase TestSignals Cassette Data Test Cassette Recording Guidelines Memory Test ProgramAppendix B - Operating System Operating System ListingR3 = Machine Language Subroutine Program Counter Operating System Register TableOperating System Summary Appendix C - CHIP-8Interpreter CHIP-8Interpreter ListingInterpreter CHIP-8Memory MapCDP1802 Register Use for CHIP-8 Appendix C - CHIP-8Interpreter CHIP-8User Notes RCA COSMAC VIP Instruction ManualPage 1. VIP Kaleidoscope 2. VIP Video Display Drawing Game Fig. E-1Microprocessor and Display Interface Appendix E - Logic DiagramsFig. E-5Power Supply Circuit and Byte CircuitsPage Fig. E-2- ROM Circuits and Expansion Interface Appendix E - Logic DiagramsPage Fig. E-4- RAM Circuits Appendix E - Logic DiagramsRCA COSMAC VIP Instruction Manuel RCA COSMAC VIP Instruction Manual 2.Parts List for RCA COSMAC VIP CDP18S711 Board Layout, Parts List, and Expansion NotesAppendix F 1.Printed Circuit Board LayoutRCA COSMAC VIP Instruction Manual Page 2. Parts List for RCA COSMAC VIP CDP18S711 Page RCA COSMAC VIP Instruction Manual Resistors - Supplied 1 /4 W except as notedPage 3. COSMAC VIP Expansion Notes