COMPUTER TECHNICAL REFERENCE MANUAL Information for: Programmers and..Technicians F pio sHacK fq IVISION OF TANDY CORPORATION TRS-80™ COLOR COMPUTER TECHNICAL REFERENCE MANUAL oy, rato Shaek~ DIVISION OF TANDY CORPORATION FORT WORTH, TEXAS 76102 Color Computer Technical Reference Manual: Copyright © 1981 Tandy Corporation, Fort Worth, Texas 76102, U.S.A. All rights reserved. Reproduction or use, without express written permission from Tandy Corporation, of any portion of this manual, is prohibited. While reasonable efforts have been taken in the preparation of this manual to assure its accuracy, Tandy Corporation assumes no liability resulting from any errors or omissions in this manual or from the use of the information obtained herein. Portions of this manual were reproduced, with express written permission from the Motorola Corporation, from the following Motorola data sheets: ADI-492R2 ADI-847 ADI-595 DS9435R1 DS -9522 This manual was written by Dale Chatham, and edited by Sandra Williams Printed in the United States of America MC6847 MC6809E MC6883 MC6821 MC1372 IMPORTANT NOTICE This Technical Reference Manual is written for owners of the TRS-80 Color Computer, who have a thorough understanding of electronics and computer circuitry. It is not written to the beginner’s level of comprehension. Radio Shack will not be liable for any damage caused, or alleged to be caused, by the customer or any other person using this technical manual to repair, modify, or alter the TRS-80 Color Computer in any manner. Many parts of the computer electronics are very sensitive and can be easily damaged by improper servicing. We strongly suggest that for proper servicing, the computer be returned to Radio Shack. Because of the sensitivity of computer equipment, and the potential problems which can result from improper servicing, the following limitations apply to services offered by Radio Shack: 1. If any of the warranty seals on any Radio Shack computer product are broken, Radio Shack reserves the right to refuse to service the equipment or to void any remaining warranty on the equipment. 2. If any Radio Shack computer equipment has been modified so that it is not within manufacturer's specifications, including, but not limited to, the installation of any non-Radio Shack parts, components, or replace- ment boards, then Radio Shack reserves the right to refuse to service the equipment, void any remaining warranty, remove and replace any non-Radio Shack part found in the equipment, and perform whatever modifications are necessary to return the equipment to original factory specifications. 3. The cost for the labor and parts required to return the Radio Shack computer equipment to its original specifications will be charged to the customer in addition to the normal repair charges. TABLE OF CONTENTS SECTION PAGE NUMBER NUMBER | INTRODUCTION... 0.0.0... 0.00.0. 0. eee eee 1 System Description... 0... ee ee eee 2 System Block Diagram —— Illustration ©... ee 3 Memory Map 2. 0... 2 ee ees 4 H DISASSEMBLY/ASSEMBLY .......0.0.0..0 0.000 cece ee eee 11 Disassembly 2.000 ee ee 12 Reassembly 2.0.0.0 2. ee ee 12 Disassembly/Reassembly —— Illustration. 2... 2. ee ee ee es 13 Ht THEORY OF OPERATION ........... 0.0... 02 ccc eee ee 15 G809E CPU 0 eee ene 16 6809E Block Diagram —— Illustration 2.0... 0 ee ee 16 6809E Programming Model —— Illustration 2.2... 2 ee 17 6809E Typical Timing of Read/Write Cycles —— Illustration. ............04. 18 Reset Circuit 0. ee ee ee 17 Dynamic Memory Control .. 0... 0. ee ee ees 19 MC6883 Block Diagram —— Hlustration 2.0... ee ee 20 Timing Diagram —— Illustration 2.0... ee ee eee 21 ROM 2.0 nee 21 Video Interface 2.0.0. ee ee ee ns 21 Mode Selection —— Table 1.0... ee eee 24 Description of Display Modes —— Table2 ... 2.2... 0.00. 0. eee ees 25 Display Character Set —-— Table 3 2.1... ce ee ee 27 VDG Video Output —— Hlustration 2... ee ee 28 MC1372 Block Diagram —— Illustration 2... 0 2. ee ee 28 Video Input to the Modulator —— Illustration .. 0.0.0.0. 000. ee ee ee 29 PIAS 00 ee eee 29 PIA Block Diagram —— Illustration 2.2... ee nee 29 Digital to Analog (D/A) 2.00. 0 eens 30 Joystick Interface... ee eee 30 Sound Output 2.0.00 et ene ee ne 31 Sound Selection —— Table4. 0.0.0... ee eee 31 Sound Circuity —— Illustration 2.00. ke ee ee ene 31 Cassette Interface 0... ee ee es 32 Sample Data of Cassette Format —~— Illustration. ©. 00. 0 ee ee 32 Tape Format Information ©... ....0.0.0 0.00 cc ee ee es 32 RS-232C Interface 0... ee ee ee 33 RS-232 Connector Pin-out —— Illustration ... 0.0.0.0... ce eee eee 33 Keyboard Interface... 0.0. 0 ee ee ee ne 33 System Power Supply 2.0.2.0... eee 33 723 Regulator Block Diagram —- Hlustration 2.2... 0. es 34 Cartridge ROM and Other Devices ..... 0.0.0.0. cee ee ene 35 Cartridge Connector Signals —~ Table5 ......... 20.0.0 00. pee ne 36 ROM Cartridge Board Schematic —— Illustration ......00..0.. 0.200000 ee 37 RS-232 Devices 2.0.0 ee ee ee 38 Line Printer Variables -— Table 6 20... ee ee 38 Alternate Line Printer Variables -— Table 7 2... 2... ee ee en 39 Joysticks 2. ee eee eee eee ee 40 Joystick Schematic —-- Illustration 2.2... 0. 2 ee ee 40 TV Switch Box 00 ee 41 Antenna Switch Box Schematic —— Illustration ... 0.0.00... 0.00 0c ees 41 TABLE OF CONTENTS (cont'd) SECTION PAGE NUMBER NUMBER IV TROUBLESHOOTING ....0. 00.0000 occ cece ences 43 Fault Isolation ©. 0... ce ee eee eben enna 44 Diagnostic Notes 2.0... ee eee eee eee tee nenenens 44 Video Interface 2.0... cc nce een teen ene nen yas 44 Joystick Interface... ee ee ee eee eee bene ens 45 Cassette Interface 2. ce ee even enna 45 Keyboard Interface... 0... eee ete e ene nee uus 45 RS-232 Interface 2. ce tenet eee en eenyees 45 Power Supply 2.0... eee eet eee ban eetnenns 46 Power Supply Voltage Levels —— Illustration .....0.0.. 00000 cece cee eeees 47 V PARTS LISTS 2.000000... 0 coc cect eee n eee eees 49 Printed Circuit Board Parts List... 00 ccc eee eens 50 Illustrated Parts Breakdown .......00.00.0 000000 ccc cece eee e een ues 56 Niustrated Parts Breakdown —— Illustration... 00... ee ce ee ee ee eee 57 Vi PRINTED CIRCUIT BOARD ................. 0.0.00. 000 ce eee 59 Printed Circuit Board —~- Component Side ...........0...0. 000-00 ccecee 60 Printed Circuit Board ~— Circuit Side 2. .0..0..000. 000.0 ce cee eee eee 61 Vil SCHEMATIC .. 00... occ ccc cee bebe eee uee 63 Color Computer Schematic ——~- Sheet 1 ......0.0.0.0 00000 ccc cece eee e eee 64 Color Computer Schematic --— Sheet 2 2.0.0.0... 000.00 ccc eee 66 Color Computer Schematic —— Sheet 3 2.0.0.0. ee cee ee 68 SECTION | INTRODUCTION SYSTEM DESCRIPTION The primary functions of the Color Computer are performed by five 4@-pin Large Scale Integration (LSI) chips plus Random Access Memory (RAM) and Read Only Memory (ROM). These five chips are indicated on the Block Diagram (Figure 1) by CPU, SAM, VDG, and two PIA’s. With only these five chips plus RAM, ROM, and a power supply, the Color Computer would operate and provide a composite video output. However, to allow communication with the outside world, 1/O interfaces must be added. The main component of any computer system is the Central Processor Unit (CPU). It is the duty of the CPU to provide or request data and select the proper address for this data. In addition, the CPU is capable of performing a limited set of mathematica! and logical operations on the data. ROM has the duty of providing the CPU with a predefined set of instructions. Without ROM, the CPU would run wild and randomly execute instructions. In normal operation, the CPU jumps to the start address in ROM after the reset switch has been pressed, and then performs the reset program to set up all of the programmable devices. Following this, the BASIC instruction set residing in ROM is in control of the CPU. RAM provides storage for the programs and/or data currently being executed. In addition, this same RAM is used to generate the video display. Normally, no conflict will be observed because the program will use one portion of RAM and the display will use another. During normal usage, the BASIC interpreter located in ROM will control the execution of programs located in RAM. A central component in the Color Computer is the dynamic RAM controller chip (SAM). This chip provides refresh and address multiplexing for the RAM. It also provides all of the system timing and device selection. The video display generator (VDG) provides virtually the entire video interface on one chip, and allows several different alphanumeric and graphic modes. This mode of operation of the VDG is controlled by one of two peripheral interface adapters (PIA’s) used in the Color Computer. With this information and RAM data, the VDG generates composite video and color information for the modulator circuitry. The remaining circuitry in the Color Computer is devoted to Input/Output (1/0) communication. The most important part of this circuitry is the keyboard which allows the operator to enter information. Other I/O circuits are provided to allow joystick inputs, cassette input and output, and RS232 input and output. WVYEDVIC 19018 YHS1LNdWOS HO109 “L SHNDI OuVOGAIN ae 30VdU3LNI 1289 wou NOILSAOF 319 MOILSAOF Vid 8* x91 YO 4B —_——> L HOLISNNOD 39GI¥LYVD t} |t t ‘ i SIVNOIS Ssauaav JOULNOD Ni —~> 30 SUSI ino zee Su LL Tiva Ni te} ven0 H3TIOHLNOD WE JONLNOD HOLOW ~~] 3OVIE3LNI b— £93738 rn [= 36089 pw 3834N Ya Spinae DIWWNAG ws = nao ino ~«— ¥ Y cye9 orNNae GA 8* SL HO xy WV DIWWNAG O3CIA t 1 AZL- AZL+ AS~ ASt i VLVG AV1dSIG HOLWT [- ino Viva we) Ya4ING | [ | | Gnngs POLvinaow AL AQddNS YaMGd MEMORY MAP The first page of the Memory Map (page 5) shows the break- down of the large blocks of memory in the Color Computer. One variable in this block is the video display which may be located anywhere in the memory. BASIC normally locates the video display at the Hexidecimal addresses 0400 - O5FF. The next two pages of the Map explain the addressing for the PIA’s. In general, the even numbered memory locations are the 1/O registers and the odd numbered memory locations are the controll registers. Bit two of the control registers determines what is addressed at the even numbered memory locations. If this bit is set high (logic 1} the data I/O register is addressed. If it is set low the data direction register is addressed. Norm- ally the data direction register is addressed only during initial- ization to allow configuration of the data inputs and outputs. (By clearing bit 2 and writing to the even numbered memory location one address below, each bit of the PIA may be set as an input or an output. A 1 in the data direction register sets the bit as an output and a @ sets the bit as an input.) The addresses from FFCQ@-FFDF are the control registers for the SAM address multiplexer chip. There are no data lines to the SAM chip therefore two addresses are used to control each register. In general, writing any data to an even numbered memory location will clear the register and writing any data to an add numbered memory location will set the register. Ad- dresses FFC@-FFC5 control the display mode. To select a cer- tain display mode, both these registers and the PIA controlling the VDG chip must be set to the proper mode. However, it is also possible to set the SAM registers to one mode and the PIA controlling the VDG to another mode, and obtain a useful video mode. These cross modes are explained in more detail in the Video Interface section. However, it is also possible to set the SAM registers to one mode and the PIA controlling the VDG to another mode, and obtain a useful video mode. These cross modes will be discussed in more detail in the Video Interface section. Addresses FFC6-FFD3 control the display starting address. If all of the registers are cleared, the display will begin at 6000. Normally register F2 will be set causing the display to start at G400. This feature of the SAM chip allows the display to be paged through all of the RAM. Register P1 controls a feature which is not used in the Color Computer. Therefore, it should be cleared at all times. Addresses FFD6-FFD9 control the clock speed of the CPU. The Color Computer is designed to operate at 0.89 MHz. Addresses FFDA-FFDD control the memory size set up of the SAM chip. These addresses select 4K, 16K, or 32K of RAM in the Color Computer. This memory size option should be changed only by the reset routine in BASIC. Changes at other times may erase the contents of RAM. Register TY, at ad- dresses FFDE - FFDF, should be cleared at all times. The final series of addresses in the Color Computer are the interrupt and reset vectors. Whenever the CPU receives a reset or interrupt it will load the address at the indicated location and begin execution at the new location. The dual set of addresses are listed because the vectors are mapped into the top of the BASIC ROM (BFF2-BFFF), i.e., if the CPU reads FFFF it will actually read the contents of BFFF. FFOO COG AGO 8606 4000 3000 2006 1006 0600 HEX ADDRESS COLOR COMPUTER MEMORY MAP CARTRIDGE ROM BASIC ROM EXPANSION ROM 4K RAM COLOR COMPUTER USAGE 16K RAM 32K RAM G6G0 ANORMAL VIDEO 0400 DISPLAY COLOR COMPUTER MEMORY MAP (cont'd) FFO@G — FFOS PIA U8 BIT @ = KEYBOARD ROW 1 and right joystick switch BIT 1 = KEYBOARD ROW 2 and left joystick switch BIT 2 = KEYBOARD ROW 3 FFOO BIT 3 = KEYBOARD ROW 4 BIT 4 = KEYBOARD ROW 5 BIT 5 = KEYBOARD ROW 6 BIT 6 = KEYBOARD ROW 7 BIT 7 = JOYSTICK COMPARISON INPUT BIT G Control of the Horizontal 0=1RO" to CPU Disabled syne clock (63.5 microseconds) 1=1RQ" to CPU Enabled BIT 1 G=Filag set on the falling edge of HS nterrupt Input _ 1=Flag set on the rising edge of HS . BIT 2 = Normally 1: @=Changes FFG@ to the data direction register BIT3=SEL1: LSB of the two analog MUX select lines FFG@1 BIT 4=1 Always BIT5=1 Always BIT 6 Not Used BIT 7 = Horizontal sync interrupt flag BIT @= KEYBOARD COLUMN 1 BIT 1= KEYBOARD COLUMN 2 BIT 2= KEYBOARD COLUMN 3 FFO2 BIT 3= KEYBOARD COLUMN 4 BIT 4= KEYBOARD COLUMN 5 BIT 5= KEYBOARD COLUMN 6 BIT 6= KEYBOARD COLUMN 7 BIT 7= KEYBOARD COLUMN 8 BIT @ . G=!RQ* to CPU Disabled Control of the field syne clock 1=IRQ* to CPU Enabled pit 1 ) 16667 Ms Interrupt Input O= sets flag on falling edge FS 1= sets flag on rising edge FS FFg3 ¢ BIT2=NORMALLY 1: @= changes FFO2 to the data direction register BIT3 = SEL 2: MSB of the two analog MUX select lines BIT4=1 Always BIT5=1 Always BiT6 Not Used BIT 7 = Field sync interrupt flag FF20 — FF23 FF20 | FF21 | FF22 | / \ FF4@— FFBF a FF23 COLOR COMPUTER MEMORY MAP (Cont'd) PIA U4 BIT @ = CASSETTE DATA INPUT BIT 1 = RS-232 DATA OUTPUT BIT 2= 6 BIT D/A LSB BIT 3=6 BIT D/A BIT 4=6 BIT D/A BIT 5=6BIT D/A BIT 6=6BIT D/A BIT 7=6 BIT D/A MSB BIT @ Control of the CD BIT 1 RS-232 status Input BIT 2 = Normally 1: BIT 3 = Cassette Motor Control: BIT4=1 Always BIT5=1 Always BIT 6 Not Used BIT 7 = CD Interrupt Flag BIT @ = RS-232 DATA INPUT BIT 1= SINGLE BIT SOUND OUTPUT LOW = 4K BIT 2= RAM SIZE INPUT BIT 3 = VDG CONTROL OUTPUT BIT 4= VDG CONTROL OUTPUT BIT 5 = VDG CONTROL OUTPUT BIT 6 = VDG CONTROL OUTPUT BIT 7 = VDG CONTROL OUTPUT BIT @ Control of the Cartridge BIT 1 Interrupt Input BIT 2 = Normally 1: BIT 3 = Six BIT Sound Enable BIT 4 =1 Always BIT5 =1 Always BIT 6 Not Used BIT 7 Cartridge Interrupt Flag NOT USED @ = FIRQ* to CPU Disabled 1 = FIRQ* to CPU Enabled @ = set flag on falling edge CD 1 = set flag on rising edge CD @ = changes FF2@ to the data direction register 1= ON HIGH = 16K css GM@ & INT/EXT GM1 GM2 A/G @ = FIRQ* to CPU Disabled 1 = FIRQ* to CPU Enabled * @ = sets flag on falling edge CART 1 = sets flag on rising edge CART” @ = changes FF22 to the data direction register COLOR COMPUTER MEMORY MAP (Cont'd) Al, AE, S4, S6 C —N.U. 32/64K _ 16K Dynamic RAMs 4K FFDF S TY MAP —N.U. FFDE Cc TYPE =) I N.U. FFDD S M1 1 6] @ 9.9/1.8 MHz FFDC Cc MEMORY 09 Miz only FFDB | § Mo SIZE tlalale | FFDA Cc FFD9 S R1 1/1/01 6 FFD8 Cc CPU FFD7 S RO RATE ee) FFD6 Cc FFDS S Pq PAGE #1 0) FFD4 Cc FFD3 S F6 FFD2 C FFD1 S F5 FFDO Cc FFCF Ss F4 DISPLAY Address of Upper-Left-Most FECE C OFFSET Display Element = @000+ (“%K Offset) FFCD S F3 NU. FFCC Cc (BINARY) r~ GBR, GEC FECB S F2 r~ G3R FFCA C G3C FFCQ S FI G2R FEC8 Cc G2c FFC7 S FO L Pas FFC6 Cc | FFC5 S v2 FFC4 c DISPLAY 1filililelelol o FFc3 | § V1 MODE FFC2 Cc CONTROL 1/1/@;/o|1;/ 1,0] @ FFC1 S vO FFCO Cc 1; G11;@ji1/}o)}1] @ Transparent Refresh COLOR COMPUTER MEMORY MAP (Cont'd) FFFF OR BFFF RESET VECTOR LSB FFFE OR BFFE RESET VECTOR MSB FFFD OR BFFD NMI VECTOR LSB FFFC OR BFFC NMI VECTOR MSB FFFB OR BFFB SWI1 VECTOR LSB FFFA OR BFFA SWIi VECTOR MSB FFF9 OR BFF9 IRQ VECTOR LSB FFF8 OR BFF8 IRQ VECTOR MSB FFF7 OR BFF7 FIRQ VECTOR LSB FFF6 OR BFF6 FIRO VECTOR MSB FFF5 OR BFF5 SWI2 VECTOR LSB FFF4 OR BFF4 sWl2 VECTOR MSB FFF3 OR BFF3 SWI3 VECTOR LSB FFF2 OR BFF2 SWI3 VECTOR MSB FFF1 — FFEG NOT USED SECTION II DISASSEMBLY/ASSEMBLY 11 DISASSEMBLY Make sure all cables (also power cord) are disconnected, Place the Color Computer face down on a padded or non- scratching surface and remove the seven screws from the Case Bottom. (Because the screws are positioned so deeply, you may not be able to actually remove them until the Computer is turned face up.) Carefully place the Computer face up and lift off the Case Top and set it aside. Carefully lift the Keyboard off the plastic bosses and remove the Keyboard Cable. Remove the Top Cover Shield and set it aside. You may have to remove the top cover of the modulator (U5) to get the shield off. Remove the three screws supporting the transformer assembly (two on transformer, one on the board) and disconnect all jumper cables. Remove the ten screws fastening the CPU PC Board and lift the Board off its plastic bosses. Remove the Ground Plane and Insulator from the back of the PC Board by using a screwdriver or other small, thin tool to pry off all sixteen fasteners from the rear of the Board. 12 REASSEMBLY Replace the Ground Plane and its Insulator on back of the PC Board and install the sixteen fasteners. You may need some pliers to close the tips together and then insert. Replace the PC Board onto the plastic bosses. Be sure that the ends of the Power Cord are pulled through the square cutout in the Board where the transformer is positioned. Fasten the PC Board in place using ten #6 x 1/2” screws. Connect the transformer jumper cables, E1 through E4 and the Power Cord jumpers, E6 - white, E5 - green, and E7 - black. Position the Transformer assembly and attach jumper cable E8. Fasten using two #6 x 1 1/2” screws (on trans- former) and one #6 x 1/2” screw (on board). Replace the Top Cover Shield. Reconnect the Keyboard Cable and Cable Shield if used. Replace the Keyboard onto the plastic bosses in the case bottom. Replace the Case Top onto the Case Bottom and carefully turn the entire unit over (face down). Replace the seven screws in the Case Bottom (two #6 x 7/8" toward the front and five #6 x 1 1/4” toward the rear). Do not put the longer screws in the front positions, it could dent the Computer Case Top. Case Top Top Cover Shield Keyboard Ground Plane Transformer Assembly CPU PC Board Power Cord Assembly Case Bottom FIGURE 1. DISASSEMBLY/REASSEMBLY 13 SECTION Ill THEORY OF OPERATION 15 6809E CPU The 68Q9E is one of the most powerful 8-bit microprocessors available. The architectural features include two 16-bit index registers, two 16-bit stack pointers, and two 8-bit accumu- lators. A block diagram of the 68Q9E CPU is shown in Figure 2, Figure 3 shows the programming model of the 6809E CPU. A and B are the two 8-bit accumulators. They are used for arithmetic operations and data manipulation. Also A and B may be combined to form the 16-bit register D, with A as the most significant byte. The Program Counter (PC) is used primarily for the CPU to keep track of its location in memory. X and Y are both 16-bit index registers. They are used by software to point to certain data or program segments in memory. The Hardware Stack Pointer (S) is used by the processor during subroutine calls and interrupts. Also available in the 68@9E is the User Stack (U) which has all of the flexibility of the Hardware Stack, and is controlled exclusively by the programmer. In addition to all of the pointers and registers the 68@9E also has a Direct Page Register (DP) and a Condition Code Register (CC). The Direct Page Register contents are used as the upper 8 bits of address when the direct addressing mode is used. This allows the direct mode to be used any place in memory. The Condition Code contains all of the arithmetic flags plus the mask bits for IRQ* and FIRQ*., These arithmetic flags are used to control all of the conditional branches. The mask bits allow the CPU to ignore all but the non-maskable Interrupt. P TSC t DO-D7 A®-A15 V <—— Vss 16 \ a 8 <“ Pp a C IR Lect U et $ RESET* NMI* <4 Y VN § Interrupt t——— FIRQ* Control La Rae > xX 7 A parm LAC << D R/iw* B \ u BUSY Bus Pane HAL T* <4 DP cc < Control Loos BA N & Louis Bs \ ALU tty Timing wy 09Z ‘ (ww y ¥ H3TIOHLNOS 31iVvH HOLVH3NZD pt $9079 6089 193130 Ll ONAS ful Vv JWOILWSA Vv A y V ove uN : z ONIWIL An ZHW BLE Pl « 4 WWHANaD USA } ya 31VY NW -ZINOUHONAS Log ONAS SGA 5 ZINOH =. = > = Y (S119 91) > H31SIDJH TOHLNOD syy ZHWE 40d (SHIONAS ons Vv s1001 f* 3ZIS 3dAL 2 qwinozivoH TOE 31907 OHLNOS AHOWSW_ dv 3 7OwLNOD xnw € t aDvd a \ \ lege] 1598438 L wea a Bs iS1ia 2) ¥aLNNOO wu yoow 0A naw t mpi > © s00w HS3ud3y Wd 138440 Pe OA uaLNNOD SS3HOdv Vv oya lasaua > Cow ) Cr) Z=D — Cw) pacify = ("SagOW by oNissauaay Cw ) £y89 VV C sv) saLvorana) pee ov HatdIGOW a ) em) ssayaav _— Cow) isurasi | sila ot Sila 9 W3LNN09 C aw) ssauaay -— ~~ 6 ey AvTesio | \ Cow) OSQIA Cow) — uaxaTdlLINW Cuw_) 2 we ssayaqqv Civ) Ziv 2 Le Caw) ie arn) iP . ae giv ) Vv we (4383ud) £3S440 WBLNNOD SS3NGdV } {saataap o jesaydisad 405) = ij iy Sane ea evNAt 9nigoa3a a = Age ssayuaayv re ¥ ¥ Yy ¥ tr Y Y Y 6089 FI GND San Coz )C wz )C wz )C 2 VC we CO x 0C 2 ) Cau ) J ~~ SSaudOy Wu DINVNAG 40 20 | J ] | 3879545 Miz _ t~—<“i—tOOOT EN SYS 1789772 MHz ] 9 894886 MHz j Lowe ——________J |! a — VDG RAM ACCESS ~—ofe— CPU RAM ACCESS ——>] voc VoG ceu cPu vDG ADDRESS | COLUMN ADDRESS | now appress | COLUMN ADDRESS ROW 7 cI] nT RAS? i t cast - | 7Ons 290ns 280ns FIGURE 6. COLOR COMPUTER TIMING DIAGRAM ROM The Read Only Memories used in the Color Computer are simple digital devices requiring only data lines, address lines, and a chip select line. The chip select line turns on the ROM for operation. Then, one of 8,192 memory locations is accessed by the thirteen address lines. The eight data bits of stored information are then available at the data bus outputs for the CPU. In the Color Computer, one or two 8K ROM’s are used for the BASIC Interpreter. To access these ROM’s, the decoding circuitry produces two chip select lines. The main BASIC ROM (U3) is located at the Hexidecimal address A@@O-BFFF. The Expansion ROM (U28) is located at the address 8000- OFFF. VIDEO INTERFACE The primary portion of the video interface is shown on sheet 2 of the schematic diagram. The clock source for the video interface is the VDG CLK signal from the MC6883 chip (U1@). This clock must be exactly 3.579545 MHz to generate a color signal for a TV. To operate properly, the VDG chip (U7) must be set to the correct mode by the control lines coming from PIA (U4). The VDG will then generate a display based on the data present on the input lines. In the Color Computer, the memory address lines for the video display are supplied by the MC6883 chip (U1@). To maintain synchronization with the VDG (U7), the horizontal sync signal and the LSB of the VDG address lines are connected to the MC6883 chip. In addition, the field syne signal is connected to the tri-state control of the VDG causing the address lines to enter a tri-state condition during vertical blanking. In total, thirteen video address lines are supplied to the RAM to support the maximum display size of 6K. The starting address of the display memory is located in the upper left corner of the display screen. As the television sweeps from left to right and top to bottom, the video address lines are incremented to produce the display. The eight data input lines to the VDG are supplied by an octal latch. This latch is necessary to hold the output data for 16K RAM chips which have an unlatched output. In reality, this data is simply the contents of a portion of dynamic RAM. The other VDG input lines used by the Color Computer are listed below. MODE CONTROL A*/G — selects between alpha-semigraphics and full graphic modes, MODE CONTROL A*/S — selects between alphanumerics and semigraphics. This line is connected to data bit 7. 21 MODE CONTROL INT*/EXT — used to select the semigraphic — 6 mode. This line is connected to the same PIA bit as GMG@. MODE CONTROL INV — selects between a black character on a green background or a green character on a black background, This line is connected to data bit 6. MODE CONTROL GM@, GM1, & GM2 — these three lines are used to select one of eight full graphic modes. CLOCK (CLK) — The VDG clock input (CLK) requires a 3.579545 MHz (standard) TV crystal frequency square wave. THREE-STATE CONTROL -- (MS*) is a TTL compatible input which, when low, forces the VDG address lines into a high impedance state. The following output signals are used by the Color Computer. LUMINANCE (Y) — this six level analog output contains composite sync, blanking, and four levels of video luminance. QA -- This three level analog output is used in combination with @B and Y outputs to specify one of eight colors. @B — This four level analog output is used in combination with GA and Y outputs to specify one of eight colors. Additionally, one analog level is used to specify the time of the color burst reference signal. CHROMA BIAS (CHB) — This pin is an analog output and provides a DC reference corresponding to the quiescent value of GA and @B. CHB is used to guarantee good thermal tracking and minimize the variation between the parts. FIELD SYNC —- (FS*) — The high to low transition of the FS* output coincides with the end of active display area. The low to high transition of FS* coincides with the trailing edge of the vertical synchronization pulse. HORIZONTAL SYNC — (HS*) — The HS* pulse is synchronous with the horizontal synchronization pulse furnished to the television receiver by the VDG. The high to low transition of the HS* output coincides with the leading edge of the horizontal synchronization pulse. 22 Together, the VDG (U7) and the MC6883 (U1@) are capable of generating a large number of distinct display modes. Of this large quantity, fourteen separate Modes will be described. These include an alphanumeric, five semigraphic, and eight full graphic modes. ALPHANUMERIC DISPLAY MODES — All alphanumeric modes occupy an 8 x 12 dot character matrix box and there are 32 x 16 character boxes per TV frame. Each horizontal dot (dot-clock} corresponds to one half the period duration of the 3.58 MHz clock and each vertical dot is one scan line. One of two colors for the lighted dots may be selected by the color set select pin (pin 39). An internal ROM will generate 64 ASCII display characters in a standard 5 x 7 box. Six bits of the eight-bit data word are used for the ASCII character generator and the two bits not used are used to implement inverse video and mode switching to semigraphics —4, —8, —12, or —24, The ALPHA SEMI!Graphics —4 mode translates bits @ through 3 into a 4 x 6 dot element in the standard 8 x 12 dot box. Three data bits may be used to select one of eight colors for the entire character box. The extra bit is used to switch to alphanumeric. A 512 byte display memory is required. A density of 64 x 32 elements is available in the display area. The element area is four dot-clocks wide by six lines high. The ALPHA SEMIGraphics —G mode maps six 4 x 4 dot elements into the standard 8 x 12 dot alphanumeric box, a screen density of 64 x 48 elements is available. Six bits are used to generate this map and two data bits may be used to select one of four colors in the display box. A 512 byte display memory is required. The element area is four dot- clocks wide by four lines high. The ALPHA SEMIGraphics — 8 mode maps eight 4 x 3 dot elements into the standard 8 x 12 dot box. This mode requires four memory locations per box and each memory location may specify one of eight colors or black. A 2048 byte display memory is required. A density of 64 x 64 elements is available in the display area. The element area is four dot-clocks wide by three lines high. The ALPHA SEMIGraphics -12 mode maps twelve 4 x 2 dot elements into the standard 8 x 12 dot box. This mode requires six memory locations per box and each memory location may specify one of eight colors or black. A 3072 byte display memory is required. A density of 64 x 96 elements is available in the display area. The element area is four dot-clocks wide by two lines high. The ALPHA SEMIGraphics ~24 mode maps twenty-four 4 x 1 dot elements into the standard 8 x 12 dot box. This mode requires twelve memory locations per box and each memory location may specify one of eight colors or black. A 6144 byte display memory is required. A density of 64 x 192 elements is available in the display are. The element area is four dot- clocks wide by one line high. FULL GRAPHIC MODES — There are eight full graphic modes available from the VDG. These modes require 1K to 6K bytes of memory. The eight full-graphic modes include an outside color border in one of two colors depending upon the color set select pin (CSS). The CSS pin (pin 39) selects one of two sets of four colors in the four color graphic modes, The 64 x 64 Color Graphics mode generates a display matrix of 64 elements wide by 64 elements high. Each element may be one of four colors. A 1K x 8 display memory is required. Each pixel equals four dot-clocks by three scan lines. The 128 x 64 Graphics Mode generates a matrix 128 elements wide by 64 elements high. Each element may be either ON or OFF. However, the entire display may be one of two colors, selected by using the color set select pin. A 1K x 8 display memory is required. Each pixel equals two dot-clocks by three scan lines. The 128 x 64 Color Graphics mode generates a display matrix 128 elements wide by 64 elements high. Each element may be one of four colors. A 2K x 8 display memory is required, Each’ pixel equals two dot-clocks by three scan lines. The 128 x 96 Graphics mode generates a display matrix 128 elements wide by 96 elements high. Each element may be either ON or OFF. However, the entire display may be one of two colors selected by using the color select pin. A 2K x 8 display memory is required. Each pixel equals two dot-clocks by two scan lines. The 128 x 96 Color Graphics mode generates a display 128 elements wide by 96 elements high. Each element may be one of four colors. A 3K x 8 display memory is required. Each pixel equals two dot-clocks by two scan lines. The 128 x 192 Graphics mode generates a display matrix 128 elements wide by 192 elements high. Each element may be either ON or OFF, but the ON elements may be one of two colors selected with color set select pin. A 3K x 8 display memory is required. Each pixel equals two dot-clocks by one scan line, The 128 x 192 Color Graphics mode generates a display 128 elements wide by 192 elements high. Each element may be one of four colors. A 6K x 8 display memory is required. A detailed description of the VDG modes is given in Table 2. Each pixel equals two dot-clocks by one scan line. The 256 x 192 Graphics mode generates a display 256 elements wide by 192 elements high. Each element may be either ON or OFF, but the ON element may be one of two colors selected with the color set select pin. A 6K x8 display memory is required. Each pixel equals one dot-clock by one scan line. 23 The following tables present mode programming information, a detailed description of the display modes, and the display character set. TABLE 1. MODE SELECTION MC6883 PIA REGISTER BITS DATA ALPHA/GRAPHIC DISPLAY MODE HEX BITS MODE SELECTED REGISTERS ADDRESS (FF22) Vo Vv, Vg 7 6 5 4 3 2 1 ) 7 6 0 i) i) x x @ css N N N 6 @ Alphanumerics G Q @|@ x x @ csS N N N G 1 Aiphanumerics Inverted @ @ 6 | 0 x x ff) x N N N 1 xX Semigraphics - 4 @ @ @ 1.6 x x 1 CSS N N N 1 x Semigraphics - 6 if 1 0 |) 0 x x G x N N N 1 x Semigraphics - 8 1 @ 6 |@ x Xx G 4 N N N 1 x Semigraphics - 12 1 1 @ |G x x if) x N N N 1 x Semigraphics - 24 G fi 1 1 0 @ @ css N N N 4 x 64 x 64 Color Graphics G @ 1 1 if) @ 1 css N N N x x 128 x 64 Graphics @ 1 @ 11 0 1 @ csS N N N x x 128 x 64 Color Graphics @ 1 1 1 @ 1 1 cSS N N N x x 128 x 96 Graphics 1 @ @/|1 1 G @ css N N N x x 128 x 96 Color Graphics 1 @ 1 1 1 @ 1 css N N N x x 128 x 192 Graphics 1 1 0 1 1 1 @ css N N N x x 128 x 192 Color Graphics 1 1 @ 1 1 1 1 css N N N x x 256 x 192 Graphics 24 X= DON'T CARE N = DO NOT CHANGE ‘D900 ‘OPH ‘OZVO ‘DOVO 218 OOP XSH Je Gunes sassauppe aannoasuos uNjoo inoy, “Asowaw Aerdsip yo saxAq 7/0€ saijnbas 1] “490/q g x Z @ seonpoud pue ’, sassaippe aniinaasuoo uunjod xis Seuinbas apow JATAML OIHdVHOIASS aut ioe] =i D a x x Ss iS) Oo W oO x x Pil > oe SIS SS x x P| > N iS) oe SMOJ Ul syuauaya Aejdsig 96 SULUNIJOD Ul syuauiaja Aeldsig 9 peg abueio ejuabey uedAyd sing Dey ang MOLD A uaaid 4Ie1G dajo7) “Aiowaw Aefdsip yo salAq gy0z Saiinbas i] “01q p xX Z e saQnpoud pue ‘, sassasppe anlnoasuo] UUIN]OS INO} sasinb|d aPOW LHOI3 OIHdWHYOINS A4L x [05]! 5/25] 1 X Dg[l ola) 4 bojlo) x x PLN x] x 2? & SMOJ Ul Syuauaja Aejdsig 79 suwn|Oo ut sjuauaja Aejdsig $9 RIG abuesg ejuabey uekd ng Peay anig MOURA uses reg 40103 OX BSI HOH OX SSH GQ No n OS SSS et ay OX SSS ite ‘Arowaw Aesdsip $9 SAIAq 71g Sasinbas 3] “sy1q Bururewias Om) ayy Aq paulusajep $1 40]0D “sued jenba xis oui papiaip si ajfueyas yop anjamy Aq 10p jyBla ayy :aquasayyip Buimoyjo} ay2 yum apow HNO OLHd VY DIAISS 84} 0} Jepuiis s! aPOW XIS OIHdWHOIINSS 8uL PPE Peal a a sal $4 SMO. Ul sjuawaja Aejdsig gp, SuWUN{OS Ul siuatuaja Aejdsig tg eg abueip ejuabey XOsei [oo QO*XOBr— cel “Aiowaus Aejdsip yo sajAq 71g sasinbas y "Siq 2814} Aq paulwelap si sued pajeutuni{! 40 10;09 auy ‘sng 2838p OGA ay uo yq Buipuodsaiio9 e-Aq pauiwuayap si ped yoea Jo soueulun) ay! ‘sued jenba 4NO} OlU! PapiAIp si (s}Op aajam) Aq slop 14612) ajfuejoas e yorym ul sojesauab , sorydes6 as1B09,, jPUsalUl UB Sesn apOW YNOF SOIHdVHOIAZS eUL aftalefefeoltleo| | puawala auo 4 SMO Ut sjuawaja Aeidsiq ze SULUN]OO UT sjuawala Aeidsiq 19) eg abueio ewuaheyy ueAy 430g Pay ang Mata Ugba8) 481g 40107) Sranenan | Bxe4ie4 | Xeno OX OH O44 Ge SX SHS SH4an ox tet et nt end nett et MNO amin Qeietetet BUS rt et ttt et td tet at tet et et OX S889 ree OX SSH OSH xy is4@}O81@YS JOP Uanas Aq 0p analy Buimo}jo} au) sUIeIUOS YIyM JOlesauab J910B4BYD JeUJalU! UB SAsN aPOW AYNYSLNI OIWSWANWHdIY UL apes [1OSV LITT IT Mt SIOP ZL | S10p 8 SMOJ Ul suayoeseyy) OL eelg abueig eg se |g abueig SULUNIOD UT ssaqoeseUD ZE weg uaaid HeIG weg uaaic or oe SLNIWWOS sng VLvd SGA yeraq apo Aeydsig Japsog punosbyseg JOON saIeIeYD ANI NIaY¥9S AL 40109 SNid SGA SAGOW AV 1dSId JO NOlidIN¥9S3d G3IUVLAC ‘2 4aVL LO N ‘Q9b0 ‘DbbO ‘OZPO ‘BOO ae OOO X3H 1 Buneis sassaippe aAL{NIBSUOD ULUNJOD INOS, SMO Ul i | Lauda Agidsi auo salydeis L ‘juawaja aunioid auo salyloads iq auo YyoIyM ul IA Aeldsip Jo lo-fi eles] 5f24[44| pa|taleaeap 64) | | 9 OS a c6l) ng 4 s10}09 ales x 3 saiAq ppig yo winwixelw e sasn apow 4 XIS SOIHdVHD FUL swawuaja Agdsiq 957} U9al5) T ~ SMO Ul juawela A Es] a Aejdsi yng 5 au0 sarydeig) L aunioid auo satjioads s}iq yO ed avo YyoryM ul Wy Aeidsip jo [e9]ta)eo|+9|¢9|+o> le) [oa] ta) @q/f3 SS se $10]00 aWUeS x a saiaq pylg JO WNuNXxew e sasn apo D XIS SOIHdVHD aul —— suawuaja Apdsiq BZL udaid F | _ - ene yng y auo solydess i “yuawiaja aunaid atio saipioads tq auo yor ul [iH Agidsip jo GulalGatal s]04|49| pa lta E5 ba By Pa ka| swuawiae Aeidsiq Z6L se s10]09 auleg x saiAq ZZ0€ JO wnuwixeuw e sasn apow Y JAMYHL SOIHd VHD PUL SULUNJOS Ul usa @ stuauaa AQdSIC) BZL 9 “yUBUWIB}S “| oe _ Se SMOd ue 96 q Biuaa|s AR|GSIQ 4 9 auo sorydesgy L ainjoid auio sajjioads stig 4o aed au Yyolym ul Wid Aeidsip 40 [09]+3/ ®t [0 |to Po to} [93 ‘3 za] 3 SUUNJOO Ul Se S10JOD aWeS x 6 salag Z/0€ JO WNuuIKew e sasn apow D FIWHL SQIHdVHO FL guage Agdsiq gz} ¥8349 SMO Ul “\uaWa}a ainioid auc Saljyioads Tig alo YO! Ul ANY Aejdsip jo [oa|taFa E la BP4/4] ala Fy bs B b ka] byuawaja AejdsiC) 96 4iNg y auo solyde:s x L saiAq 9EGi jo uunuuixeu e sasn apow 4 OAAL SOIHdWHD aul suwnjos ul uaa: se s10|03 awes G SUAWEP ARICSIC BZ L 5 “rsUs8|2 3 Ae{ast ying ainjoid auo saipioads sjiq yO ted allio YyoiyM WAI Aejdsip jo e STOPS r) SOROS ata | suumnjoo u Se 510}00 aweg x saiAq BpOZ JO WNuIxeWw e@ sasn apow D OML SOIND VHD 24. saws Agdsiq ez,| 2249 UY 7 ~ SMO Ul ying T 1 Byuawaja Aeidsiq $9 Hing 421g a) “quawlaja aunqoid auo satpioads 11g au YOU Ut AIH Apjdsip jo [0] fee ]9[s9}99]4 (a aKa oa adc SULIA}OD UI uaa) uae i x 0 saidq pzOl JO uiNWixew e sasn apolw Y INO SOIHdVYD aul SIUBUIAIS ARGS BZL ° 10105 xq abuelio if [ SAAOL Ul eruaben b 4 “yuawala Dall ialoaliclon Delt rs Biuawaja Aejdsig-y9} = NG yng $ t ainyoid auo saiyioads siiq jo red auo yoryM ul Wy Aelcsip jo | | oPo| of ol 5) o| 9| al tal 23[€3) T suuinjoo a peu i T x Q saldg pZOL 4O WinuIxew e sasn apow J INO SOIHdVED FUL kiuawaja Aejdsiq pg) asin moles T ’ Uday i0}05 b> ID ZyEy) x! x @g|ko|Zo} 224] €24 | Ble} x] X|By]ba)/C5) 1 024) 124 : ; 8,6, x X[O]bo/C5) 1 814/615 | foal x! x |@5)t lest 915/215 | . pL St} x X Poj-sjeo] t pi Sly » (CL AIE x) x [Bojk g Ifo} 4 Z1L4 JEL f TX |x DHEA |/ 5/25] 1 Oly] Ly I oxl xB] 64) 85[b5)Z5) 1 84 | 64 ' abUeIQ TT T T T EI afi. Z a2 | wwe fo 1 ft ue I “PA 9 ol ijt 5MOl Ul una oO T i “Asowiatu Aejdsip oO sayAq pylg sesinbas 4] XE X P4)Sq[P]'5 fyb by | 34 s}uatuala ABdsIq Z6L ae P28 i 1 i) I “yDOIq ZT X Z & SaNNpoid pue ',Sassaippe aaijndasuod ULIN}OD EB iz z é yoeg mao 18 if 4) Tx |x aafem) sounds apOW UNOS ALNSML DIHdWYDINS aul} |X| XayEaPoitgeay t Te suuUNfoo ut Rees 5 $ 4 rt X] x Pally [O[b [25/1 | 14 Sjuauaja Aefdsig 79 | weg xX x x Q | — { 10109 6D ine (4a) xq je13q apoy Aeydsig 4apiog | punoubyoeg 40j09 aajsesey =| ANT SSO Vv G SLNAWAIOS sng VLivd SGA NASHDS AL Wo109 SNid ‘LNOO SAGOW AV1dSIG JO NOId HOSA GATivLad *¢ a1aVvL 26 TABLE 3. DISPLAY CHARACTER SET HEX VALUE HEX VALUE Non- CHARACTER Non- CHARACTER Inverted Inverted Inverted Inverted 00 40 @ 18 58 x 01 41 A 19 59 Y Q2 42 B 1A 5A Z @3 43 Cc 1B 5B [ 04 44 D 1c 5C \ @5 45 E 1D 5D ] 06 46 F 1E 5E t @7 47 G 1F 5F _ 08 48 H 20 6@ g9 49 | 21 61 | GA 4A J 22 62 " @B 4B K 23 63 # GC 4c L 24 64 $ @D 4D M 25 65 % GE 4E N 26 66 & QF 4F 6) 27 67 ' 16 50 P 28 68 ( 11 51 Q 29 69 ) 12 52 R 2A 6A * 13 53 Ss 2B 6B + 14 54 T 2C 6C 15 55 U 2D 6D ~ 16 56 Vv 2E 6E ; 17 57 W 2F 6F ? HEX VALUE Non- CHARACTER Inverted Invertéd 36 70 0 31 71 1 32 72 2 33 73 3 34 74 4 35 75 5 36 76 6 37 77 7 38 78 8 39 79 9 3A 7A : 3B 7B : 3C 7C < 3D 7D > 3E 7E = 3F 7F ? - 27 At pin 28 of the VDG, the Y signal contains composite video and sync information. An example of this type of video signal is shown in Figure 7. This signal together with three color signals, CHB (pin 9), OA (pin 11), and @B (pin 19) is connected to the MC1372 color mixer chip (U12). —— SYNC PULSE wv 75V ome BLANKING LEVEL Ww wome BLACK LEVEL 5v o~- GREEN BACKGROUND FIGURE 7. VDG VIDEO OUTPUT The MC1372 is a complete Color TV video modulator chip. However, for the Color Computer it is used only as a color mixer chip. Figure 8 shows a block diagram of the MC1372 chip. Pins 1 and 2 of the MC1372 form an oscillator circuit, but this is not needed in the Color Computer. The reference clock frequency of exactly 3.579545 MHz is produced by the MC6883 chip (U1@). This signal is then rounded off by R17 and C53 before being connected to pin 2 of the MC1372 (U12). Pin 1 is left unconnected, Also, the duty cycle adjust input (pin 3) is left unconnected since a 50% duty cycle signal is produced by the MC6883. The RF oscillator portion of the MC1372 is not required, so diode CR8 and resistor R2@ are used to kill the oscillation. Also the orientation of CR8 controls the generation of normal or inverted video. Using the color signals from the VDG, U12 produces the chroma output at pin 8. This signal consists of the reference color burst and the video color information. The MC1372 requires this signal to be AC coupled to pin 1@. This is accomplished by capacitor C42. Resistor R18 determines the Luminance to Chrominance ratio. The complete color video signal is available at pin 12 of the MC1372. However, at this point the signal has no drive capability and must be amplified before it can drive the modulator. This amplification is accomplished by Q1 and the associated circuitry. The video amplifier is powered by 8 volts DC. This power supply is produced off of the +12V supply by zener diode CR16, (a 3.9 volt zener diode). R69 is used to stabilize the zener voltage while C12 and C25 filter the voltage. This 8V supply is then connected to the collector of the transistor (Q1), and through a 3.9K pullup to the video output pin of the MC1372 (pin 12). The video amplifier is a common collector amplifier designed to provide current gain. R19 and R8 form a voltage divider for the video input signal. R9 and R21 are used to modify the voltage divider to compensate for variations in the output voltage of the MC1372. R46 is a bootstrap resistor used to provide as much current gain from the amplifier as possible. R47 is a biasing resistor for the amplifier. The video output from the emitter of Q1 is connected directly to pin 1 of the UM1285-8 modulator (U5). This signal should be adjusted with R21 so that the blanking level is exactly 2.35V. A sample of this video signal is shown in Figure 9. RF COLORB LUMINANCE MODULATOR Vee INPUT INPUT OUTPUT 9 "1 @ 5 fox) 12 OSCILLATOR 3 LAG = ManUUATOR RF 10 CHROMINANCE INPUT MODULATOR INPUT CHROMINANCE B OSCILLATOR I c 8 cHroma MODULATOR CLOCK I DRIVER OUTPUT 1 CHROMA RE CLOCK oO LEAD -->]MODULATORI— OSCILLATOR OUTPUT A ad 30 70 60 136 14 GROUND DUTY CYCLE COLORA COLOR “RE TANK ADJUST INPUT REFERENCE INPUT FIGURE 8. MC1372 BLOCK DIAGRAM 28 24aV 235V au wwe BLACK LEVEL ie com BLANKING LEVEL COLOR BURST en SYNC PULSE 220 me FIGURE 9. VIDEO INPUT TO THE MODULATOR The UM1285-8 modulator is a high performance intercarrier vestigial sideband unit. The modulator is powered off the 12- volt supply with an inline current limiting resistor, R45. The modulator also has sound capability which is used by the Color Computer. The last input to the modulator is the channel select switch (S3). Channel 4 is selected by allowing the input to float high. Channel 3 is selected by ground. Internal to the modulator, the DC sound input signal is converted to a 4.5 MHz frequency modulated signal. This signal is then mixed with the video and used to modulate the RF signal for the selected channel (61.25 MHz for Channel 3 or 67.25 MHz for channel 4). This final output is available at the phone jack connector of the modulator. PIA’s The Color Computer uses two peripheral interface adapters (PiA‘s). These devices provide a universal interface to the 68G9E CPU chip, and they support all of the [/O functions in the Color Computer. The functional configuration of the PIA is programmed by the CPU during the reset routine. Each of the peripheral data lines may be programmed to act as an input or output, and each of four control/interrupt lines may be programmed for one of several control modes. Figure 1@ shows a block diagram of a PIA, As shown in the block diagram, a PIA consists of two 8-bit data registers and 4 control/interrupt lines. The two 8-bit data registers are controlled by two data direction registers. These direction control registers are set up by the reset routine and normally will not be changed. IRQA* 38 -< Interrupt Status [<-———~ 40 CA1 Coro Control A Control 7 39 CA2 Register A DO 33 ~<—» (CRA) | D1 32 <>» Data Direction D2 31 <> > Register A D3 30 . Data Bus | | | (DDRA) Buffers K D4 29 ~<—-> (DBB) Output Bus UG DS 28 <—» DE 27 ~<—»J po 2 PAD D7 26 ~~» Output ~<<—> 3 PAI 4 Register A » (ORA) 4 PA2 Peripharal “<5 PAZ Interface A <—> 6 PAG Bus Input 3 7 PAS Register a 8 PAG BI a 9 PAT {BIR) 3 kane Vcc = Pin 20 13 PB3 CS1 24 ——> B 14 PB4 ~ tt CS2" 23-—>1 Chip Select p<——> 15 PBS RS® 36 —>} and R/W <—> 16 PRG RS1 35 ——»| Control! > 17 PB7 RW 21 -—> Enable 25 ——>} 4 > Reset*® 34 -——> » Data Diraction Control ma Register B Register B {DDRB) (CRB) 'ROB* 37 ~< — interrupt Status [*"—— 18 CBI Control B 19 CB2 FIGURE 10. PIA BLOCK DIAGRAM 29 The four control/interrupt lines are controlled by the two control! registers. The control registers also handle device selection within the PIA. Two of the four lines function only as interrupt inputs, and the other two lines may be used as interrupt inputs or outputs. PIA U8 is used mainly for the keyboard. Data register B (pins 10-17) is programmed as an output, and is used to strobe the keyboard columns. The first seven lines of data register A (pins 2-8) are programmed as inputs and are used to read the keyboard rows. Pins 2 and 3 are also used as fire button inputs for the joysticks. The other pins of PIA U8 serve various functions. Data register A (pin 9) is programmed as an input for the joystick interface. CA2 and CB2 (pins 19 and 39) are used as outputs. These two lines select one of four joystick or sound inputs. The last two pins of PIA U8, CA1 (pin 40) and CB1 (pin 18), are used as interrupt inputs. They are both tied to video clock outputs from the VDG (U7). If enabled, CA1 provides an interrupt after each video line. CB1, if enabled, provides an interrupt after each screen of data (60 Hz). PIA U4 is used for several different functions. Pins 4-9 of data register A are used for the 6-bit digital to analog converter. Pin 3 of register A is the signal RS2320UT. This signal is used to drive the printer and other devices. Pin 2 of register A is the input for data from the cassette. Pins 13-17 of data register B are used to control the selection of the various alphanumeric and graphic modes of the VDG. Pin 12 of register B is an input for the memory size jumper. Pin 11 of register B is the single bit sound output. Pin 1@ is the RS232IN signal input pin. The control and interrupt pins of PIA U4 also serve various functions. CA1 (pin 4@) is the input for the signal CD {a status interrupt input for the RS232C interface). CA2 is an output used to control the cassette motor. CB1 is the cartridge interrupt input. Whenever a cartridge is inserted in the computer, this input will interrupt BASIC and jump to the program in the cartridge. Finally, CB2 is used as an output to enable sound from the analog multiplexer (U9). 30 Digital to Analog (D/A) A commonly used input/output (I/O) device in the Color Computer is the 6-bit digital to analog converter (D/A). This device is addressed as the six MSB’s of Hexidecimal address FF2Q. It allows the 6-bit digital word to be converted to an analog voltage level between @.25 volts and 4.75 volts. The converter is composed of a CMOS buffer (U2) and six discrete resistors. The converter operates by acting as a simple voltage divider. That is, the high outputs represent +5 volts and the low outputs, ground. The voltage is then determined by obtaining the parallel equivalent of the resistors tied high, the parallel equivalent of all the resistors (approximately 5K), and multiplying this ratio by 5 volts. This simple picture is modified by three extra resistors (R72, R41, and R42). R72 is a 160K resistor connected to +5 volts, and the series equivalent of R41 and R42 forms a 100K resistor connected to ground. The effect of these resistors is to limit the minimum voltage to +@.25 volts and the maximum voltage to +4.75 volts. Also, C52 is included to filter the output voltage. For simplicity, the approximate output voltage may be calculated by the following formula: VOLTAGE = (N x 0.0715) + 0.25 N = the 6-bit value (@-63) JOYSTICK INTERFACE One important usage of the D/A converter is with the joystick interface circuitry. This interface uses an analog multiplexer to select one of the four input joystick values. These values range between @ and 5 volts, From the output of the multiplexer, the signal is directed to a comparator, which is also connected to the D/A converter. Then by a method of software successive approximation the joystick value may be deter- mined to the 6-bit accuracy of the D/A converter. Also provided in the joystick are two fire switches (momentary contact switches). One side of each switch is connected to ground, and the other side is connected toa PIA input. These two PIA inputs are also shared by rows 1 and 2 of the keyboard, so a conflict may exist if both are used at once. The PIA inputs are normally high so it is a simple software function to read the fire switches. SOUND OUTPUT Another important usage of the D/A converter is the sound output. This D/A converter is the primary source of sound effects for the computer, however three other sound sources are provided. These extra sound sources are a single bit sound source, sound from the cassette tape recorder, and sound from the cartridge. The D/A output is connected directly to the MC14529B analog multiplexer (U9). This chip is used to select one of three sound sources, and maybe disabled to allow use of the fourth single bit sound source. Table 4 shows the selection of the various sound sources. Figure 11 shows all of the circuitry for sound generation. The cassette sound output must be modified before being connected to the analog multiplexer. For this purpose, a 10uf non-polarized capacitor (C2) is used to level shift the signal. Also, two 4.7K resistors (R31 and R32) assign a DC level of 2.5 volts and limit the signal to @ to 5 volts. This signal is then connected to the multiplexer (U9). The output of the analog multiplexer is connected to pin 3 of the modulator (U5), and to the single bit sound source (pin 11, U4), which is isolated by a 1@K resistor. At any time, only one of the two sources should be used, to avoid mixing the two sources. TABLE 4. SOUND SELECTION SNDEN SEL1 SEL 2 SOUND SOURCE SELECTED U9-15 U9-6 U9-7 1 0 tf) 6 BIT DIA s 4 1 ) CASSETTE 1 rf) 1 CARTRIDGE 1 1 1 NOT USED Q* x Xx SINGLE BIT SOUND *NOTE: For single bit sound, PIA U4 pin 11 must be programmed as an output. It is normally programmed as an input. X = DON'T CARE @= LOGIC LOW 1 = LOGIC HIGH CONVERTER MC14529B poe 13-4X1 124 x2 z 3 om x $ CARTRIDGE ._. = UM 1285-8 us AB PIN 38 TT 6 7 SEL1 SEL2 PIA U4-19 CASSETTE PIA U4-11 INPUT 10K R22 FIGURE 11. SOUND CIRCUITRY 31 CASSETTE INTERFACE The cassette interface is composed of an output attenuator connected to the 6-bit D/A, a motor control circuit, and an input zero crossing detector. However, most of the important cassette parameters are controlled by software. The cassette format chosen uses a sinewave of 2400 or 1200 Hertz to yield a Baud rate of approximately 15@0 Baud. In this format, a @ (or logic low) is represented by one cycle of 1200 Hertz, and a1 (or logic high) is represented by one cycle of 2400 Hertz. A sample of data is shown in Figure 12. A typical program tape would consist of a leader of alternating 1's and @’s, followed by one or more blocks of data. A block of data is composed of @ to 255 bytes of data with a checksum, syne byte, and the block length. The output circuit utilizes the 6-bit D/A to generate a sinewave of 1200 or 2400 Baud. This signal is then attenuated to approximately 1 volt and connected to the auxiliary input of the cassette recorder. POL PLL LSS LLY L_S I] Rererence square wave e taf oo f o |r frf © | + | computer Memory DATA 4 Gv 4 3 WDD. LSTLIU D/A OUTPUT 7 YN DION LDN “INPUT TO TAPE av 4 2.8y - 2 6v 4 Sv Ov | 1 | DATA STORED IN MEMORY o Jrfoe | o {i[r] 0 * This is shown inverted to indicate possible phase inversion by the tape recorder FIGURE 12. SAMPLE DATA OF CASSETTE FORMAT The motor control circuit is controlled by an output PIA pin. This signal is used to switch transistor O04. O4 provides sufficient current capability to drive the relay coil. Diode CR7 is used to shunt voltage surges whenever O4 is switched. Diodes CR9 and CR19 perform a similar function for the relay switch contacts. Whenever the relay contacts are opened or closed, a high voltage spike could occur. However, diodes CRO and CR1@ will shunt away any high voltage. C8@ is provided to prevent RF noise associated with contact switching. The input circuit is a zero crossing detector. R33 is a termination resistor for the cassette output. Resistors R37 and R38 are used to bias one input of the comparator at 1 volt. The other input is also biased at 1 volt by R36 and the series combination of R35 and R34. If the AC input from the recorder goes negative, diode CR4 turns on and sets the input to the comparator equal to 1/2 volt. Since the other input is 32 biased at 1 volt, the comparator output is switched to the high state. 1f the AC input from the recorder is positive, diode CR4 is turned off and the input to the comparator will be at some point greater than 1 volt, in which case, the comparator output will be low. The comparator output is open-collector, so pull-up resistor R40 is provided to generate a TTL signal. R39 is used to prevent oscillation of the comparator. The final portion of the cassette circuit is capacitor C81, which is used to isolate RF noise from the cassette cable. DETAILED TAPE FORMAT INFORMATION The standard TRS-80 Color Computer tape is composed of the following items: 1. Aleader consisting of 128 bytes of Hex 55 2. ANamefile block 3. A blank section of tape approximately equal to 0.5 seconds in length; this allows BASIC time to evaluate the Namefile. 4. Asecond leader of 128 bytes of Hex 55 5. One or more Data blocks 6. An End of File block The block format for Data blocks, Narvefile blocks, or an End of File block is as follows: 1. One leader byte — 55H 2. One sync byte — 3CH 3. One block type byte — 01H = Data FFH = End of File QOH = Namefile 4. One block length byte — GH to FFH . Data — G to 255 bytes 6. One checksum byte — the sum of all the data plus block type and block length 7. One leader byte — 55H oO The End of File block is a standard block with a length of @ and the block type equal to FFH. The Namefile block is a standard block with a length of 15 bytes (@FH) and the block type equals @@H. The 15 bytes of data provide information to BASIC and are employed as described below: 1. Eight bytes for the program name 2. One file type byte — @@H = BASIC @1H = Data 62H = Machine Language 3. One ASCII flag byte — @@H = Binary FFH = ASCII . One Gap flag byte — @1H = Continuous FFH = Gaps 5. Two bytes for the start address of a machine language program 6. Two bytes for the load address of a machine language program mS RS232C INTERFACE The RS232C Interface utilizes a 4-pin DIN connector (P2). This interface allows the computer to have serial communica- tion with printers, modems, or other computers. The four signals used by the interface are: 1, CD — a status input line 2. RS2321N — serial data input 3. GROUND ~— zero voltage reference 4, RS2320UT — serial data out The pinout for the DIN connector is shown in Figure 13. RS232 QUT cD RS232 IN FIGURE 13, RS-232C CONNECTOR PIN-OUT In general, an RS232C signal is defined as a high (or logic 1) if the voltage is greater than +3 volts. It is defined as a low (or logic @) if the voltage is less than —3 volts. The range of —3 volts to +3 volts is undefined. The RS232C interface circuitry is shown on sheet 2 of the schematic, upper right corner. For the signal RS2320UT, an output pin of PIA U4 (pin 3) is tied to a 741C Op-amp (U15). The Op-amp is referenced at 1.4 volts by resistors R23 and R24. This reference causes the Op-amp to swing between the two power supply voltages (+/—12 volts) as the TTL input switches states. A 10@ ohm resistor (R27) is included to provide a current limit on the output. The two input signals (RS232IN and CD) utilize identical circuits. RS2321N (pin 2, U14) is tied to input pin 1@ of PIA U4, and CD (pin 1, U14) is tied to pin interrupt input 40 of PIA U4. The inputs from the external device are connected to the positive side of a diode. This diode blocks the application of a negative voltage to the comparator (U14). Whena positive voltage is applied, the diode conducts, and the voltage is applied to the input. The comparator is referenced at 2 volts, thus if the input voltage is greater than 2.6 volts, the comparator is turned on. The comparator output is open-collector so a pullup resistor is required for the output. Also a feedback resistor of 1@M is used to prevent oscillation or ringing. KEYBOARD INTERFACE The components which make up the Keyboard Interface are shown on sheet 3 of the schematic, upper left corner. The PIA chip (U8) is the only digital circuit used. The PIA chip is a programmable interface device which functions as both an input and an output register. The eight keyboard columns are attached to the B side of the PIA. These eight lines are programmed to be outputs. The seven keyboard rows are attached to the A side of the PIA. These seven PIA lines are programmed to be inputs. To read the keyboard, only one column is enabled by writing a zero in the bit that corresponds to that column and by writing ones in all the other bits. If a key has been pressed in that column, one of the input lines will be a zero and the key location will correspond to the bit that is low. By scanning each column in the keyboard, all of the keys may be checked. SYSTEM POWER SUPPLY The Color Computer requires four supply voltages: +12 volts, ~—12 volts, —5 volts, and +5 volts. The largest current requirement is'on the +5 volt supply, therefore it is designed to provide up to 1.35 amp. The next largest requirement is 490 milliamps on the +12 volt supply. The requirements for --12 and —5 volts are very minimal, so the —5 volt supply is rated at 1@@ microamps and the —12 volt supply at 100 milliamps. The power supply is shown on sheet 3 of the schematic diagram. On the primary side of the transformer, the power supply incorporates a @.7 amp fuse and three high voltage capacitors. These capacitors (C2G, C21, and C22) provide noise immunity and isolate computer noise. The two active lines of the power cord are connected across the primary side of the power transformer. The third line (ground) is connected to the computer ground. The transformer has two center-tapped secondary windings. One secondary is rated at 16.3 volts AC at 1 amp, and is used solely for the 5 volt supply. The other secondary is rated at 33.5 volts AC at 0.35 amps. Both center taps are connected to ground. Each side of the 16.3 volt AC secondary is connected to a rectifier diode (CR12 and CR13). This produces a full-wave rectified signal when the two negative sides of the diodes are tied together. All of the above circuitry is located on a secondary board inside of the Computer case. This isolates the high voltage AC signals away from the main circuit board, This transformer board is indicated on the schematic by a dashed line. 33 At the output of the transformer assembly, four signals are connected to the main board; ground, the input to the +5 volt regulator circuit, and the two sides of the 33.5 volt secondary. The two lines from the 33.5 volt secondary are connected to the bridge rectifier CR11. At the output of bridge CR11, are three nearly identical regulator circuits. Each one uses a three terminal regulator chip to generate the DC supply voltages. C7 is the filter capacitor for the +12 volt supply. This is connected to U17 {a 78M12 regulator), and the + side of the bridge. CR14 provides protection for the regulator chip. C14 is the output capacitor for the +12 volt regulator. The negative side of the bridge is connected to filter capacitor C9. From C9, the —12 volt is identical to the +12 volt regulator circuit with the exception of C17. This capacitor is needed because two regulator circuits are sharing the same filter capacitor. The —5 volts regulator circuit is current limited by resistor R67. Also, due to the very low current, the protection diode and the large output capacitor have been eliminated. Compared to the other regulator circuits, the +5 volt supply is a complex assortment of resistors, capacitors, and transistors. However, this circuit will provide a reliable 1.35 amp maximum current, The circuit begins with filter capacitor C1@. Connected to C1@ is the pass transistor Q2, and its bias resistor (R59). Q2 controls the flow of current into the +5 volt line, but the actual job of regulation is performed by U13 (a 723C adjustable voltage regulator). The regulator output (pin 1@) is buffered by Q3. Then Q3 is used to drive the base of pass transistor Q2, Figure 14 shows a Block diagram of the 723C regulator chip. The regulator is powered from the +42 volt supply. in operation, a 7.15 volt zener reference is available at pin 6. Resistors R6G, R61, and R62 then divide this reference voltage down to 5 volts, which is connected to pin 5 of the regulator. Pin 5 is the non-inverting input to internal Op-amp Zb (as shown in Figure 14). The inverting input is connected through a feed-back resistor (R63) to the +5 volt output. Op-amp 2b is then turned on or off in response to changes on the 5 volt line. C11 is the frequency compensation capacitor for Zb. The output from Op-amp Zb controls transistor Qa, which drives the regulator output. Qa is also powered from the +12 volt supply through resistor R58, There is also a second contro! source on Qa, which is transistor Qb. This transistor allows a current limit to be set by resistors R65 and R64. If the current limit is exceeded, Ob will turn on and turn off Qa. Returning briefly to pass transistor Q2, the next component is R66, which limits the output current. Overvoltage protection is provided by CR17, a 6.2V zener diode. C16 is the output filter capacitor for the +5 volt supply. FIGURE 14, 723 REGULATOR BLOCK DIAGRAM 34 CARTRIDGE ROM AND OTHER DEVICES The 4@-pin cartridge connector provides the possibility of expanding the TRS-80 Color Computer in almost any manner. All of the important CPU bus signals are tied to this connector. A complete list and brief description of these signals is provided in Table 5. The most common usage of the cartridge connector is with the ROM Cartridge. A schematic of the ROM Cartridge board is shown in Figure 15. In operation, U1 would be a 16K, 32K, or 64K ROM, and U2 might be a 16K or 32K ROM (the total of U1 and U2 must not be greater than 64K). For cartridge detection, the clock signal (Q) is shorted to the cartridge interrupt pin. This generates an interrupt anytime the cartridge is plugged in and forces the computer to jump to the program in ROM. In addition to the expected data, address, and R/W lines, several control and special purpose signals are available on the Cartridge connector. They are described in detail as follows: HALT* — This signal allows the data and address buses to be placed in the tri-state mode so an external processor may access RAM and ROM. NMI* — This is the non-maskable interrupt input to the CPU. RESET* — This is master system reset and power-up clear signal. E & QO — These are the two clock signals for the 68@9E CPU. CART* — This is an interrupt input to one of the PIA’S. It is used to detect the presence of a Cartridge. CTS* — This is the select signal to the Cartridge. The address space C@G@ (Hex) through FFEF (Hex) is selected. SND — This signal is connected directly to the sound multiplexor, to allow a sound source in the cartridge. SCS* — This is a spare divide select signal from U11. It selects the address space FF4@ (Hex) through FF5F (Hex). SLENB* — This signal disables the internal device selection. This allows decoded but unused sections of memory to be _used by the Cartridge hardware. 35 36 TABLE 5. CARTRIDGE CONNECTOR SIGNALS PIN # SIGNAL NAME DESCRIPTION 1 -12V ~12 Volts (100 MA) 2 +12 V + 12 Volts (300 MA) 3 HALT* Halt {Input to the CPU 4 NMI* Non-Maskable Interrupt to the CPU* 5 RESET* Main Reset And Power-Up Clear Signal To The System 6 E Main CPU Clock (@.89 MHz) 7 Q Quadrative Clock Signal Which Leads E 8 CART* Interrupt Input For Cartridge Detection 9 +5V +5 Volts (300 MA) 10 DG CPU Data Bit @ 11 D1 CPU Data Bit 1 12 D2 CPU Data Bit 2 13 D3 CPU Data Bit 3 14 D4 CPU Data Bit 4 15 D5 CPU Data Bit 5 16 D6 CPU Data Bit 6 17 D7 CPU Data Bit 7 18 R/W* CPU Read — Write Signal 19 AG CPU Address Bit @ 20 Al CPU Address Bit 1 21 A2 CPU Address Bit 2 22 A3 CPU Address Bit 3 23 A4 CPU Address Bit 4 24 Ad CPU Address Bit 5 25 A6 CPU Address Bit 6 26 A7 CPU Address Bit 7 27 A8 CPU Address Bit 8 28 AQ CPU Address Bit 9 29 Ai@ CPU Address Bit 10 30 Ail CPU Address Bit 11 31 Al2 CPU Address Bit 12 32 cTSs* Cartridge Select Signal 33 GND Signal Ground 34 GND Signal Ground 35 SND Sound Input 36 scs* Spare Select Signal 37 A113 CPU Address Bit 13 38 Al4 CPU Address Bit 14 39 Ai5 CPU Address Bit 15 4G SLENB* Input To Disable Device Selection DILVINJHOS GYVOd JOCGIYLYVO WOY “SL AYNDIs { i L . s Hy Lb oZko otk ft 8 ¢ oY 4 9° § € Zz 4 g A YW a3 vv OW v voW qaa aq oaéoa § 9 0D ) (x (a (as (n A (as ( fn fo A () | | 1) i io) is) 8 le 4| Lzjoz {2 j4 49 [9 |e Je |e L jezizzjetleilezjoz bpD ppm =. : = EZR Zzze RERBRERLEETER. amb _ dnp | 29. — a) ano IDA I Tv and Ln DOA i AS Zk ran A YBIH st jeuBls ay2 UaYyAA pardalag si dIYyD BYUL ~ WH Mo'T st jeuBbig ayy uaysy pawajas si diya ayy — yy ae RB8a8S 6 [pLLusupristionl zt oft izle te {Ss |9 Vz ala lalajalajaja V1=8LS 8VH=L¢S V1=L¢s VW1=L¢s PIEBIINDI = LN SLESSINDW = én CEERSINDIN = LN CEERIINOW = LN V1=LZS 88LS QLESSIDIN = LN 8 yg Bid bra 37 RS232C DEVICES The RS232C Interface hardware in the Color Computer is capable of communication with any device which will operate with the minimum three signal interface. It is also possible that devices which use a larger set of RS232C signals may be used with the Color Computer. This would be accomplished by connecting unused device inputs to the correct high or low level. In software, the only RS-232C device supported by the 8K BASIC ROM is a serial printer. For use with the printer, the pin assignment of P2 differs from that listed in the RS232C Interface section. Pin 1 is not used. Pin 2 is connected to the busy output (or status line) of the printer. Pin 3 is ground. Pin 4 is the computer output to the printer. If your printer does not provide a status line, then pin 2 must be connected to a positive voltage of +3 volts or greater (up to the maximum +12 volts). This tells the computer that the printer is ready all of the time. In order to operate, the software must make several assump- tions about the printer. These assumptions are: 1. 600 Baud 2. The Printer width is 132 columns. 3. The printer generates a busy output when it is not ready. 4. The printer will automatically carriage return at the end of a line. 5. The data format is one start bit (logical zero), seven data bits (LSB first), two stop bits (logical one), and no parity, (1) Some printers will require that these assumptions be modified. This may be accomplished by changing RAM variables or by a special driver routine. A list of all of the printer variables is given in Table 6. Also, Table 7 lists some alternate values for these variables. The last comma field variable (2) should be set equal to the width value minus the comma field width. The comma field width will normally stay at 16. NOTES: (1) In Revision 1.1 ROM’s this format has been changed from seven to eight data bits. (2) Comma field is the number of spaces allowed to print a variable value. TABLE 6. LINE PRINTER VARIABLES INITIAL VALUE HEXIDECIMAL DECIMAL HEXI- VARIABLE ADDRESS ADDRESS DECIMAL DECIMAL BAUD RATE MSB 9095 149 aa 6 BAUD RATE LSB 0096 150 57 87 LINE DELAY MSB 0097 151 nN) 0 LINE DELAY LSB 0098 152 01 1 COMMA FIELD WIDTH 9099 153 10 16 LAST COMMA FIELD QO9A 154 70 112 LINE PRINTER WIDTH 0098 155 84 132 TABLE 7. ALTERNATE LINE PRINTER VARIABLE VALUES BAUD RATE: DECIMAL VALUE HEXIDECIMAL VALUE MSB LSB MSB LSB 120 BAUD 1 202 @1 CA 300 BAUD i) 180 00 BE 600 BAUD @ 87 GO 57 1200 BAUD @ 41 00 29 2400 BAUD G 18 00 12 LINE DELAY: DECIMAL VALUE HEXIDECIMAL VALUE MSB LSB MSB LSB .288 SECONDS 64 i) 4G 0a .576 SECONDS 128 i) 80 00 1.15 SECONDS 255 255 FF FF WIDTH: DECIMAL VALUE HEXIDECIMAL VALUE 16 CHARACTERS/LINE 16 16 32 CHARACTERS/LINE 32 20 64 CHARACTERS/LINE 64 40 255 CHARACTERS/LINE 255 FF 40 JOYSTICKS The joysticks are two identical assemblies which will plug into either P3 or P4. Figure 16 shows a schematic of the joystick assembly. !t consists simply of a push button switch for the fire switch and the dual potentiometers connected by a mechanical assembly. The mechanical assembly causes both potentiometers to be changed at the same time. This gives the effect of a two-dimensional control. The potentiometers are connected so that 5 volts is applied to one side of the variable resistor, and ground is connected to the other. This allows the center wiper to vary from @ to 5 voits as the handle is moved. The push button switch merely provides a momentary ground contact for an input signal. WHITE +5V YELLOW A B *) 1 3 tw 3 3.2 ' [2 10" 2 100K GREEN RED ot © GND BLACK FIGURE 16. JOYSTICK SCHEMATIC IF qQ) =z | o TV SWITCH BOX The antenna switch box consists of a switch and a balun, with connectors provided for attachment to the computer, the TV antenna, and the home TV. The switch box is connected to the customer's TV, through the 30@@ ohm twin lead output. The TV antenna is attached directly to the switch box. The computer output is connected through a 75 ohm coax cable to the phone plug input on the switch box. Figure 17 shows a schematic of the antenna switch box. From the computer, the signal is connected to a balun in the switch box, which matches the modulator’s 75 ohm output impedance to a TV's 300 ohm antenna input impedance. This signal is then connected to the switch. The switch is specially designed to provide the 6@dB of isolation required between the computer and the TV antenna. pO 1 | | 60 dB O TL o9n00s——- “ws 4H oe COMPUTER | | INPUT —a00not 7 | — Le _] 1 | 2 BALUN I I | | | | ATTENNA INPUT > OA > 300 ohm ao FIGURE 17. ANTENNA SWITCH BOX SCHEMATIC TWIN LEAD OUTPUT TO THE TV 41 SECTION IV TROUBLESHOOTING 43 FAULT ISOLATION Problems with the TRS-80 Color Computer may be divided into two major categories, 1/O problems and ‘‘dead”’ computer problems. If the computer will display the sign-on message, then the Color Computer Diagnostic ROM may be used to isolate the section of the computer that is bad. If, however, the computer displays garbage on the TV screen, then one of the major logic functions has failed. A “dead” computer (garbage on the display or no display) indicates a major malfunction of the machine. In this case, the first thing to check is the power supply voltage levels. These may be checked at the following points. +5 volts — Test Point 12 -5 volts — Test Point 11 +12 volts — Test Point 9 - 12 volts — Test Point 10 Ground — Test Point 3 Or if you are having problems finding these test points, check the voltages on one of the RAM chips (U20 - U27). Pin 1 = -5 volts (minus five) Pin 8 = +12 volts Pin 9 = +5 volts If one of the power supply voltages is off by more than 5%, determine if the fault is due to a failure within the power supply or to another section affecting the power supply. Refer to the Power Supply section for possible causes of the problem and tips on how correct it. If all of the voltages are correct but there is no display what- soever on the TV screen, a video problem is evident. Refer to the Video Interface section for hints on fixing this problem. lf all of the voltages are at the proper level but you still have a screen full of garbage, then you should try chip substitution. Try replacing the following chips. U20 - U27 Dynamic RAM chips U10 MC6883 Dynamic RAM controller U1 MC6809E CPU chip U4 and U8 MC6821 PIA U3 - MCM68A364 ROM Make sure you replace the RAM chips with the same size (4K, 16K, or 32I<) as the original chips. If the computer still displays garbage after the chip substitu- tion, the mast likely problem is a short on the address or data 44 bus. Remove the ground plane and carefully look at the insula- tor and the PC Board. It is possible that one of the IC leads has punctured the insulator and is shorting out. If the compu- ter operates without the ground plane, then trim the excess leads on the bottom of the board. Make sure you don’t leave any loose material on the bottom of the board when you replace the ground plane. If the computer still fails to operate after removing the ground shield, you will need to start a methodical checking process. First, make certain that the CPU (U1) is running by using an oscilloscope to look at some of the address lines (pins 8 - 23) and the data lines (pins 24 - 31}. They should normally be changing states fairly fast. If they are not changing at all, then one of the control or clock signals to the CPU is wrong. Pins 34 and 35 of U1 should have a 0.89 MHz clock input to the CPU (U1). Pins 2, 3, 4, 40, and 37 should all be high. Pin 39 should be low. If the CPU is running then there is some short or open on the address or data bus. Check to make certain that all of the sockets are properly soldered into the board. It is possible that one of the pins on a socket has been bent under. Also check for any defect on the board such as a solder short or a broken etch. DIAGNOSTIC NOTES It is possible that the Diagnostic test may designate a part of the circuit that is not the faulty part. If the designated part does not seem to be causing the problem, the following notes may help. A video problem is usually caused by U7 (MC6847), however, a video failure may also be caused by U10 (MC6883). The chip U10 could also be the cause of a RAM problem. A RAM con- nected failure of U10 would be indicated if repeated trys of the RAM test showed random chip failures, or if replacing the indicated RAM chip does not fix the problem. VIDEO INTERFACE The video interface is composed of four primary parts U6, U7, U12, and U5. Also U10 is used to provide the video address lines to the RAM. The most likely source of a problem is U7 (MC6847). However, it is always a good idea to isolate the source of a problem before trying to desolder chips. If the problem is no picture or a distorted picture, then a new switch box and cable should be tried. If you still do not have a picture, then use your oscilloscope to look at U7, pin 28. You should have a video signal at this point. (Refer to the Video Interface section of the Theory of Operation for an example of what this signal should look like.) If you do not have a video signal, check U7, pin 33. There should be a 3.579 MHz clock signal at this point. If you have a clock signal but no video at pin 33, then U7 is bad. (You might also check pin 17 just to make sure the chip has +5 volts.) If you have a video signal at pin 28 of U7 but still have no TV picture, the next point to check is U12, pin 12. Again there should be a video signal at this point. If you do not have a video signal on pin 12 then check the inputs to the chip. (Pin 2 = 3.579 MHz clock; pin 11 = +5 volts; pin 9 = input video; etc.) Also check for +8 volts on the top side of R16. If all the inputs are present then U12 is probably bad. The last place to check the video signal is on the modulator input (pin 1 of US). If you have the video signal at the point and at the proper DC level, then U5 is probably bad. If the video signal is not present, then Q1 or one of the associated biasing resistors is probably the faulty part. (Make sure you check for +8 valts on the collector of Q1.} If the video signal is at the wrong DC level, try adjusting R21. If the signal will not adjust to the proper level then most likely one of the biasing resistors for Q1 is bad. U12 may also cause this pro- blem if the output from pin 12 is out of spec.} If the video problem is associated with only one mode of operation (graphics, semigraphics, or alpbhanumerics) then one of three chips is causing the problem; U6, U7, or U10. If some of the dots are missing from alphanumeric characters then U7 is faulty. If some characters are being displayed as the wrong character, then the correct data is not being supplied to the data inputs to U7. U6 latches this data so it may be causing the problem or there may be a short on the data lines. If some of the graphics modes do not work, then check pins 27, 29, 30, and 35 of U7. These pins should change from high to low as you change from one mode to the next. These signals are supplied from U4, which could be causing the problem if signals are changing properly. If these pins all seem to change, then the problem is caused by U10 or U7. (Since U10 is ina socket, try replacing it first.) JOYSTICK INTERFACE Before you tear into the computer to fix a joystick related problem, try a second set of joystick controllers to make sure the problem is in the computer. The only possible fire switch problem, that will not also show up as a keyboard problem, is if L2 or L3 is broken or the etch is cut or shorted. To troubleshoot the joystick interface you should have the Diagnostic joystick test running. If the problem is missing blocks, then one of the bits going to the D/A converter is not changing properly. Set both joysticks to the bottom right corner. Use an oscilloscope to check the D/A pins from U4 (pins 4 through 9). If all of the pins are changing then U4 is good. Also check the output pins of U2, they should all be changing. Finally, look at the output of the D/A converter (U14, pin 8). At this point you should see an even stairstep function. If one or more of the steps is twice as large as the other steps then one of the resistors is bad. lf the problem is that the joysticks do not work in one or more directions, connect an oscilloscope to U9, pin 9. With the Diagnostic joystick test running you should see four DC voltage segments. One dimension on each joystick should affect one of the segments. Try moving the joysticks around to check this. You can look at the DC voltages directly from the pots at the input pins of U9. If the inputs of U9 are changing (including select pins 6 and 7) but the output is not, then U9 is probably faulty. If U9 seems to be working properly then check U14. Set both joysticks to the center. Checking pin 8 of U14 you should see an even stairstep function going up to approximately 2.5 volts. The output, pin 14, should be switching each time the stair- step on pin 8 peaks. If the output is not switching, then U14 is not working. CASSETTE INTERFACE if you are having cassette problems, run the joystick test first to confirm that the D/A is working. If the computer passes the joystick test then there are only three other components in the output circuit that could be failing; R41, R42, or C82. The cassette input circuit is a simple sinewave-to-squarewave converter. To test it you will need a long tape of consistent data. By running this tape, your should be able to compare the input sinewave to the output squarewave and see if the con- verter is working. If this circuit is working, the only other part involved in the cassette interface is U4. if the problem is motor control, relay K1 is most likely bad. To test this, check to see that the collector of O4 is switching as you use the MOTOR ON and MOTOR OFF command. if it is not switching, Q4 or the PIA output pin is faulty. KEYBOARD INTERFACE The keyboard interface is a very simple electronic circuit. The only digital part ised is U8. Usually a keyboard failure will be caused by a mechanical failure of the keyboard itself, or a short or open in the calbe. Mechanical failures will usually be only one isolated key failing. Cable failures will cause an entire keyboard row or column not to work. RS-232 INTERFACE The RS-232 Interface utilizes three level converter circuits. Isolating the problem in these three circuits will be a simple matter of comparing the input to the output. Connect a DIN-type plug to the I/O Serial jack to short together pins 1, 2, and 4. Now type in the following test program: 45 5 POKE 65312, 2 10 FOR X =0 TO 10: NEXT X 15 POKE 65312,0 20 FOR X =0 TO 10: NEXT X 25 GOTOS5 Run the program and check pin 2 of U15; a switching TTL waveform should be present. Pin 6 of U15 should have the same waveform except that it will be switching from +11 volts to - 11 volts. Also check pins 4 and 6 of U14. These pins should have the same waveform switching from 0 to +10 volts. The outputs of U14, pins 1 and 2 should show the original TTL signal when the test program is running. POWER SUPPLY If you have a power supply problem, usually only one of the four supply voltages will be bad. However the +5 volt supply is powered by the +12 volts supply, so a bad +12 volt supply will also cause the +5 volt supply to fail. Anytime you have a supply that is at zero volts, you should measure the resistance 46 between ground and that supply (with power off). This will quite often show that you have a short to ground. Please note that the 45 volt supply has an overvoltage diode, CR17, which will automatically short to ground in the case of an over- voltage condition on the +5 volt power supply. If the problem is not an external short to ground, refer to Figure 1 and check the voltages along the affected power supply. If the voltage is bad at one output of CR11, the reg- ulator or the filter capacitor is bad. lf both voltages are bad then CR11 is faulty. Check that CR11 has the correct input voltage from the transformer. If the voltage is correct at the input to the regulator and the output is not shorted, then the regulator is bad. The +5 volt supply is more complex than the other supplies. However, you may use the same troubleshooting method as with the other supplies. Check the voltage from the input to the output of the supply until you find the point where the voltages are wrong. This will usually point to the bad device. A faulty +5 volt supply may be caused by U13, Q2, or Q3. If the +5 volt supply was shorted to ground by CR17 then there is also a problem with the regulator circuit. To correct this, remove CR17 and break the +5 volt line while trouble- shooting the supply. Removing R66 will break the +5 volt output line. STAAR1 FDVLIOA AlddNS YAMOd “L AYNDIS ga i ATSW3SSV YSINHOSSNV YL AXOL | Lo" 9 s2 WN AOL : AXOL Lo” > to 9) DV zo T JT 129 y; rs é \_p- € we) = ane 4a z77 Az9 SELPNI yn diya ozz amt Te ee TS Tear © SdWV SEL jt IGAS+ Zidi ral iu MZ Soy wee g99u < ~ ozaso LLY pSH SH GLZ0S 8 8zZ0S -l 47 SECTION V PARTS LISTS 49 PRINTED CIRCUIT BOARD PARTS LIST MANUFACTURER'S RADIO SHACK SYMBOL DESCRIPTION PART NUMBER PART NUMBER CAPACITORS C1 1uF, 50V, electrolytic, radial 8325104 ACC1050JAP C2 10uF, 25V, non-polarized, radial 8396101 ACC106QFBP C3 100uF, 16V, electrolytic, radial 8326251 ACC107QDAP C4 9-35pF, variable. 8360356 AC-4926 c5 100uF, 16V, electrolytic, radial 8327101 ACC107QDAP C6 25uF, electrolytic, radial 8326251 ACC256MDAP C7 1500uF, 35V, electrolytic, axial 8318153 ACC158QGAA cs 100uF, 16V, electrolytic, radial 8327101 ACG1070DAP cg 470uF, 35V, electrolytic, radial 8327473 ACC4770G AP C10 10 000uF, 16V, electrolytic, axial 8319101 ACC1I09QDAA C11 0.001pnF,50V,PO 8352104 ACC102KJGP C12 100uF, 16V, electrolytic, radial 8327101 ACC107QDAP C13 0.001pnF, 50V, ceramic disc 8302104 ACC102QJCP C14 220uF, 16V, electrolytic, radial 8327221 ACC2270DAP C15 220uF, 16V, electrolytic, radial 8327221 ACC2270QDAP C16 220uF, 16V, electrolytic, radial 8327221 ACC227QDAP C17 1uF, 50V, tantalum 8335 104 ACC105QJTP C18 TF, 50V, tantalum 8335104 ACCIO50JTP C19 1uF, 50V, tantalum 8335 104 ACC105QJTP C20 0.01pF, 1kv, ceramic disc 8303108 ACC1030XCP C21 O0.01uF, 1kv, ceramic disc 8303108 ACC1030XCP C22 O.01uF, 1kv, ceramic disc 8303108 ACC1030XCP C23 0.1uF,50V, monolithic, axial 8374104 ACC104QJCA C24 O0.1uF, 50V, monolithic, axial 8374104 ACC1040QJCA C25 O-tpF, 50V, monolithic, axial 8374104 ACC104QJCA C26 0.022uF, 50V 8303224 ACC2230JCP C27 O.1uF,50V, monolithic, axial 8374104 ACC104QJCA C28 0.ipF, 50V, monolithic, axial 8374104 ACC104QJCA C29 O.1uF,50V, monolithic, axial 8374104 ACC104QJCA C30 0.022uF, 50V 8303224 ACC2230QJCP C31 0.1pF,50V, monolithic, axial 8374104 ACC104QJCA C32 C33 C34 C35 C36 C37 C38 C39 c40 C41 C42 C43 C44 C45 C46 C47 C48 C49 q 4 | C50 O.1nF,50V, monolithic, axial 8374104 ACC104QJCA 50 PRINTED CIRCUIT BOARD PARTS LIST (cont'd) MANUFACTURER'S RADIO SHACK SYMBOL DESCRIPTION PART NUMBER PART NUMBER CAPACITORS (cont‘d)} C51 39pF, ceramic disc 8300394 ACC390QJCP C52 20pF, 50V, ceramic disc 8300204 ACC200QJCP C53 56pF, 50V, ceramic disc 8300564 ACCS5600JCP C54 0.022uF, 50V 8303224 ACC2230JCP C55 0.022uF, 50V 8303224 ACC2230JCP C56 0.022uF, 50V 8303224 ACC2230JCP C57 0.01uF, 50V, ceramic disc 8303104 ACC1030JCP C58 O0.01uF, 50V, ceramic disc 8303104 ACC1030JCP C59 0.022uF, 50V 8303224 ACC2230JCP C60 0.022uF, 50V 8303224 ACC2230JCP C61 0.1uF, 50V, monolithic, axial 8374104 ACC104QJCA C62 C63 C64 C65 C66 C67 C68 C69 C70 C71 ¥v y v C72 O0.1uF,50V, monolithic, axial 8374104 ACC1040JCA C73 56pF, 50V, ceramic disc 8300564 ACC5600JCP C74 0.022uF, 50V 8303224 ACC2230JCP C75 56pF, 50V, ceramic disc 8300564 ACC5600JCP C76 0.022uF, 50V 8303224 ACC2230J/CP C77 C78 C79 C80 c81 0.022uF, 50V 8303224 ACC2230JCP C82 0.0022uF,50V 8302224 ACC222MJCP C83 0.001uF, 50V, ceramic disc 8302104 ACC1020JCP C84 0.022uF, 50V 8303224 ACC2230QJCP C85 220pF, 50V, ceramic disc 8301224 ACC221QJNCP CONNECTORS P1 40 pin, AMP 8519093 AJ6902 P2 4 pin DIN 8519094 AJ6904 P3 6 pin DIN 8519095 AJ6905 P4 6 pin DIN 8519095 AJ6905 P5 5 pin DIN 8519085 AJ6903 *P6 Keyboard shield connector 8519104 AJ6907 P7 16 pin Header 8519106 AJ6906 *will not appear on later revision Boards. 51 PRINTED CIRCUIT BOARD PARTS LIST (cont’d) MANUFACTURER'S RADIO SHACK SYMBOL DESCRIPTION PART NUMBER PART NUMBER CRYSTAL x1 14.31818MHz 8409008 AMX2797 DIODES CR1 1N4148 8150148 ADX1152 CR2 CR3 CR4 CR5 CR6 CR7 1N4148 8150148 ADX1152 CR8 1N4002 8150002 ADX1148 CR9 1N982, zener 8150982 ADX1103 CR10 1N982, zener 8150982 ADX1103 CRI1 VM-28, bridge rectifier 8160028 AMX4582 CR12 1N5401, 100V, 3A 8160401 ADX1474 CR13 1N5401, 100V, 3A 8160401 ADX 1474 CR14 1N4002 8150002 ADX1148 CR15 1N4002 8150002 ADX1148 CRI16 1N5228,3.9V, zener 8150228 ADX1473 CRI7 1N4735,6.2V, zener 8150735 ADX0214 FUSE Fl 700mA (0.7A) 8479003 AHF1185 INDUCTORS Li L2 3.3uh 8419005 ACA8059 L3 3.3uh 8419005 ACA8059 INTEGRATED CIRCUITS U1 MC6809E, CPU 8040809 AXX3051 U2 MC14050B, Latch 8030050 AMX4584 U3 MCM68A364, BASIC ROM 8040364 AXX3052 14 MC6821,PIA 8040821 AMX4578 U5 UM1285-8, Modulator 8050285 AMX4576 U6 74LS273, Octal Flip-Flop 8020273 AMX4227 U7 MC6847,VDG 8040847 AMX4575 U8 6821,PIA 8040821 AMX4578 U9 MC14529B, Data Separator 8030529 AMX4585 U10 MC6883L, SAM 8040278 AMX4579 U11 74LS138, Decoder 8020138 AMX4583 U12 MC1372, Video Mixer 8050372 AMX4574 U13 723C, +5V Regulator 8050723 AMX3548 u14 LM339, Quad Comparator 8050339 AMX4200 U15 741C, Op Amp 8050741 AMX4258 U16 74LS244, Buffer 8020244 AMX3864 U17 78M 12, +12V, Regulator 8050812 AMX4577 52 PRINTED CIRCUIT BOARD PARTS LIST (cont‘d) MANUFACTURER'S RADIO SHACK SYMBOL DESCRIPTION PART NUMBER PART NUMBER INTEGRATED CIRCUITS (cont'd) U18 79M12,-12V Regulator 8050912 AMX4188 U19 79L05,-5V Regulator 8051905 AMX4260 *U20 MCM4027AC3,4K RAM 8040027 AXX3044 *U21 *U22 *U23 *U24 *U25 *U26 *U27 MCM4027AC3, 4K RAM 8040027 AXX3044 TU28 MCM68A364, BASIC ROM Extended 8042364 AXX3054 U29 74LS02, Quad NOR gate 8020002 AMX3551 *For 16K RAM model: U20 - U27 SCM90072C, 16K RAM 8040016 AXX3055 tFor 16K RAM version only. RELAY K1 R7336-1 8429102 AR8130 RESISTORS R1 100K, 1/4W, 5% 8207410 ANOQ371EEC R2 100K, 1/4W, 5% 8207410 ANOQ371EEC R3 4.7K, 1/4W,5% 8207247 ANO247EEC R4 4.7K, 1/4W,5% 8207247 ANO247EEC R5 4.7K, 1/4W, 5% 8207247 ANO247EEC R6 4.7K, 1/4W, 5% 8207247 ANO247EEC R7 4.7K, 1/4W,5% 8207247 ANO247EEC R8 18K, 1/4W, 5% 8207318 ANO303EEC RQ 150 ohm, 1/4W, 5% 8207115 ANO142EEC R10 10K, 1/4W, 1% 8201310 ANO281BEE Ri1 20K, 1/4W, 1%. 8201320 ANO3O06BEE R12 40.2K, 1/4W, 1% 8201340 ANO597BEE R13 80.6K, 1/4W, 1% 8201381 ANO359BEE R14 162K, 1/4W, 1% 8201416 ANO385BEE R15 324K, 1/4W, 1% 8201432 ANO408BEE R16 3.9K, 1/4W, 5% 8207239 ANOQ237EEC R17 470 ohm, 1/4W, 5% 8207147 ANO169EEC R18 750 ohm, 1/4W, 5% 8207175 ANO185EEC R19 12K, 1/4W, 5% 8207312 ANO288EEC R20 360 ohm, 1/4W, 5% 8207136 ANO159EEC R21 500 ohm, Trim Pot 8279150 AP7156 R22 10K, 1/4W, 5% 8207310 ANO281EEC R23 3.9K, 1/4W, 5% 8207239 ANO237EEC R24 1.5K, 1/4W, 5% 8207215 ANO206EEC R25 1K, 1/4W, 5% 8207210 ANOI196EEC R26 1K, 1/4W, 5% 8207210 ANO196EEC 53 PRINTED CIRCUIT BOARD PARTS LIST (cont'd) MANUFACTURER'S RADIO SHACK SYMBOL DESCRIPTION PART NUMBER PART NUMBER RESISTORS (cont'd) R27 100 ohm, 1/2W, 5% 8217110 ANO132EFB R28 10K, 1/4W, 5% 8207310 ANO281EEC R29 10K, 1/4W, 5% 8207310 ANOQ281EEC R30 1K, 1/4W, 5% 8207210 ANO196EEC R31 47K, 1/4W, 5% 8207247 ANO247EEC R32 4.7K, 1/4W, 5% 8207247 ANO247EEC R33 220 ohm, 1/4W, 5% 8207122 ANO1T49EEC R34 8.2K, 1/4W, 5% 8207282 ANO271EEC R35 6.8K, 1/4wW, 5% 8207268 ANO262EEC R36 56K, 1/4W, 5% 8207356 ANO345EEC R37 56K, 1/4W, 5% 8207356 ANOS45EEC R38 15K, 1/4W,5% 8207315 ANO297EEC R39 15M, 1/4W, 5% 8207515 ANO450EEC R40 1K, 1/4W, 5% 8207210 ANOI96GEEC R41 24K, 1/4W, 5% 8207324 ANO526EEC R42 75K, 1/4W, 5% 8207375 ANO527EEC R43 1.5K, 1/4W, 5% 8207215 ANO206EEC R44 4.7K, 1/4W, 5% 8207247 ANO247EEC R45 180 ohm, 1/4W, 5% 8207118 ANO144EEC R46 470 ohm, 1/4W, 5% 8207147 ANOT6S9EEC R47 1.5K, 1/4W, 5% 8207215 ANO206EEC R48 10K, 1/4W, 5% 8207310 ANO281EEC R49 10M, 1/4W, 5% 8207610 ANO482EEC R50 100 ohm, 1/2W, 5% 8217110 ANO132EFB R51 10K, 1/4W, 5% 8207310 ANO281EEC R52 10K, 1/4W, 5% 8207310 ANO281EEC R53 15K, 1/4W, 5% 8207315 ANOQ297EEC R54 15K, 1/4W, 5% 8207315 ANO297EEC R55 10M, 1/4W, 5% 8207610 ANO482EEC R56 10M, 1/4W, 5% 8207610 ANO482EEC R57 1K, 1/4W, 5% 8207210 ANOT96EEC R58 470 ohm, 1/4W, 5% 8207147 ANOI69EEC R59 68 ohm, 1/4W, 5% 8207068 ANO111EEC R60 1K, Trim Pot 8279210 AP0835 R61 1.2K, 1/4W, 5% 8207212 ANO199EEC R62 3.3K, 1/4W, 5% 8207233 ANO230EEC R63 1.2K, 1/4W, 5% 8207212 ANO199EEC R64 4.7K, 1/4W, 5% 8207247 ANO247EEC R65 560 ohm, 1/4W, 5% 8207156 ANO176EEC R66 0.33 ohm, 2W 8247833 ANO522EHB R67 1.2K, 1/4W, 5% 8207212 ANO199EEC R68 10K, 1/4W, 5% 8207310 ANO281EEC R69 820 ohm, 1/4W, 5% 8207182 ANO187EEC R70 not used R71 220 ohm, 1/4W, 5% 8207122 ANO149EEC R72 100K, 1/4W, 5% 8207410 ANO37 1EEC *R73 470 ohm, 1/4W, 5% 8207147 ANOT69EEC *R74 470 ohm, 1/4W, 5% 8207147 ANOT69EEC “May appear as follows: Ferrite Bead, #2643021801 B4A190T2 ee 54 PRINTED CIRCUIT BOARD PARTS LIST (cont'd) MANUFACTURER'S RADIO SHACK SYMBOL DESCRIPTION PART NUMBER PART NUMBER RESISTORS (cont'd) +R75 33 ohm, resistor pak 8290014 ARX0220 +R76 33 ohm, 1/4W, 5% 8207033 ANO087EEC +R77 . 33 ohm, 1/4W, 5% 8207033 ANOO87EEC R78 33 ohm, 1/4W, 5% 8207033 ANOO87EEC R79 33 ohm, 1/4W, 5% 8207033 ANOO87EEC R80 470 ohm, 1/4W, 5% 8207147 ANO169EEC R81 300K, 1/4W, 5% 8207430 R82 82K, 1/4W, 5% 8207382 ANO360EEC R83 33 ohm, 1/4W, 5% 8207033 ANO087EEC +May appear as follows: Ferrite Bead #264000301 8419014 SWITCHES $1 Reset 8489003 $0852 $2 Power, 4PDT 8489002 $0851 $3 Channel Select, SPST 8489029 $9142 TRANSFORMER T1 33.5V and 16.3V, 50-60Hz 8790020 AT A0856 TRANSISTORS Q1 MPS3904 8110904 AMX3583 Q2 2N6594, PNP 8100594 AMX3799 Q3 TIP29, NPN 8110029 AMX 3582 Q4 2N2222 8110222 AMX4263 MANUFACTURER’‘S RADIO SHACK DESCRIPTION QUANTITY PART NUMBER PART NUMBER MISCELLANOUS Cartridge Slide Guide Clip, Cord (Keyboard) Clip, Fuse Ground Plane Bottom Ground Plane Fastener Ground Plane insulator Insulator, mica Insulator, mica (U18) Jumper Cable, transformer Jumper Plug Nut, #4 Screw, #4-40 x 3/8" Socket, 16 pin Socket, 24 pin Socket, 40 pin Tubing, air shrink, 3/4” = mo _— = — fp] OPN DWNMN DY — = me 8719110 8559009 8479004 8729043 8559023 8539008 8539009 8539003 8709158 8519021 8579003 8569082 8509003 8509001 8509002 8539011 ART3326 AHB9420 AF1176 AHD3325 AHD9012 ART3324 AHC0332 AHB9181 AW2586 AJ6769 AHD7143 AHD9011 AJ658 7 AJ6579 AJ6580 AHC0323 55 56 ITEM NUMBER not shown not shown not shown ILLUSTRATED PARTS BREAKDOWN DESCRIPTION Case Top Cartridge Door Cartridge.Slide Guide Keyboard Keyboard Cable Assembly Insulator, ground plane Ground Plane Case Bottom Screw, #6 x 7/8” Screw, #6 x 1 1/4” Power Cord Assembly Transformer Screw, #6 x 1/2” Top Cover Support Top Cover Logo, Color Computer RAM ID, 4K MANUFACTURER'S PART NUMBER 8719107 8729035 8719110 9790501 8709141 8539008 8729043 8719108 8569092 8569085 8709150 8790020 8569086 8729045 8729044 8719120 8789260 MISCELLANEOUS Fastener, ground plane (16) Feet, Rubber (4) Screw, #6 x 1/2” 8559023 8719123 8569087 RADIO SHACK PART NUMBER AZ5844 ADA0337 ART3326 AXX0206 AW2589 ART3324 ART3325 AZ5845 AHD9016 AHD9015 AW2587 ATA0856 AHD9013 ART3323 AZ5846 AHC0324 AHC0320 AHD9012 AFO315 AHD9014 10 ILLUSTRATED PARTS BREAKDOWN FIGURE 1. 57 SECTION VI PRINTED CIRCUIT BOARD 59 dqis LNANOdWOS qayV0Od LINDYID GALNIdd L AYNSIS 60 AdIS LINOYIO — GHYVOE LINDYID GALNIYd ‘% AYNDIS 02800 giejelaee 0 Sooedaaadsecen® oO 61 SECTION VII SCHEMATIC 63 RESET SWITCH aan RI 100K CRS IN4T4G +6V CR? NAAR » cAI ANG14B RZ yO0K A Vv tut N +5V TP2 VDG CLK (SH. 2) “RESET (SH 26:3) RO | 7 NC NC. NC NC 7 “RESET 29 tse BUSY 38) vic BS BA MC68O9E ul VMA {SH 3) *1RO *FIRQ *NM} 40) euaLt +FH {SH 2) RO 33) aw EIN TPt 32 RW o7 Cos os }28 26 8 NN Da 28 Dz Pa TN DI 30 DO | GND 1 EISH 2831 CARTRIDGE CONNECTOR 45V GNOD unt 68 8 uz 4 7 VZV +12V {SH.2} oo for CART +5V D2 703 fos {05 ; oe 7; b7 AB OYAT AZ FA3 [Ad [AB COLOR COMPUTER SCHEMATIC — SHEET 1 —— Lf 2 °e vce z +8V vec 24 +8 agi AY wai 811 a3 At a7 a7 {iz ag as asl —, \ 23) as Men as ROM asH® 7 69A364 EXPANSION 14 N Ar ast as 4 a vz a AB a3 03} ———~] 3 as a2 az} th) Al as ai a aN 5) a3 ae aa} 8) a2 CAR: Si ae GND ono? av 3 AG. AIS AIS 100pF vec p42 7aLstaa au Ul ve bls {SH. 3) Al3 52 [28 3 yi bid MRO AI2 c y2b!3 au 26 z yap! 09.07 st a ish 28a) Aw yap spiag (sh. Ag sop? Ua, ys bt0 __ pias isHt.2} AB 6 aT y7b2-_-_ Ne As G2A G28 AS as an sam a, 7auso2 aa u10 10 Mcass3 Ry _ a 47% = Al 48 _/ rv) 8 DAB DAG ISH 2) “we OBR ay J “WE (SH 4) 18 aw seas BIB Ap 238 "CAS {SH 4 7 “RAS PS AASISH 2 & 3} 7 R43 vex mar BLED Vy Wes maz A MAG 16/32K Li 18K osc our Pe eee ~ RIS cst I HS BAB ANA rn MAS 332 39pF ce {sH 2) “HS minal 32875 Rap 330 ang mas 1431818 at Ag? 330 ist 3) OSC IN DAS fle A errr MAS aK = os 4 30 RIS 4 332 ned 9.35 pf 14 M2 pA MAD (SH 3 e Matpee 78 AAA SS mat ae = 3), agp 28 AIS App 33t Mag = vss [eee *) 26 R74 ad 4702 A I R73 cr c7s _ 47082 Reo S6pF SGpF- a 4707 = = W- cos 220pF (SH, 24 a as jaz jas fas fatolan | atz SND Ai3 | ata [ats = PY AMP 40. PIN WAVAY NOTES 1 ON SOME BOARDS, THE FOLLOWING RESISTORS HAVE BEEN REPLACED WITH FERRITE BEADS: R73, R74 R75 {6 beads} R76. A77_ R78 R79 and RAI 2 RAI IS USED ONLY ON 32K BOARDS 3.) THE FOLLOWING CAPACITORS ARE DELETED FOR 32K: C31 C35, C45_ C48 C61 C64. C67 and C70 4 ONA4K RAM PIN 1318 CS* 5 ON A32K RAM. PIN @ IS Vec. PIN 11S N/C, AND PIN 9 IS A7 65 +8VDC RABY VK +5V ssvpce an MC14050B 100% 1 AIS 9: 3 2 320K uz NAA pn A (SH. 3} 1P7 +506 Aa CASSOUT MC14529B 6 320K i PMCMS298 u2 WMA nd w 20 (St. 3) Miyg 12 2 _SASSDIN R13 " : vee PAG | 2..GASSOIN 3 i 3__RS2a2 OUT 5 a OK (sh 3 CSN———— x1 2pe } B u WA 4 2 38] -1n0a PA : 2 (SH. 4} SND: RZ u {SH 1) FIR PAZ x3 15 —_,] “nas pasts tox < 8 7 = L Pas be 4 uz > WA——4 Aa nae PAG | 7 tox S {SH W TPIAI 23) scsz pare an 20K SEL? seL2 @) le 21 v2 >§ WA——4 (SH 3) (SH 31 > ——~{ a] ese +6V E 25) ENABLE 49 co R10 cat 9 10 10K at 38 ABB v2 WWAn-———4 Asy 6821 caz (39 GASSMOT ISH. 3) 10K 4 ao Ed PIA . csz | 4 cay “CART . 20pF Rw ns u ISH 4} = 19 “RESET By Reset caz SNOEN ts. < o 33} og pag [29 S2Z32N " D1 YY o1 PB1 2 : D2 nnn D2 Pz SAMSZ @ 71 30 13 Ht 32K Ci nnennne Ta) Pas 76K 29 16 TTL (SH 3 De ————-_—=+4 D4 Pas Ls 28 15 os +I os ras | fy eC PRE oy 28] 7 paz jA2 4K GND — T 7 +806 7 39 vec SU entrext £30] ons (su. 6 29 i6m vpGcLK wv a Zh ome 4 | Bais Rv cag FS 27] ees 47002 1" = {st 3) == 12] sas MC6847 Fd u vDG 32 } A uy ak mc137z aon 38 uiz 13 ISH 183) *HS “Hs {su 1) DAG 22) pag n 7 oa 32, y 2 2 a4 . cai FALS273 [a AIS. a zl ry a 2 mo? 2 1D rahe 2 pp7 M06 reat 20h - oO =— nec 1a pos _ Aq Mos a? yg 2A 7 75082 {sH 3} Mp4 40 aa 14 Ww 6 mo3 60 sa 3 7 16 § topz MD2 “74 60 sat z caz mp1 70 70 oot oot 4 19 Zong Moe 77189 8a > cK GND. ou 1 1 “RAS sun = naa 4.2K +8v : COLOR COMPUTER SCHEMATIC — SHEET 2 66 % +6 R23 20K +12V 4s aa? 2 1002 ? ~ 1a 6 TANG urs 4 +2 “12 ? Aza 15K <— Vv + = 6 ; +BY E> tNalas. A28 nonameannneamenaie se aememnnnh P2 6 in 1K 1 aba LMa39 = cas Ras 18K uM 10K 2, R51 RES = 10K 10M LAA panned +y CRs = 1Nat4s iv R26 | 4 PN 1K Aba Lage 2 $ naz A29 1sK ula 82k 10K ; = rae ASS -” 10M fat AAA 300K y = REO 1007 Wa RIGHT JOYSTICK GROUNDED uM12a5.6 CASE U5 MC14529 us vein ~ hal w v2 sa ¥3 4 a 2] 1 s i AAS 180N H12V A C24 Aig 39K R19 +V GND mci4s20 16 8 cCASssDOUT (SH 3) | i ' | ——_ eee SPAREGATES | Aaa 10K JOVIN {SH 3b 67 & 6V {SH} {5H.2) RSW usw | 20 Vee 7 42 3 38). PAY 1ROA ; ISH 1} ARO ; PA z 32) -taae Pag 8 pas? Es) {SH 1) ¢P1A0 *es2 7 PAS Pr PA? [ome JOVIN (SH) cst Hi 22) eso cat 40 HHS (SH.2 ‘a 2 e ENABLE 30 35 CA pe SEL a ISH2E AY RSI a2t cn 2 Fp ee n is AO. 34] ps0 ey ES(Stt 2) RW 21 aay coz [2 __set 2 ts.21 *RESET I emeser 3 10 po 3 oo PAO 7 ay Dt PAI cal PA2 2 02 oz 3 a4 = a3 paal {SH 1} ba 75104 paaee 08 0s PAS o6 27 a] 08 Pasl yy 7 28} p7 PAT GND 7 car “5V — a cop 7 Te ~ Otut an H cro caro pauses 2NZ222 INOB2 ingaz N CASSMOT oa = {! Ne a 17 MOO ish 2) + do aa BY bial ue Ww 4 pt EM oa L2_MOs 5 15 o? ‘2 76) 3% at a (Stet 03 ay aa MDI 21 Raz rae 15H) be They 5a hd ftO4 76K sy be y Tal by oe - cassouT —WV/r 2 r 9 Bh) MDs (st 2) cL De 1 1! rat Le °s cer { o7 12) gy oa le MD? O2ut +5y UK ey =e am XQ ” +5N 7 _ 1 1 Ale ‘sete nao 56K Ras au MAGMAG — MRD (SH tf 6.ax 32K tsh.t) 1K — "a CASSOIN (sH.2) R33 che 270 A. INA b? 2 2} 14 = = D ° § MAO . Ao MAI h at 15 7 a2 a 4 (sH 0 MAS 32 aa . Et) MAS sr As MAS po AS MAG ene ag (USS vBa yop vcc mi ys | = “WE {SH D RAS ule 45V GND “eas 2 10 =o oe re ao Leos cag Tat Tut ¢ we ew wT" bese 33 Less a wt " Kf COLOR COMPUTER SCHEMATIC — SHEET 3 68 re cri a IN4002 O2us — S720 45078 50608 - un 7e9 = ust w ; Tamiz Y Rv tLe Ee Ae a can $800 uf 220 uf ae 2N6E94 esa20 a8 = 16 = nso = <= = 88a ‘oe CAIs aw ce tNaoaz 5046 470ut iat 453 03 sv a VT LLLL/ 116 rep29 us = f 1 anv = 798812 1s I ca? { TOOMA > REG en L 220uf tot Aes 3 Ps tat FT 16v + Rea $60 as? == 470.0. 4 42K $ ~ 312 ° TRI W v ve vopie ut * 79L08 Sv an wh L coxa 10GuA 7 ce tut v Nu pane wat = VAEE — — & vw Ret 7 1a Rea on c76 ath a2ut on ez Reo = 3.3K « FPAZ *SVDC 1.35 AMPS cz) &? 7AMP o— Ne c21 ACO bg oo °. 1.0KV €s 20 TRANSFOAMER ASSEMBLY FOR + 4K AG = ‘CS ca TLittout “ Ca.) a 8 S AQ 5 a0 " AY “ “cas AY »cas LS AZ ‘ 4 . 4 a2 4 12 Ad RAS AZ We . — w 10] 45 w Aa U24 1 13] ag 16 u23 ue 16 van voo vee] | vee voo vi vse vop vec} 1] ay 8 = 1] a] 8 = = ~L.ca9 a =F —tcas « aa . ul wL.cee coo] ML cas cr aL. car ate ent uD uh KH 1G/4K Sy L Luce? tut TL I at tf il-4I 16/4K aad 3K taut ith I-—-1| 16/aK od 3 69 RADIO SHACK Bd A DIVISION OF TANDY CORPORATION U.S.A. CANADA FORT WORTH, TEXAS 76102 BARRIE, ONTARIO, L4M4WS TANDY CORPORATION AUSTRALIA BELGIUM UNITED KINGDOM 280-316 VICTORIA ROAD PARC INDUSTRIEL NANINNE BILSTON ROAD, WEDNESBURY RYDAMERE, N.S.W. 2116 5140 NANINNE WEST MIDLANDS WS10 7JN