FOR SERVICE... NOTE NEW TOLL-FREE TELEPHONE NUMBERS: 800-621-1253 IN ILLINOIS CALL: 800-572-1324 16P-300 1-300 OCTOBER, 1981 THEORY OF OPERATION EARLY SYSTEM BOARDS • CPU/VIDEO BOARD Upright Games Only e ROM BOARD Upright or Table Games e INTERFACE BOARD Upright or Table Games е POWER SUPPLY Upright or Table Games (Refer to 16P-3001-301 for theory on Defender later system boards) като ЧА ELECTRONICS, INC. 3401 N California Ave., Chicago. S 60618 Cable Address: WILCOIN, CH'CAG (312) 267-2240 СОМТЕМТ5 IDENTIFICATION OF EARLY SYSTEM BOARDS ...... | INTRODUCTION ................................ 1 BLOCK DIAGRAM THEORY ......:................ 3 DETAILED THEORY i ҮР өн и жа вв бб 9 е ШО [ее 9 Watendog СІ CV вы пае е в Б Eke oa Ie, one we ead СЕА 10 Ih cC ETHER | CIOCK GONG alOM ы ало 4-4 вове a илеш ее о 12 Бапа О сепегаюг « eue а лэл ооо ne Wow CO а 13 Video Address Generator ................................... 14 video Ват COMMON МӨН ИМ ӨМ тэтгэн 15 VIDEO Ram TIMING. "тэлэлт eo EHI аа oa ари C I SER 17 Video Ram Address Ми!їїр!ехег.............................. 18 WICC ON MT" 20 Video SANI HegiStelS еа аа ЭЭ? 23 Color Ham ОНОШ. as irum эг х, л далай тыа еки Ци нар ал 24 Monitor SYNC бепйегатог: sau dock наан но аана 25 апіша еса nore LET 26 Page O В. 0. M "cm 26 OMOS:RAM ло ор оо ашнаш лари аас 27 14:181(01:1 Count BUITeF „еони вв аа ае SCR DOC RR a dd ica 28 ques Банан ое на ана ча we ie ek gene se аза 28 ROM Board Memory Scheme ................................ 29 Section/Page Select Decoder ................................ 30 ROM Section/Half ресодег.................................. 31 ROM Board PIA/Decoder xg лэ л лол x Cue ege xo чий 32 Interface Board АетБу................................... 33 godi-eslogE——————— 34 IDENTIFICATION OF EARLY SYSTEM BOARDS ) SINGLE DECODER ROM BATTERIES AT UPPER RIGHT. e CPU/VIDEO BOARD жж ами Det ж. A sax du C СС < О CO 2 О СС е РЇМ ІС5 MOUNTED PARALLEL 14 AND 16- TO ROM ICS. х О < a oc O H- 2 T Ш та «р D —! ай С on < О СО Ш О < LL. 38 Lu Ке 2 0 = T О СС > O Үй LL О —! < H- O [<= SECTION 1 INTRODUCTION The video system in this game consists of five (5) printed circuit boards, a number of switches, and a Video Monitor. The printed circuit boards contain most of the electronic circuitry іп the game. Switches provide controlling inputs for play of the game and the Video Monitor provides a high-resolution color display of game action. The basic functions of the five circuit boards are as follows. (Refer to Figure 1-1.) The Power Supply provides the necessary voltages for proper game operation. Regulated DC outputs of +5VDC, -5VDC, +12VDC, and unregulated DC outputs of +12VDC, -12VDC, and +27 VDC are supplied. An additional AC output (6.3 VAC) is used to power lamps for general illumination purposes. The CPU/Video board contains a microcomputer Central Processing Unit (CPU), which performs the “brain” function of the system. The CPU controls the rest of the system according to the program (list of instructions) assigned to it by a programmer. This board also contains the Video Control circuitry and Video Memory. The information stored in the Video Memory represents the picture the CPU wants displayed on the Video Monitor. The Video Control circuits read the contents of the Video Memory and convert these contents into color signals which are then fed to the Video Monitor. The ROM board provides ROM storage for the programs and data base which control the operation of the Video System and supply the necessary data for game operations. The ROM board contains: the game program, the diagnostic (self-test) programs, permanent data used by programs, and I/0 (Input/Output) ports. An Input port is used by the system to check the status of input switches. An Output port is used to control the on-board Self-Test indicator LEDs, and game play-selected sounds produced by the Sound Board. CPU/VIDEO INTERFACE Т SOUND BOARD -12УрС UNREG. 117 УАС (ISOLATED) J-I2VDC UNREG. © -5VDC REG. 4 12УрС REG. LINE TRANSFORMER POWER SUPPLY GENERAL ILLUMATION 117/220 МАС АВ +27VDC UNREG. COIN DOOR LOCKOUT RELAY Figure 1-1. Simplified Block Diagram The Sound Board is able to generate various sound effects upon appropriate command from the CPU. These commands are received via the ROM board. The audio signals generated in response to these commands are amplified on-board, and routed directly to the game speaker system. The Interface Board provides input ports to interface the Video System to the Player Control Panel. These inputs allow the CPU to check the status of the l-and 2- player start switches and player panel control switches. SECTION 2 BLOCK DIAGRAM THEORY The Williams Video Game System generates a color video display of 360 x 240 pixels (picture elements) on a standard Color Monitor. The Color Monitor provides one complete (non-interlaced) scan of the screen every 16.66 mSec, for a standard frame rate of 60 Hz. The screen may contain up to 16 different colors at once, which are selected under program control from a total of 256 available colors. For each pixel to be displayed, a 4-ЫЕ binary code representing one of the 16 currently-available colors is stored in a memory called the Video RAM. These 4-bit pixel codes are continuously read out of the Video RAM in the order they are to be displayed, and used as an address to access 1 of 16 8-bit codes stored іп a 16 byte memory called the color RAM. Each of these 16 codes represents 1 of the 256 total available colors (29-256). Each 8-bit color code output from the color RAM represents a different combination of brightness levels for the Red, Blue, and Green guns in the monitor, producing 1 of the 256 possible color combinations. The result is a process of two basic steps for the display of a picture: 1. Select 16 of 256 available colors for the current display by loading the 8-bit value for each color selection into 1 of the 16 color RAM locations. The address at which each color code is stored determines which 4-bit pixel code will cause it to be displayed. 2. Select which of the 16 currently available colors will be displayed at each pixel location on the screen by storing the appropriate 4-bit codes in the Video RAM. Figure 2-1 is a block diagram showing the main features of the Williams Video Game System hardware. The Reset circuit produces 2 reset pulses, RESET (Reset Not) and CR (Clocked Re- set Not), in response to either a low supply voltage (power-up or power-down) or the reset pushbutton being depressed. These pulses assure that the MPU (Microprocessor Unit) and critical timing components such as the Video Address Generator are forced into a stable state during power fluctuations or testing, and synchronized when normal operation begins. When the reset condition has terminated, a properly functioning MPU will restart the main program, executing system diagnostics and then the game program itself. The Watchdog circuit is a timer which resets the MPU unless it is cleared before it counts 8 vertical scans. Тре timer is cleared by writing a specific data pattern at a specific memory address. The command to clear the Watchdog is built into the game program so that during normal game operation the Watchdog is always cleared before it forces the MPU to reset. Should the MPU stop executing the proper instruction sequences and fail to clear the Watchdog, the reset will bring the game up in "Game Over". The Clock Generator provides basic timing for the video system and consists of a 12 MHz oscillator and dividers to 4 MHz and 6 MHz clocks. The 12 MHz clock is also applied to the Video RAM Timing Circuit with other derived timing signals to provide timing for access to the Video RAMs. The 4 MHz clock signal derives the E and Q clocks required by the MPU, clocks the Video Address Generator, and, (with the 6 MHz clock), provides timing for the Video Shift Registers. The E and Q Generator divides the 4 MHz clock to produce E and Q clocks. These 1 MHz clock phases provide the timing for the MPU and are also applied to the Video RAM Timing Circuit. The Video Address Generator provides the 14 addresses that scan the Video RAM to produce a frame on the monitor 60 times a second. Function CR, (Clocked Reset Not), is synchronized with the E clock and holds the counter reset when it is low. When it goes high, the 4 MHz clock is counted to produce the addresses. The addresses are applied through the Video Address Multiplexer to scan the Video RAM banks. Іп addition, an output is applied to the Watchdog circuit and outputs are decoded to provide horizontal and vertical sync for the Color Mon- itor and blanking in the Video D-to-A Driver. The three RAM Banks are scanned simultaneously by the Video Address Bus, and individually by the microprocessor. The Video RAM Control Circuit accepts microprocessor address bits A8 through А15 to address a PROM. The PROM provides pseudo-address bits PA8 through PA13, and E and WE (Enable Not and Write Enable Not) functions. This control circuit al- lows the microprocessor to access the Video RAM Banks individually with sequen- tial addresses. The circuit also provides multiplexing signal MUX 1 to the Video RAM Address Multiplexer. The Video RAM timing circuit uses the 12 MHz, E, and Q clocks to produce Video RAM timing. Each Video RAM bank provides 16K address locations, and is accessed with seven address bits at a time. The memory in the RAM is configured in a matrix with 7 of the l4 address bits latched in to select a row in the memory matrix and then the remaining 7 address bits latched in to select a column. Function RAS (Row Address Select Not) and CAS (Column Address Select Not) latch the addresses into the RAM at the proper time. Functions MUX 1 from the Video RAM control circuit and MUX 0 pass high, and low-order video address bits for video access, also low-order microprocessor address bits and pseudo-address bits for microprocessor video access. Function SRL (Shift Register Load Not) latches the data outputs from the three RAM Banks into the Video Shift Register after each video access. Function WE is produced at an appropriate time during microprocessor access to enable the WE (Write Enable Not) outputs from the Video RAM control circuit. The Video RAM Address Multiplexer uses the МОХ 0 and MUX 1 signals to place ap- propriate addresses on the Memory Address Bus (MA@ through MA6) for latching by the RAS and CAS signals. MUX 0 MUX 1 ADDRESSES RAM LOW LOW UP AD, Pseud.A8-A13 Row HIGH LOW UP А1-А7 Column LOW HIGH УАО-ҮА6 Row HIGH HIGH УА7-УА13 Co lumn Video RAM is accessed by the Video Address Bus every microsecond and the data is latched into the Video Shift Register. When the microprocessor reads from RAM, the E (Enable Not) signal from the Video RAM control circuit latches the data from the appropriate RAM Bank into the MPU Data Bus. The Video Shift Registers load the data from the RAM Banks into shift registers. Functions SRL (Shift Register Load Not) and the 4 MHz clock synchronize loading of data into the shift register. The б MHz clock shifts out the 4-bit sets of data in parallel. The data loaded into the shift registers in sets of four bits define a pixel (picture element). Four bits from RAM Bank 1 are first presented to the Color RAM Address Multiplexer for a pixel. The next 6 MHz clock pulse shifts the other 4 bits from RAM Bank 1. The next two clock pulses shift out 4 элемрлен шэз545 oues ooprA suer[[IM јо зэлпзеэд итеу oS 9NAS "VOILH3A “То —— ONAS IVLNOZIYOH YOLINOW озал "LNIOd ЈУНЈ LV S1VN9IS JO H38AQN IHL S31VOIQNI ____ и молза H38WN V ним MYYN HSYIS У :310N злпаойі QNnOS ONDINY 8 AWLNOZIYOH АНИ ШЕЛ 195 озал 9 чолоо Мүн чолоо (3002-0002) 53 £-O/WIMAS €-OV C / 08 viva € Nya v ззхзлацлай “Царцван 128 чахалаылпи wading | INNOD ма 30109] „меч K 7 АЛ | $33499 idis К 7 sna vivaz ямуа з ззчваў ых Sila 5539007 7HWb С 7 sna viva | Умма “1-2 ә20814 ЧОЈУЧАМ 49 ‘INAS YOLINOW 4 3199 Ove 1МПОЭ | 092 LNNOD ОМГХМУЛ8 e Ё о ft Q ч > р | e "OH1NOO муч озал 508 Viva пай 91 sna 55ачаау пай 81-0УМ НИ 054923 8 11101:100) 90Q0H21VM пай $5знаау | N 53Н211М5 4444 — 0009 7094405 825225 YOLVYANAD O/I NVH SOWO WOU Dea t! иучооча NIVW 4 SAHOLIMS (6-1 54994) 4300230 МІОЭ кало“) SWOM 193135 AlddnS 318V12313S - 4974 — 39Vd 092 LNNOD чамоа---- хааму1 5 + swp 13539 4 HƏLIMS чооа NIOO 084 193108н4 АЧОИЗИ цэнэ 43534 НИР | цојучамао 32012 ONAS 1V91183A the bits from ВАМ Bank 2 and the third and fourth clock pulses, the bits from RAM Bank 3. Function SRL occurs at a 1 MHz rate, loading sets of four bits into the shift register. The 6 MHz clock shifts the sets of bits out prior to the next load. The Color RAM Address Multiplexer passes 4-bit sets from the Video Shift Re- gisters to the color RAM. The color ВАМ is а 16 x 8-bit memory addressed by the four bits. Data stored in the color RAM selects a color for a pixel. The content of the color RAM is set up initially, and changed during the game by the MPU. When the MPU writes to the color RAM, function E5 (Enable 5 Not) is produced to select MPU address bits AO through A3 through the address multi- plexer, and the state of MPU data bits DO through D3 are written into the de- sired color RAM location. The 8-bit output from the color RAM is applied to the video D-to-A driver. Three bits define seven intensities for the Red gun, three bits for seven intensities of the Green gun, and the remaining two bits for three intensities of the Blue gun. The Monitor Sync Generator decodes video outputs from the Video Address Bus to produce horizontal and vertical sync pulses for the Color Monitor. The Horizontal Blanking circuit also decodes Video Address Bus outputs to blank the Color Monitor at the left and right edges of the screen. The Video RAM cor- responding to these areas are available to the MPU for "scratchpad" RAM, and the horizontal blanking overlaps the internal Color Monitor horizontal retrace blanking to prevent display on the Color Monitor. The program is able to determine the vertical position of the scan on the screen at any time by reading the Vertical Count Buffer. Function E7*PSÓ (Enable 7 Not AND Page Select 0 Not) latch the higher order Video Address Bus bits onto the MPU data bus for reading. In addition, when the trace reaches the bottom of the screen, count 240 is de- coded from the Video Address Bus and applied to an I/O (Input/Output) port on the ROM Board to produce an MPU Interrupt. Also, Video Address Bit All is ap- plied to the I/O port on the ROM Board to produce a 4 mSec Interrupt. The Page О decoder is provided with Page О select functions from the ROM Board and MPU Address leads and enables MPU access to the Interface Board I/O, the Vertical Count Buffer, CMOS RAM, and the color RAM. The MPU reads and writes to the Interface Board and CMOS RAM, reads the Vertical Count Buffer, and writes to the color RAM. The CMOS RAM is provided with standby battery power to maintain audit informa- tion and game adjustments. The CMOS RAM provides 256 4-bit memory locations. Audit information stored in the lower half of the memory, is written to as a part of game operation, and is read from as part of the high score signature at- tract mode. Game adjustments are stored in the upper half, and during game operation are only read. А "memory protect" switch is held closed when the coin door is closed to provide the Memory Protect function. This prevents writing to the upper half of the memory when the coin door is closed. With the coin door open, writing to the upper half is allowed so that changes to adjustments can be made. Pages are selected by writing to 000916 with data to select one of up to 10 pages. Address decoding provides chip-selects for the ROMs, for the inputs, and PIA. The ROM Board PIA scans coin door switches and provides outputs to the Sound Board. This PIA also provides outputs for the diagnostic LEDs. The 4 mSec and Count 240 functions from the CPU/Video Board produce interrupts to the MPU. The Model Interface Board accepts inputs from player panel switches through a PIA. The Page Й Decoder on the CPU/Video Board provides a select-input for the PIA. 7/8 SECTION 3 DETAILED THEORY RESET CIRCUIT (Figure 3-1) The Reset Circuit ensures orderly start-up and recovery of the game by forcing a reset in response to any of the following situations: 1. Power-up (Unit is turned on or power failure has ended). 2. Power-down (Unit is turned off or power failure has occurred). 3. Reset pushbutton on CPU/Video board is depressed. 4. Low line or power supply voltage. A Reset causes the MPU to start at the proper memory location, disables the CMOS RAM until the MPU is stable, forces all PIA ports to inputs, and synchronizes both the Video Address Generator and the 6MHz clock with the E clock. Two signals are used for the Reset function: RESET (Reset Not), and CR (Clocked Reset Not). The RESET pulse width (approximately 1 second) is determined by the RC time constant В2/С1 CR is clocked high after RESET goes high by the next rising edge of the E IUE. ensuring that the Video Address Generdtok and 6MHz divider are synchronized with the E clock when CR goes high. When power is applied, Cl begins to charge through R2. At this point tran- sistors 04, 05, 01, & Q2 are all off. This allows R10 to pull RESET low, as- serting the reset function. Since the CL (Clear Not) input of the data ЕБИ which generates CR is tied to RESET, its 0 output is forced low, asserting CR. As the charge on Cl reaches approximately 0.9 VDC, 01 is biased on through КІ and R3. This has no immediate effect, but enables Q2, which will be turned on later. Cl continues to charge, and at approximately 3.0 VDC biases on 04. Аз 04 begins to conduct, it pulls its collector current through R4 and R6, increas- ing the voltage drop across these resistors. When the voltage drop across R6 increases to 0.7 VDC, Q5 is biased on and starts to pull RESET toward +5 VDC. Since Ql was turned on earlier, t ter of Q2, causing Q2 to turn on as the voltage on RESET rises. Once Q2 turns on, its collector draws current through R17, increasing the base current of Q5. At this point Q2 and Q5 continue to increase each other's base drive until both transistors are saturated, latching each other in this condition. The purpose дл x ДЧ а гъ ч а Ба" nere is a curren path to ground fr +5V +5V +5V +5V UNREG. 0. IVDC +3. /VDC(+5VDC) 0//,0/2, REF +4.3VDC(5.0VDC) 04 ZR2 R4, R6, RIZ Q5 | RG R2 R64 pO 22K +5V 22K 22K 6.8У 244403 ZENER dy +0.7VDC +5у d % Н 012, RES c 2.7K 4-4.8VDC R4 R9 Q4 оп : R55 2.7K — s 3k "M Y2N440I RI ока; C R65 |4 ZR2, R66 0-10,50-13,60-1,60- - +0.2VDC AJ R30, R31 T NAAG IOK FROM E8Q 06, 07 , EN РЕ GENERATOR 58 P За — = 2.2K 47K Ss ЭРХЭТ 23.4VDC(OV) олирс “ЎЎ +5V +5.0VDC(OV) or OZ = ОЗ,О!//, PI, SWI 13 RESET| 05, #10 Q3 234401 СК TO CLOCK GENERATOR 8 — VIDEO ADDRESS GENERATOR RESET TO MPU RESET GATE & CMOS RAM TO РТА'$ ON ROM & LEGEND: 1. VOLTAGES IN PARENTHESES TAKEN WITH RESET SWITCH DEPRESSED. INTERFACE BOARDS. 2. COMPONENT REFERENCE DESIGNATIONS UNDER VOLTAGE READINGS ARE PROBABLE DEFECTS IF VOLTAGE IS ABNORMAL. Figure 3-1. Reset Circuit of this latch is to provide a fast transition of RESET from its asserted (low) state to its negated (high) state. With RESET high, CR will go high at the next rising edge of E clock, which clocks the high present at the D input of the data latch out to the Q output. Depressing Reset switch, SWl, shorts the charge on Cl to ground. This turns off both Q1 and Q4. When Q1 turns off it breaks the emitter circuit of Q2, forcing it off and breaking the 02/05 latch effect. Since neither Q2 or 04 is supplying base drive to Q5, it turns off, allowing RESET to be pulled low by R10, forcing CR low. When the Reset button is released, Cl begins to charge again. From this point, the circuit operates as described in the power-up sequence. The power-down sequence 16 triggered by either the +12 VDC unregulated supply or the +5 VDC regulated supply dropping below acceptable limits. Since the oper- ation of the sensing circuits is similar, only the +12 VDC sensor is described. During normal circuit operation, ZR2 is biased on, but is operated close to its turn-off point by R66. Some of the current flowing through ZR2 also flows through R65, biasing 012 on. The collector of 012 pulls the base of 011 down to 0.1 VDC, forcing 011 off. When a power-down (or voltage drop) occurs, ZR2 stops conducting as the supply voltage drops. This removes the base bias of Q12, turning it off and allowing R64 to bias 011 back on. This has the same effect as pushing the RESET button, shorting the charge on Cl to ground, thereby asserting reset outputs RESET and . CR. WATCHDOG CIRCUIT (Figure 3-2) The Watchdog Circuit is a timer which resets the MPU if it is not cleared at least once every 133 mSec. То clear the watchdog timer, the MPU writes а specific data byte (3816 or 3916) into address C3FF,¢ with page 0 selected. The game program is designed to perform this clear operation reg- ularly, ensuring that the watchdog will not reset the MPU during normal operation. Noise transients and other problems will sometimes cause an MPU to jump out of the normal program sequence. ТЕ this happens the MPU will often misinterpret MPU MPU ADDRESS DATA BUS BUS INDICATES MPU INDICATES FAULTY LOCKUP MPU, ROM, OR RAM Ме Ed тереп» В: jesse ИШИ Ep Гү! NC E № >[33us Q3 5 "a 8 4 WDR s TO MPU RESET GATE FROM COLOR : RAM ADDRESS Гэ WDFF (С010) 3 NOTE: DECODE LOGIC TO DISABLE WATCHDOG RESET, CUT PAD & GROUND INPUT TO 3D GATE. TO RESTORE CIRCUIT REMOVE GROUND AND FLOW FROM VIDEO = SOLDER ACROSS PAD. ADDRESS COUNTER Figure 3-2. Watchdog Circuit 10 instructions and data, causing it to become stuck in a continuous program loop which has nothing to do with the real intent of the program. Because it is "caught in a loop", the MPU will not clear the watchdog timer, and after 133 mSec, the watchdog circuit issues a WDR (Watchdog Reset Not) pulse to the MPU reset gate. The MPU is forced to reset and begin proper program execution. Function WDFF (Watchdog Flip-Flop) from the color RAM address decode logic is gated with the MPU Address and Data bits as shown. The output of gate ØD goes low when the MPU writes 3816 or 3416 into ad- dress C3FF,¢ with Page 0 selected. This signal is inverted to clear the Watchdog timer 3C. The timer counts vertical scans from the Video Address Generator Circuit parallel-load pulse at inverter IJ pin 10. ТЕ the counter is allowed to count eight vertical scans (133 mSec) without being cleared, its Q4 output will go high, causing WDR to go low, to force an MPU reset. Note that there is a special pad shown which may be broken, and one side grounded in order to disable the Watchdog circuit. This may be necessary to зллл чај pu ЧЕ ру ра зал ^ troupiesnoot certain pro he W ^ “а ‘ircuit гереа MPU (Figure 3-3) The MPU (Microprocessor Unit) address and data busses, and the R/W (Read/Write Not) control signal are buffered because the number of devices loading them would exceed the drive capability of the MPU chip. R29 R28 «827 7 R25 DI3 015 4.7K 4.7K 4.7K Vcc 4.7K NMI 2 |— ао HALT — (4 (NOTE I) (NOTE г) Ој мм! HALT O R ж ис — ыы ag PI aon отсо шин | ME Е 7а Са О ПОНИ RESET 6 БИШИ! (МОТЕ 2) [> <] FROM RESET CIRCUIT <] Е A FROM E & Q GENERATOR 12 85:В 2H (NOTE |) < Єр МОТЕ5: І. HALT 8 BS *ВА ARE USED ОМ LATER MODELS WITH ОМА ONLY. 2. NMI a FIRQ PROVIDED BY SOME CONTROL PANEL iNTERFACE MODELS. НЭЭ 4 E2 E4 GND ibi 8 MPU R/W MPU ADDRESS BUS MPU DATA BUS Figure 3-3. MPU 11 The buffers driving the address and R/W lines are uni-directional, transmitting signals from the MPU outputs to the bus. The data bus buffers are bi-directional, transmitting data from the bus to the MPU when R/W is high, and from the MPU to the data bus when R/W is low. R/W is also used by memory de- vices and other peripheral devices during data transfers. During normal operation the buffers are continuously enabled. When a DMA (Direct Memory Access) controller 18 used, (on later games), the MPU may allow it to drive the busses and R/W control line by asserting BA. This disables the buffers, effectively disconnecting the MPU from the address and data busses, and R/W. The DMA device is then notified by signal BS*BA that it may use the bus- ses. Four inputs to the MPU (HALT, NMI, ТВО, FIRQ) are pulled high by resistors (R25, R27, R28, & R29) to ensure that they are not active unless pulled low by a peri- pheral device. А low on the HALT input causes the MPU to enter a halt state, disable its bus buffers and allow the busses to be controlled by another device. At this point BA and BS are asserted: (BA*BS). As stated above, this output is used on later games with a DMA controller. NMI; FIRQ; and IRQ are interrupt inputs. Asserting any of these signals causes the MPU to finish its current instruction, save the status of the program being executed, and execute an interrupt service routine. NMI and FIRQ are not used in early-model games. ТВО is supplied by the IRQÀ and IRQB outputs (4 mSec and Count 240 interrupt respectively) of the ROM board PIA. The E and Q inputs to the MPU are both 4 MHz clock signals, with the Q leading E by 90°. A timing diagram of these signals may be found in the E and О Generator paragraph. Clamping diodes 12 through D15 prevent the MPU E and 0 inputs from being driven more than 0.7 VDC above +5VDC or below ground. The MPU reset gate (5F) allows the MPU to be reset by either WDR or RESET. CLOCK GENERATOR (Figure 3-4) The Clock Generator Circuit provides three basic clock frequencies from which all system timing is derived. The 12 MHz clock is divided by two to obtain a 6 MHz clock, and by three to obtain a 4 MHz clock. The 12 Mhz source is a two-inverter crystal oscillator with a third inverter to buffer its output. It is inverted once more to become 12 MHz for the Video RAM timing circuit, and 12 MHz is then inverted to provide a delayed 12 MHz clock for a latch section of 4B. The 4B latch supplying 6 MHz is connected in the toggle mode, with the D input driven by the Q output. The output (6 MHz) changes states on the rising edge of the 12 MHz clock, providing an output of one half the clock pulse input frequency. The S input is driven by CR, forcing Q to a logic zero as long as CR is low. CR goes high in synchronization with the E clock signal. The 6 MHz output always starts from a logic zero and is in sync with the E clock. Two JK flip-flops (4C) are configured as a divide-by-three counter. Since the К inputs are tied high, the flip-flops toggle when the J input is high during a high clock pulse. ТЕ the J input is low during the clock pulse the flip-flop will perform a clear operation (Q = 0, 0 з 1). With the J inputs wired to Q and Q outputs as shown, the circuit has 3 stable states as shown in the timing dia- gram. The output pulse rate is an asymmetrical 4 MHz. To obtain a 505 duty-cycle, the pulse at 4C-6 is used to clear a D latch section of 4B. The rising edge of 12 MHz following this pulse clocks the high at the D input to the Q output, producing a 4 MHz, 502 duty-cycle clock as shown in the 12 i2MHz JU UU UU UU TO VIDEO ADDRESS 4MHz GENERATOR & TO ROM [> BOARD (FOR USE ON LATER MODELS ) 4MHz _ ТО E&Q GENERATOR 8 L> VIDEO SHIFT REGISTERS 3B 3B 3B 3B 74LS04 74LS04 74LS04 74LS04 72 MHz СЗ z с> VIDEO RAM TIMING CIRCUIT | 2 3 аа 5 [р> „6 EE: 12 MHz т c yt Га - R48 R7I 2.2K 2.2К С2 ЇЇ TO VIDEO L> SHIFT REGISTERS Figure 3-4. Clock Generator timing diagram. The Q output provides a 4 MHz signal which is 180? out of phase with the О output. Note that the 12 Mhz clock used here is delayed to com- pensate for the propagation delay of the 4C flip-flops. GENERATOR (Figure 3-5) The E & Q Generator supplies two overlapping clock signals necessary to the operation of the MPU. These clocks are called E and Q. They are both 1 MHz, 507 duty-cycle, and Q leads E by 90? (250 nSec). Since the MPU accesses memory only when the E clock is high, E is also used by some of the memory decoding cir- cuits, the Video RAM timing circuit, and synchronizes the 6 MHz clock and the Video Address generator. The E and Q Generator consists of three D-type latches. The first flip-flop has its Q output wired to its D input causing it to toggle on the rising edge of the 4 MHz clock. The first flip-flop is wired in the toggle mode with its D input tied to its О output. This produces а 2 MHz output at the Q and 0 terminals of this flip-flip. The 2 MHz signal clocks a second flip-flop, also wired in the toggle mode, causing a 1 MHz square wave to appear at its О output. This is the Q clock signal. The third flip-flop has its D input tied to the О clock signal, causing its 0 output (the E clock signal) to follow the Q clock. Because this flip-flop is clocked by the 2 MHz signal, it is clocked 90° later than the flip-flop provi- ding the 0 clock, causing E to lag 0 Бу 90°. See the timing diagram in Figure 3—5. 13 60-10 ( POWER-ON RESET) | > R52 2R56 4.7K $4.7K TO MPU, VIDEO RAM TIMING, DECODING CIRCUIT, 8 POWER ОМ RESET FROM Е CLOCK GENERATOR | Figure 3-5. Е AND О GENERATOR Video Address Generator (Figure 3-6) The Video Address Generator supplies the 14 address-bit which scans the entire Video RAM 60 times each second, reading out pixel codes to the Video Shift Re- gisters. When power is first applied to the system, the Reset circuit asserts CR (Clocked Reset Not), clearing the four 9316 type counters (2L, 2N, 20, and 20) which generate the Video Address. Function CR is synchronized with the 1 MHz E clock. The generator is a 16-bit binary counter with the most-significant 14 bits used as the Video Address bus. The two least-significant bits of the counter generate a carry to VAO once every 4 counts of the 4 MHz clock, causing VAO to toggle at a 1 MHz rate, hence incrementing (adding 1 to) the video ad- dress once every microsecond. The least-significant 4-bit counter stage (IC-2L) is continuously enabled by pulling its CEP and CET inputs high, allowing it to count the 4 MHz clock whenever CR is high. The parallel inputs for preloading the counter are not used and are grounded. The PE input is disabled by tying it high. When this first state reaches its terminal count (all Q outputs high), output TC enables the CEP inputs of the three most-significant counter stages. The CET input of the second 4-bit stage (2N) is pulled high, allowing it to count a 4 MHz clock pulse every time the TC output of the first stage is high. (А high TC output indicates a carry from that stage on the next clock pulse). The second and third 4-bit stages (2N and 20) enable the CET inputs of the next stages in the same manner, causing each stage to count only on a carry from the previous st- age, and since all stages are clocked by the same 4 MHz signal, all outputs change on the same clock pulse. When the last video address (16,383,109) is reached, all pixel codes in the Video RAM have been read out to the screen, and the Video Address Generator is ready to reset to count О оп the next clock pulse. Since the video address is incremented once per microsecond, the elapsed time from video address zero to video address 16,3831( is approximately 16.4 mSec. 14 +5V +5V +5V +5V R42 R43 ЕК2! R22 4.7K 4.7K 4.7K 4.7K |= E TP ps к=з. = БЕИШЕН 8 (ОНЕ НЕ сэн |l, ШЕ!!! h LUE АЦ ЭМА Ро Р Ра P3 РЕН шин СЕР Би. А 9316 ЭЕ аа aN d 9316 20 9316 СЕР 20 е" А Qi 0203 TC Вг а СР дыы Qo аа aN d тс d : ј ы ТС СЕТ СР Qo Qj 9203 TC 2 1141131121!! a РЕН Й 2 14113 P сі «а «| | + g g7 = a Ни зз А MR Eds (VAIN) 3C-13 (WATCHDOG CIRCUIT) 7 бт el КӨ Se | (285 -> |а Aus 5Н-5 2М-15 | ар. 16.6ms f+ 250ms | Я 80 | | 25-6 20-15 —ll_250ns Figure 3-6. Video Address Generator At this count, the TC output from stage 2Q latches a high at the 5H output. This is gated with the TC outputs from stages 2L and 2Q to produce a low to the PE inputs of stages 20 and 2Q. The next clock pulse preloads these counters to 16,12810 and counting, continuing until 16,38310 is reached a second time, = — гы ~ AUT ~ Ё Од 3A. ~ m~m L ~ гэ mM aar *Y increases the counting time to approximately 16.6 mSec. When TC from 2Q goes high the second time, a low is latched at the output of 5H. The following clock pulse advances the counter to all zeroes. The CL input of the latch is connected to VA13, and as VA13 goes low, the latch (5H) is cleared to provide a parallel load at the next full count. VIDEO RAM CONTROL (Figure 3-7) The Video RAM Control Circuit allows sequential MPU addressing of the three 10K video RAM banks. With eight low-order MPU Address Bus bits applied to the RAM, the high-order bits access a PROM for generation of psuedo-address bus and bank-enable signals. MPU adddress bits A8 through А15 are applied to decoder PROM 1G and appropriate PA8 through PA13 (Pseudo-Address) bits are produced at the DO through D5 out- | puts. Bits рб and D7 provide a bank-select code. MPU Address bits А14 and А15 are gated to produce a low enable function for all addresses below С000. (For addresses СООО through FFFF, both Al4 and A15 are high and MPU access to the RAM is inhibited). | With both the D6 and D7 PROM outputs low, l-of-4 decoder 2F produces a low YO enable signal for RAM Bank 1. A high D6 and low D7 produce a low YI enable signal for RAM Bank 2; А low Рб and high D7 produce а low Y2 enable for RAM Bank 3. The case of both bits high producing a low SMC (Special Multiplex Con- trol Not) is not implemented in the systen. 15 FROM Е 8 О GENERATOR МРО ene FROM VIDEO RAM TIMING FROM MPU MUX | = TO VIDEO RAM ADDRESS MULTIPLEXER : R/w* c TO CMOS RAM 8 | Ж COLOR ВАМ ADDRESS DECODER i24.122 ЯГ SMC | 124 > TO VI RAM K Я ag 1) оп до віць 16 Dep АВ All З дз 512X8 ——<1 FROM MPU ADDRESS BUS ТАШ РВ ЭР за EM 0515... PAIS T A5 [4 PAI2 8, Ке) АМ 2 04 {ә | Л A6 033 РАН | В А? р2 5 23 да pilo Pagla = = «e + Е 019 РАЗ д 2 CSI CS2 GND 5 XR/W SIGNALS READ WHEN LOW, 2 o WRITE WHEN HIGH. o (OPPOSITE OF R/W) о = 5 ш (221 а. lus 500ns —э] | | | l«— 83.3ns TO VIDEO RAM Т "МЕЈ = t be T Lo | | ADDRESS —+|250nske— MULTIPLEXER | 6Е-12 a | | | | ee | REMAINS HIGH ^ — PULSES LOW WITH U ү, V Y V DURING READ WRITE OPERATION Er E2 ЕЗ МЕ | МЕ2 МЕЗ аа та с зый | TO VIDEO RAM TO VIDEO RAM DATA LATCHES Figure 3-7. Video RAM Control Function R/W (Read/Write Not) is inverted to produce a low during read which is gated with the YO, Yl, and Y2 functions. This pulses El, E2 and ЕЗ low, to en- able Video RAM data latches for Banks 1, 2, and 3. With a write operation, R/W (Read Not/Write) is gated with the E Clock and WE (Write Enable) from the Video RAM Timing Circuit to produce a low from 6F pin 12. The E Clock ensures that the function із in phase with the MPU and WE synchronizes the function to the Video RAM access timing. The low output is gated with the YO, Yl and Y2 lows to produce low WE1, WE2, and WE3 (Write Enable Not) to enable writing to the three RAM Banks. NOTE The ЗН and 4F gates connected to the ҮЗ output are associated with SMC and provide low outputs at all times (since SMC is not used in the system). This causes the 4G gates to effectively serve as inverters for the El, E2, WEl, and WE2 enables. Also, since the previously mentioned 3H and 4Е gates are locked in a low-output state because of the ҮЗ (SMC) input, the АВ and АВ inputs have no effect. The E Clock is gated to produce a low МОХ 1 (Multiplex 1) enabling MPU RAM ac- cess. For addresses from СООО to FFFF, А14 апа А15 inhibit MUX 1. The inverted R/W function is applied to the CMOS RAM and to the Color RAM Address Decoder. 16 VIDEO RAM TIMING (Figure 3-8) The Video RAM Timing Circuit uses the 12 MHz and E and Q clocks to produce the timing required for access to the Video RAM. The timing for multiplexing seven memory address bits at a time and latching them into the RAMs is required. In addition, a load pulse is produced every microsecond for shift registers that forward video information toward the Color Monitor. The E and Q clocks are applied to Exclusive-OR gate 4D; which provides a high output when one, and only one, input is high. А low output occurs if both inputs are high or both are low. The result is a 2 MHz square wave that is clocked into a 3K data latch section at 12 MHz. . The Q output is then clocked into the second 3K latch section to provide the 2 MHz MUX 0 signal. Clocking through the latches provides the phase relationship needed to multiplex the 14 video address bits into two groups of seven memory address bits for RAM rows and columns (and MPU/Pseudo-Address bits into two groups). When MUX O is low, row address bits are selected; when it is high, column address bits are selected. NOTE МОХ 0 is used in conjunction with МОХ 1 from the Video RAM Control Circuit. When the MPU is addressing the RAM any address below C000, and during the high state of the E clock, MUX 1 is low, selecting the two groups of MPU and pseudo-address bits. When the E clock is low, MUX 1 is high, selecting the two groups of video address bits. When the MPU is accessing memory locations from СООО through FFFF, MUX 1 is high, regardless of the state of the E clock. During such MPU cycles, vídeo address bits are selected and the RAM is accessed; however, the data read from the RAMs remains isolated from the video shift register and the MPU data bus. 45V 4:5V АЗ! R32 3.3K 47K TO VIDEO ADDRESS MULTIPLEXER | 13 = Q aa s ips Ек E = : : S Q Q S — TO VIDEO RAM | 3К | E | 741574 741574 ЕВОМ 40 “з 2 E 2 -18 2 Er WE TO VIDEO RAM кши) e иь Эн. L^ CONTROL CP СР C FROM CLOCK 12 MHz c sup TO НЕТ REGISTER = е ERO ро GF ~~ (SR) LOAD CONTROL GENERATOR 7410 P & SR CLOCK INHIBIT FLIP-FLOP чи је 83.3ns (2 MHz ane TO VIDEO RAM & б 5 5 | 5 г. VIDEO RAM DATA : 500ns LATCH / BUFFERS — le-250ns ür „Ло Ке чт 7. + 0) 26008 абаз. LO T LT LITI МЕ Гг = [41.6 ns > |250 пѕ шин гу Г ] | | Г — 1L БЧГ = le 250ns —> 333ns - — је 16 7п$ №1255 $ = 250ns > № 41.615 ОЕ 207 ee Оо 581 | I ещ. | Figure 3-8. Video RAM Timing 17 Outputs of the ЗК latches are gated to produce RAS (Row Address Select Not). Ав this function goes low (always during the low state of MUX 0, row addresses are latched into RAM. The 12 MHz clock is inverted to delay the 2 MHz signal from the second 3K latch by approximately 42 mSec, producing CAS (Column Address Select Not) and WE (Write Enable) signals. As function CAS goes low (always during the high state of MUX 1), column address bits are latched into RAM. The high state of WE causes the Video RAM Control Circuit to produce write-enable signals to the Video RAM during the MPU write operation to the Video RAM. The Q Clock, function WE, and RAS are gated to produce function SRL (Shift Register Load Not). This function pulses low every microsecond to load data from the RAM into the shift register. VIDEO RAM ADDRESS MULTIPLEXER (Figure 3-9) This circuit multiplexes 14 video address bits; 6 MPU, and 6 pseudo-address bits, seven bits at a time, to provide row and column RAM memory address bits. Video, MPU, and pseudo-address bits are applied through multiplexer chips and | selected with proper timing for the Video апа MPU systems. Access is . with the video system reading and refreshing the screen, the MPU system writ- ў ing to define the Color Monitor display, апа reading/writing from/to the portions of RAM that are off-screen and used for scratchpad memory. The multi- plexer circuit consists of four dual 4-to-1 multiplexers. With MUX O and MUX 1 both low, РАЗ through PA13 and AO (applied to the IO inputs of 3L, ЗК, 30, and Q3) are placed on the МАЙ through MA6 memory address bus. When function RAS (Row Address Select Not) goes low, MAO through MA6 are detected into the RAMs. When MUX O goes high, MPU address bits Al through A7 are placed on the MAO through MA6 bus, and then latched into RAM when CAS (Column Address Select Not) goes low. This completes the addressing cycle for MPU access. When МОХ 1 goes high, video address bits VAO through VA6 (MUX О low) and VA7 through VA13 (MUX O high) are selected and latched into RAM by the falling edges of RAS and CAS. 18 RAS гга гі |442 п ЕВОМ МОХ O VIDEO RAM TIMING MUX | FROM VIDEO RAM CONTROL A3 vag LI. | РАТ! (2 5 @ ©) wn 2 Ш a та O 79) A d «ч oc о © O а р = (ёд) о а. ш о > АРЕ [8 MEMORY ADDRESS BUS — | qe-250ns Sp Жер ШШ рк ИШЕ арек ӨШ с = [+ 12513 —> 500ns І. 1 НЕ та го ТТ ы Ра 167015 Figure 3-9. Video RAM Address Multiplexer 19 VIDEO RAM (Figures 3-10А and 3-10B.) The Video RAM is provided by 3 banks of eight 16К-Ъу-1 bit RAM chips. Seven ad- dress inputs on a memory address bus are used to access the memory locations. During video system access, the data outputs are loaded in shift registers to provide video information for the monitor. During MPU read operations, data is placed on the MPU data bus; during MPU write, MPU data from the MPU data bus is written into the RAM. RAM Banks 1 and 2 are depicted in Figure 3-10A and RAM Bank 3 in 3-10B. КАМ Bank 3 differs from RAM Banks 1 and 2 only in that data bits and write-enable functions for MPU write operations are supplied through the multiplexers. The state of the multiplex-select signal is always high, so Bank 3 is functionally identical to Banks 1 and 2. Because of this similarity, most of the discussion will be provided for Bank 1. For an MPU read operation, row addresses are placed on the MAO through MA6 bus and the falling edge of RAS (Row Address Select Not) latches the row address into the RAM. Next, column addresses are placed on the bus and the falling edge of CAS (Column Address Select Not) latches the column address bits. Data is read out of all three RAM Banks. The rising edge of RÁS clocks the RAM Bank Data Bus/bits D10 through D17, D20 through D27, and D30 through D37 into data buffers. Function El (Enable 1 Not) from the Video RAM Control circuit is then applied to the OE (Output Enable) input of data buffer АК, placing the Bank APT ITT Data Bus bits 10 through D17 onto the MPU Data Bus. For an MPU write operation to Bank 1, the three RAM Banks are accessed as де5- cribed for the read operation and data is read from Banks 2 and 3 onto the Data Bus bits 020 through 027 and D30 through 037. The Video RAM Control Circuit provides WEI (Write Enable 1 Not) and the MPU Data Bus DO through D7 is written into RAM Bank 1. For an operation concerning Bank 3, the Dl, D2, D5, and D6 data bit inputs to multiplexer chips (6H) and the write-enable (WE3) input to multiplexer chip (6G) are permanently selected. This makes Bank 3 functionally identical to Banks 1 and 2. The two D3 and 27 data bit inputs, and the two Write-Enable-Not signals (МЕТ, WE2) are never selected. With a high SMC, data bits Dl and D2 are presented to RAMs 6M and 6N, respectively. In likewise fashion data bits D5 and D6 are presented to RAMs 60 and 6R. The МЕЗ (Write-Enable-Not) signal is presented through multiplexer chip 6G to the write-enable inputs of RAMs 6M, 6N, 6Q, and 6R. Function WE3 is connected directly to the write-enable inputs of RAMs 6L, 60, 6P, and 6S. Video system access to the RAM is the same as described for MPU access except that neither El nor WEl is produced. Instead, the Video RAM Timing Circuit causes the three RAM Bank Data Busses to be loaded into shift registers. Note that during MPU access time, when the MPU is accessing addresses above RAM C0001g-FFFFig, the video address bus accesses the RAM, but the RAM Bank Data Busses are ignored since El, 1, and the Video RAM Timing Circuit load signal are all inactive. 20 (с pue т Sxueg) WVA O9PIA "УОТ-С әхп814 Ыд— < Jose УЧ ‘SANV Н108 OL NOWWOO яаж озал моч» 3HV 10-00 9 ‘ЭМИ – OVW “г ANV8 ЧОУ ЭЧҮ S3S3H -LN3HVd NI SNOILVN9IS3Q "е “9115 38V Мүн ллу “е "оајно МУН ллу NO SNid 3AVS 3H1 01 836508 3HV 9VW-OVMW “І : 534 ОМ 503151930 LAHS ОО 9. — | 508 viva (2) | NNV8 WVY ОЗО!Л 2 2 vi iq ea 22222202222222 аа ALAS ID AAD ALP LI IL II TAD I EE ES (220) гла (£2Q) 610 30 (Ога) ога К мы мм мм (22а) да А -- ОЗ WOYS TT su pem WV (ега) $14 t2cS' v4 (924) 910 (IS) Ab CEP DD DD ЫЙ EM A MALAVIDA ATID LD (8440) 910 (92а) 910 24 Ф (120) 210 р Зя? чзхалацлпи aS “ХХ N 683маду иуч sng 553маау оза!л WOH АЧОИЗИ EM 26: 155 (929) GIG (12а) ла мсж 21 FROM VIDEO RAM ADDRESS SHIFT REGISTERS TO VIDEO ручы аа ALLL | 5 К a ч б e ge 8 — n? + M © MEN. + К e S P 83 N да © | E эо = Ñ Ч ~ wo + го a = о се“ w 5 4 8 2 Bl Ў al 8 ОЕ 2- ЗЕ 5 842 2 ш Sra 4 D У УУ AAS SAAS o. “еі кас хэ VPM IS Ll IAD VAT D34 14 2 aM 2. ^ КЕ га М Е S D35 хосоо B хо хас 036 052 LOD OTT IMAG AI IED III 037 ш - o 2 5 MO d or o | a > > на а ква ана LI 22222 | MEMORY ADDRESS BUS хааа ыз Vp PEPE PIS CAS p,nAS p SMC аг А [ Л id = 4 = | ao В rz > © Ч Оо Oo ы 5 шо roz > ск п ДО = ас > > Figure 3-10B. Video RAM (Bank 3) VIDEO SHIFT REGISTERS (Figure 3-11) The Video Shift Registers convert the 24-11пе RAM Bank Data Bus into a 4-bit serial data flow. With information for six pixels (picture elements) on the RAM Bank Data Bus, a load pulse from the Video RAM Timing Circuit places the information into the shift registers and the 6 MHz clock shifts it out to the Color RAM Address Multiplexer. When function SRL (Shift Register Load Not) goes low, the RAM Bank Data Busses are loaded into the shift registers. Function SRL also sets the 6E latch section to produce а high clock inhibit. The D14 through D17 bits loaded into the H inputs of the shift registers are available at the QH outputs. The rising edge of the 4 MHz clock clears the 6E latch to permit the following rising edge of the 6 MHz clock to shift the 1010 through D13 bits, loaded into С of the shift register, to the QH output. The following four 6 MHz rising edges, clock the D24 through D27, D20 through D23, D34 through D37, and D30 through D33 data bits to the ОН output. After 1 microsecond, a new SRL pulse is produced to load the new data available from the next video system RAM access. This process eated as a part of normal game operation. FROM VIDEO .RAM BANKS 1-3 SERIAL O > DATA BUS BANK | SERIAL | L TO COLOR RAM ADDRESS MULTIPLEXER SERIAL 2 В». SERIAL 3 > [t— — 105—0 = SRL — < 41.6 п ігі Га Гг 4MH SU LPU LPL ГІ О SRL е 6 MHz Cr (25 по МЕМОВУ 5 >t Тышы ЕКОМ CLOCK GENERATOR Figure 3-11. Video Shift Registers 23 COLOR RAM CIRCUIT (Figure 3-12) The Color RAM is accessible to the MPU for storing data to define available col- ors for presentation on the Color Monitor. The circuit continuously accepts four lines of serial address information from the Video Shift Registers to ac- cess the color RAM and places the data out for digital-to-analog conversion to drive the red, green, and blue color guns of the Monitor. During intervals be- tween horizontal traces when the serial information represents data from scratchpad RAM, a blanking signal inhibits the drive to the Color Monitor guns. Functions R/W (Read Not/Write), PSO (Page Select 0 Not) from the Page Select Decoder (inverted to be PSO), and the E Clock are gated to provide a high to 5F and 5G gates. Function E5 (Enable 5 Not), which corresponds to address C00016 and MPU address bit A4 are gated with this high to produce a high WDFF (Watchdog-Flip-Flop) for address 001016 or a low WCR (Write Color RAM Not) for address C00016. WDFF is applied to the Watchdog Timer. Function E5 is applied to the color RAM address multiplexer to select MPU ad- dress bits AO through АЗ. RAMs 1C and 10 are addressed with the low WCR, and the state of the MPU Data Bus bits DO through D7 is written into the addressed location. CONTROL LOGIC & 3 5] 5Е 46 Е WDFF (coio) _ ТО COLOR RAM ep WATCHDOG CIRCUIT FROM VIDEO... wR * RAM CONTROL | ЕВОМЕ Ва Е = 2| sr үд бЕМЕВАТОВ i3| 7411 ЕВОМ РАСЕ Р505 6 | > О БЕ SELECT DECODER L7" SE 2981 13 А ей ES 4 13 FROM PAGE m 740 ро“ ЕЭ: О DECODER BLANKING FROM HORIZONTAL [> BLANKING MPU ADDRESS BUS R33 36 Q7 680 284405 E RI5 RI3 R58 RED 5600 93300 ?2?!.ОкК | > SERIAL O SERIAL | VIDEO SHIFT REGISTERS TO VIDEO O DECODER SIREN m MONITOR O DECODER ж W/R SIGNALS READ WHEN LOW, WRITE WHEN HIGH. (OPPOSITE OF R/W) 2 Figure 3-12. Color RAM Circuit 24 With E5 high, Serials 0, 1, 2, and 3 are passed through the 2I multiplexer to RAMs 11, and 10 for reading. Data Output bits DOO, DOl, and 1002 from RAM 1L are applied to a D-to-A converter for the red gun. With all three bits high, 07 is cut off and no red gun drive is provided. А low DOO forward biases D2 to turn on Q7 for minimum red gun drive. Том outputs on DOO, 1001, and 102, and com- binations of the three outputs forward bias D2, D6, and D8 for seven different intensity levels of red gun drive. The green gun circuit is similar, using the 11, 03 and 10 DOO and 1001 outputs. The blue gun circuit accepts the 10 D02 and ПОЗ outputs to provide no blue gun drive with both outputs high and three intensity levels with either one or both outputs low. During the intervals that the data on the serial busses represent scratchpad RAM, the BLANKING function goes high and cuts off Q10. This removes power from Q7, Q8, and Q9 and no drive is provided to the Color Monitor guns. / TM ee. 125 DATAR «mm 2 MONITOR SYNC GENERATOR (Figure 5-13) LIVINLLVIN OL Horizontal and Vertical sync pulse timing is derived from the video address bus, which advances to the next video address (1l count) every microsecond. The first Horizontal Sync pulse after the game is turned on starts at video address count 56, or 56 uSec after the Video Address Generator begins counting. Horizontal Sync is a 4 uSec pulse which occurs once every 64 uSec at the 56th video address count (count 55) of each 64 count horizontal line. Vertical ad- dresses УАЗ, VA4 and VA5 are high, and VA2 low, at horizontal count 55 of each line, causing horizontal sync to be asserted. When the horizontal count reaches 60, VA2 goes high, ending the horizontal sync pulse. The Vertical Sync pulse is a 0.77 mSec pulse that occurs every 16.6 mSec. VAO9 through VA13 are gated to produce a high vertical sync at vertical count 248. The pulse ends when the Video Address Counter reaches the all-zero count. IIRA IP ^ ADDRESS 16.64ms Ч |= 2.3ms | VAS 13 VERT. i VAIO | 2 Іг SYNC... MONITOR (6.6 т5 > | 0.77ms | шэг 2222-02-25. лавы Бр МА12 10| 2R | IVAIS 9] 7411 VAI3 9 си вв je- JL STL R ар VAS 5 HORIZ. VA4 4 6 SYNC. УАЗ ИН > MONITOR МАг _ З Уо? MONITOR SYNC. GENERATION Figure 3-13 Monitor Sync Generator 25 BLANKING CIRCUIT (Figure 3-14) This circuit is used to disable the video output to the Color Monitor when the memory section (scratchpad memory) outside the limits of the Color Monitor Screen is being used. Using video address bits VAO, VA2, УА2, and VA5, as inputs to a quad-input NAND gate contained in IC35, the blanking signal is activated (set high) when the video address bits are all high. This pulse remains high for 14 microseconds: the time it takes for address bits VAO, VAl, and VA5 to reach the proper states to cause pin 8 of IC35 to go low. During this 14 microsecond period, the blanking key signal present at pin 6 of IC35 changes states nine times. Both the blanking and blanking key signals then remain in ineffective states for a period of 50 microseconds. After this the entire cycle is repeated. VIDEO ADDRESS BUS VAS ШЕ 4 уда HIG 2 35 6 5 : VA2 H4 148, р 25 g BLANKING TO VAO HI С Б> VIDEO 2 4| 7400 DRIVERS МАО НІ 9 Е VAI нг lO] 35 8 | 228 эс 217420 P 13 Н1/4-32 . A | Май шин екше Sus¢— 53у ә | Ц 18 35-6 4 H32 шин 22252251 | 5045 | sous» Figure 3-14. Blanking Circuit BLANKING PAGE O DECODER (Figure 3-15) The Page O Decoder generates enable signals for MPU access of the color RAM, CMOS RAM, Vertical Count Buffer, and Interface Board PIA when Page О is selected. Function PSÓ (Page Select О Not) is asserted as long as Page 0 is selected, and PE*PSO is asserted when the MPU accesses Page Selectable Memory (СООО through CFFF) with Page 0 selected. When the MPU accesses Page Selectable Memory (С000 through CFFF) with Page 0 selected, PSO and РЕ-Р50 are both asserted, enabling one-of-four decoder 2E. With A10 and All as inputs, each decoder output corresponds to a 1K segment of the page, and is asserted (low) whenever the MPU accesses an address within that 1К segment. The address shown on each output of the 74139 is the starting address of the 1К segment for which that output will be asserted. Function IPIA is an active high signal and is generated by using a 7427 NOR gate as a negative-logic NAND gate (output is high only when all inputs are low). Note that additional address decoding for the Interface Board PIA is provided on the Interface Board. 26 ЕВОМ РАСЕ SELECT DECODER ( PSO | ІРІА INTERFACE 3 Гэр РТА ЕМАВГЕ VERTICAL _„ COUNT BUFFER FROM L^ A Зай ENABLE F6 CMS [^ ENABLE ES COLOR > ENABLE Figure 3-15. Page 0 Decoder CMOS RAM (Figure 3-16) The CMOS RAM has a standby power supply (Bl, B2, B3) to save critical data while main power is off, and a memory protect circuit gating its R/W (Read/Write Not) input to protect the upper 128 locations from being changed while the coin door is closed. When the coin door is open, the data in the upper 128 locations of the CMOS RAM may be changed. When the coin door interface switch is closed, a low is applied to inverter lJ, causing the MP (Memory Protect) signal to go high. Function MP will be low anytime the coin door switch is open or disconnected. Function MP is gated with MPU address bit A/ to produce a WI (Write Inhibit) signal which is asserted anytime the coin door is closed and the MPU is addressing any location from С600ү, to С7ЕЕ16. Function WI is gated with the MPU R/W line to provide the CMOS RAM with a R/W signal which will not go low (write) for any of the upper 128 locations (C600 through C7FF) while the coin door is closed. When the coin door is open, MP is negated and no write signal is inhibited. If the MPU is ad- dressing one of the lower 128 locations (С400]6 through C5FFj6), A7 will be low and a write signal is not inhibited at any time. Two chip-enable inputs (CEl, CE2) must be asserted to access the RAM chip. Function CE2 is asserted by RESET, which is high during normal operation. СЕ1 is asserted when both Еб and Р5Й are asserted, enabling the CMOS RAM for а data transfer when the MPU addresses any location from 0400 to C7FF with Page f +5V 011 145817 DIO IN414g BS НН 15У. (5У 15ү 14 COIN DOOR WRITE 2 PROTECTION SWITCH - ae (HELD CLOSED WHEN Ын FROM MPU С» COIN DOOR IS CLOSED) Ril 1) 4.7K 7404 МРЏ Xx W/R SIGNALS ARE REAC WHEN oe LOW, WRITE WHEN HIGH (OPPOSITE OF R/W) MPU ADDRESS BUS Figure 3-16. CMOS RAM 27 selected. Which of the 256 RAM locations gets accessed is determined Бу МРЏ address bits AO through A7. The RAM output buffers are disabled (tri-stated) by R/W when the MPU writes data to the RAM, and enabled when the MPU reads the RAM, thus allowing the RAM input and output bits to be tied together to the bi-directional MPU Data Bus with no drive conflicts. Data-transfers occur over MPU Data Bus bits DO through D3, bits р4-р7 are ignored. Diodes D10 and 111 form a switch that connects the CMOS RAM and gate ІК to the higher of the two supply voltages. When main power is on, current flows through Dll from the +5 power supply and D10 is reverse biased, isolating the standby batteries from the circuit. When the main power is turned off (or fails), and the +5VDC supply drops, 010 begins to conduct as its cathode reaches ./VDC below its anode, and holds the RAM Усс at 3.8 VDC. The +5VDC supply continues to drop to OV, causing D11 to become reverse biased and isolating the +5VDC supply line from the standby supply. When the 45V supply has dropped to approximately 4.75 VDC the Reset circuit as- serts CR, negating the CE2 input of the RAM and disabling any data transfers un- til the main power is on and stabilized. IC 1К and resistor R12 are also con- nected to the standby supply in order to prevent the R/W input of the RAM from going low (write mode) with power off. VERTICAL COUNT BUFFER (Figure 3-17) This buffer provides the program the ability to determine the vertical position of the scan on the monitor. When this circuit is accessed, the high-order 6 bits of the Video Address Bus are placed onto the MPU Data Bus. When the MPU reads from address СВОО, the Page 0 Decoder provides a low E7 (Enable 7 Not). Function Е7 is gated with а low PSO (Page Select 0 Not) from the ROM Board to place a low on the enable inputs of buffer 2K. Video address bits VA8 through VA13 are then placed on MPU Data Bus bits D2 through D7. FROM PAGE SE Ёо DECODER SELECT DECODER L2 2202 4Е FROM PAGE О p E, 91 7432 DECODER Figure 3-17. Vertical Count Buffer COUNT 240 (Figure 3-18) COUNT 240 produces an interrupt for the MPU indicating that the scan is at the bottom of the screen. COUNT 240 is applied to the PIA on the RAM Board to produce an interrupt for the MPU. When the video address reaches 15,36010 (Vertical Count 240), VA10 through VA13 are all high, causing COUNT 240 to go high. Since VA10 through VA13 remain high for all video addresses above 15,35910, COUNT 240 will be asserted for approximately 1.3 mSec (until the video address reaches maximum and starts again at zero). Since the screen is "scanned" or "refreshed" 60 times per second, COUNT 240 occurs at a 16.6 mSec rate. 28 VIDEO ADDRESS BUS -9|16.6т5 + BS EMEN ES — le |. 3ms COUNT 240 VAIO 12 VATI BÍ зв VAI? 9] УА 12 З 2 TO ROM m» TNE : ВОАВО РТА Figure 3-18. Count 240 ROM BOARD MEMORY SCHEME (Figure 3-19) The ROM board in the DEFENDER game contains the main game program. Figure 4-1 shows a typical pair of memory devices used on the ROM board. The main game program requires that there be 4K memory locations present in or between ICl and 1С4, IC2 and IC5, ТСЗ and ТСб to contain memory sections labeled D, E, and Е. ТЕ ICl is a 2K memory device, then ТСА must be a 2K memory device also to provide the necessary memory locations. When the memory section (D, E, or F) is split this way, the Upper/Lower ROM Decoder LE (Lower-Half Enable Not) is con- nected to pin 18 (CS2: Chip Select 2 Not) of 161 and the Upper/Lower ROM Decoder UE (Upper-Half Enable Not) connected to pin 18 (CS2) of ТСА. These signals select the memory section half (DOOO or D800). | While the memory section half is being selected,the ROM/Page Decoder selects the memory section by supplying a CS1 (Chip Select 1 Not) signal to pin 20 of each memory IC (ІСІ and ICA) of the section (D) selected. Note that jumpers Wl and W4 must be added when ICl and 104 are 2K memory de- vices. These jumpers are needed to make the pin 20 С51 connection common to both ICs and to connect the UE signal as required. FROM PAGE SELECT DECODER 1С13-7 А FROM ROM/PAGE DECODER ICI5-5 г» 299? = MAIN PROGRAM ГЕ IK LOWER HALF ко сы с ла 1С7-2| ЕВОМ 1С10-21 UPPER/LOWER | M RA UE ROM DECODER | орг Е ОВА. PAGE ENABLE PLE WS ў Вас уду 029 ом! d LOWER HALF AIO I9 LW2 6 Alo 19 А9 2? csal2! A9 22 17 07 AB 23 А е реј A7 1. А6 2 A6 0815 05 А6 2 6 05 А5 31, 041904 A5 З] 0000/2К 54 A4 4 да ај, OOK s A8 5 A3 5 A2 6l |o р A2 6] > 9 ро АО 8 АО 8 MPU ADDRESS BUS MPU DATA BUS Figure 3-19. ROM Board Memory Scheme 29 When 1С1 is a АК device, ТСА can be used to hold extra game features. Іп this case, pin 18 of ICl is address-bit 11 of the input address, and pin 18 of ICA becomes the input for the PLE (Page enable lower half not) signal through jumper W3 from the Upper/Lower ROM Decoder. Also, pin 20 of IC4 is independent of ТС1 pin 20, and 15 connected to the Page Select Decoder through jumper W2. Table 4-1 shows the two versions of DEFENDER currently available. Note that only version 2 has need for jumpers М2 and W4. TABLE 4-1 DEFENDER MEMORY SECTION VERSION VERSION О ЕЕЕ а ае а: a 1 aK 2K D000 D000 2 4K 4K E000 E000 3 4K 4K F000 F000 4 - 2K - D800 5 а - - - 6 2K 2K с000/75 | c000/7* 7 2K 2K C000/3* | C000/3* 8 2K 2K с000/28 | с000/2% 9 2K 2K C000/1* | С000/15 10 2K 2K C800/3* | C800/3* 11 2K 2K C800/2* | С800/2Ж 12 ж | 2K C800/1* | C800/1* * Memory Section/Page ICs 6 through 12 contain memory block C000, and all pages thereof. Note that CS 3 (Pin 21) of each IC is tied high through resistor КІ, R2, or ЕЗ so that input is always enabled. SECTION/PAGE SELECT DECODER (Figure 3-20) This decoder provides page-enable signals PSO through PS9 using MPU data bits DO, D1, D2, and D3. These four bits are BCD input signals to 1С17, which, when clocked, presents these bits to pins 15, 14, 13, and 12 of IC13, a BCD-to- Decimal converter. 1С17 is clocked when pin 10 goes low. This occurs whenever the E clock, R/W input from the MPU, and the memory section D enable signal (Yl of IC15) all go low. ICl13 then provides an enable signal to 1 of 10 possible pages selected by the BCD input. Memory section selections are made by 1015 and MPU address bits 15, 14, 13, and 12. Address bits 12 and 13 provide the selection input, and bits 14 and 15 (which activate once the address is above ВЕКЕ) provide a clock pulse from pin 8 of 1С18 when both bits are high. If memory section E000 through EFFF is selected, and the MPU R/W signal goes low, the EDMA (Direct Memory Access Ena ble) sícnal is produced by IC14 and IC19. When page zero is selected by IC13 (PSO),. and memory section С is selected by IC15 (PE), Pin 11 of IC16 goes low, effectively producing PE*PSÓ for input to the page zero decoder on the CPU/Video Board. 30 +5 +5V е5 2 шү D [^ (е) V o со -0 wn N VVVVVVVVVV SELECTS І OF 10 PAGES TO APPEAR AT СООО THROUGH CFFF. PAGE O CONTAINS COLOR RAM, СМО5 RAM, VERTICAL COUNT BUFFER, AND PIA. PAGES | THROUGH 9 CONTAIN ROM ONLY. -0 22) o "U 21) on +5V ЇЇ ON С16 О.О1МЕО =) | 2 4 FROM Е 8 Q GENERATOR | > Е FROM MPU| > ш -0 0 № 2 U e О TO PAGE О DECODER 23 (CPU/VIDEO BOARD) C000 1 ENABLES SELECTED PAGE Ng Е E sel : GENERE ажилах с ЕООО ~ +5V C20 eae Ici9 - . 7404 = TO DMA (LATER MODELS ONLY) TO PAGE O DECODER (CPU/ VIDEO BOARD) PE 1С14-2 1С14-4 1С15-5 SECTION / PAGE SELECT DECODER Figure 3-20. Section/Page Select Decoder ROM SECTION/HALF DECODER (Figure 3-21) This decoder uses the eleventh MPU address bit (All) and the MPU R/W signal to determine the memory section half to be used by the main program. Also, the page-enable (PE) signal from the Section/Page Decoder is gated with the section half-enable signal to produce a page-enable signal for the memory section half that is used. | When address bit All is low, IC19 presents a high to pin 5 of IC18. Then, when the R/W signal is high, the output of IC18 (pin 6) is a low (LE), enabling the lower half of the memory section selected. This signal is then gated with the PE signal through 1014, and when both inputs are low the output of ICl4 (Pin 6) provides a low (PLE), which is the page-enable signal for the lower half of the memory section. When address bit All is high and the MPU R/W signal is high, the pin 3 output of ТС18 is a low (UE), enabling the upper half of the memory section selected. This signal is then gated through 1014 as above to produce, at pin 3, (PUE), the page enable signal for the upper half of the memory section selected. ICI9 ТЕ МАІМ PROGRAM 7404 LOWER HALF OF 4K SECTION FROM MPU ү. ADDRESS BUS PAGE ENABLE LOWER HALF OF 4K SECTION MAIN PROGRAM UPPER HALF OF 4K SECTION PUF PAGE ENABLE UPPER HALF OF 4K SECTION FROM MPU [> PAGE ENABLE FROM ROM/PAGE ЇР DECODER Figure 3-21. ROM Section/Half Decoder 31 ROM BOARD PIA/DECODER (Figures 3-22 & 3-23) The PIA decoder uses inputs from the MPU address bus and the Section/Page De- coder. Address bits А10 and А11 are applied to pins 14 and 13 of ТС15 ге- spectively. А low output at Pin 9 (ҮЗ) is produced when А10 and А11 are both high (СС00) and PE (Page-Enable-Not) from the Section/Page Decoder is low. This ҮЗ output is then gated with MPU address bit АА and PSO (Page Select Zero Not) from the Section/Page Decoder to produce RPIA (ROM PIA) (address СС10). Address bits A2, АЗ, and АА are inverted through ТС19 and then gated with ҮЗ through IC20 to produce the RDMA (ROM Direct Memory Access) signal. The A2 output of IC19 is gated through IC20, and applied to pin 24 of IC22 (CS1). The RPIA output of IC20 is applied to Pin 22 of IC22 (CSO). MPU address bit A3 is applied to Pin 23 of IC22 (CS2). Data bits O through 7 on the MPU Data Bus are used for, inputs from/outputs to, the coin door switches and sound module. Peripheral register A is used for coin door data and register B is used for sound module control. The program peri- odically reads register A and writes to register B to request sounds. Inputs СА1, CA2, and CBl from the Count 240 circuit, the coin door slam switch, and function УА11 from the video address generator. The negative-to-positive transition of any of these inputs cause ТВОА & B (Interrupt Request Not) to go low. The MPU then reads the PIA to determine which input occurred. The CB2 lead is incorporated to provide "handshake" between the MPU chip on the Sound Board; this handshake is not implemented in DEFENDER. MPU address bits AO and АІ are applied to Pins 35 and 36 of IC22 for Register select zero and Register select one (RSO and RS1) controls. The R/W signal from the MPU is applied to Pin 21 of IC22 and controls the direction of data flow through the PIA. The E input at Pin 25 of IC22 is the clock source for the chip. The Reset circuit input to the PIA at Pin 34 is used to clear the РТА registers when the game is being reset. 45V 6 __ FROM SECTION/PAGE | PSO C Tico SELECT DECODER L— ШЕЗРЕТ А4 Баш > : 8 A RPIA ЕН 6 (CCO | Биш О [ TO ROM BOARD РТА FROM MPU 5 ADDRESS BUS | ёй с20 FROM SECTION/PAGE — PAGE ENABLE ий SELECT DECODER з |! OOIMFD = ICI9 2 в ЋОМА T 7404 9 е 5 6 45V ICI9 = А2 4 3 23534 A2 FROM MPU ОМ MEI. | 5 m №. г» TO ROM BOARD РТА (1С22) E ICI9 обімро іа 7404 кА “е IO x USED ON LATER MODELS ONLY. 7 ROM BOARD PIA DECODER Figure 22. ROM PIA Address Decoder 32 ТО MPU< | зне FROM RESET CIRCUIT | > RESET FROM E & О GENERATOR | > == FROM МРИ | > Ш ҒКОМ МРЏ ADDRESS BUS FROM L į? ROM BOARD RPIA PIA DECODER (12 FROM VIDEO НЫ 4 mSEC (МАА1) ADDRESS GENERATOR COUNT 240 FROM COUNT 240 GATE я лм ММ чәч: тм. NI PPS мы l Pd Figure 23. +5V | OF 4 DIAGNOSTIC LED OUTPUTS sone | > OUTPUTS < | | INPUT TO/FROM х SOUND MODULE 47ОрЁ |47ОрЕ алк = = < | FROM COIN DOOR SWITCHES +5V | INPUT FROM | | COIN DOOR SWITCHES [торе 470pF 3€ THIS INPUT IS PROVIDED FOR SOUND MODULE BUSY 1: STATUS, USED ON LATER MODELS. ROM Board PIA INTERFACE BOARD ASSEMBLY (Figure 3-24) Chip ТС1, a РТА, is used to interface player switches with game circuits. Data Bus bits O through / are used to connect the inputs to the MPU. R/W signal controls the direction of data flow. through IC4 and applied to Pin 22 (CSO) of ІСІ. to Pin 24, 081. The Pin 23, CS2. RSL (ROM Select 1); respectively. Cd vo , it input ic viL CULE арч LO FROM RESET CIRCUIT [ > Rese m FROM E&Q GENERATOR | > z R/W FROM MPU > TO/FROM MPU MPU DATA BUS 1 АО FROM MPU Al ADDRESS BUS | L> is A2 ІРІА «12 FROM PAGE О DECODER T С 14049 FROM MPU ADDRESS BUS [> АЗ „рефе Figure 24. MPU The MPU MPU address bit A3 is inverted MPU address bit A2 is applied IPIA signal from the Page О Decoder is inverted through ТСА and applied to MPU address bits AO and Al are applied to RSO (ROM Select 0) and The E clock is used to clock ICl, and the Re- at Pin 34. + 5\ CI b IW = 0.OIMFD] 20 Мес Зар |. ВЕЗЕТ ТВОА R 25 IRQB CAI NO CA2 CONNECTION = bu 45V CB2 4.7K 36 14049 | РАО-7 | OF 16 INPUTS ээ © OF © ®— FROM PLAYER 24 CONTROL SWITCHES (IC2) (9 USED ON DEFENDER) 23 (тсз) Јаторео 22 | (IC4) =u Interface Board Assembly 33 POWER SUPPLY +5VDC Regulated, + 12,-12VDC Unregulated Supplies (Figure 3-25) A transformer secondary provides a nominal 21.4VAC referenced to a center-tapped ground to 471. The AC is fused and applied across bridge rectifier BRI. A nominal -14.8 VDC (measured at TP3) is filtered by C6 and applied through 4J2 to the Sound Board for audio amplifier power. Similarly, a nominal +12.8 VDC (measured at TP2) is filtered by C12 and applied through 4J2 to the CPU/Video and Sound Board. The unregulated +12 VDC is applied to a power-on reset circuit on the CPU Board and provides amplifier power and an input to a 5-volt regulator on the Sound Board. One leg of the AC input is applied to a voltage doubler consisting of C2-C3 and D2-D3 to provide a nominal +27.4VDC to regulator ICl. Resistor Rl and R2. provide the voltage reference of 5.1VDC at ІС1-5; the values are critical. The V output at ІС1-10 is applied to the base of the 2N6057 series regulator and the unregulated +12VDC to the collector to produce 5.1VDC (measured at ТР1) which is applied through 4J2 to the CPU/Video, ROM, and (via the CPU/Video Board) the Interface Board. With an increase of the +5VDC load, the drop across Кб would be greater and the output would tend to decrease. The voltage fed back to ICl-4 (inverting input) causes the voltage at ІС1-10 to go more positive to maintain the +5.1 VDC output Similarly, a decrease in the load causes the IC1-10 voltage to go less positive. The voltage divider consisting of R5 and R13 senses output current and at ap- proximately 5A, applies a current limiting bias at IC1-2, dropping the ІС1-10 voltage. ТЕ the load approaches approximately 6.2A, foldback current limiting occurs and the current through R6 is limited to approximately 1.3А. Therefore, a low voltage output with approximately 200mV dropped across R6 is an indica- tion of an overload on one of the logic boards (CPU/Video, ROM, or Interface). Resistor R/ aids in the foldback current limiting and diode Dl provides tem- perature compensation for the current limiting. LED 1 conducts through R16 to provide an indication of output voltage. Note, however, that should a circuit fault cause a high or low voltage, LED 1 may still be lit. р3 +12VDC c3 + 144001 nE дай UNREGULATED 25V 02 144001 Там ТР! 7-5./VDC 50V O +5VDC 2/4VAC R6 REGULATED Fe 20 5% TASB 54 2 4J2-12,13,14,15 <<“ 475,6 = 3 BRI (е) ТР2 +/2.800С ТРЗ (9) -/4.8VDC 28 MFD 4J2-7,8,9, 10, 11 У ТРЫ _ UNREGULATED 4J2-4 Figure 3-25. +5VDC Regulated, +12,-12VDC Unregulated Supplies 34 +27VDC Unregulated and +12VDC Regulated Supplies (Figure 3-26 A nominal 20.9VAC from a transformer secondary is applied through 4J1 where it is fused and applied across bridge rectifier BR2. A nominal +26.6VDC is filtered by C13 and applied out 4J3 for power to the coin lockout relay. The +26.6VDC is also applied to regulator IC2 and pass transistor Ql. The 12.1VDC output (measured at ТРА) is applied through 4J2 to RAMs on the CPU/Video Board. The voltage divider consisting of R9 and R10 provides both a reference voltage and feedback to the inverting input at IC2-4. The V output at IC2-10 is applied to the base of 01, establishing +12.1VDC at TP4. With an increase of the load on the +12VDC, the voltage at IC2-4 tends to go less positive which increases the voltage at IC2-10 to maintain the output voltage. Similarly, a decrease in the load causes the IC2-10 voltage to decrease. The voltage divider consisting of К11 and R13 sets a current limiting bias of approximately 1A. Should the load increase to approximately 1.3A, foldback cur- rent limiting goes into effect and the voltage at ІС1-10 is dropped to a level to allow only approximated 50 mA of current through Ql. Therefore, a low volt- RIA 4 n pe I ^ pm 1 „ФЕ tT ~ m m ma a TIE. L^ i t age output with approximately l5mV dropped ac overload on the CPU/Video Board. ^ Aas an 4 dication of сч D LL BLL „АР СЕА A aL Resistor R8 provides temperature compensation. LED 2 conducts through R17 to provide an indication of output voltage. Note, however, that should a circuit fault cause a high or low voltage, LED 2 may still be lit. SS 4J3-6 +27VDC 26.6 VDC UNREGULATED | У 4J3-3 7 /2.3VDC 1847 млдр 2М3075 22: 4-/2./ VDC (9) REGULATED Са ^ | 4J2-3 КЗ 2) 5% ЗҮ ЕЗ А.С. 4ASB 2 4/2.9VDC 209VAC | > 2 2 Т 4401-8 v4 у R9 17 "voli NA 4.99К ја 4 1% ° (-) BR2 (+) +7200С е LIK 2% о 5% | => V REF CL 2 +/.8 VDC ЧАС сїз [+ | > +/.6VDC 401-9 3 ACRON св +jc7 ќи O.IMFD | IOOMFD LED г 50V |25V GND [D Figure 3-26. +2/VDC Unregulated and +12VDC Regulated Supplies 35 -5УрС Regulated, 6.3VAC Supplies (Figure 3-27) A nominal 9.1VAC from a transformer secondary is applied to 431. One line is fused and the two lines are applied out 4J3 for general illumination power. On cocktail table games, jumper Wl is open and R15 drops the AC voltage to a nominal 6.3VAC. Оп upright games, jumper Wl shorts R15 and a dropping resistor on the power panel lowers the AC voltage. À separate fuse is in one line and the two lines are applied across bridge rectifier BR3. A nominal 10.4VDC is produced and filtered by C14. Те Q2 voltage regulator provides a -5, + or -0.2VDC output (regulation to within 50mV) to RAMs on the CPU/Video Board. The regulator incorporates internal current limiting and will drop the output voltage to -1.1VDC with a short-circuited load. LED 3 conducts through R18 to provide an indication of output voltage. Note, however, that should a fault cause a high or low voltage, LED 3 may still be lit. A.C. 9. МАС lASB 5 [> Ama 441-11 | GND A.C. СІІ [CIO LED 3 OV O.IMFD ap 43-12 бу | 50V (OV 1Р5 ГЖ -5урс Ф :2К REGULATED Е : ЭР 5% = -10.4 VDC ВВ wr LED 3 4J2-1 F5 = 2 47100 боп = 6.3VAC m i / : | » "Vw C pose 6.3VAC 403-1 Figure 3-27. -5VDC Regulated, 6.3УАС Supplies 36