RCA CDP18S711 manual V1. Expansion Considerations and Connections, Using the Byte Input/Output

Page 22
V1. Expansion Considerations and

23

V1. Expansion Considerations and

Connections

The COSMAC VIP was designed primarily as a self-contained graphic system for home use. Enough RAM and input/output features are provided for years of computer fun without adding anything to your system. If, however, you do want to expand your system, a variety of features have been included to make expansion as easy and inexpensive as possible. You can easily increase RAM to 4096 bytes by adding U20-U23to your PC card. Use the same type or a compatible type of RAM as used for U16-U19. You may, however, have to add a higher-current power supply when expanding RAM.

Using the Byte

Input/Output

First, you may wish to add some external com- puter-controlled devices such as relays, input sensing switches, or even a low-cost printer. The printer will require an 8-bit parallel input or output port and some "hand-shaking" signals. One parallel input port and one parallel output port are available on the PC card as shown in Fig. E-5 in Appendix E. These ports are provided by U24, U25, U26, and U27 along with the associated resistors and two IN914 diodes. The 22 input/output port connection pads (A-Z)along the back right edge of the PC card are connected to a standard 44-pin card socket on the COSMAC VIP board. You can plug your external circuits or devices into this socket. Table II gives the input/output port terminal connections.

The 8 buffered output signals (M,N,P,R,S,T,U,V) will each drive up to 2 TTL loads. A 63 machine language instruction will latch a memory byte into U24 for output. The 8 latched output lines can be used to drive individual relay driver circuits, power amplifiers, lights, battery motor drivers, etc. The

buffered Q output line (W) can be used as an output strobe for transferring the latched output byte to an external device such as a printer. The EF3 (X) and EF4

(L)input fines can be used to indicate the status of an external device. Don't forget that EF3 is shared with the hex keyboard.

Table 11 - Input/Output Port Terminal Connections (See Fig. E-5, Appendix E)

Pin Signal

Description

Image 22
Contents Page RCA COSMAC VIP CDP18S711 Instruction Manual VIP-311ACKNOWLEDGMENT Contents Contents Continued 1. Getting Started What This Manual CoversThe Power Supply Turning It On What You See1. Getting Started 11.COSMAC VIP Operation Using the Operating SystemMemory Write Tape Write Memory ReadTape Read Testing Your Cassette System 11.COSMAC VIP OperationIII.CHIP-8Language Programming How to Change and Use the VariablesBranch Instructions 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 Memory Is Addressed V. Logic DescriptionHow the Input/Output Works 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 ConnectionsSome Expansion Ideas Using the Expansion InterfaceI RCA COSMAC VIP Instruction Manual V1. Expansion Considerations and Connections Pin SignalTable III - External Option Terminal Connections 2.Composing poetry or pictures with printer output Signal Tracing VIL Troubleshooting HintsOther Problems No SoundLast Resorts Byte Pattern for Displaying COSMAC Appendix A - Test and Operating DataBeeper Program Signals Cassette Attachment Diagram Cassette Phase TestTest Program Cassette Data Test Cassette Recording Guidelines Memory Test ProgramAppendix B - Operating System Operating System ListingOperating System Summary Operating System Register TableR3 = Machine Language Subroutine Program Counter Appendix C - CHIP-8Interpreter CHIP-8Interpreter ListingCDP1802 Register Use for CHIP-8 CHIP-8Memory MapInterpreter 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