United States Patent (19) 11) Patent Number: 4,475,172 Frederiksen (45) Date of Patent: Oct. 2, 1984 54 AUDIO/VISUAL HOME COMPUTER AND 3,659,284 4/1972 Rusch . GAME APPARATUS 3,659,285 4/1972 Baer et al. . 3,685,039 8/972 Flanagan . 75 Inventor: Jeffrey E. Frederiksen, Arlington 3,716,842 2/1973 Belady et al. . Heights, Ill. 3,725,563 4/1973 Woycechowsky . 73) Assignee: Bally Manufacturing Corporation, 3,728,840 4/1973 Baer . Chicago, Ill. 3,736,411 5/1973 Berndt . 3,747,087 7/1973 Harrison et al. . (21) Appl. No.: 274,864 3,760,375 9/1973 Irwin et al. . (List continued on next page.) (22 Filed: Jun. 18, 1981 OTHER PUBLICATIONS Related U.S. Application Data 60 Division of Ser. No. 910,964, May 30, 1978, Pat. No. “Illustrations of Computer Powers", Computers and 4,301,503, which is a continuation-in-part of Ser. No. Automation, Sep. 1954, vol. 3, No. 7, p. 26. 812,662, Jul. 5, 1977, Pat. No. 4,296,930, which is a "On the Demonstration of High-Speed Digital Com continuation of Ser. No. 635,406, Nov. 26, 1975, aban puters," Bauer, et al., Tour of the Assoc. for Computing doned. Machinery, vol. 1, No. 4, Oct. 1954, pp. 177-182. Computers and Automation, Feb. 1957, vol. 6, No. 2, 51) Int. Cl. ................................................ G06F 3/16 8-9. 52 U.S. C. .................................................... 364/900 Design and Use of Electronic Analogue Comput 58 Field of Search ............... 340/723, 724, 725, 726, ers", Gilbert, 1964, pp. 471-473. 340/727; 364/200, 900; 84/DIG. 6, DIG. 8, “Electronic Information Displays for Management,' DIG. 23 Howard, 1966, pp. 22, 33-35, 47. 56) References Cited "Looking Ahead," Lachenbruch, TV Guide, Apr. 13, 1968, pp. 8-12. U.S. PATENT DOCUMENTS Software Newsletter, vol. II, Apr. 1969, of Systems Re. 28,507 8/1975 Rauch et al. . Engineering Laboratories, Title page and Preceding Re. 28,598 10/1975 Baer et al. . page. 1,180,470 6/1959 Feyzeau et al. . "Games Computers Play," Popular Science, Oct. 1970, 2,455,922 12/1948 Goldsmith et al. . p. 44. 2,595,646 5/1952. Doba et al. . (List continued on next page.) 2,847,661 8/1958 Althouse . 3,017,625 1/1962 Evans et al. . 3,046,676 7/1962 Hermann et al. . Primary Examiner-Thomas M. Heckler 3,122,607 2/1964 Balding . Attorney, Agent, or Firm-Welsh & Katz, Ltd. 3,135,815 6/1964 Spiegel . 3,345,458 10/1967 Cole et al. . 57 ABSTRACT 3,388,391 6/1968 Clark . 3,422,420 1/1969 Clark . A home computer system provides a video processor 3,435,136 3/1969 Bachmann et al. . for use with a television receiver. The video processor 3,462,639 8/1969 French . can selectively perform a variety of modifications to 3,497,760 2/1970 Kiesling . pixel data under the direction of the CPU of the com 3,569,617 3/1971 Allen et al. . puter system before the pixel data is stored in a random 3,577, 30 5/1971 Rice et al. . 3,583,538 6/1971 Hurley . access memory to effectively increase the speed or data 3,585,628 6/1971 Harrison . handling power of the system. 3,631,457 12/1971 Hamada et al. . 3,657,716 4/1972 Ambrico . 24 Claims, 168 Drawing Figures 4,475,172 Page 2 U.S. PATENT DOCUMENTS n-Dimensional Hyper Objects', Comm. of the ACM., 3,766,313 10/1973 Carlson et al. . vol. 10, 8/67. 3,774,669 11/1973 Ariano et al. . Kolb, E.R., "Computer Printing Forecast for the 70's", 3,778,058 12/1973 Rausch. Datamation, 12/1/70. 3,789,200 1/1974 Childress et al. . 3,793,483 2/1974 Bushnell . Andersson, P. L., "Phototypesetting-A Quiet Revolu 3,809,395 1/1974 Allison et al. . tion', Datamation, 12/1/70, 3,809,868 5/1974 VillaLobo et al. . Bonsiepe, G., “A Method of Quantifying Order in Ty 3,812,485 5/1974 Moreton . pographic Design", The Journ. of Typographic Re 3,822,363 7/1974 Moyer et al. . search, 7/68. 3,826,864 7/1974 Paufve . Sutherland, I. E., et al., "A Characterization of Ten 3,872,446 3/1975 Chambers . Hidden-Surface Algorithms', Computing Surveys, vol. 3,874,669 4/1975 Ariano et al. . 6, 3/74. 3,895,183 7/1975 Collier . Bell Lab Record, vol. 47, 5 & 6/69. 3,899,662 8/1975 Kreeger et al. . Newell, M. E., et al., "A Solution to the Hidden Surface 3,906, 197 9/1975 Grover . 3,911,597 10/1975 Millard et al. . Problem", Proceedings of ACM Nat. Conf, 1972. 3,921,161 11/1975 Baer . Gelernter, H. L., et al., "An Advanced Com 3,936,664 2/1976 Sato . puter-Based Nuclear Physics Data Acquisition Sys 3,949,375 4/1976 Ciarlo . tem,' Nuclear Instruments and Method, 9/67. 3,955,189 5/1976 Thomson . Knowlton, K. C., "A Comp. Technique for Providing 3,973,244 8/1976 Lovercheck et al. . Animated vol. 25. Movies", Proceedings AFIPS, 1964, SJCC, 3,978,470 8/1976 McQuire . 3,980,992 9/1976 Levy et al. . Ophir, D., et al., "Brad: The Brookhaven Raster Dis 3,996,585 12/1976 Hogan et al. . play', Comm. of the ACM, vol. 11, 6/68. 4,011,546 3/1977 Kawata et al. . Mermelstein, P., "Comp.-Generated Spectogram Dis 4,026,555 5/1977 Kirschner et al. . plays for On-Line Speech Research", IEEE Transac 4034,990 7/1977 Baer . tions on Audio and Electroacoustics, 3/71. 4,043,983 7/1977 Dash et al. . Denes, P. B., "Computer Graphics in Color', Bell Lab. 4,053,740 10/1977 Rosenthal . Record, vol. 52, 5/74. 4,070,710 1/1978 Sukonick et al. ................... 364/900 4,089,524 5/1978 Hauck . Noll, A. M., "Scanned-Display Computer Graphics", 4,093,221 6/1978 Dash . Comm. of the ACM, vol. 14, 3/71. 4,112,422 7/1978 Mayer et al. . Kajiya, J. T. et al., "A Randon-Access Video Frame 4,116,444 9/1978 Mayer et al. . Buffer", Proc. of the Conf. on Comp. Graphics, Pattern 4,142,180 2/1979 Burson . Recognition, and Data Struc., 5/14-16-75. 4, 177,462 12/1979 Chung . Denes, P. B., "A Scan-Type Graphics System for Inter 4,296,930 10/1981 Fredericksen . active Computing," Proc. of Conf. on Comp. Graphics, 4,301,503 11/1981 Frederiksen . Pattern Recog., and Data Struc., 5/14-16-75. OTHER PUBLICATIONS Andersson, P. L., "Phototypesetting-A Quiet Revolu "II Cybernetic Frontiers' Brand, Random House, 1974, tion,' Datamation, Dec., 1970, pp. 22-27. pp. 54-60. Noll, A. M., "Scanned Display Computer Graphics," "Space War", Kuhfeld, Analog Science Friction/. Communications 143-150. of the ACM, vol. 14, Mar, 1971, pp. Science Fact, pp. 67-79. Katjiya, J. T., Sutherland, I. E., and Cheadle, E. C., "A Gun Flight Computer Service Manual for the Midway Random Access Video Frame Buffer,' Proc. of the 8080 Microprocessor Game Series, 1976. Conf. on Comp. Graphics Pattern Recognition & Data Standardized Test Procedure for Midway's Processor Structure, May, 1975, pp. 1-6. Boards, Jul. 1976. Denes, P. B., "A Scan-Type Graphics System for Inter Marcus, A., “A Prototype Computerized Page-Design active Computing," Proc. of the Conf. on Comp. System", Visible Language, vol. 5, Summer, 1971. Graphics, Pattern Recognition & Data Structure, May, Noll, A. M., "A Computer Technique for Displaying 1975, pp. 21-24. U.S. Patent Oct. 2, 1984 Sheet 1 of 84 4,475,172 SYSTEM MODULATOR TO TV 28 CONTROL 24. BUTTON HANDLES KEYPAD EXTENDER PLUG 77 U.S. Patent Oct. 2, 1984 Sheet 3 of 84 4,475,172 2i ?i...b. HORIZONTAL COLOR BOUNDARY=x- COLOR REGISTERS 4-7 608 610 63. COLOR REGISTER 4 WERTCA BLANK LINE RAM AREA OUTLINE 5CREEN OUTLINE -296 BYTE O BYTE BYTE 2 N rhin- or solent rat CN - ON of last rent SSSSSSSSSSSSSSSSSSIs SeSSSSSSSSSSSSSSSSSSSSSSS P3 P2P Pop, Peps Papi Pops pe ORIGINAL DATA o P3 P2P Pop, Pepspa Pipio SHIFT loops P2P Pop Pepspa Pipo SHIFT 2 ooo P3 P2P Pop, Pepspa SHIFT 3 PoPIP2P3 paps PsP7 Pspsipio FLOPPED U.S. Patent Oct. 2, 1984 Sheet 4 of 84 4,475,172 -29. 8. PORT | 7 | 6 | 5 | 4 3 | 2 | | | O - BIT IOH TRG RIGHTLEFT Down up PLAYER In H TRIG RIGHTLEFT Down up PLAYER 2 12 H TRIG RIGHTLEFT Down up PLAYER 3 I3H TRIG RIGHTLEFT Down up PLAYER 4 14H = + - x + 34 KEYPAD 15h v KEYPAD 16H o 2 5 8 Ms a KEYPAD 17H cE 4 7 Mr c KEYPAD CH <------ POT-> PLAYER IDH - EHPT-EH PLAYER 2 IEH - PT - PLAYER 3 PLAYER 4 ORIGINAL ROTATED U.S. Patent Oct. 2, 1984 Sheet 5 of 84 4,475,172 29. 9. AO-A 5 Y e 66 Q) ADDRESS CHIP 56 3 MXDO - MXD7 TO DATA CHP 54 Oa1 /o chip so S DO - D7 390a 390b 390c 39tal 391b 391c. PDB4 PDB4 PDB4 PDB, -391 OF OF OF OF OF OF PO P6 P2 P P7 P3 PDBO PDBO PDBO PDB2 PDB2 PDB2 OF OF OF OF OF Of P8 P4 PO P9 P5 P. 388-7 388a 388b 388c 389a 389b 389c U.S. Patent Oct. 2, 1984 Sheet 6 of 84 4,475,172 66 ?il 10A. 38 EXTENSON PLUG 77 U.S. Patent Oct. 2, 1984 Sheet 7 of 84 4,475,172 9. -- - - - - - - - - - - - - - - - - - | | HANE2c HANDLE U.S. Patent Oct. 2, 1984 Sheet 8 of 84 4,475,172 E. 2. KEYPAD 8 U.S. Patent Oct. 2, 1984 Sheet 1 of 84 4,475,172 F S S S N s S S Li s C S. a. S. : i U.S. Patent Oct. 2, 1984 Sheet 12 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 13 Of 84 4,475,172 c S C s U.S. Patent Oct. 2, 1984 Sheet 14 of 84 4,475,172 - --- 16 U.S. Patent Oct. 2, 1984 Sheet 15 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 16 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 17 of 84 4,475,172 ORIZONA day 776 778 U.S. Patent Oct. 2, 1984 Sheet 18 of 84 4,475,172 4C. 3B. 2: 52 f 322a Y 72 162 sYSE S-156 as AYAN VV a Y Re-1155 ET 15. vis vs. ve L U.S. Patent Oct. 2, 1984 Sheet 19 of 84 4,475,172 U s S A S,Š s\ s s H VV Tes. His SH: PSHS S-Hc SHHHH SHH is PSHSHHHS I PSHS; SHSH H PSHSH AEH (bel SH: SHHSHe PSHH PS p H sts Ed SYY LEF sits TT 2al P ITT TO ECJ TTT SS as H as7 s LIT 9 r st b. a 2. 5- | RIR Tel (T1 Se. e. Af s Al U.S. Patent Oct. 2, 1984 Sheet 20 of 84 4,475,172 | 20 A A sh | || O H H. II H. H..e I 3 H H. H. S ) | II 3. 3. It i 3 do it > Y U.S. Patent Oct. 2, 1984 Sheet 21 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 22 of 84 4,475,172 $s U.S. Patent Oct. 2, 1984 Sheet 23 of 84 4,475,172 788-y 25A-C G Fitt - ". T The se o s S.788g L P. P E 788; PPPPP Hist t s IE re; t 788e i G S. Sa SPS SSS isNY K Y1 r K s b sess PPl YY R A. s s Y. 7 Fr. t S. bbl (b. S. He EHL i TL ear G. 8 s 7 n s YA XXYY w P ar Y a R t U.S. Patent Oct. 2, 1984 Sheet 25 of 84 4,475,172 2.g. 13I. d WOD A 378 37 s 335 32a V7376 bec; \ 38ga. 3800 136, MO 377a EP 3: Pippi PPP fil/?life 35 PPPPP Effi i? Haig 377b 382Fd 382ge SS bbHC debd-At ar. 7 382h PPRP bibli. I 380d 376' 377 IPDBe 38lb 38 380'sed a U.S. Patent Oct. 2, 1984 Sheet 26 of 84 4,475,172 e. raras s | cs l to ho or & s s EEEEE S wY. I g is -- ene s 9. is SN - S -as| H (N) SisiSSYY SSSSN I Sst n EEE---- LL.D. VA--OOOOO c S s s HI S. \ 898 TE a & II CN Gistics Els: ISS's H H S ES: EEES Eis Esa Pi EHLHC-4 I still a Sidi Egg r is I EHe t 'E39s. i s & S U.S. Patent Oct. 2, 1984 Sheet 27 of 84 4,475,172 2g 13K. und - EP, all T * e Alth "Til 2 IIH glos"' " Epic fi: | EEPETHE it H it." Epigoai 0 do 4th LEC III WAAA A" A W 23 302d 302. LALAL 298al 29b. 8c U.S. Patent Oct. 2, 1984 Sheet 28 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 29 of 84 4,475,172 29. 13.M. neo : O 2. El It HEhi (3 a 3. H | R. naos : |H.IFE, THE Ilirit H. III.iii HE , U.S. Patent Oct. 2, 1984 Sheet 31 of 84 4,475,172 792N 800 t2 anot 88 792a. S. 353 852 .. Dc a *792d * is G a - d.oC G t ro- 792.4 i Hill T. C 2 M 353 a yaka Ya A as -92 2-C U.S. Patent Oct. 2, 1984 Sheet 32 of 84 4,475,172 4td. 3P 3. 912 Y "I U.S. Patent Oct. 2, 1984 Sheet 33 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 34 of 84 4,475,172 A | | | |El| || Š) U.S. Patent Oct. 2, 1984 Sheet 35 of 84 4,475,172 GE 2ig13S H – Jean it ItL– I | EEEEEEEEEEEEEEEE -a-Ha. FIF | || || H H. see 2. HE 2 | III “ , IIHREE 3. hill H. EEEEEEEEEEEEEEEEEEEEPFF G s 528 L i litti o 5 C. 528al 7 d 5 € 3 U.S. Patent Oct. 2, 1984 Sheet 36 of 84 4,475,172 R TH H. so III 8 it. S 53rg : S S It' L 53de His sJL1s s it ". 53rd - iii. FERLIT 99e s L. U.S. Patent Oct. 2, 1984 Sheet 38 of 84 4,475,172 ors s k- y - --- : I O s Z i HHH - IT I he *IA A f: S) : : U.S. Patent Oct. 2, 1984 Sheet 39 of 84 4,475,172 |†| | | ||5 2g 13 W. U.S. Patent Oct. 2, 1984 Sheet 40 of 84 4,475,172 -- - |× EEEETILIT U.S. Patent Oct. 2, 1984 Sheet 43 of 84 4,475,172 eLAf 72O U.S. Patent Oct. 2, 1984 Sheet 44 of 84 4,475,172 M I Reif Av Auts P out Auf EEE Ey SA -P---A 4M ES i 2 U.S. Patent Oct. 2, 1984 Sheet 45 of 84 4,475,172 S SN SSAA32S3:38: SSNCCASSESSX (S ASSAASSAssessSAssey AbA is ERREGHT d'Abd-A-AA-2 SASA-d- y KRRCKGERKKE-HEI Assesse-elease EGTRRI SYYYYYYYYY S Eggs R. h in thin s R.AAAAA REE Afted t!!!ElliS hhhhhhhhhhh'AFCH III S.S.S. Pll See: H 2 o SS Y Ad-AA USSX J E. S) & 5 : RHP HH s N H?; IT III ?y s U.S. Patent Oct. 2, 1984 Sheet 46 of 84 4,475,172 r ada | 822 G8 , U.S. Patent Oct. 2, 1984 Sheet 47 of 84 4,475,172 < SsN S H 2 F S FAAAAAAAI -------- th r & O S. y i & 'Hea still 5's --------- EEEEEEEEEEEEES H NAREEEEEEEEt S -----------. R. R. RRR -------------------- 29 SARRS-S-I-S-S-S-S R SN v-PP CCCEECCC -- -- - - -2. He -. is st C d S1 a to-p S. S & H. FF El H = S. A H s Y S) S) U.S. Patent Oct. 2, 1984 Sheet 48 of 84 4,475,172 FIG. 3 cc : |- - - - | Fig. 3EE F.G. 5 D FIG. 45E F.G. 5F -- - - --- FiG. ------- FIG. 5H FG.5 FIG.45H, FIG 451 F G. FG, 73 I U.S. Patent Oct. 2, 1984 Sheet 49 of 84 4,475,172 A 25 bus DO 350 EDO 2g. 20. 2. 3O. U.S. Patent Oct. 2, 1984 Sheet 50 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 51 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 52 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 55 of 84 4,475,172 V it all S. R - e. a I C) h R) cy r d w V | sa t; is ig , S. U.S. Patent Oct. 2, 1 984 Sheet 56 Of 84 4,475,172 - it, III E.J.SailfiH. PC l HI III S. X- s U.S. Patent Oct. 2, 1984 Sheet 57 of 84 4,475,172 5,s III s -> H H.l * V I I U.S. Patent Oct. 2, 1984 Sheet 58 of 84 4,475,172 YS As d a P s V O it He1 S. H sX H B-8-8-8-m)-- SHIES ( H - N |iii. H2Ed1 Y o Barr-HaEHEBn-a- s SH s 1: SN DS H) S-H- NS r Qo it a rh SS, --- S N N N n S rt . . . . NS Q) o r T-S-I-S-I-S-I-S S. -- -- -- S 3 U.S. Patent Oct. 2, 1984 Sheet 59 of 84 4,475,172 SS 5 O) in 2. V L s J H| Do s y HFE III - X H w s HH I, III s S H - is II. I. He III it is sess SY II it itis 5" s EU s e ls A. | -| H f s: V H III sy r : (* o< - y w -S S is H st w HS r r S K. 3 i. Y- is5 A. - S r d st s U.S. Patent Oct. 2, 1984 Sheet 60 of 84 4,475,172 S--- w. Pl is EEE i bdaSir SS sN a of S w c. || Sso HH M B-)--be-H g --SC-85-89 of S c. sts -S lic 8-8-88--88-8-8-88-8-8-8 " - g o SS c. le sh -- SHE -8-8-8-88-9 SA || All Do T U.S. Patent Oct. 2, 1984 Sheet 61 of 84 4,475,172 s Oy te OC f o<-OX s Er, 2O lf 27 RSH Do in ||||BD 0 X (Y X 226 W 228 Al2 A3 - F als M 2ig45G. 230 U.S. Patent Oct. 2, 1984 Sheet 62 of 84 4,475,172 Do 12s2f D. In - is Heil H. U.S. Patent Oct. 2, 1984 Sheet 63 of 84 4,475,172 ?R 30 30 st 3O V sti - sli - i. f" Vav is Mus ... " . . . It ". Ma was U.S. Patent Oct. 2, 1984 Sheet 64 of 84 4,475,172 ox V I Eis r &F 3.3. 28 3. 3. . 23 12 25 P. 3, fl30 - 130 NH30 dO32 VH3a V4.3ay-434 2i d. 15J U.S. Patent Oct. 2, 1984 Sheet 65 Of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 66 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 67 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 71 of 84 4,475,172 h E. ceea .. III I ge w N I s seg or N y S r N f s N sh f f u M. A. As tas er N a fr W 8-ft sh SS is a g 3 U.S. Patent Oct. 2, 1984 Sheet 72 of 84 4 475,172 9 vig 73B 576 ..T.T. ) Jl rry || ||§E I|| | L $ L|ONE|o|H.—| I /\ EEE 1683 FF t 3 566 68O U.S. Patent Oct. 2, 1984 Sheet 73 of 84 4,475,172 . . g. In C IIIHF |SIESI SR . EFI III I ? S. t "I i. s. It N s H I H S., D H H C Cf Y SOt H H |HKI, Y is w HII w III r I W N R S. II S S. Y N H rS | V C II|| HIH hih, 3 REI Hig C. S. s U.S. Patent Oct. 2, 1984 Sheet 74 of 84 4,475,172 g H C .. s L. t t C S AAA AA AA 4 N- A S. A s spp. S-Br: E; -- -----ded H. S. Y A a Y ... a Y a sal S YY h best- SSSIs SNS. S isssssses S. ps SH$3355SSSSSSSSSSS ( W & S N decks-de-Heg N S Š S H<-Sisi S. A RS-RSA-3 GHS Sh i s yyyyyy. E|| AAFI V E" || – / 1-H Ah I CO S.N U.S. Patent Oct. 2, 1984 Sheet 75 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 76 of 84 4,475,172 66 WSS- WSS 400 | POT0 POT POT2 AenPOT3 i WSS All All s f s 1g2d K C WSS vss-r' S- s | C . . iH SS D H. . it. . is isCl D FI S CO V- it WSS II. || AW KCR Do S12 lif . Dr. s O-3 of 4. WSS WSS Ds-- tt k ins H-H 3 or 120 Ng50 H sf C H L EH - Meg |||||||| U.S. Patent Oct. 2, 1984 Sheet 77 of 84 4 475,172 () / * 8 F | HEEEEEE|EEEEEEE (…I!II!I|II!DI!LII!TTI!TIT!?TI!TI!T U.S. Patent Oct. 2, 1984 Sheet 78 of 84 4,475,172 s | r H 73 C HH | N. HES; BHHS t| an |RS sAA, P C al ss I | I A || |RSE ly |II HIE II. I F. Eli XR RR RRR titli w S f & 5 H U.S. Patent Oct. 2, 1984 Sheet 79 of 84 4,475,172 U.S. Patent Oct. 2, 1984 Sheet 80 of 84 4,475,172 H I EE EHU 1668 667 "Ios" His Hi", E EEE U.S. Patent Oct. 2, 1984 Sheet 81 of 84 4,475,172 A e S ce. S> > 2 St. s CA so CY -- s \ o s U.S. Patent Oct. 2, 1984 Sheet 82 of 84 4,475,172 l; till 586 H III IT 883 : ::::::: V 8 : |. ar. FFFFFF --------------- d-d--d--d--s 2g 73L. U.S. Patent Oct. 2, 1984 Sheet 83 of 84 4,475,172 HŒLICITITILIT ~*~FETI?IEI,, 98|6EI-II-D? H[IL}I),; () } | CIDTITÉ U.S. Patent Oct. 2, 1984 Sheet 84 of 84 4,475,172 1. 4,475,172 2 FIG. 8 is a diagram illustrating the particular data AUDIO/VISUAL, HOME COMPUTER AND GAME that can be read at a plurality of input ports; APPARATUS FIG. 9 is a block diagram of a microcycler interface employed in the system; This is a division of application Ser. No. 910,964 filed 5 FIGS. 10A and, 10B and 10C are a schematic dia May 30, 1978 now U.S. Pat. No. 4,301,503 which is a gram of the interconnections of the integrated circuit continuation-in-part of Ser. No. 812,662 filed July 5, chips of the system; 1977, U.S. Pat. No. 4,296,930, which is a continuation of FIGS. 11A-11F are a block diagram of the data chip Ser. No. 635,406, filed Nov. 26, 1975, now abandoned. of the video processor of the system; The present invention relates to computers and more 10 FIGS. 12A-12G are timing diagrams of various con particularly to home computers and game apparatus trol signals of the system for various read and write adapted for use with cathode ray tube display appara operations; tus, such as television receivers or monitors. FIGS. 13A-Z and 13AA-EE illustrate an example of Video games typically employ a television receiver a circuit implementing the block diagram of FIGS. or monitor (hereinafter often referred to as merely "tel 15 11A-F; evision') to display the game symbols and figures. Each FIG. 14 is a composite diagram illustrating the rela player usually has a control which may be manipulated tionship of FIGS. 13A-EE viewed as whole; to cause the game symbols on the screen to interact in FIGS, 15-39 are diagrams showing blocks of FIGS. accordance with the rules of the particular game being 13A-EE in greater detail. played, often under the direction of a small computer, 20 FIG. 40 illustrates the pixel data contained in regis or microcomputer. Similarly, the television may be used ters of a rotator circuit of the video processor; as a display for a computer used as a calculator. FIGS. 41-43 illustrate the relationship among con Each frame of the picture displayed on the television trol, clock and synchronization signals of the system; screen is comprised of a plurality of picture elements FIG. 44 is a block diagram of the address chip of the (pixels) which are rapidly and sequentially displayed in 25 video processor; a raster scan of the television screen. One type of video FIGS. 45A-J show a more detailed circuit of the game employs a random-access-memory (RAM) to address chip; store digital data representative of each picture element FIG. 46 illustrates a composite view of FIGS. 45A-J; to be displayed on the screen. The digital data stored in FIGS. 47–70 are diagrams showing blocks of FIGS. the RAM is read synchronously with the raster scan 30 45A-J in greater detail; ning of the picture elements of the telelvision screen. FIGS. 71A-C are block diagrams of the input/output The digital data is converted to signals suitable for the chip; television receiver or monitor and supplied to the televi FIG. 72 illustrates a circuit for the generation of an sion to define the particular pixels being displayed. A input signal; programmed microprocessor (a type of computer) may 35 FIGS. 73A-M show a more detailed circuit of the be used to update or modify the data stored in the RAM input/output chip; and hence modify the picture displayed on the televi FIG. 74 is a composite view of the FIGS. 73A-M; sion screen in response to signals transmitted from the and player controls, in accordance with the microprocessor FIGS. 75-97 are diagrams showing blocks of FIGS. program. 73A-M in greater detail. It is an object of the present invention to provide an The preferred embodiments of the present invention improved computer particularly adapted for home use are hereinafter described. In general, the system com and having the capability of performing various game prises a display for providing discrete picture elements functions as well as normal computer and calculating for presentation of movable symbols and a display mem functions. It is a further object to provide such a com 45 ory for storage of digital signals representative of pic puter that is economical to manufacture. It is a still ture elements of the display. The system further com further object to provide such a computer adapted for prises a computer having a program memory for receiv use with interchangeable program storage devices. ing digital input signals and supplying digital output These and other objects of the invention are more data signals and other digital output signals representa particularly set forth in the following detailed descrip 50 tive of picture elements in response to the input signals tion and in the accompanying drawings of which: and program memory. A video processor means is oper FIG. 1 is a perspective view of a specific embodiment atively connected to the computer and display memory of the present invention; for selectively performing a plurality of modifications FIG. 2 is a block diagram of a computer system of the to the picture element output signals from the computer embodiment of FIG. 1; 55 in response to the output data signals and also for trans FIGS. 3A and 3B are charts illustrating the memory ferring the modified picture element signals to the dis address allocations for low and high resolution alterna play memory. The video processor means is also opera tive modes of operation; tively connected to the display for supplying signals FIGS. 4A and 4B are diagrams illustrating the corre thereto in response to the digital picture element signals spondence between the memory address locations in the 60 stored in the display memory whereby the picture ele display memory with the pixels of the display screen for ments represented therein are displayed. the low and high resolution modes, respectively; The system shown in FIG. 1 comprises a computer FIG. 5 is a diagram illustrating the correspondence of console 10 having four player-operated control handles color registers 0-7 with particular display screen areas; 12a-d connected by coiled line cords 14-a-d, respec FIG. 6 is a diagram illustrating examples of modifica 65 tively, to the computer console 10. Thus, the console 10 tions performed on pixel data; can accommodate up to four players at a time. Each FIGS. 7A and 7B illustrate further examples of modi control handle has a trigger switch 16 and a top fications performed on pixel data; mounted joy-stick 17 for actuating four directional 4,475,172 4. 3 switches. The joy-stick 17 has a rotatable knob mounted The data chip 54 of the video processor 52 selectively thereon which controls a potentiometer. The console 10 performs a plurality of modifications to the pixel data further has a keypad 18 which has a plurality of keys or signals from the computer in response to the output data push-buttons such as indicated at 20, and a slot 22 for signals from the CPU. The video processor is opera receiving a removable cartridge or cassette 24 contain tively connected to the display RAM 42 and transfers ing stored programs. The console 10 further has a cas the modified or unmodified pixel data to the display sette eject button 26 for ejecting the cassette whereby memory 42 at address locations corresponding to ad the cassette 24 may be easily replaced with a different dress signals transmitted by the address chip 56. The cassette containing different programs. computer 44 transmits the address to the address chip 56 A display for presenting movable symbols is shown as 10 which relays the address to the display RAM 42. a standard color television receiver 28 which is con The video processor 52 is also operatively connected nected to the computer console 10 by a line 30. The to the TV display 28 to supply signals to the display television (TV) has a cathode ray tube screen 32 on modulated by a radio frequency (RF) modulator 58 in which a plurality of movable symbols such as the cow response to the pixel data stored in the display RAM 42. boys 36 and 38 are presented for a "Gunfight" game. 15 The address chip 56 internally generates addresses for The picture presented on the screen 32 is made up of the sequentially reading the pixel data stored in the display cowboy symbols 36, 38, and a cactus symbol 40 super RAM 42 whereby the pixels represented in the display imposed on a background each in one or more of a memory are displayed. variety of color and intensities and comprises a plurality 20 The microcycler 60 interfaces the computer 44 to a of discrete picture elements or pixels. peripheral device such as the video processor 52 and the A symbol's action is controlled in part by a control input/output chip 50. The computer provides a plural handle. For example, the cowboy 36 may be moved up, ity of address signals on a plurality of address lines, a down, left, right, up and to the left, up and to the right, plurality of data signals on a plurality of data lines, and etc., by proper movement of the joy-stick 17. The direc 25 a plurality of control signals on a plurality of control tion of the cowboy's shooting arm may be controlled by lines to the microcycler 60. The purpose of the micro rotating the potentiometer control knob of the joy-stick cycler 60 is to combine the address lines and the data 17 and the gun may be fired by pulling the trigger 16. lines from the CPU 46 into one data bus 66 to the video Should the bullet 41 strike the cowboy 38, the cowboy processor 52 and the I/O chip 50. 38 will be caused to fall by a computer system contained 30 The computer system is shown having an additional within the console 10. In addition, suitable music such input device light pen 62, which provides an additional as the "Funeral March" will be played by the computer input signal to the computer 44, The light pen 62 is through the television 28. sensitive to light and may be used as a pointer by a A shematic block diagram of the computer system of player or operator to identify points on the TV screen FIG, 1 is shown in FIG. 2 to comprise a display mem 35 32 as will be more fully explained later. ory for storage of digital signals representative of pic The illustrated apparatus is a full-color video game ture elements of the display (or pixel data) which is and buffer home computer system based on a mass-RAM technique in which two bits of the display RAM shown as a display random-access-memory (RAM) 42. The system further comprises a digital computer 44 42 are used to define the color and intensity of the pixel which is shown to include a central processing unit on the screen 32. The display RAM 42 has eight bits or (CPU) 46 which may be a microprocessor, for example, a byte at each memory address or location at which data The computer 44 has a program memory which in may be read or rewritten. In this manner, the picture on cludes a system read-only-memory (ROM) 48 and a the screen is defined by the contents of the display cassette ROM 24 connected to the CPU 46. The pro contents RAM which can be easily changed by modifiying the gram memory contains instructions to direct the CPU 45 of the display RAM. Data which defines pixels 46 and the symbols and figures stored in digital form for will be referred to as "pixel data'. the particular computer functions and games. The specific system of the illustrated embodiment The cassette ROM 24 may be easily removed by uses a Zilog z-80 microprocessor as the CPU 46 of the pressing the ejector buttom 26 (FIG. 1) and replaced by computer 44. The system ROM 48 contains software or another cassette in order to change a portion of the 50 programming for a plurality of games. The cassette program memory. This greatly enhances the flexibility ROM 24 is a solid state cassette which provides addi of the system in that a potentially endless variety of tional memory whereby additional games may be game and functions may be performed by the computer played. These ROM's also contain pixel data which represents various game figures and symbols. console 10 and TV display 28. The computer 44 is operatively connected to an in 55 The system may be operated in a high resolution or put/output (I/O) chip 50 and a video processor 52 com low resolution mode. The high resolution mode gener ates a greater number of pixels per unit screen area prising an address chip 56 and a data chip 54 through a resulting microcycler interface 60. The control handles 12a-d in a higher resolution. In both the low and and the keypad 18 are connected to the I/O chip and allocated high resolution modes, the operating system ROM 48 is provide signals in response to manipulation by the play the first 8K of memory space; that is, approxi ers or operators to the I/O chip 50. The digital com mately the first eight thousand memory addresses corre puter 44 receives the input signals from the I/O chip 50 spond to the system ROM 48 as shown in FIGS. 3A and 3B. Thus, addresses 0000-IFFF (hexadecimal) are ad in digital form and supplies digital output data signals dresses and digital pixel data signals in response to the input for the memory locations of the system ROM. signals and the program memory. The I/O chip 50 has 65 The cassette ROM 24 has the next 8K of memory space, a music processor which provides audio signals in re or memory addresses 2000-3FFF (hexadecimal), herein after "H") in both modes. The display RAM memory sponse to output data signals from the computer to play space begins at 16K or memory address location 4000H. melodies or generate noise through the TV 28, 4,475,172 6 5 In the low resolution mode, the display screen RAM bits by bits 6 and 7 shown on the left displayed first. Thus has 4K bytes; in the high resolution, 16K bytes. 6 and 7 of byte 4000 H define the pixel in the ex The CPU can transfer the pixel data of a pattern or treme upper lefthand corner of the screen area corre figure stored in either the system or cassette ROM to sponding to the display RAM. the display RAM via the video processor. As noted 5 As noted earlier, two bits are used to represent each before, the video processor may perform a variety of pixel on the screen. These two bits, along with a left/- modifications to the pixel data before it is written into right bit (which will be more fully explained later) map the display RAM. The modifications are performed by the associated pixel to one of eight different "color" what will be called a "function generator' which is together registers 0-7. Thus, two bits from the display memory located on the data chip 54 of the video processor 52. 10 with the left/right bit identify or select one of The modifications are performed by the function gener the eight different color registers. If the two bits from the display memory have the binary value 00, the color ator when the address bit A14 of the address of the data is a 0. Thus, the address of data to be modified by func register will be color register 0 or 4 depending upon the left/right bit. Similarly, bits having the binary value 01 tion generator and written into the display RAM will be select less than 21 or 3FFF H. Consequently, the address of 15 Eachregister 1 or 5 depending on the left/right bit, etc. color register is an 8-bit register for storage of the data to be modified will be between 0000 H and 3FFF H for the high resolution embodiment and be output data from the computer. The binary bits in a tween 0000 Hand OFFF H for the low. However, when selected color register define the color and intensity the data is written the system actually writes the modi characteristics of the associated pixel to be displayed on fied data in the display RAM at locations corresponding 20 the screen. The intensity of the pixel is defined by the three least significant bits of a color register, with 000 to addresses 40000-and 4FFF H for the low resolution model and 4000 H-7FFF H for the high resolution for darkest and 111 for lightest. The colors are defined model. The system distinguishes a memory read from by the 5 most significant bits. Thus each color register ROM addresses 000-1FFF H from a memory write to can define 1 of 23 intensity levels and 1 of 25 different modified data display RAM addresses 0000-1FFF by 25 colors. The CPU can change the data stored in the color registers which will cause the colors and intensities of circuitry external to the ROM and RAM chips shown in subsequent pixels displayed to also change. FIGS. 10A and B. All memory space above 32K (memory location 8000 A horizontal color boundary register defines the hori H) is available for expansion. In the low resolution zontal position of an imaginary vertical line 64 on the mode, memory addresses 5000-8000 Hare also available 30 screen 32, referring now to FIG. 5. The boundary line 64 can be positioned between any two adjacent bytes in for expansion. In the illustrated computer system, two bits of display the low resolution mode. The line is immediately to the RAM 42 are used to define a pixel on the screen. Thus, color left of the byte whose address is sent to the horizontal an 8-bit byte of the display RAM defines 4 pixels on the color boundary boundary registor. For example, if the horizontal is set at 0 by the computer, the line will screen. In the low resolution mode, 40 bytes are used to 35 define a line of data as shown in FIG. 4A. This gives a be just to the left of the byte 0 if it is set to 20, the line horizontal resolution of 160 pixels. The vertical resolu willcenter be between bytes 19 and 20 which corresponds to tion is a 102 lines. The areas 610 of the screen defined by theThe of the screen. left/right bit is an additional register identifying the display RAM 42 therefore requires 102x40=4080 bytes. More of the RAM 42 can be used for scratch pad signal supplied by the video processor in response to the by blanking the screen before the 102nd line is displayed data stored in the horizontal color boundary register. If a byte is to the left of the boundary, the left/right bit of as will be described more fully later. the four pixels associated with that byte is set to 1. The In the high resolution mode, there are 80 bytes or 320 left/right bit is set to 0 for pixels associated with a byte pixels per line as shown in FIG. 4B. The vertical resolu 45 to tion is 204 lines thus requiring 16,320 bytes of display arethe right of the boundary line 64. Color registers 0-3 RAM. This leaves 64 bytes of RAM for scratch pad the selected by a left/right bit=1, i.e., for the pixels to right of the boundary line, and registers 4-7 are memory. In both the high and low resolution modes, the first selected for the pixels to the left of the boundary. Thus, byte of the display RAM 42 (address 4000 H) corre 50 if00a11byte read from the display RAM 42 has the values 1000, and was to the right of the boundary line, sponds to the upper left and corner of the area 610 of the for example, display screen 32 defined by the display RAM. The last registers 0, 3, the four pixels will be difined by color 2, and 0, respectively. However, if the byte of the first line in the low resolution mode has address 4027 H with the last byte of the first line in the byte was line, located to the left of the horizontal color high resolution mode having address 404F H. In the 55 boundary registers 4, 7, 6, the four pixels will be defined by color and 4 respectively. low resolution mode, the highest display address (4FFF In the high resolution mode, if a value X is sent to the H) corresponds to a byte which corresponds to the horozontal color boundary register, the boundary line lower righthand corner of the screen. Thus, as the will be between bytes having addresses 2X and 2X-1 RAM addresses increase, the position on the screen associated with the addressed bytes moves in the same which corresponds to the same position on the screen as the low resolution mode but between different bytes. directions as the TV scan; from left to right and from Thus, for example, if the value 20 is sent, the boundary top to bottom. will be between 39 and 40, corresponding to the center The address chip 56 of the video processor 52 sequen of the screen. To put the entire screen, including the tially generates the addresses 4000 H to 4FFF H (7FFF rightside background, to the left of the boundary line H for the high resolution mode) as the screen is being 65 64, the horizontal color boundary line register should be scanned so that each byte defining 4 pixels is read in order to supply information necessary to display the setIftojust 44. four color registers are used, all the informa corresponding 4 pixels of the picture. The 4 pixels asso ciated with each byte are displayed with Pixel 3 defined tion necessary to generate the color and intensity of a 7 4,475,172 8 particular picture may be stored utilizing only two bits pixels are, of course, acturally elements of the picture of storage together with the color registers. However, displayed on the screen. The four pixel data values of the left/right bit and eight registers give added flexibil the first byte, byte 0, will be referred to as P0, P1, P2 ity. The color and intensity pattern of a picture stored in and P3, P0 is composed of the first two bits (or least memory may be quickly modified in one step by selec significant bits) of the byte. tive placement of the horizontal color boundary. For The shift function shifts the pixel data 0, 1, 2 or 3 pixel example, if the entire screen is to the right of the hori locations to the right. FIG. 6 illustrates the effect of the zontal color boundary, the colors and intensities of the above-mentioned shifts upon the 3 bytes. The pixel data pixels will be selected from color registers 0-3. On the values are shifted relative to each other wherein the other hand, placing the entire screen to the left results in 10 pixels that are shifted out of one byte are shifted into the the colors and intensities of color registers 4-7 being next byte with the corresponding pixels on the screen utilized. In this manner, the colors and intensities of the appearing shifted a similar amount when displayed. entire picture may be altered by merely changing the Zeros are shifted into the first byte of a sequence. address of the horizontal color boundary. The output of the flop function is a mirror image of its On most television screens, the area 610 defined by 15 input, the original data. The pixel locations interchange the display RAM will be somewhat smaller than the pixel data values relative to each other, i.e., the first and total screen area. Thus there will generally be extra fourth pixel location of each flopped byte exchange space on all four sides of the display screen not defined pixel data values as to the second and third as shown in by the display RAM. The color and intensity of this FIG. 6. The four pixels associated with the flopped byte area is defined by a two-bit "background” color regis 20 will similarly appear flopped relative to each other ter. These two bits along with the left/right bit combine when displayed on the screen. to identify one of the 8 color registers which determines The rotate function rotates a four pixel by four pixel the color and intensity of the particular background block of data 90 in clockwise direction such that the area. For example, if the two bits contained in the back pixel data values are rotated relative to each other. ground color register have the value 00 the color and 25 FIGS. 7A and 7B illustrate an example of rotation. The intensity of the background area to the right of the sixteen pixel data locations correspond to sixteen con boundary line 54 will be defined by the color register 0, tiguous pixels displayed on the screen. with the area to the left defined by the color register 4, The logical OR and exclusive OR functions operate as shown in FIG. S. on a byte as 8 bits rather than four 2bit pixel data. When As described earlier, the function generator is en 30 the OR function is used in writing pixel data to the abled to modify pixel data when the data is to be written display RAM, the input pixel data is logical OR-ed with to a memory address 'X' less than 4000 H (A14=0) the contents of the display RAM location being ac and that a modified form of the data is actually written cessed. The result of the logical OR is sent to the display to memory location X-4000 H in the display RAM. A RAM at the above location. The exclusive-OR function register hereinafter called the function generator regis 35 operates in the same way except that the data is exclu ter determines how the data is modified. sive OR-ed instead of logical OR-ed. The functions performed on the pixel data are: "ex The illustrated system can accommodate up to four pand", "rotate', "shift", "flop", "logical-OR" and "ex player control handles 12a-12d (FIG. 1) at once. Each clusive OR'. As many as four of these functions can be handle has five switches (i.e., the trigger switch, and used at any one time and any function can be bypassed. four joystick directional switches) and a potentiometer. However rotate and shift as well as logical-OR and The switches are read by the CPU 46 via input ports exclusive OR are not done at the same time. The modi through the I/O chip 50 (FIG. 2). These input ports are fied pixel data is stored in the display RAM whereby diagrammatically shown in FIG. 8 as input ports ICH the pixels associated with the pixel data appear similarly IFH where the port number indicates its hexadecimal modified when displayed. 45 address. Thus the port at which the player control han Referring back briefly to FIG. 2, the microcycler has dle switches for player 1 are read has a hexadecimal an 8-bit data bus 66 connecting the microcycler to the address of 10H. video processor 52 and I/O chip 50. The expand func The trigger switch for each player control handle is tion expands the 8 bits contained on the microcycler read at bit 4 and the four directional switches of the data bus into 16 bits where each bit of the 8 bits repre 50 joy-sticks are read at bits 0-3. The signals from the sents one pixel. In other words, it expands 1-bit pixel potentiometers are converted to digital information by into 2-bit pixel data. For example, a 0 on the data bus is an 8-bit analog to digital converter (FIG. 71A). The expanded into one 2-bit pixel data value and a 1 on the four potentiometers are read at input ports ICH-IFH data bus into another 2-bit pixel data value. Accord (FIG. 8). All zeros are fed back when the potentiometer ingly, the pixel data before being expanded is encoded 55 is turned fully counterclockwise and all 1's are fed back at a first level which can be decoded into pixel data when turned fully clockwise. encoded at a second level. Thus, the pixel data on the The 24-button keypad 18 is read at bits 0-5 of ports 8-bit microcycler data bus is encoded at the first level as 14-17H. The input data is normally zero and if more 1-bit pixel data and when expanded, it is encoded into than one button is depressed, the data should be ig pixel data at the second level, i.e., 2-bit pixel data. In this nored. manner, two-color patterns can be stored in a ROM in The microcycler functions as an interface between half the space. the CPU and the peripheral devices. The CPU 46 of The generator functions shift, flop and rotate can be FIG. 2 has a 16-bit address bus and an 8-bit data bus thought of as operating on the pixel data as a whole connecting the CPU to the microcycler 60. Referring rather than the individual bits of each pixel. Each byte 65 now to FIG. 9, the microcycler 60 combines the 16-bit of the display RAM 42 can be though of as four 2-bit address bus, A0-A15, and the 8-bit data bus, D0-D7, locations, each location corresponding to a pixel and from the CPU 46 into one 8-bit microcycle data bus 66, storing one of four pixel data values (0-3) although the MXDO-MXD7, connected to the address chip 56, the 4,475,172 10 data chip 54, and the I/O chip 50. One advantage of the the microcycle data bus, in response to the control microcycler is that the number of connector pins of the signals MCO and MC1 and the CPU control signal integrated circuit chips may be reduced since there are RFSH. Alternatively, the gate 74, of the microcycler fewer connecting lines, further functions as a gate for conducting data signals The microcycle data bus can have any of four modes from the microcycle data bus to the CPU data bus. which are defined by the contents or data carried by the The microcycle data bus 66 is connected to the microcycle data bus 66. Its mode is controlled by con MXD0-MXD7 inputs of the address chip 56, data chip trol signals MCO and MC1 which are generated by the 54 and I/O chip 50. The microcycler 60 had input lines data chip from a plurality of CPU control signals which 76, 78, and 80 for the control signals RFSH MC1 and will be more fully explained later. The microcycle data O MCO respectively. The input line 76 operably connects bus mode is also controlled by a CPU control signal the CPU 56 RFSH output to the inputs of a pair of RFSH which indicates that the lower 7 bits of the ad NAND gates 81 and 82. The output of the NAND gate dress bus contains a "refresh' address for refreshing the 81 is inverted by an inverter 84 whose output is con RAM dynamic memories. The CPU control signals are nected by a line 85 to the enable 'E' of the multiplexers discussed more fully in the Zilog Z80-CPU Technical 5 70 and 72 and is also connected to the input of a NAND Manual and is hereby incorporated by reference as if fully disclosed herein. The microcycle modes are gate CD 86 whose output is connected to the enable input of the gate 74. Thus, when the CPU 56 prepares to shown below: refresh the RAM, the refresh control signal, RFSH, will TABLE go to the low state causing the output of the NAND RFSH MC1 MCO Microcycle Data Bus Contents gate 81 to go high which is inverted by the inverter 84. O O O AO-A7 from the CPU A low state at the enable input E of the multiplexers 70 O O AOA from the CPU and 72 causes these logic elements to be enabled O 1 O AO-A7 from the CPU whereby address signals can be conducted to the micro O 1 1 AO-A from the CPU 25 cycle data bus 66. A low state on the line 85 also causes O O O l AOA from the CPU A8-A15 from the CPU the output of the NAND gate 86 to go high which is 1 O DO-D7 from the CPU presented to the enable input CD of the gate logic ele 1 1 DO-D7 to the CPU ment 74 causing the gate 74 to be disabled whereby the outputs of the logic gate 74 are forced to an off state. As can be seen above, when the RFSH signal is a 30 inverter The output of the NAND gate 82 is connected to an logical zero or low state, the microcycler will allow the select inputs88 having an output line 90 connected to the address bits A0-AT from the CPU to be conducted S of the multiplexers 70 and 72. Thus, through regardless of the state of MC0 or MC1 in order low, the output ofmultiplexer when the refresh control signal RFSH is to refresh the RAM. However, when RFSH is a logical quently, the output of the invertergate the NAND 88 82 is high. Conse is low. A low state 1 (inactive), MCO and MC1 detemine the contents of the presented at the selector input S causes 35 address bits microcycle data bus MXD0-MXD7. The microcycler as well as the interconnection of the presented at the A inputs to be conducted to the multi various integrated circuit chips of the low resolution dressplexer data bus. Thus when RFSH is low, the low ad mode system are shown in greater detail in FIGS. A0-A7, is conducted to the microcycle data bus 10A-C. The microcycler 60 comprises two 8-line to for use in the refresh cycle. 4-line multiplexers 70 and 72, having four output lines The input lines 78 and 80 connect data chip 54 MC1 MXD4-MXD7 and MXD0-MXD3, respectively, and and MC0 outputs to the inputs of NAND gates 81 and each having 4A and 4B input lines, an enable input E 82, respectively. When the control signal RFSH is high, and a select input S. i.e., a refresh is not being done, the outputs of the The address lines A0-A3 and A8-A11, from a CPU 45 NAND gates 81 and 82 are determined by the microcy address bus 73 from the CPU 56 are connected to the A cler control signals MC1 amd MCO respectively, from and B input lines of the address multiplexer 72, respec the data chip 54. Thus, when the control signal MC1 is tively. Similarly, the address bus lines A4-A7 and A1 in a low state, the output line 85 is also in a low state 2-A15 are connected to the 8 input lines of the address which enables the multiplexer logic elements 70 and 72 multiplexer 70. The address multiplexers 70 and 72 can SO and disables the gate logic element 74 as when the selectively conduct either the "low address' bits RFSH signal is low. Thus, either the low address or the A0-A7, or the "high address' bits A8-A15, to the mi high address will be conducted onto the microcycler crocycle data bus MXD0-MXD7 when enabled. The data bus as determined by the control signal MC0. multiplexers have common industry designation num When the control signal 'MCO is in a low state, the ber 74LS257. 55 output line 90 is also low which causes the low address The microcycler further comprises an 8 line bidirec to be conducted onto the microcycler data bus. If MCO tional data gate 74 having 8 input/output lines con is at a high state, the high address is conducted to the nected to a CPU data bus 75 from the CPU 56, 8 input microcycler data bus. Aoutput lines connected to the microcycle data bus Control signal MC1 (and RFSH) at a high state re MXD0-MXD7, a direction input DIR and an enable 60 sults in a high state at control line 85 which disables the input CD. The data gate 74 can conduct data either mutliplexers 70 and 72 and enables the gate 74. Thus, from the CPU data bus 75 to the microcycle data bus 66 the data on the data bus 75 for bits D0-D7 from the or from the microcycle data bus 66 to the CPU data bus CPU 56 will be gated onto the microcycler data bus 75 as determined by the state of the DIR input when MXD0-MXD7, or the data on the microcycler data bus enabled. 65 will be gated onto the data bus of the CPU, depending These three logic elements 70, 72, and 74, function as upon the direction input DIR. The direction input DIR a 24-line to 8-line multiplexer to sequentially conduct is connected by a line 92 to the output of the NAND groups of address signals and groups of data signals to gate 82. Thus, the state of the control signal MCO (with 4,475,172 12 11 RFSH high) determines the direction that the gate 74 106 of FIG. 11A generates the microcycle control sig will gate the data. For example, if MCO is in a low state, nals MCO and MC1 from the CPU control signals the output of the NAND gate 82 will be high resulting IORQ, MREQ, RD, and M1. Also generated are micro in the contents of the data bus D0-D7 being gated onto cycle decoder control signals LOAD LOW (LDL1) the microcycler data bus; if MC0 is high, the contents of 5 and LOAD HIGH (LDH1) for loading the low and the microcycler data bus will be gated onto the data bus high address bits respectively. DO-D7 to the CPU 56. A more detailed schematic diagram of the data chip is A power supply indicated generally at 93 supplies shown in FIGS. 13A-EE with a composite diagram of -- 15v, -- 10v, +5 V and - 5v to the system. A clock these figures shown in FIG. 14. The microcycle genera circuit 94 comprising a 14.31818 MHz oscillator 96 and 10 tor has an input line 108 for the MREQ control signal divider stages 98, provides a 7 MHz clock signal 7M, and an input line 110 for the IORQ control signal, both and an inverted 7 MHz clock signal 7M, to the 7M and of which are connected to the inputs of a NAND gate 7M inputs, respectively, of the data chip 54. A clock 112 whose output is connected by an inverter 114 to the signal b G, generated by the data chip 54 from the 7M inputs of a pair of NOR gates 116 and 118. The micro and 7M clock signals, is outputted to a buffer 100 having 15 cycle generator has an input line 120 for the CPU con output lines for clock signals d and d. The clock signals trol signal RD which is connected to the other input of d1 and 52 are connected to the d and s inputs of the the NOR gate 116. The output of the NOR gate 116 is address, data and I/O chips. connected by an inverter 122 to the input of an AND The CPU address bus 73 and data bus 75 are con gate 124. nected to the system ROM 48 having inputs A0-A12 20 The output of the NOR gate 118 is connected to the and D0-D7 for the address and data bits, respectively. input of a NOR gate 126 whose output is connected to The address bus 73 and data bus 75 are also connected the input of a NOR gate 128 with the output of the to the cassette ROM 24 (not shown) and the extension AND gate 124 connected to the other input of the NOR plug 77 (for expanding the system). gate 128. The output of the NOR gate 128 is connected The system ROM chip 48 has a chip select input CS 25 by a gating transistor 130 which acts as a delay to the input of a NOR gate 132. The gate of the transistor 130 connected to the output of the chip select logic indi cated at 79a and b with the cassette ROM chip selectis connected to the clock signal line 2. gp2 is the com input CCS also connected to the output of the chip plement of the clock signald and a clock signal d1 is d uncomplemented. select logic 79a and b. The outputs of the logic 79a and b are functions of the CPU control signals MEMORY 30 The output of the NOR gate 132 is connected by a REQUEST (MREQ) and READ (RD), the address bits gating transistor 134 (which also acts as a delay) to an A13-A15 and the memory disable signals SYSEN, inverter 136 having an output line 138. The gate of the CASEN, AND BUZOFF from the extender plug 77. "delay' transistor 134 is connected to the clock signal G1. DATA CHIP The output line 138 is connected to the inputs of the 35 The CPU control signal lines MEMORY RE AND gate 124 and the NOR gate 126 and is also con QUEST, INPUT/OUTPUT REQUEST, READ, and nected by a delay transistor 140 to the input of a NOR MACHINE CYCLE 1 are operatively connected to the gate 142. The gate of the transistor 140 is connected to data chip inputs MREQ, IORQ, RD, and M1, respec the clock signal 7M. The output of the NOR gate 142 is tively, from the CPU 56. Two more control lines carry connected by a delay transistor 144 to an inverter 147 ing control signals generated by the address chip 56 are having an output line 148. The gate of the transistor 144 connected to the data chip inputs LTCHDO, and is connected to the 7M clock signal. WRCTL, respectively. The data chip had VDD input The output line 148 of the inverter 146 is connected connected to a +5 volts source, a VGG input con to an input of a NOR gate 150 whose output is con nected to a +10 volt source, and a DVSS input con 45 nected to an inverter 152. A transistor 154 is connected nected to ground. Two more inputs SERIAL 0 and to the voltage source VDD and to ground by a transis SERIAL 1 are grounded since they are used in the high tor 156. The gate of the transistor 154 is connected to resolution node. the output of the inverter 152 and the gate of the transis The data chip 54 has a plurality of outputs including tor 156 is connected to the output of the NOR gate 150. the memory data inputs and outputs MD0-MD7, con 50 The junction of the transistors 154 and 156 at the line 80 nected by a memory data bus 102 to the display RAM carries the microcycle control signal MCO, 42. The data chip input/output MD0 is operatively The E, ovs/MREQ/ and IORQ input lines, 108 and connected to the data input, D1, and data output D0, 110, are connected to the input AND gate 160 whose ports of the RAM chip 104a, with other memory data output is connected to a NOR gate 162. The output line input/outputs, MD1-MD7 of the data chip similarly 55 138 of the inverter 136 is also connected to the input of connected to seven RAM chips 104b-h. The data chip a NOR gate 164 whose output is connected to the input also has analog video outputs R-Y, B-Y, VIDEO and of the NOR gate 162. The output of the NOR gate 162 -(-2.5 volts reference operatively connected to the RF is connected by a delay transistor 166 to a NOR gate modulator 58 (not shown). The data chip has clock 168. The gate of the transistor 166 is connected to the signal outputs, VERTICAL DRIVE (VERT. DR.) 60 d2 clock signal. The output of the NOR gate 168 is and HORIZONTAL DRIVE (HORZ, DR.), con connected by a delay transistor 170 to an inverter 172 nected to the address chip 56. Finally, the data chip has having an output line 174. The gate of the transistor 170 control signal outputs MCO and MC1 connected to the is connected to the d1 clock signal. microcycler (as noted before) and an output DATEN 65 The output line 174 is connected to an input of the used to generate the write enable signal, WE, for the AND gate 160 and inputs of the NOR gates 118 and 164 RAM chips. and is also connected by a delay transistor 176 to a NOR A schematic block diagram of the data chip 54 is gate 178. The gate of the transistor 176 is connected to shown in FIGS. 11A-11F. The microcycle generator the 7M clock signal. The output of the NOR gate 178 is 4,475,172 14 13 connected by a delay transistor 180 to an inverter 182 data from the memory or an I/O device. When high, having an output line 188. The gate of the transistor 180 RD indicates the CPU wishes to write data to memory is connected to the clock signal 7M. or an I/O device. The output line 188 of the inverter 182 is connected The generation of the microcycler control signals to a NOR gate 190 whose output is connected to an MCO and MC1 as a function of the CPU control signals inverter 192. A gating transistor 194 is connected to the MREQ, IORQ, and RD together with clock signals d1 voltage source VDD and to a transistor 196 which is and 7M, are illustrated for a plurality of read and write connected to ground. The output of the inverter 192 is operations in FIGS. 12A-G. An example of MC0 and connected to the gate of the transistor 194 and the out MC1 as functions of MREQRD, and the clock signals d1 and 7M, is shown for a memory write operation in put of the NOR gate 190 is connected to the gate of the 10 FIG. 12A. transistor 196. The junction of the transistors 194 and A clock state, T, is defined by one complete period of 196 at the line 78 carries the microcycle control signal MC1. the clock signald. At the beginning of the initial clock The state of the control signal MCl is the same as the state T1, the CPU control signals MREQ RD are at the same state as the previous clock state which is a high output of inverter 192 since a high state (logical 1) out 15 state put of the inverter 192 will turn on the transistor 194 MC1 with the microcycler control signals MCO and also at the same state as the previous clock state causing the MC1 line 78 to also go high. Similary, a high output from the NOR gate 190 (when inverter 192 which is a low state. During T1, after the clock signal is at a low state) causes the transistor 196 to turn on goes low, MREQ goes low which indicates that the which causes the MC1 control signal line 78 to also go 20 CPU write address bus holds a valid address for the memory operation. low, The state of the MCO control line 80 is similarly Referring to FIG. 13, the NAND gate 112 has the the same as the state of the inverter 152. The microcycle generator has another input 200 for control signals MREQ and IORQ presented at its inputs the CPU control signal M1 which is connected to the 25 T1. which are both inactive or a logical 1 at the beginning of input of a NOR gate 202 having another input con When MREQ goes low, the output of the NAND nected to the input line 110 for the CPU control signal gate 112 goes high which is inverted by the inverter 114 presenting a low state to one input of the NOR gate 118 IORQ. The output of the NOR gate 202 is connected to and to one input of the NOR gate 116, the other input of the inputs of the NOR gates 168, 132, 178, 142, 190 and the NOR gate 118 is connected by the line 174 to the 150. The M1 CPU control signal is active when low (logi 30 output of the inverter 172. cal 0) and indicates that the current machine cycle is an Since M1 is at a high state, the NOR gates 142, 178, operaton code fetch cycle of an instruction execution. 150 and 190 function as inverters. Thus the output of the Thus, the M1 control signal is normally high (logical. 1) inverter 172 at line 174 is at the same state as the previ whenever the CPU is accessing a peripheral device ous MC1 state since there are an even number of "in such as a video processor. Hence, the NOR gate 202 35 verters' between the line 174 and the gate of the output having a logical 1 presented at the input will output a transistor 194 (except insofar as the 7M and 7M delay logical O. This logical O is presented at the inputs of the transistors 176 and 180 delay any change in MC1 result NOR gates 132, 168, 142, 178, 150 and 190 resulting in ing from a change in the output of the inverter 172 of these NOR gates operating as inverters whenever the lineThus 174). since MC1 is at a low state, the line 174 con /OVs/M1/ control signal is high, Similarly, whenever M1 goes low indicating that the nected to the input of the NOR gate 118 is at a low state current machine cycle is the fetch cycle of an instruc with the other input of the NOR gate 118 at a low state, tion execution, IORQ will normally be high with the of NORbefore. as noted This produces a high state at the output same effect upon the above-mentioned NOR gates with 45 output ofgate 118 which results in a low state at the the NOR gate 126. an exception. IORQ and Ml will both go low during an The control signal RD is at a high state indicating a "interrupt ackowledge' cycle. With these two control write operation which causes the NOR gate 116 to signals both at a low state, the NOR gate 202 will output output a high state causing the NOR gate 150 to produce a low to produce a low state which is inverted by the inverter 122 state forcing the control signal MC0 to a high state or 1. (except a high state. The line 138 is at the same state In a similar fashion, the output of the NOR gate 190 is 50 manner similar for a delay) as the previous MCO state (in a forced to a low state which also forces the control sig output of the AND to that for the line 174) which causes the nal MC1 to a high state. gate 124 to be low. The NOR gate Referring back to the microcycle modes set out in 128 thus has a low state presented at both of its inputs Table I, it is seen that where MC0 and MC1 are both a which results in a high state produced at its output. logical 1, the microcycler will gate data from the micro 55 Thishigh output is connected when the clock signald 2 cycler data bus to the CPU data bus. This data was goes and is inverted by the NOR gate 132. The transistor 134 conducts this output when the clock sig placed on the microcycler data bus by the peripheral nal device initiating the interrupt and will be used by the 136 g1 goes high resulting in the output of the inverter going high, thus the output of the inverter 136 as CPU in its response to the interrupt signal. The "MEMORY REQUEST" control signal, sumes the same state as the NOR gate 128 on the posi tive edge 200 (i.e., going from a low state to a high state) MREQ, is active when low and indicates that the ad of the clock signald (FIG. 12A), dress bus of the CPU holds a valid address for a mem ory read or a memory write operation. The "INPUT conducted The high state at the output of the inverter 136 is /OUTPUT REQUEST" control signal IORQ, is also 65 Mgoes highbywhich the transistor 140 when the clock signal is inverted by the NOR gate 142 and active when low and indicates that the lower half of the address bus holds a valid I/O address for I/O read or 7M goes high. The logical 144 conducted by the transistor when the clock signal write operation. The read control signal, RD, is active inverter 146, NOR gate 150,0and is then inverted by the inverter 152 to pro when low and indicates that the CPU wishes to read 15 4,475,172 16 duce a high state at the output of the inverter 152 which d1 a logical 0. An output line 228 of the NOR gate 203 turns on the transistor 154 to produce the high state at carries the signal LDL1 which is a logical 1 when MC0 the line 86 which is the MCO control signal line. Refer is a logical 1, MC1 a logical 0 and P1 a logical 0. ring back to FIG. 12A, it is seen that the control signal MCO goes to a high state on the positive edge 202 of the 5 ityEach of the address, data, and I/O chips has a plural of registers. Each of these registers is individually clock signal 7M which follows the positive edge 200 of addressable by the CPU for inputting or outputting data the clock signal d occurring after the CPU control contained in the register. Signal MREQ goes low. The data chip is shown in FIG. 11B to have microcy When MCO changes from a low state to a high state, cle decoder 212 which assembles 11 address bits the contents of the microcycle data bus changes from 10 A0-A10 from the low address bits, A0-A7, and high the low address, A0-A7, to the high address, A8-A15. address bits, A8-A15, transmitted from the microcycle Thus the 16 address bits from the CPU are transmitted data bus. The microcycle decoder 212 has an eight bit to the video processor and I/O chip in 2 eight-bit input line connected to all the bits of an eight-bit data groups or slices. chip data bus 66a and a three-bit input line connected to The output of the inverter 136 rising to a high state 5 the lower 3 bits of the data bus 66a. The microcycle causes the NOR gate 164 having an input connected to data bus 66 is connected to the data bus 66a by a tristate the output line 138 of the inverter 136 to fall to a low buffer 273 (FIG. 11C). (Other buffers shown in the state. the output of the AND gate 160 is also low since more detailed schematic FIG. 13 are omitted from the MREQ is low causing the output of the NOR gate 162 FIGS. 11A-F for clarity). to go high. This high output appears at the output of the 20 The microcycle generator 106 (FIG. 1A) generates inverter 172 at the line 174 on the positive edge 204 control signals LDL1 and LDH1 to signal that the (FIG. 12A) of the clock signal d marking the start of microcycle data bus contains the low address bits or the the clock state Tw. high address bits, respectively. The microcycle decoder The high state then appears at the gate of the transis 212 is operatively connected to the microcycle genera tor 194 on the positive edge 206 of the clock signal 7M 25 tor to input these control signals such that the decoder (FIG. 12A) causing the control signal MC1 to rise to a logical 1. The RD signal is at a high state (indicating a latches up the low address bits from the eight bit input lines when LDL1 is high and subsequently the high write operation) which causes the NOR gate 116 to ddress bits A8-A10 on the three bit input line when the output a "zero" which is inverted by the inverter 122. control signal LDH1 is a high. The 11 bits latched in the The output of the inverter 136, which is at a high state, 30 microcycle decoder are utilized to address the registers is returned to the AND gate 124 causing the AND gate on the data chip. The microcycle decoder has an 11 bit to output a "one" which causes the NOR gate 128 to output bus A0-A10 which is connected to an address output a "zero". This low state appears at the output of decoder 214 which decodes the address bits to activate the inverter 136 on the positive edge 204 of the clock one of a plurality of register select lines 216-222. Regis signal d (FIG, 12A). The low state then appears at the 35 ter select line 216 actually represents eight registerse MC0 control signal line 80 on the positive edge 206 of lect lines for eight different "color” registers 224. the 7M clock signal (FIG. 12A). In addition to the proper address, the register select With MC0 at a low state and MC1 at a high state, the lines 216-221 require the concurrence of a data chip contents of the CPU data bus are gated onto the micro generated control signal, OUTPUT, in order to be acti cycle data bus. Thus data placed on the CPU data bus is wated. The eight color register select lines 216 further transmitted to the peripheral devices on the microcycle require a CPU generated control signal IORQ. The data bus. register select line 222 requires the concurrence of an During clock state T3, MREQ returns to a high state. other data chip generated control signal INOUT, to be Since MREQ as well as the output of the inverter 172 at activated. The INPUT and OUTPUT signals are func line 174 and IORQ are at a high state, the output of the 45 tions of z-80 CPU control signals including MREQ, AND gate 160 is high which causes the output of the IORQ, RD and M1 and are generated to compensate for NOR gate 162 to go low. This low output appears at the any delay caused by the microcycler. line 172 on the positive edge 208 of the d1 clock signal The register select lines 216-221 are operatively con at clock state T1. The low state at line 172 appears at the nected to eight color registers 0-7, an "expand” regis gate of the output transistor 194 (with a high state at the 50 ter, "function generator" register, "vertical blank" reg gate of the transistor 196) at the positive edge 210 of the ister, "horizontal color boundary” and "background clock signal 7M causing the microcycle control signal color' register and "low/high resolution mode' regis MC1 to go low. The microcycler is now ready to trans ter, respectively. The line 222 is operatively connected mit the low address of the next address presented at its inputs. The relationship of the microcycler control 55 to a multiplexer, which when activated causes the mul tiplexer to select the output of an "intercept" register. signals MCO and MC1 to the CPU control signals and In this manner, the CPU may select any particular regis system clock signals d and 7M is shown for a variety of ter of the data chip by transmitting an address corre other read and write operations in FIGS. 12B-G. sponding to the register which is transmitted in two The microcycler further comprises a NOR gate 201 groups, the low and high addresses, by the microcycler having inputs connected to outputs of the inverters 146 to the microcycle decoder which reassembles the ad and 182 and to the clock signals d1. A NOR gate 203 dress bits into address bits A0-A10. These bits are then also has inputs connected to the output of the inverter decoded and the corresponding register select line is 182, to the output of the inverter 146 by an inverter 205, activated which enables the addressed register to input and to the clock signal input d. An output line 226 of or output data to the CPU via the microcycle data bus. the NOR gate 201 carries the microcycle decoder con 65 The microcycle decoder 212 and address decoder 214 trol signal LDL1 which is a logical 1 when the outputs are shown in greater detail in FIG. 13. The microcycle of the inverters 146 and 182 are a logical 0 (correspond decoder 212 comprises an 11-bit latch with the eight ing to both MC0 and MC1 a logical 0), together with least significant bits AO-A7 each having an input con 4,475,172 17 18 264 so that in addition to the proper address, the OUT nected to the D0-D7 lines, respectively, of the data bus 66a. Each of the A0-A7 bits of the latch also have an PUT control signal must below in order for one of these input connected to the LDL1 control signal line 226 control lines to output a logical 1. For example, if the and an input connected the line 226 through an inverter address bits A7, A6, A5, A4, A3, A2, A1 and A0 (A7 227. The most significant bits A8-A10 each have an being the most significant) have the values 0, 0, 0, 1, 1, input connected to the D0-D2 lines, respectively, of the 0, 0 and 1, respectively, the control line 217 will be a dat bus 66a and each has an input connected to the logical 1, if the OUTPUT control signal is also low. LDH1 control signal input line 228 directly, and an Since the PLA output line 217 is the "expand” register input connected to the line 228 through an iverter 229. select line, the expand register will be selected if the The A0 bit has output lines AO and its complement O address bits A7-A0 have the value 00011001 or 19H. A0 with the A1 bit having outputs A1, A1, etc. all Thus 19H is the hexadecimal address of the expand connected to the address decoder 214. register. If any of the address bits A7-AO are different An example of a bit circuit of the latch of the micro from the values just listed, the expand register will not cycle decoder is shown in FIG, 13. The input of the A0 be selected. For example, if the address bit A7 is a bit circuit of the latch is connected to a gating transistor 15 instead of a 0, the pull-down transistor 254 associated 230 whose gate is connected to the LDL1 control signal with the A7 input line and the PLA output line 217 will line 226. The 1 input is also connected to the D0 line of be turned on which pulls the output line 217 to a logical the data bus 66a which carries (among others) address 0. bits AO and A8. Transistor 230 is connected to an in The output line 222 has an associated address 8H and, verter 232 whose output is the A0 output line of the A0 as seen in FIG. 11B, is the "intercept” register select latch which is also connected to an inverter 234 whose line. the intercept register select line 222 is coupled to output is the A0 output line. The output of the inverter an INPUT control signal line 266 by a pull-down tran 234 is connected to a gating transistor 236 whose gate is sistor 268 so that in addition to the address 8H, the connected to the output of inverter 227 (FIG. 13) which INPUT control signal must be low in order for the carries LDL1. The output of the transistor 236 is con 25 register select line 222 to be at a logical 1 state which nected to the input of inverter 232, will select the intercept register. The bit of the D0 line of the data bus 66a is presented The output lines 238 and 239 are connected to the to the input of the transistor 230 which is gated by the input of a NOR gate 270 whose output is connected to LDL1 control signal when the D0 line carries the ad a NOR gate 272. The other inputs of the NOR gate 272 dress bit A0. The inverter 232 inverts the address bit A0 30 are the control signal line 262 and a IORQ control signal and outputs the bit as address bit A0. The output of the line 270. Thus, either of two hexadecimal addresses, BH ivnerter 232 is inverted by inverter 234 whose output is or OH, will cause the output of the NOR gate 270 to go the address bit A0. The bit A0 is stored in the A0 bit of low which will cause the output of the inverter 272 to the latch in this manner. go high if the control signal OUTPUT and the control The address decoder is shown in FIG. 13) to com 35 signal IORQ are both low, prise a programmed logic array (PLA) having a plural The output lines 240 and 241, 242 and 243, etc. are ity of input lines A0-A10 and A0-A10 connected to the also connected to a plurality of NOR gates 271 which corresponding output lines of the microcycle decoder are connected to a plurality of NOR gates 272 which 212. A plurality of output lines 217-222 and 238-253 are also have inputs connected to the OUTPUT control selectively coupled to the PLA input lines by a plurality 40 signal lines 262 and IORQ control signal line 270. The of pull-down transistors, each of which is represented output lines 216 of the NOR gates 272 are the register by a small circle 254. select lines for the color registers 224, as seen in FIG. An example of these pull-down transistors, the tran 11B, sistor coupling the input line A10 to the output line 238 Thus, either the hexadecimal address 8H or BH will is shown in greater detail in FIG. 16. If the address bit 45 select color register 0. There is an extra address for each A10 equals 1, i.e., a high state, the A10 address line will color register to accomodate a color block transfer cause the pull-down transistor 254 to turn on which operation which will be described in more detail later. "pulls down' the output line 238 to ground. Thus, the CPU may address or select a particular Each output line 217-1222 and 238-253 is connected register in order to input or output data from or to that to the voltage source VDD by a pull-up transistor 260 SO register by transmitting the register's associated address referring back to FIG. 13. A logical 1 on any address bit together with the proper CPU control signals. The input line coupled to an output line will cause that out microcycler transmits this address in two groups, the put line to be grounded which is a low state or logical low and high addresses, which are then reassembled by 0. the microcycler decoder 212. The address latched in the The input lines of the PLA are selectively coupled to 55 microcycler decoder is decoded by the address decoder the output lines by the pull-down transistors 254 such 214 which activates a register select line. The register that a particular output line will produce a logical 1 select line enables the associated register to input from only when a predetermined address consisting of a pre or output data to the microcycle data bus. The hexadec determined combination of 1's and 0's are presented on 60 imal addresses for the input and output ports or registers the address input lines A0-A10 and --- for the Address, Data and I/O chips are set forth in The output lines 217-221 are coupled to the OUT Table II below: PUT control signal line 262 by pull-down transistors TABLE II OUTPUT INPUT PORTS PORTS PORT PORT ADDRESS FUNCTION ADDRESS FUNCTION OH Color Register 8H intercept Feedback 4,475,172 19 20 TABLE II-continued OUTPUT INPUT PORTS PORTS PORT PORT ADDRESS FUNCTION ADDRESS FUNCTION H Color Register 1 Multiplexer 2H Color Register 2 EH Wertical Feedback 3H Color Register 3 Register 4H. Color Register 4 FH Horizontal Feedback SH Color Register 5 Register 6H Color Register 6 H Player 1 Handle 7H Color Register 7 1H Player 2 Handle 8H Low/High Resolution 12H Player 3 Handle Register 13H Player 4 Handle 9H Horizontal Color 14H Keypad Column Boundary Register (right) Background Color 15H Keypad Column Register 16H Keypad Column 2 AH Vertical Blank 17H Keypad Column 3 Register (left) BH Color Block Transfer CH Function Generator Register DH Interrupt Feedback Register EH Interrupt Enable and Mode Register FH Interrupt Line Register 1H Master Oscillator Register 1H Tone A Frequency Register 12H Tone B Frequency Register 3H Tone C Frequency Register 4H. Vibrato Register SH Tone C Wolume, Noise Modulation and MUX registers 6H one A. Wolume and Tone B Volume Registers 7H Noise Volume Register 18H Sound Block Transfer 19H Expand Register The function generator of the video processor can TABLE III-continued perform a variety of functions or modifications to the pixel data as the data is a written to the display RAM by 4. s OR Exclusive-OR the CPU from the system or cassette ROM. The func 6 Flop tion generator is enabled when the address of the data is less then 4,000H (address bit A14 equal to 0). The func tion generator is contained on the data chip 54 and is The order in which the functions are performed is as shown in FIG, 11C to comprise a 7-bit function genera follows: expansion is done first; rotating or shifting; tor register 274 which is connected to the data bus 66a flopping; and logical-OR or exclusive-OR. The video by a 7-bit input line 276. The data chip data bus 66a is 45 processor performs the modifications in response to the operatively connected to the microcycler data bus 66 data stored in the function generator register. A logical by the tri-state buffer 273 shown in FIG, 13 to comprise 0 or 1 in the bits 2-6 determine whether or not the 8 units 273a-h. (Buffer unit 273a, typical of the units corresponding function is performed. Bits 0 and 1 of the 273a-h, is shown in greater detail in FIG. 17). The function generator register determine the amount, if output 1 of each unit is connected to the data bus 66a by 50 any, of the shift. As many as four of thes functions can a buffer 611 (logically similar to that shown in FIG. 18). be used at any one time and any function can be omit The data contents of the register 274 determine how ted. However, rotate and shift as well as logical-OR and the pixel data is to be modified. The CPU 46 (FIG. 2) exclusive-OR cannot be done at the same time. may output data to the register 274 by transmitting the The expand function expands the 8 bits contained on address CH to the microcycle decoder 212 and address 55 the microccyle data bus 66 four bits at a time into 16 decoder 214 of FIG, 11B which activates the function bits. It expands a 0 on the microcycle data bus into one generator register select line 218. When the register 2-bit pixel and a 1 into another 2-bit pixel. Thus, two select line 218 is activated, the function generator regis color patterns can be stored in the system or cassette ter 274 is enabled to input (or latch up) the 7 bits of data ROM in half the memory space. transmitted by the CPU. The bits of the data contained The expand function is performed by an expander within the function generator register 274 relate to dif indicated generally at 278. During each write operation ferent modifications of the pixel data as shown below in to the display memory using the expander 278, either Table III: the upper half (D4-D7) or the lower half (D0-D3) of TABLE III the data bus 66a is expanded but the expand function 65 may be bypassed, as will be more fully explained below. Least Significant Bit of Shift Amount The half that is expanded is determined by an expand Most Significant Bit of Shift Amount flip-flop. 282 having a reset input connected to the func 2 Rotate 3 Expand tion generator register select line 218 and an output 4,475,172 22 21 connected to a multiplexer 282. The flip-flop 280 is reset tor switches 298a–298d of the multiplexer 282 to con by an output to the function generator register 274 and duct the upper half of the data bus 66a. is toggled after each write operation to the display The output of the transistor switches 302d and 298d RAM in which the function generator is utilized. The are connected by an inverter 304 to the gates of a pair of transistor switches 306a and 306b of the expander de multiplexer 282 is responsive to the flip-flop to select either the upper half, or lower half, of the bits contained coder indicated generally at 290. The output of the on the data bus 66a and output the selected bits on a inverter 304 is also connected by an inverter 308 to the 4-bit multiplexer data bus 284 for expansion. The upper gates of a pair of transistor switches 310a and 310b. half of the data bus 66a is expanded when the flip-flop 314Awhose line 312a is connected to ground by a transistor gate is connected to the output of bit 0 of 10 280 is at a low or zero state, and the lower half is ex the expand register panded when the flip-flop toggles to the high state. 286. (The logic design of each bit of A 4-bit "expand' register 286 having a 4-bit output the expand register is similar to that of the bit of the line 288 determines the pixel values into which the data latch of the microcycle decoder 212 shown in FIG. 15). contained on the multiplexer data bus 284 can be ex 15 The line 3.12a is connected to the voltage source VDD panded. A 0 on thwe multiplexer data bus will be ex by the transistor 306a and a pull-up transistor 316. panded by an expand decoder 290 connected to the If the state of bit 0 of the expand register 286 is a expand register output bus 288 and multiplexer output logical 1, the transistor 314 is turned on which pulls the bus 284 into the pixel value determined by bits 0 and 1 line 312 to ground or logical 0, otherwise it is a logical of the expand register 286. A 1 on the multiplexer data 1. Thus the contents of bit 0 of the expand register bus will be expanded into the pixel value determined by 20 controls the logic state of the line 312 wherein the logic bits 2 and 3 of the expand register 286. Thus, the pixel state of the line 312 is the complement of bit 0 of the data on the multiplexer data bus is encoded at the first expand of a line register 286. In a similar manner, the logic state 312b connected to the transistor switch 306b is level to identify either the 0 and 1 or 2 and 3 bits of the the complement of the value of bit 1 of the expand expand register. In this manner, the data from the com 25 register 286. puter is decoded into pixel data encoded at the second level, i.e., the pixel data stored in the expand register, theAlso the logic state of a pair of lines 318a and 318b are complements of the bits 2 and 3, respectively, of which is transmitted when the particular bits of the expand expand register are selected or identified. The second nected toregister 286. The lines 318a and 318b are con level pixel data is stored in the display RAM after other 30 tively. the transistor switches 310a and 310b, respec modifications, if any, are performed. The pixel data If the input of the inverter 304 (either bit 0 or bit 4 of stored in the RAM, when read, is utilized together with data the left/right bit to select a color register to generate 0, thebustransistors 66a, depending upon flip-flop 280) is a logical 306a and 306b are turned on, which the pixels of the display as explained hereinbefore. selects the lines 312a and 312b which contain the con The expand register 286 has an address 19H at which plemented values of bits the CPU may access the expand register in order to On the other hand, if the 0input 35 and 1 of the expand register. change the contents. The address 19H (together with an the transistors 31.0a and b are of the inverter 304 is a 1, turned on which selects OUTPUT signal) transmitted to the address decoder 214 the lines 318a and 318b containing the complemented (FIG. 11B) causes the expand register select line 217 to values of the bits 2 and 3. The transistors be activated which enables the expand register 286 to are connected to a common output line 306a and 310a referred to as receive data on the data bus 66a. In this manner, the expand data bit 0 or EDB0. Similarly, the transistors pixel data values into which data is expanded may be 306b and 310b are connected to output line EDB1; thus changed. a bit from the multiplexer 280 at inverter 304 is ex The expander 278 is shown in greater detail in FIG. 13. The expand flip-flop 280 has a reset input R con 45 panded into the logic states of lines ED0 and ED1, or nected to the function generator register select line 218 simply bits ED0 and ED1. A 0 is expanded into bits ED0 and ED1 which are defined by the complement of so that the flip-flop is reset with each output of data to bits the function generator register 274. The flip-flop has a into 0bits and 1 of the expand register and a 1 is expanded clock input C connected to a clock input line 292 and a bits 2 andEDO and ED1 defined by the complement of 3 of the expand register 386. clock input C also connected to the clock signal input 50 In a similar line 292 through an inverter 294. (The line 292 carries a half of the datamanner, the remaining bits of the lower clock signal, SHIFT which will be more fully explained half if the upperbushalf 66a, (or remaining bits of the upper of the microcycle data bus is se hereinafter.) lected by the multiplexer 282) are expanded into the An output Q is connected to a D input of the flip-flop 280 so that the flip-flop toggles with each clock signal expand data bits ED2 and ED3, ED4 and ED5, and which occurs with each write to the display RAM. The 55 ED6 and ED7 which are also defined by the comple output Q is also connected by a line 296 to the gates of ment of either bits 0 and 1 or 2 and 3 of the expand register. For example, if the expand register bits 0 and 1 four transistor switches 298a-d of the multiplexer 282. contain the values 1 and 0, respectively, the expand An output Q of the flip-flop is connected by a line 300 register bits 2 and 3 contain the values 0 and 0, respec to the gates of four transistor switches 302a-d. (The tively, and the half of the microcycler data bus being flip-flop 280 is shown in greater detail in FIG. 19). The inputs of the transistor switches 298a-d are con expanded has the values 0, 1, 1 and 0. These values will nected to the four most significant bits (the upper half) be expanded into the pixel values 01, 00, 00 and 01, respectively. of the data bus 66a with the transistor switches 302a-d connected to the four least significant bits (the lower 65 byte A pixel is generally represented by 2 bits so that a half) of the data bus 66a. If the state of the expand flip PDB7-PDBO, of pixel data having 8 pixel data bits or flop 280 is a logical 1, the transistor switches 302a-d represented byrepresents pixel four pixels with the first pixel data bits PDBO and PDB1, the will conduct the lower half of the data bus 66a to the expander. Otherwise, a logical 0 will cause the transis second pixel by PDB2 and PDB1, etc. The pixel data bit 23 4,475,172 24 PDB6 will be referred to as the low bit of the first pixel shown in FIG. 15). The latch 334 comprises NOR gates with PDB7 as the high bit. Similarly, the second pixel 334a-g each having an input connected to the address has low and high bits PDB4 and PDB5, etc. bit line A14 and an input connected to an output of bits The functions shift, rotate, and flop can be thought of 6-0, respectively, of the function generator 274. The as operating on pixels as a whole rather than as individ 5 function generator register select line 218 is connected ual bits. Accordingly, there is provided a shifter, rota by a buffer 385, and by an inverter 346, to the function tor, and flopper for both of the two bits of data repre generator register 274. senting pixels. Thus, referring to FIG, 11C, there are The multiplexer 328b, rotator 322b, shifter 320b and provided shifter circuits 320a and b, rotator circuits flopper 324b for the high pixel data bits are constructed 322a and b, and flopper circuits 324a and b, for the low O and operate in a manner similar to the multiplexer 328a, pixel data bits (PDB6, PDB4, PDB2 and PDB0) and the rotator 322a, shifter 320a and flopper 324a, for the low high bits (PDB7, PDB5, PDB3 and PDB1), respec pixel data bits. Therefore, only those modifiers for the tively, of a byte of pixel data, low pixel data bits (PDB6, PDB4, PDB2 and PDBO) The expand function, as with all the other functions, will be described in detail. The high and low pixel data may be bypassed. Accordingly, the expand decoder 290 15 bits are modified at the same time and reassembled be has a 4-bit output line 326a for the low pixel data bits fore being written to the display RAM. connected to inputs of a 2-to-1 multiplexer 328a and a The output of the NOR gate 334d (corresponding to four-bit output line 326b for the high pixel data bits bit 3 of the function generator register) is connected by connected to inputs of a 2-to-1 multiplexer 328b. The line 336 to the select input A of the 4 units 328a0,328a2, other four inputs of the multiplexer 328a are connected 20 328a4 and 328a0 of the multiplexer 328a. The line 336 is to the low bits (D6, D4, D2 and D0) of the data bus 66a also connected to the select input B of each multiplexer by a 4-bit input line 330a with the other 4 inputs of the unit by an inverter 348. multiplexer 328b connected to the high bits D7, D5, D3 One such multiplexer unit, 328a0, is shown in greater and D1 by a line 330b. detail in FIG. 20. The multiplexer unit 328a0 has an The output of the function generator register 274 is 25 input 1A, connected to the unexpanded MDO bit of the connected by a 7 bit output line 332 to a latch 334 hav data bus 66a and an input 1B, connected to the bit EDO ing a control input line for address bit A14 connected to of the expand data bus 326a. The ED0 input is con the address bus 75 of the CPU. When address bit A14 is nected to a D type flip-flop shown generally at 349 low, the contents of the function generator register are having outputs 4 and 5, by a transistor switch 350 hav gated through the latch 334. The output of the latch 334 30 ing a gate connected to the line 336 (not shown). The corresponding to bit 3 of the function generator register MD0 input is connected to the D flip-flop 348 by a is connected to the select inputs of the multiplexers 328a transistor switch 351 whose gate is connnected to the and 328b by a line 336. Thus, bit 3 of the function gener line 336 through the inverter 348 (also not shown). Thus ator register controls the multiplexers 328a and 328b. if the line 336 is a logical 1 (which is controlled by bit 3 if bit 3 is a 0, for example, the multiplexer 328a will 35 of the function generator register when the address bit conduct the low bits of pixel data from the expand A14 is a logical 0), the EDO bit from the expander is decoder 290 but if bit 3 is a 1, the multiplexer 328a will conducted to the D flip-flop. The output of this D flip conduct the low bits of pixel data from the data bus 66a, flop defines pixel data bit PDB0. The output of the eight The multiplexer 328b operates in a similar manner for flip-flops of the multiplexer 328a and b for the low and the high bits of pixel data. In this manner, the expand high pixel data bits, respectively, together define PDB7 function may be bypassed by placing a 1 in bit 3 of the PDB0. Thus if the line 336 is a logical 1, the pixel data function generator register. bits PDB7-PDBO will be determined by expand bits The output of the multiplexer 328a is connected to ED7-ED0. But if the line 336 is a 0, the unexpanded bit the inputs of the shifter 320a and to the inputs of the from the data bus 66a is conducted to the D flip-flop rotator 322a with the output of the multiplexer 328b 45 and PDB0 is defined by MDO. In such a manner, bit 3 of connected to the inputs of the shifter 320b and rotator the function generator register determines whether the 322b. As noted before, the shift and rotate functions are expand function is utilized or whether the pixel data not performed at the same time. Bits 0 and 1 of the from the microcycle data bus is transferred directly. function generator register 274 control the amount of Each multiplexer unit of multiplexer 328a has an output shift, if any, performed by the shifters 320a and b. The 50 line 352a-d, respectively, and carries the low pixel data outputs of latch 334 corresponding to the bits 0 and 1 bits PDBO, PDB2, PDB4 and PDB6, respectively. are connected to the shifter 320a and 320b by a 2 bit line The output line of each multiplexer unit is connected 338. to the shifter for the low pixel data bits, indicated gener Bit 2 of the function generator register controls ally at 320a and the rotator for the low bits, indicated whether a rotate is performed and its corresponding 55 generally at 322a in FIG. 13. The shifter 320a comprises latch output is connected to rotators 322a and 322b by a programmed logic array (PLA) 321 having a plurality a line 340. The output of the shifter 320a and the rotator of input lines selectively coupled to a plurality of output 322a are connected to the inputs of the flopper 324a lines 368a-p by a plurality of pull-down transistors 350. with the output of rotator 322b and shifter 320b con The output lines 352a-d of the multiplexer 328a are four nected to the input of flopper 324b. The output of the of the PLA input lines. latch 334 corresponding to bit 6 of the expand register The shifter 320a further comprises a register 354a 274 is connected to the floppers 324a and b by a line 342 having 4 bits 354ao, 354a2, 354a4 and 354a6 which are and controls whether a flop function is performed. connected to the inputs 356a-d of the PLA 321, respec The function generator register 274 is shown in FIG. tively, (with bit 354a0 shown in greater detail in FIG. 13 to comprise a 7-bit register having 7 inputs con 65 21.) The register 354a stores the 4 low bits of the last nected to the D6-D0 bits of the data bus 66a. (The logic pixel data byte from the CPU to be written to the dis design of each bit of the register 274 is also similar to play RAM which may be the previous byte of the se the bit of the latch of the microcycle decoder 212 quence of bytes (such as those shown in FIG. 6) to be 4,475,172 25 26 shifted. The register 354a is also clocked by the signal the complement of the bit PDBO of the previous byte to SHIFT. be written. The NOR gate 344a (corresponding to bit 0 of the Thus, for example, if the output bits PDB6, PDB4, function generator register) of the latch 334 is con PDB2 and PDBO of the multiplexer 328a are the low nected by a line 358 to another input of the PLA 321. 5 bits of the 8 bits representing the pixel values P7, P6, P5 The line 358 is also connected to an input 359 by an and P4, respectively, of byte 1 of the sequence of bytes inverter 360. NOR gate 344b (corresponding to bit 1 of to be shifted shown in FIG. 6, and the output of the the function generator register) of latch 334 is con register 354a0 is the low bit of the 2 bits representing nected by a line 362 to an input of the PLA, with the pixel value P0 of the prior byte of the sequence, it is line 362 also connected to an input 364 by an inverter O seen that the low pixel data bits PDB6, PDB4, PDB2 366. Bits 0 and 1 of the function generator register de and PDB0 of byte 1 (together with the high pixel data fine the least and most significant bits of the shift bits PDB7, PDB5, PDB3 and PDB1) represent pixel amount performed by the shifter 320a. Each of the data values P0, P7, P6 and P5, respectively, after a shift output lines 368a-p is connected to the voltage source operation of 1 pixel position. VDD by one of a plurality of pull-up transistors 370. 15 It is assumed that the first byte of pixel data of a The actual amount of the shift performed by the sequence of bytes to be shifted is the first byte to be shifter 320a is the complement of the bits contained written to the display RAM after an output by the CPU within bits 0 and 1 of the function generator register to the function generator register. Accordingly, each since the NOR gates 344a and b invert the outputs of bit of the register 354a has a reset input connected by a bits 0 and 1 when the address bit A14 is low. Thus, if bits line 372 to the function generator register select line 218 0 and 1 have the value "11", this is complemented to the such that the register 354a is reset to 0 with each output values "00' resulting in a shift of 0 pixel positions. to the function generator register. Thus zeros are A shift of 1 position shown in FIG. 6 will be ex shifted into the first byte of a sequence as shown in FIG. plained to illustrate the operation of the shifter 320a. If 6. Each sequence is initialized by an output to the func the bits 1 and 0 of the function generator register have 25 tion generator register and therefore data should not be the value "10", the complement of this is "01" indicat sent to the function generator register in the middle of ing a shift of 1 pixel position. Thus, the line 358 will the sequence. have the logic value of 1 with the line 362 at a logic The output pixel data of the shifter are in comple value 0. The lines 359 and 364 will, of course, be a mented form (whether shifted or not) and will be re logical 0 and 1, respectively. As seen by the placement 30 complemented by the flopper indicated generally at of the pull-down transistors 350, a logical 1 on the line 324a. The NOR gate 344g has an input connected to the 358 and the line 364 results in all the output lines being A14 address bit and an input connected to bit 6 of the pulled down to logical 0 except output lines 368c, 368g, function generator register 274 which determines 368k and 368o since these lines do not have a pull-down whether the flop function is performed when A14 is transistor coupled to either the input line 358 or 364. 35 low. The output of the NOR gate 344g is connected by The output lines 386c does have a pull-down transistor a line 374 to the gates of four transistor switches 376a-d 350a coupled to the input line 352b which carries pixel The logic state of the input line 374 is inverted by an data bit PDB2 from the multiplexer 328a. Thus the inverter 378 whose output is connected to the gates of logic state of the output line 368c is the complement of transistor switches 380a-d of the flopper 324a. The the logic state of the input line 352b (or PDB2) from the 40 output lines 368a–p of the shifter 320a are the input lines output of the multiplexer unit 328a2. The pixel data bit of the flopper 324a. The flopper 324a also comprises a PDB0 output of the shifter corresponds to output lines programmed logic array having output lines 382a-h 368a-d and the particular value of PDB0 depends upon coupled to the input lines 368a-p by a plurality of pull which of the lines 368a-dare selected by the input lines down transistors 384. 358 and 362. Here, output line 368c was selected, there 45 The output lines 382a and b are connected by the fore the pixel data bit PDB0 output of the shifter is switches 376aand 380a, respectively, to a buffer 385 defined by the PDB2 output of the multiplexer (but having an output line which is the flopper PDBO output complemented). Since PDB0 is the low bit of the two line 377a. (A typical buffer 385 logic circuit is shown in bits representing the first pixel of a byte of pixel data FIG. 22.) Lines 382c and d are connected by switches and PDB2 is the low bit of the two bits representing the 50 376b and 380b, respectively, to a buffer 385 having the second pixel, it is seen that the pixel data values output flopper PDB2 output line 377b, with the lines 382e and ted by the multiplexer have shifted one pixel position. fconnected by switches 376c and 380c, respectively, to Output lines 368e-h of the shifter correspond to a buffer 385 having the PDB4 output line 377C and the PDB2 with output lines 368i-land 368m-p correspond output lines 302g and h connected by switches 376d and ing to PDB4 and PDB6 respectively. The output line 55 380d, respectively, to a buffer 385 having the flopper 368g is coupled by a pull-down transistor 350b to the PDB6 output line 377d. The input line 368c (containing line 352c which carries the bit PDB4 from the multi the complemented output pixel data bit PDB0 of the plexer. Thus output line 368g (PDB2 of the shifter) has shifter when set for a shift of 1 pixel position) is coupled the complement of the logic state of PDB4 from the to the output line 382b by a pull-down transistor 384a multiplexer. Output line 368k (PDB4) has the comple 60 and to the output line 382g by a pull-down transistor ment of the bit PDB6 from the multiplexer. 384b wherein the logic state of the complemented The output line 368o of the shifter corresponding to shifter output bit PDB0 is recomplemented and carried PDB6 is coupled by a pull-down transistor 350d to the uncomplemented on the flopper output lines 382b and output bit 354a0 of the register 354a, Register 354a 382g. A logical 1 state of the input line 374 turns on the stores the low pixel data bits of the previous pixel data 65 transistor switch 376d whereby the shifter output bit byte from the CPU to be written to memory. Bit 354ao PDBO is conducted to the flopper PDB6 output line contains the pixel data bit PDB0 of the previous byte. 377d. Thus, the PDB0 output of the shifter 320a is Thus the logic state of the output line 368o (PDB6) is flopped to the flopper 324a output bit PDB6 when the 4,475,172 27 28 input line 374 is a logical 1. On the other hand, if the series connected inverters 396 and 398 to the toggle logic state of line 374 is 0, the output of the inverter 378 input of the counter 394. The DATEN control signal is is a logical 1 which turns on the transistor switch 380a generated by a memory control circuit (FIG. 11F) of which conducts the shifter PDBO bit to the flopper the data chip and is activated during memory write PDB0 line 377a and is not flopped. Thus when the logic cycles. The NOR gate 400 has the input connected to state of the input line 374 is 0, the output of the shifter the address bit A14 so that the counter is toggled only is not flopped. The other inputs of the flopper 324.a for during memory write cycles in which the data written is the bits PDB2, PDB4 and PDB6 are handled in a similar to be modified by the function generator. ale. The output of the third bit (bit 2) of the counter 394 As an example, if the byte of pixel data being written O is connected to the input of a NOR gate 402 which also to the display RAM represents pixel values P7, P6, P5 has an input connected to the output of the inverter 396. and P4 as for the byte of original data of FIG. 6 and the The output signal of NOR gate 402, SHIFT is con shifter is set for zero shifts so that the shifter does not nected to the shift inputs of the shift registers 388-391 shift the data, then the PDB6, PDB4, PDB2 and PDBO and clock inputs of register 354 (as well as flip-flop 280 output bits of the shifter 320a are the low bits of the bits 15 of the expander). During the first four memory writes of representing pixel values P7, P6, P5 and P4, respec a rotate sequence, the third bit of the counter 394 is 0 tively, (but complemented). When bit 6 of the function (since the counter counts from 000 to 011) therefore, the generator register is a logical 0, the logic states of the NOR gate 402 performs as an inverter wherein the pixel data bits will be recomplemented and flopped so DATEN signal from the inverter 396 generates a shift that the PDB6, PDB4, PDB2 and PDBO output bits of 20 signal at the output of the NOR gate 402 with each of the flopper 324a (together with the PDB7, PDB5, the first four writes to the display RAM of a rotate PDB3 and PDB1 output bits of the flopper 324b) repre sequence. With the next or fifth write, however, the sent the pixel data values P4, P5, P6 and P7 after the third bit of the counter 394 goes to a logical 1 which flop operation as shown in FIG. 6. drives the output of the inverter 402 low for the last The rotate function is performed on the low pixel 25 four memory writes of a rotate sequence. The SHIFT data bits by a rotator indicated generally at 322a and clock signal is activated with each write to the display comprises a programmed logic array 386 having 4 input RAM (except for the last four writes of a rotate opera lines connected to the register 354 PDB0, PDB2, PDB4 tion) whether or not the rotate function is utilized in a and PDB6 output lines 356a-d and 12 input lines con write of data to the display RAM. Thus the SHIFT nected to the 12 outputs of four 3-bit shift registers 30 signal is also used to clock the Expand flip-flop 280 so 388-391. The input of the first bit 388a of the shift regis that the flip-flop 280 toggles with each write operation ter 388 is connected to the PDB0 input line 356a with to the display RAM. the inputs of the first bits 389a-391a of register 389-391 Each low bit of the first three bytes of a rotate se connected to the PDB2, PDB4 and PDB6 lines 356b-d quence are shifted into the shift registers 388-391 of the respectively. (A typical bit circuit 388a of the bits of the 35 low bit rotator 322a. Shift register 388 stores the pixel shift registers 388-391 is shown in greater detail in FIG. data bit PDB0 of pixels P0, P4 and P8 of the first three 23.) bytes, respectively, of the rotate sequence of FIG. 7A. The rotator is used to rotate a four-by-four pixel Similarly, shift register 389 contains the low pixel data image 90' in a clockwise direction. The four-by-four bit PDB2 of pixels P1, P5 and P9 after the first four pixel image represented in FIG. 7A is shown with the memory writes of the rotate operation. The particular individual pixel data bits PDBO-PDB7 of each of the pixel data bits for each of the registers 388-391 are four data bytes labeled. The rotator is initialized by an shown in FIG. 40, output to the function generator register and will reini The programmed logic array 386 of the rotator 322a tialize itself after every 8 writes to the display RAM. To further has inputs 404a–404c connected to the outputs perform a rotation, the following procedure is per 45 of bits 388a-388c, respectively, of the shift register 388. formed. The top byte or byte 0 of the unrotated image The output of bits 389a-c of the shift register 389 are is written to a location in the display RAM. The next connected to the inputlines 406a-c with the output of bits byte, byte 1 is written to the first location plus 40, byte 390a-c and 391a-c of the shift registers 390 and 391 2 to the first location plus 80, and the last byte, byte 3 to connected to the input lines 408a-c and 410a-c, respec the first location plus 120. These four locations corre 50 tively. The input lines 356a-d from the register 354 are spond to 16 contiguous pixels since 40 bytes represent coupled to output lines 412a-d, respectively, by four one line of pixels on the display screen. The process is pull-down transistors 414, The output lines 412a-d are then repeated with byte 0 rewritten to the first location, connected by four transistor switches 416a-d to the byte 1 to the first location plus 40, byte 2 to the first voltage source VDD by a pull-up transistor 418 and location plus 80 and byte 3 to the first location plus 120. 55 also to a common output line 420 which carries the pixel After these 8 writes, the data will appear in the display data bit PDB6 output of the rotator in complemented RAM and (subsequently) the image on the screen ro form. tated 90' from the original as shown in FIG. 7B. The input lines 404a, 406a, 408a and 410a (from the The low 4-bit rotator 322a further comprises a 3-bit LSB of the shift registers 388-391) are coupled to out counter 394 for counting the 8 writes completed in a put lines 422a-d, respectively, by four pull-down tran rotate sequence. (The logic circuitry of the bits 0-3 is sistors 424. The output lines 422a-d are connected by shown in greater detail in FIG. 24 with bit 3 excluding four transistors switches 426a-d, respectively, to a com that portion shown in phantom.) The counter 394 has a mon output line 428 and to voltage source VDD by a "clear" input, 2, connected to the function generator pull-up transistor 430. The output line 428 carries the register select line 218 so that the counter is initialized 65 pixel data bit PDB4 output of the rotator in comple to 0 with each output to the function generator register mented form. The input lines 404b, 406b, 408b and 410b 274. A NOR gate 400 having a "DATEN" control sig and input lines 404c, 406c, 408c and 410c are coupled to nal input and an address bit A14 input is connected by output lines 432a-d and output lines 434a-d, respec