Page 4 - Contents
Contents I. Getting Started ................................................................................................................... 5What This Manual Covers ................................................................................................. 5The Power Supply ..................
Page 6 - What This Manual Covers
1 1. Getting Started COSMAC VIP (Video Interface Processor) CDP18S711 is a complete computer on a single printed-circuit card. It includes the following: *RCA CDP1802 Microprocessor (91 instructions)*2048-byte RAM*Built-in hex keyboard (modern reliable touchpad type) *Graphic video display interface...
Page 7 - The Power Supply
6 CHIP-8 includes a real time clock, random number generator, decimal conversion, and digit or graphic display capability. It only uses 512 bytes of RAM leaving over 1024 bytes for programs in a 2048-byte system. (You can get an additional 2048 bytes of RAM by plugging four more RAM chips into your ...
Page 8 - What You See
After completing the above set-up procedure, you are ready to enter and run programs on your COSMAC VIP.The COSMAC VIP operating system, explained in thenext section, permits you to load programs into memoryfrom the hex keyboard, verify them, and record themon cassettes for later reuse. 1. Getting S...
Page 9 - COSMAC VIP Operation; Using the Operating System
11. COSMAC VIP Operation COSMAC VIP is operated with the RUN switch and hex keyboard. The PWR light shows that power is on. The Q light is activated by various programs. A tone is sounded whenever the Q light is on. The TAPE light glows when cassette input data is present. When using COSMAC VIP, alw...
Page 10 - Tape Read
10 contained in the last 256-byte page of the on-card RAM. 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. Try storing a sequence of eight AAbytes followed by eight 55 bytes starting at location 0700. Keep repeating ...
Page 12 - CHIP-8 Language Programming; Branch Instructions
III. CHIP-8 Language Programming CHIP-8 is an easy-to-learn programming language that lets you write your own programs. To use the CHIP-8 language, you must first store the 512-byte CHIP-8 language program at memory locations 0000 to 01FF. The CHIP-8 language program is shown in Appendix C in hex fo...
Page 16 - Some Program Ideas
111. CHIP-8 Language Programming 17 lose the CHIP-8 interpreter and will have to reload it. You can insert stopping points in your program for debugging purposes. Suppose you want to stop and examine variables when your program reaches the instruction at 0260. Just write a 1260 instruction at locati...
Page 18 - Machine Language Programming; VIP Machine Coding
19 IV. Machine Language Programming VIP Machine Coding For a complete description of machine language instructions, refer to the User Manual for the CDP1802 COSMAC Microprocessor MPM201A . Your COSMAC VIP computer incorporates the following special machine-language input and output instructions: COD...
Page 20 - How Memory Is Addressed
21 V. Logic Description A complete set of logic diagrams is provided in Appendix E. Power requirements for a system with 2048 bytes of RAM is 5 V DC at 350 mA. If you wish to expand the system you can use your own higher current power supply. This system is designed around the CDP1802 microprocessor...
Page 23 - Some Expansion Ideas
24 A single photocell input could be provided via the buffered EF4 line. You can attach the photocell directly between the L and Z pads. Experimentally adjust the pull-up resistor on pad L for best operation. No photocell amplifier should be required to drive the COS/MOS input. An, externally suppli...
Page 26 - VIL Troubleshooting Hints; No Sound
VIL Troubleshooting Hints This section is aimed at helping you diagnose and fix hardware problems should they occur. First, check all IC's to make sure they are properly inserted in the PC card. An IC inserted in the wrong direction can be permanently damaged. Check that the +5 V DC supply voltage r...
Page 27 - Last Resorts
28 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 around but you might spot something suspicious that would indicate a short or open for one of these lines. Try operating with only a ...
Page 28 - Appendix A - Test and Operating Data; Beeper Program
29 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 ...
Page 29 - Cassette Attachment Diagram; Cassette Phase Test
30 Cassette Attachment Diagram RCA COSMAC VIP Instruction Manual Cassette Phase Test For best results your cassette recorder should not reverse the phase of an input signal on playback. When playing back a tape recorded on another recorder, it should not reverse the phase of the output signal. You m...
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 80 FE DC 97 F6 B7 DC 29 0028 89 3A 23 17 87 F6 DC 30 0030 17 30 31...
Page 31 - Cassette Recording Guidelines
0000 90 B1 B2 B3 F8 17 A3 D3 0008 42 70 22 78 22 52 C4 C4 0010 C4 94 80 91 AO 30 08 F8 0018 0A Al F8 7F A2 E2 69 F8 0020 04 B4 F8 00 A4 94 B7 84 0028 A7 7A E2 F8 00 A5 F8 FF 0030 A6 85 57 94 BA 84 AA 8A 0038 52 87 F3 3A 45 9A 52 97 0040 F3 3A 45 30 47 86 5A 1A 0048 9A 52 94 FC 04 F3 3A 37 0050 07 52...
Page 32 - Appendix B - Operating System; Operating System Listing
33 Appendix B - Operating System Operating System Listing The following shows the machine language code for the ROM operating system. ROM is addressed at 8000-81FF. This listing can be used to verify thecontents of the ROM if required. 8000 F8 80 B2 F8 08 A2 E2 D2 8008 64 00 62 0C F8 FF Al F8 8010 0...
Page 33 - Operating System Register Table; Operating System Summary
34 Operating System Register Table RCA COSMAC VIP Instruction Manual 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 0XC7 R7.1 0XB8 R&0 0XC8 R8.1 0XB9 R9.0 0XC9 R9.1...
Page 34 - CHIP-8 Interpreter Listing
Appendix C - CHIP-8 Interpreter CHIP-8 Interpreter Listing 35 To use the CHIP-8 language you must first load the following interpreter program into memory locations 0000-0IFF (2 pages). This interpreter will allow you to run the games in Appendix D or write your own programs using the CHIP-8 instruc...
Page 36 - CHIP-8/Operating System Standard Digit Display Format
Appendix C - CHIP-8 Interpreter 37 CHIP-8/Operating System Standard Digit Display Format
Page 40 - VIP Video Display Drawing Game
Appendix D - Video Games 2. VIP Video Display Drawing Game This program uses the CHIP-8 INTERPRETER at 0000-01FF. A flashing spot appears in the upper left corner of the screen. You can move the spot by holding key 2, 4, 6, or 8. Press key 5 and you can draw a picture with the spot. Press key 0 and ...
Page 41 - Appendix E - Logic Diagrams
67 Appendix E - Logic Diagrams Fig. E-1 Microprocessor and Display InterfaceCircuits 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 - Microprocessor and Display Interface Circuits
68 RCA COSMAC VIP Instruction Manual Fig. E-1 - Microprocessor and Display Interface Circuits
Page 43 - E-2 - ROM Circuits and Expansion Interface
Fig. E-2 - ROM Circuits and Expansion Interface Appendix E - Logic Diagrams 69
Page 44 - and Cassette Interface Circuits
70 RCA COSMAC VIP Instruction Manual Fig. E-3 - Keyboard, Decoding, Audio Oscillator, and Cassette Interface Circuits
Page 51 - Appendix F - Board Layout, Parts List, and Assembly Instructions; Parts List for RCA COSMAC VIP CDP18S711
Appendix F - Board Layout, Parts List, and Assembly Instructions -76 2. Parts List for RCA COSMAC VIP CDP18S711 Type Number Qty. Description Integrated Circuits - Supplied CDP1802 Ul 1 COSMAC Microprocessor CDPI 861 U2 1 Video Interface SN74L00N U3 1 Quad NAND Low Power SN7474N U4 1 Dual D-Type Flip...
Page 55 - COSMAC VIP Expansion Notes
regulator IC) to the card together with an appropriateheat sink. Make sure the U28 lead pads on the PC DCcard don't touch the heat sink. Disconnect the +5 V supply at the + V DC and GND pads and connect yourunregulated 8-10 V DC power supply to these pads.This on-card regulator will handle up to I a...