Download Print this page

RCA CDP18S711 Instruction Manual

Rca cosmac vip.
Hide thumbs

Advertisement

Advertisement

   Related Manuals for RCA CDP18S711

   Summary of Contents for RCA CDP18S711

  • Page 2

    RCA COSMAC VIP CDP18S711 Instruction Manual RCA Solid State Division, Somerville, N. J. 08876 Copyright 1978 by RCA Corporation (All rights reserved under Pan-American Copyright Convention) Printed in USA/2-78 VIP-311...

  • Page 3

    Information furnished by RCA is believed to be accurate and reliable. However, no responsibility is assumed by RCA for its use; nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of RCA.

  • Page 4: Table Of Contents

    Contents Getting Started ........................5 What This Manual Covers ....................5 The Power Supply ......................6 What You See ........................7 Turning It On .......................7 COSMAC VIP Operation ....................9 Using the Operating System .....................9 Memory Write ........................9 Memory Read ........................ 10 Tape Write ..............

  • Page 5

    Fig. E-5 - Power Supply Circuit and Byte Input/Otaput Interface .......72 Appendix F - Board Layout, Parts List, and Assembly Instructions ........73 1. Printed Circuit Board Layout ..................74 2. Parts List for RCA COSMAC VIP CDP18S711 ............75 3. COSMAC VIP Expansion Notes ..................77 a. Soldering the PC Board ..................77 b.

  • Page 6: Getting Started

    COSMAC (Video Interface Processor) CDP18S711 is a complete computer on a single on the display screen and move them around. This printed-circuit card. It includes the following: feature is invaluable for video games and not usually available with computers costing several times as *RCA CDP1802 Microprocessor (91 instructions) much.

  • Page 7: The Power Supply

    RAM, ROM, memory addressing, instructions, bytes, etc. The use of a scope Photograph of COSMAC VIP (Video Interface Processor) CDP18S711 The cables in the upper right are for the video display and for cassette operation. Cable on the upper left goes to the power converter.

  • Page 8: What You See

    1. Getting Started What You See C pressed and the Q light should be on. When you release key C the tone and Q light should both go off. (The tone You must now decide on the video display for your occurs whenever the Q light is on.) You should now see a computer.

  • Page 9: Cosmac Vip Operation

    11. COSMAC VIP Operation COSMAC VIP is operated with the RUN switch and OPERATION hex keyboard. The PWR light shows that power is on. MW (Memory Write) The Q light is activated by various programs. A tone is sounded whenever the Q light is on. The TAPE light MR (Memory Read) TW (Tape Write) TR glows when cassette input data is present.

  • Page 10: Memory Read

    RCA COSMAC VIP Instruction Manual TC-150. In general, better quality recorders provide contained in the last 256-byte page of the on-card RAM. more reliable operation. If you have a 2048-byte RAM, you are seeing locations 0700-7FF on the screen. Bit 7 of the byte at 0700 is in the upper left comer.

  • Page 11: Testing Your Cassette System

    11. COSMAC VIP Operation After recording and checking a program cassette, you can 01FF, then load the game program starting at 0200. break out the tabs at the top of the cassette to prevent Record a cassette from 0000 to the end of the game accidental erasure.

  • Page 12: Chip-8 Language Programming

    III. CHIP-8 Language Programming instruction following the 2570. The subroutine itself CHIP-8 is an easy-to-learn programming language could use another 2MMM instruction to branch to (or that lets you write your own programs. To use the call) another subroutine. This technique is known as CHIP-8 language, you must first store the 512-byte subroutine nesting.

  • Page 13: Using The Display Instructions

    RCA COSMAC VIP Instruction Manual Table I - CHIP-8 Instructions Instruction Operation 1MMM Go to 0MMM BMMM Go to 0MMM + V0 2MMM Do subroutine at 0MMM (must end with 00EE) 00EE Return from subroutine 3XKK Skip next instruction if VX = KK 4XKK Skip next instruction if VX n.e.

  • Page 14

    III. CHIP-8 Language Programming Fig. 1 - Display screen coordinate structure. pattern for the digit "8" on the screen. First we make pattern will be shown on the screen in the upper left up a pattern of bits to form "8" as shown in Fig. 2. corner.

  • Page 15: Applying Chip-8

    RCA COSMAC VIP Instruction Manual touched any part of a previously displayed pattern. This I =V2 (LSDP) 0218 F229 feature permits programming video games which require 021A D455 SHOW 5MI@V4V5 knowing if one moving pattern touches or hits another V6=03...

  • Page 16: Some Program Ideas

    111. CHIP-8 Language Programming lose the CHIP-8 interpreter and will have to reload it. LUNAR LANDING - Program a graphic lunar You can insert stopping points in your program for landing game. debugging purposes. Suppose you want to stop and COLLIDE - Try to maneuver a spot from one examine variables when your program reaches the edge of the screen to the other without hitting...

  • Page 17

    RCA COSMAC VIP Instruction Manual The next section will discuss machine language PROGRAMMED SPOT - Introduce children to programming. You can even combine machine language programming concepts by letting them subroutines with CHIP-8 programs if desired. preprogram the movements of a spot or object on...

  • Page 18: Machine Language Programming

    IV. Machine Language Programming The latched Q line output performs several functions VIP Machine Coding in the COSMAC VIP system. When set, it holds the Q light on and generates a continuous speaker tone. Ile Q For a complete description of machine language line is also used for serial output data to a cassette instructions, refer to the User Manual for the CDP1802 recorder.

  • Page 19: Machine Language Programming Summed Up

    RCA COSMAC VIP Instruction Manual The CHIP-8 language described in the previous While the video interface is turned on, you should not section, permits machine language subroutines to be use any of the 3-machine-cycle CDP1802 instructions called with a 0MMM instruction. A D4 machine...

  • Page 20: Logic Description

    V. Logic Description operating system program which uses a 64 instruction to A complete set of logic diagrams is provided in generate an N2 pulse. This-N2 pulse sets U6A so it no Appendix E. Power requirements for a system with 2048 bytes of RAM is 5 V DC at 350 mA.

  • Page 21

    RCA COSMAC VIP Instruction Manual pressed. A 62 machine instruction causes the least into 5-volt pulses by U14B. The output of U14B is connected to the CDP1802 EF2 input line. The operating significant 4 bits of memory byte to be latched into U13.

  • Page 22: Expansion Considerations And Connections

    V1. Expansion Considerations and Connections COSMAC VIP was designed primarily as a buffered Q output line (W) can be used as an output self-contained graphic system for home use. Enough strobe for transferring the latched output byte to an RAM and input/output features are provided for years of external device such as a printer.

  • Page 23: Using The Expansion Interface

    RCA COSMAC VIP Instruction Manual also latch high-order address bits to select external A single photocell input could be provided via the devices if desired. When using external circuits to buffered EF4 line. You can attach the photocell generate DMA requests, interrupt requests, or input flag directly between the L and Z pads.

  • Page 24

    V1. Expansion Considerations and Connections Table III - External Option Terminal Connections (See Fig. E-2, Appendix E) Pin Signal Description Negative-going memory-write pulse Early timing pulse for M address clocking, etc. Memory address lines. High-order address byte appears on these lines during TPA time., followed by low-order address byte 8-bit, 2-way tri-state data bus Low for memory read machine cycles...

  • Page 25

    RCA COSMAC VIP Instruction Manual Some possible applications for expanded systems Provide a crystal-controlled, programmable include: pulse generator, clock, or timer. Provide a programmable sequencer for light Counting packages, parts, cars, or people via photocell or switch input. shows, advertising displays, holiday lighting, etc.

  • Page 26: Troubleshooting Hints

    VIL Troubleshooting Hints This section is aimed at helping you diagnose and fix Other Problems hardware problems should they occur. First, check all IC's to make sure they are properly inserted in the PC Using operating system mode 0, load bytes into RAM card.

  • Page 27: Last Resorts

    RCA COSMAC VIP Instruction Manual Last Resorts up with key C down. With RUN up, check bus and address lines to see if any look different from the others. They will, of course, be at different levels or bouncing As a last resort, try replacing Ul and the ROM. Check around but you might spot something suspicious that the supply voltage at all chips.

  • Page 28: Appendix A - Test And Operating Data

    Appendix A - Test and Operating Data Byte Pattern for Displaying "COSMAC" The following figure shows how the word "COSMAC" would be formed by spots (or bits) on the display screen. The following bytes when loaded into memory will cause the word "COSMAC" to be shown on the display in a 2048-byte RAM system.

  • Page 29: Cassette Attachment Diagram

    RCA COSMAC VIP Instruction Manual Cassette Attachment Diagram Cassette Phase Test For best results your cassette recorder should not Run this program to generate a phase test signal on the reverse the phase of an input signal on playback. When tape out line.

  • Page 30: Cassette Data Test

    Appendix A - Test and Operating Data Cassette Data Test Load the following machine language program into memory: 0000 90 B6 B3 F8 33 A6 F8 OA 0008 A3 D3 F8 6F AC F8 40 B9 0010 93 F6 DC 29 99 3A 10 F8 0018 10 A7 F8 08 A9 06 B7 F8 0020...

  • Page 31: Cassette Recording Guidelines

    RCA COSMAC VIP Instruction Manual When recording give the page key a short tap to Cassette Recording Guidelines start. Use the last byte of a tape block as a program Use high quality tape (Maxell UD or identification and check code. It will appear on the equivalent).

  • Page 32: Operating System Listing

    Appendix B - Operating System Operating System Listing 8000-81FF. This listing can be used to verify the The following shows the machine language code for the ROM operating system. ROM is addressed at contents of the ROM if required. 8000 F8 80 B2 F8 08 A2 E2 D2 8100 30 39 22 2A 3E 20 24 34 8008 64 00 62 0C F8 FF Al F8 8108 26 28 2E 18 14 1C 10 12...

  • Page 33: Operating System Register Table

    RCA COSMAC VIP Instruction Manual Operating System Register Table Memory Register Memory Register Address Byte Address Byte, 0XB0 0XC0 0XB1 0XC1 0XB2 0XC2 0XB3 R3.0 0XC3 R3.1 0XB4 R4.0 0XC4 R4.1 0XB5 R5.0 0XC5 R5.1 0XB6 R6.0 0XC6 R6.1 0XB7 R7.0...

  • Page 34: Chip-8 Interpreter Listing

    Appendix C - CHIP-8 Interpreter locations 0000-0IFF (2 pages). This interpreter will CHIP-8 Interpreter Listing allow you to run the games in Appendix D or write your own programs using the CHIP-8 instruction set To use the CHIP-8 language you must first load the described in section III.

  • Page 35: Chip-8 Memory Map

    RCA COSMAC VIP Instruction Manual CHIP-8 Memory Map CDP1802 Register Use for CHIP-8 Interpreter R0 = DMA pointer (page 0X for display refresh) R1 = INTERRUPT routine program counter R2 = Stack pointer R3 = INTERPRETER subroutine program counter R4 = CALL subroutine program counter R5 = CHIP-8 instruction program counter R6 = VX pointer (R6.1 must not be changed)

  • Page 36: Chip-8/operating System Standard Digit Display Format

    Appendix C - CHIP-8 Interpreter CHIP-8/Operating System Standard Digit Display Format...

  • Page 37: Chip-8 User Notes

    RCA COSMAC VIP Instruction Manual CHIP-8 User Notes 1 Do not use any of the CDP1802 three-cycle R7, RC, RD, RE, and RF can be used as machine language instructions in CHIP-8 working registers in machine language programs. subroutines. Changing other registers can cause the CHIP-8 interpreter to malfunction.

  • Page 38: Vip Kaleidoscope

    In the listing for each game, the first column is the This Appendix contains program listings for twenty memory location at which the instruction bytes in video games. These games, which illustrate en- the second column are stored. The comments in tertainment applications of COSMAC VIP, were the third column indicate the function of the developed by Joe Weisbecker (games, 1 through...

  • Page 39

    RCA COSMAC VIP Instruction Manual entry. Pushing key 0 causes your pattern to be 1. VIP Kaleidoscope continuously repeated forming a fascinating, changing kaleidoscope display on the screen. A "44444442220" This program uses the CHIP-8 INTERPRETER at key sequence provides a very nice effect Experiment to 0000-01FF.

  • Page 40: Vip Video Display Drawing Game

    Appendix D - Video Games initial values for VO-V9. In this program, locations 2. VIP Video Display Drawing Game 0300-03FF are used for the picture. After drawing a picture, you can change M(0208) from OOEO to 120A. This program uses the CHIP-8 INTERPRETER at Write locations 0000-03FF (4 pages) to tape to save your 0000-01FF.

  • Page 41

    Appendix E - Logic Diagrams Fig. E-1 Microprocessor and Display Interface Circuits Fig. E-2 ROM Circuits and Expansion Interface Fig. E-3 Keyboard, Decoding, Audio Oscillator, and Cassette Interface Circuits Fig. E-4 RAM Circuits Fig. E-5 Power Supply Circuit and Byte Input/Output Interface...

  • Page 42: Fig. E-1 - Microprocessor And Display Interface Circuits

    RCA COSMAC VIP Instruction Manual Fig. E-1 - Microprocessor and Display Interface Circuits...

  • Page 43: Fig. E-2 - Rom Circuits And Expansion Interface

    Appendix E - Logic Diagrams Fig. E-2 - ROM Circuits and Expansion Interface...

  • Page 44: Fig. E-3 - Keyboard, Decoding, Audio Oscillator, And Cassette Interface Circuits

    RCA COSMAC VIP Instruction Manual Fig. E-3 - Keyboard, Decoding, Audio Oscillator, and Cassette Interface Circuits...

  • Page 45: Fig. E-4 - Ram Circuits

    Appendix E - Logic Diagram's Fig. E-4 - RAM Circuits...

  • Page 46

    RCA COSMAC VIP Instruction Manuel Fig. E-5 - Power Supply Circuit and Byte Input/Output Interface...

  • Page 47

    RCA COSMAC VIP Instruction Manual Fig. E-5 - Power Supply Circult and Byte Input/Output Interface...

  • Page 48: Printed Circuit Board Layout

    Appendix F - Board Layout, Parts List, and Expansion Notes 1. Printed Circuit Board Layout 2. Parts List for RCA COSMAC VIP CDP18S711...

  • Page 49

    , RCA COSMAC VIP Instruction Manual...

  • Page 51

    Appendix F - Board Layout, Parts List, and Assembly Instructions 2. Parts List for RCA COSMAC VIP CDP18S711 Type Number Qty. Description Integrated Circuits - Supplied CDP1802 COSMAC Microprocessor CDPI 861 Video Interface SN74L00N Quad NAND Low Power SN7474N Dual D-Type Flip-Flop...

  • Page 53

    RCA COSMAC VIP Instruction Manual 2. Parts List for RCA COSMAC VIP CDP18S711 (Continued) Type Number Qty. Description Resistors - Supplied (1 /4 W except as noted) 3.3 K ohm R3 R5 RIS Rl6, R33 10 K ohm R39, R40...

  • Page 55: Cosmac Vip Expansion Notes

    Appendix F - Board Layout, Parts List, and Assembly Instructions 3. COSMAC VIP Expansion Notes a. Soldering the PC Board regulator IC) to the card together with an appropriate In the event you wish to make some changes or heat sink. Make sure the U28 lead pads on the PC DC add components requiring soldering, you should have card don't touch the heat sink.

Comments to this Manuals

Symbols: 0
Latest comments: