A SIN G L E - CHI P GRAPHICS DISPLAY CONTROLLER FOR SOP HIS TIC ATE D DIS P LAY T E R MIN A L S Jeff Wise and Henryk Szejnwald PRESENTED TO 1HE ISSC Conference February 19, 1981 SESSION: THPM 13.4 NEC MI CROCClv1PUTERS , INC. 173 Worcester Street Wellesley, MA 02181 SLIDE 1 In this age of computers and communications, collecting "NEED TO data seems easier than understanding it. With the amounts UNDERSTA~l)' , of information available today, it is impossible to thoroughly study raw data to uncover its message. Presenting this data in a graphical form, on the other hand, can make possible a quick and accurate evaluation of the information and its subtleties. Computer-generated graphics is a natural way to make this presentation. SLIDE 2 An increasingly popular technique for computer graphics "GDC STAR" is the raster-scan terminal. Its capabilities for bright colors, filled areas, selective erase, and interactive oper- ation appeal to its users, while its rapidly Emproving price/ performance ratio appeals to its buyers. Indeed, plummeting memory and CRT display costs are encouraging rapid growth in the computer graphics industry, but compared with the other com- ponents of a graphics terminal, advances in display controller technology have lagged behind. A more technologically ad- vanced display controller has been needed for some time. SLIDE 3 In what follows, I will describe a new display controller , 'RASTER-SCAN for raster-scan computer graphics application which satisfies GRAPHICS" this need. Using advanced LSI technology and a sophisti- cated architecture, this graphics display controller, (abbre- ivated - GDC), handles the high speed, repetitive tasks of a computer graphics system. When combined with a microprocessor, 2 a bit-mapped display memory, and a CRT display unit, this controller is the key to a low-IC count, high performance system. II. DESIGN CONSIDERATIONS The design of the GDC encompasses many considerations. First among these is the overall functionality requirement. A sophisticated graphics system requires activities at several levels to generate a graphics display. SLIDE 4 First, a high level description of the object to be displayed "ACTIVITIES" needs to be generated and maintained using a vector list, for example. Second, this representation must be reduced to draw- able figures which result from application dependent manipulations such as 3D rotation and hidden line removal. Third, drawing parameters must be calculated as required by the figure drawing algorithm. Fourth, the addresses of each figures' pixels must be determined. Fifth, the memory at these addresses must be modified to draw the figures into display memory. And, finally, the video raster-scanning process must proceed continuously. Let me point out that the first three activities share the requirement for involved and application dependent manipulations. Activities 4, 5, and 6, on the other hand, are repetitive in nature and use comparatively straightforward and application independent algorithms. This makes them highly suitable for a special purpose, integrated circuit implementation. Designing this section of the system into an Ie yields high performance and a low package count. 3 While maintaining application generality. Another major design consideration is the effect of the system architecture on throughput. Although architec- tures which use task partitioning promise great improvements in performance, the divisions must be chosen carefully to realize these potentialities. The figure drawing process, which includes activities 3, 4, and 5, is the most important task to partition due to its high frequency of occurrence. SLIDE 5 To this end, display memory should be separated from "DESIGN system memory so t h at the ~lcropTocessor . can calculate the drawing CONSIDERATIONS" parameters for the next figure, while the current figure is being drawn by the GDC. The GDC needs to control both the display memory address and data to be able to draw figures while the system microprocessor is calculating the next figure's para- meters. In addition, the interface between the microprocessor and the GDC must allow an efficient flow of drawing infor- mation to keep system throughput high. The display memory architecture also must respond to design considerations. An architecture Which can use 64K RAMs will have an advantage if, for example, 1024 by 1024 pixel displays can be generated with 64K RAMS when a l6-bit data word is used. In addition, the most flexible display memory is linearly addressed so that there is one continuous range of addresses used for the display; but, generating a two dimen- sional "X-Y" display frem this linear memory structure re- quires more complex circuitry in the GDC. For additional 4 flexibility, the memory should be able to support both bit- mapped graphics and coded characters within the same memory structure. Finally, read-modifY-~Tite operations should be used to speed up display memory manipulations. Display generation should emphasize flexibility in the video ti~ing, and should have powerful capabilities, such as partitioned display areas, mixed graphics and characters, zoom, pan, scroll, and multiple GDC synchronization. Finally, the device must be housed in a package no larger than 40 pins. III. DESIGN CONCEPT SLIDE 6 From these considerations, a design concept has been de- "SYSTEM BLOCK veloped. Its basic architecture is illustrated in this system DIAGRAM" block diagram. The graphics display controller is seen situated between the microprocessor and the display memory. Notice that the display memory is completely isolated from the microprocessor system. The GDC forms the only bridge between the two memories. SLIDE 7 Looking more closely at the display controller, we see an "GDC BLOCK 8-bit data interface to the microprocessor. A 16 byte FIFO DIAGRArvr' is used to pass commands to the GDC's command processor over the internal data path, and the command's para~eters are stored in the RAM. The display memory interface uses a time multiplexed address and data bus to control the display memory. Dedicated hardware is included for read-modify-write operations which can replace, complement, reset, or set the display memory contents. Also 5 included is figure drawing hardware for drawing lines, arcs, circles, rectangles, and 8 by 8 pixel, graphics characters. To drive a CRT display unit, a video sync timing generator provides highly flexible raster-scanning, par- titioned display areas, zoomed display, panning, and scrol- ling. Also, a light pen input is included. IV. IMPLEMENTATION HIGHLIGHTS SLIDE 8 Several details of the GDC's implementation deserve "BUS highlighting. REGISTERS" The microprocessor interface presents two read/write addresses to the system bus. Through these locations, the status register and the FIFO can be accessed. The read only status register is accessed at address 0. GDC responses can be read from the FIFO at address 1. Both commands or para- meters bytes are written into the FIFO, but must be differ- entiated by the address used for the write operation. Note that ~~ data to and from display memory also passes through this interface but bypasses the FIFO. ~ SLIDE 9 Commands to the GDC can be categorized into five groups. "CGNA1\1D Both the video timing and display formats can be controlled CATEGORIES' , flexibly, while the figure drawing hardware has its own group of commands. Data from the display memory and the light pen and cursor addresses can be queried. DMA data transfers to and from display memory can be initiated with the ~~ control connnands. Any rectangular area in display memory can then 6 be accessed via IMA. SLIDE 10 The display memory interface uses a ttme multiplexed "m·I\\' CYCLE" address and data bus. A ffi..1\\' cycle is shown here in.rthis slide. Based on the clock, the address is first output to the display memory address latches. The memory responds with the data read from that address. The modify operation is performed within the GDC, and the resulting data is output for writing back into memory. This process uses four clock cycles, which, with a 5 MHz clock, takes 800 ns. Each ~\ cycle can draw one pixel of a figure or modify any speci- fied bits of the 16 bit memory word. Note that during figure drawing, the address of the next pixel of the figure is being determined, while the current pixel is ~Titten into display memory. This pipelining capability allows the GDC to execute back-to-back ffi..1K cycles while drawing. SLIDE 11 Four operations are selectable for the ~\ cycle. In "ffi.I\\' OPERATION this slide, notice on the left, the drawing pattern to be OPERATIONS" moved into display memory. Below this is shown the previous contents of memory in the area of the ~v operation. If the REPLACE operation is selected, a common write operation is perfonned. The other operations, COMPLEMEl\1'f, RESET, and SET, mod~fy display memory only where the corresponding pattern bit is a "1". SLIDE 12 The display on the CRT can be divided into as many as "DISPLAY four independent areas. Each separate area in display memory AREAS" 7 is scanned, in sequence, to generate the display. Each area is described to the GDC by a starting address and a length, which are stored in the on-chip RAM for access during the display scannjng process. Independent scrolling and pan- ning of each area are easily accomplished by changing the respective starting address. v. APPLICATION EXAMPLE To illustrate the use of the GDC, I will take as an example, a 1024 pixels by 1024 lines, color graphics sys- tem. A good starting point for any CRT system design is the video field timing. Since the CRT monitor speed and the clock rate of the GDC are intimately related to the video timing, all must be considered together. Although the GDC' can control a non-interlaced display of this size, available color CRT monitors will limit us to an interlaced 30 Hz dis- play. SLIDE 13 Within these constraints, numerous parameters can be specified ''VIDEO to the GDC to establish the video timing. The programmable TIMING" active display, blanking and sync signal parameters will allow us to generate the appropriate video timing for our application. SLIDE 14 Another interesting point to highlight is the structure "DISPLAY of the multiple plane, display memory which has four bits for MFMQRY" each displayed pixel. In this example, each color output is c'ontrolled by one bit so that black, six colors, and white can 8 be displayed. The fourth plane can be used to generate a white overlay. Each plane uses 16, 64K RAMs and a l6-bit video output shift register. During a RM1V cycle, the 16 read data bits from the addressed pl~ne are gated onto the address and data bus, and back to the GDC. Note, the address latch and write data buffer serve to de-multiplex the out- going information from the GDC. VI • FEATIJRES SUMMARY SLIDE 15 Although the GDC fits this configuration well, many HFLEXIBILITI" other system designs are equally realizable. Since the overall design goals were flexibility, performance, and simplicity of use, the scope of applications for the GDC is very broad. Let me summarize some of the features which make this possible. Of the greatest importance to flexibility is the display memory architecture, which can be configured in al- most any format up to a total of 256K, l6-bit words. Si- multaneous support of bit-mapped graphics and coded characters in split field displays also extend the range of applications. These partitioned areas are easily and independently panned and scrolled. In addition, the display may be zoom magnified from one to 16 times, or the displayed image may act as a roving window in a larger display memory. The video pixel rate can exceed 80 MHz. 9 In character display applications, up to 256 characters per row or 100 rows per screen can be displayed while 64K characters and attributes can be stored in the l6-bit wide display memory. For bit-mapped graphics, 4096 pixels per line or 2048 lines per screen can be displayed for a total of up to 4 megapixels. Hardware figure drawing needs only 800 ns per pixel for any of the GDC's figures, drawn in any direction. The ~~ capability is ideal for text editing, hard-copy appli· cations, and for saving and restoring the video memory's con- tents. The light pen input is valuable for interactive applica- tions, and multiple GDC's can be video synchronized for ex- panded systems. VII. 1HE DIE SLIDE 16 The embodiment of the GDC design is seen in this photo- "PHOTO- micrograph of the pre-production die. The 13,000 N-MOS MI CROGRAPH" transistor design was developed using 4 micron rules. This version is expected to run with a 5 ~~z clock and uses a single 5 volt supply. Taking a closer look at the die itself, we can see its functional elements. This block in the upper right corner contains the 16 byte Data RAM and the 16-level FIFO. The area direct+y below is the command processor control ROM holding 128, 14-bit instructions. Just to the left and 10 splitting the die horizontally is the command processor logic. The microprocessor interface and the DMA control logic is bounded below by the light colored channel. Across the bottom of the die is the video sync generator. In the center of the die, above the sync generator, is the figure drawing hardware. The entire left side is the dis- play memory interface, including the ffi~f data path circuitry. VIII. CONCLUSION As you can see, with this level of integration, the GDC represents a new generation of display controller technology. It makes practical graphics equipment suitable for a wide range of uses, from personal computers, through CAD systems, to sophisticated stand-alone graphics terminals. THE NEED TO UNDERSTAND RASTER-SCAN GRAPHICS MICROPROCESSOR . DISPLAY -,.? CONTROllTER ~ .Joo... .. BITMEMORY MAPPED .. ,-~ CRT ... DISPLAY GRAPHIC ACTIVITIES 1. VECTOR LIST GENERATION 2. GRAPHICS PRIMITIVES DERIVATION 3. DRAWING PARAMETERS DETERMINATION 4. FIGURE DRAWING 5. DISPLAY MEMORY MANIPULATION 6. DISPLAY RASTER SCANNING DESIGN CO~SIDERATIONS DISPLAY ..... BIT MAPPED ~ CRT MICROPROCESSOR ~ -.,i} r-~ ... MEMORY ... DISPLAY CONTROllTER I SYSTE~] BLOCK DIAGRAM .1. DISPLAY MICROPROCESSOR ~DC t--- MEMORY II."D~ J " "'r' , ADDRESS DATA ," AND DATA I L 7 -, - , - -, - I--- VIDEO I/ / 1 , - DMA , ~, - ., ' .. ".;'" ,~ ,- Voooo LI - ' ',1. '.J '~r-; : -!,I .;: ':. ,,!~. ~. LIGHT MEMORY k,., ~ PEN GDC BLOCK DIAGRAM CLOCK 8 BH DA~ MICROPROCESSOR TIMING • .-- VIDEO SYNC "I -7 INTERFACE ...- ...- GENERATOR MEMORYTIMING COMMAND ...- DISPLAY DISPLAY MEMORY V .A PROCESSOR I-- - """"- MEMORY CONTROLLER ~RESSAND DATA RAM ...- '-- LIGHT PEN MICROPROCESSOR INTERFACE REGISTERS: WRITE ARPRlssO: STATUS REG COMMAND AOD8Ea 1: FIFO READ PARAMETERS COMMAND CATEGORIES: 1, VIDEO CONTROL 2. DISPLAY CONTROL 3. DRAWING CONTROL 4. DATAREAD &. DMA CONTROL READ ~ODIFY WRITE CYCLE CLOCK ~~ Ii ADDR/DATA - - - - c BUS ,---,~1---' ADDRESS / WRIT~ READ 1 (~ . DATA )I MODIFY OPERATION INTERVAL DRAWING PATTERN REPLACE COMPLEMENT f[~~~1 L, ________ J PREVIOUS CONTENTS RESET SET ,..------- -,I I I r---------, I I I ~,...,._....,_.o],....,....,..,...,.... I ....~~ I I ~~",""",-......../ RMW OPERATIONS DISPLAY AREAS PARTITIOr~Ir;G 16 BITS ,- -I START 1 AREA 1 AREA 2 START 2 AREA 3 START 3 AREA 4 CRT DISPLAY START 4 IDISPLAY MEMORY1 VIDEO FIELb Tlrll~!G HORIZONTAL SYNC PULSE HORIZONTAL FRONT PORCH BLANKING DISPLAY AREA 1 DISPLAY AREA 2 VERTICAL FRONT PORCH BLANKED LINE$ HORIZONTAL BACK PORCH BLANKING I DISPLAY MEMORY ORGANIZATION I ADDRESS FLEXIBILITY PERFORMANCE SIMPLICITY fAAot.cl cs DI SPLAY CcMRaJ..ER cx:ML\.\'D FIFO CD"l~'J) PROCESSOR m!\1ROL ~~$ir~~a.;~m-~ STORE CCI+iA.\l) MICRO PROCESSOR - _.... ".!..~~~~!iir."\l:~M:i INrERFACE ~IC ~~~~~~~~~. ~...... 6 ilIA DISPLAY Me4:lRY VIDEO SYNC I~1'ERFACE GENERATOR NEe IlPD7220/GDC GRAPHICS DISPLAY CONTROLLER NEe Microcomputers A Division of NEC Electronics U.S.A. Inc. PRELIMINARY Description System· Considerations The ILPD7220 Graphics Display Controller (GDC) is an The GDC is designed to work with a general purpose intelligent microprocessor peripheral designed to be the microprocessor to implement a high-performance com- heart of a high-performance raster-scan computer graphics puter graphics system. Through the division of labor and character display system. Positioned between the established by the GDC's design, each of the system video display memory and the microprocessor bus, the components is used to the maximum extent through six- GDC performs the tasks needed to generate the raster dis- level hierarchy of simultaneous tasks. At the lowest level, play and manage the display memory. Processor software the GDC generates the basic video raster timing, including overhead is minimized by the GDC's sophisticated instruc- sync and blanking signals. Partitioned areas on the screen tion set, graphics figure drawing, and DMA transfer capa- and zooming are also accomplished at this level. At the bilities. The display memory supported by the GDC can be next level, video display memory is modified during the fig- configured in any number of formats and sizes up to 256K ure drawing operations and data moves. Third, display 16-bit words. The display can be zoomed and panned, memory addresses are calculated pixel by pixel as drawing while partitioned screen areas can be independently progresses. Outside the GDC at the next level, preliminary scrolled. With its light pen input and multiple controller calculations are done to prepare drawing parameters. At capability, the GDC is ideal for advanced computer the fifth level, the picture must be represented as a list of graphics applications. graphics figures drawable by the GDC. Finally, this repre- Features sentation must be manipulated, stored, and communi- cated. By handling the first three levels, the GDC takes care D Microprocessor Interface of the high-speed and repetitive tasks required to imple- DMA transfers with 8257 or 8237-type controllers FIFO Command Buffering ment a graphics system. D Display Memory Interface GDC Components Up to 256K words of 16 bits The GDC block diagram illustrates how these tasks are Read-Modify-Write (RMW) Display Memory cycles accomplished. in under 800ns Dynamic RAM refresh cycles for non-accessed memory ORQ HSYNC VlEXTSYNC D Light Pen Input OACK -.. ._-----<:> BLANK D External video synchronization mode OB-Oto7 Ml D Graphics Mode: AD liAS WR Four megabit, bit-mapped display memory •••a---O DiiiN D Character Mode: 8K character code and attributes display memory D Mixed Graphics and Characters Mode 64K if all characters 1 megapixel if all graphics D Graphics Capabilities: Figure drawing of lines, arc/circles, rectangles, and 1.17 1.16 graphics character in 800ns per pixel AD-IS AD-14 Display 1024 by 1024 pixels with 4 planes of color AD-13 or grayscale ~._.r'=-,/ AD-Oto12 Two independently scrollable areas D Character Capabilities: LPEN Auto cursor advance Four independently scroll able areas Programmable cursor height Microprocessor Bus Interface Characters per row: up to 256 Control of the GDC by the system microprocessor is Character rows per.screen: up to 100 achieved through an 8-bit bi-directional interface. The D Video Display Format status register is readable at any time. Ae,cess to ~he FIFO Zoom magnification factors of 1 to 16 buffer is coordinated through flags in the status register Panning and operates independently of the various internal GDC Command-settable video raster parameters operations, due to the separate data bus connecting the D Technology interface and the FIFO buffer. Single +5 volt, NMOS, 40-pin DIP Command Processor D DMA Capability: The contents of the FIFO are interpreted by the command Bytes or word transfers processor. The command bytes are decoded, and the suc- 4 clock periods per byte transferred ceeding parameters are distributed to their proper destina- tions within the GDC. The command processor yields to the accepted as a valid light pen detection. A status bit indi- bus interface when both access the FIFO simultaneously. cates to the system microprocessor that the light pen regis- DMAControl ter contains a valid address. The DMA control circuitry in the GDC coordinates transfers Programmer's View of GDC over the microprocessor interlace when using an external The GDC occupies two addresses on the system micro- DMA controller. The DMA Request and Acknowledge processor bus through which the GDC's status register and handshake lines directly interlace with a ILPD82S7 or FIFO are accessed. Commands and parameters are writ- ILPD8237 DMA controller, so that display data can be ten into the GDC's FIFO and are differentiated based on moved between the microprocessor memory and the dis- address bit AD. The status register or the FIFO can be read play memory. as selected by the address line. Parameter RAM AO READ WRITE The 16-byte RAM stores parameters that are used repeti- STATUS REGISTER PARAMETER INTO FIFO tively during the display and drawing processes. In charac- ter mode, this RAM holds four sets of partitioned display area parameters; in graphics mode, the drawing pattern 0 I I I I I I I I I II I I I I I I I and graphics character take the place of two of the sets of FIFO READ COMMAND INTO FIFO parameters. Video Sync Generator 1 I I I I I I I I I I I I I I I I I I Based on the clock input, the sync logic generates the ras- GDC Microprocessor Bus Interface Registers ter timing signals for almost any interlaced, non-interlaced, Commands to the GDC take the form of a command byte or "repeat field" interlaced video format. The generator is followed by a series of parameter bytes as needed for programmed during the idle period following a reset. In specifying the details of the command. The command proc- video sync slave mode, it coordinates timing between mul- essor decodes the commands, unpacts the parameters, tiple GDCs. loads them into the appropriate registers within the GDC, Memory Timing Generator and initiates the required operations. The memory timing circuitry provides two memory cycle The commands available in the GOC can be organized types: a two-clock period refresh cycle and the read- into five categories as described in the following section. modify-write (RMW) cycle which takes four clock periods. The memory control signals needed to drive the display GDC Command Summary memory devices are easily generated from the GDC's RAS Video Control Commands and DBIN outputs. 1 . RESET: Resets the GDC to its idle state and spe- Zoom & Pan Controller cifies the video display format. Based on the programmable zoom display factor and the 2. VSYNC: Selects master or slave video synchroni- display area entries in the parameter RAM, the zoom and zation mode. pan controller determines when to advance to the next 3. CCHAR: Specifies the cursor and character row memory address for display refresh and when to go on to heights. the next display area. A horizontal zoom is produced by Display Control Commands slowing down the display refresh rate while maintaining the 1. START: . Starts the display scanning process. video sync rates. Vertical zoom is accomplished by repeat- 2. ZOOM: Specifies zoom factors for the display edly accessing each line a number qf times equal to the and graphics characters writing. horizontal repeat. Once the line count for a display area is 3. CURS: Sets the position of the cursor in display exhausted, the controller accesses the starting address memory. and line count of the next display area from the parameter 4. PRAM: Defines starting addresses and lengths RAM. The system microprocessor, by modifying a display of the display areas and specifies the area starting address, can pan in any direction, indepen- eight bytes for the graphics character. dent of the other display areas. 5. PITCH: Specifies the width of the X dimension of Drawing Processor display memory. The drawing processor contains the logic necessary to Drawing Control Commands calculate the addresses and positions of the pixels of the 1. WDAT: Writes data words or bytes into display various graphics figures. Given a starting point and the memory. appropriate drawing parameters, the drawing processor 2. MASK: Sets the mask register contents. needs no further assistance to complete the figure drawing. 3. FIGS: Specifies the parameters for the drawing Display Memory Controller processor. The display memory controller's tasks are numerous. Its 4. FIGO: Draws the figure as specified above. primary purpose is to multiplex the address and data infor- 5. GCHRD: Draws the graphics character into dis- mation in and out of the display memory. It also contains play memory. the 16-bit logic unit used to modify the display memory con- Data Read Commands tents during RMW cycles, the character mode line counter, 1. RDAT: Reads data words or bytes from display and the refresh counter for dynamic RAMs. The memory memory. controller apportions the video field time between the var- 2. CURD: Reads the cursor position. ious types of cycles. 3. LPRD: Reads the light pen address. Light.Pen Deglitcher DMA Control Commands Only if two rising edges on the light pen input occur at the 1. DMAR: Requests a DMA read transfer. same point during successive video fields are the pulses 2. OMAW: Requests a DMA write transfer. 2 7 I I I I I I 6 5 4 3 2 1 0 I The receipt of a command byte by the command processor marks the end of any previous operation. The number of ~DataReadY parameter bytes supplied with a command is cut short by I the receipt of the next command byte. A read operation t t FIFO Full FIFO Empty from the,GOC to the microprocessor can be terminated at 1 Drawing in Progress DMAExecute any time by the next command. The FIFO changes direction under the control of the sys- Vertical Sync Active Horizontal Blank Active tem microprocessor. Commands written into the GOC Light Pen Detect always put the FIFO into write mode if it wasn't in it already. Status Register (SR) . If it was in read mode, any read data in the FIFO at the time of the turnaround is lost. Commands which require a GOC Status Register Flags response, such as ROAT CURO and LPRO, put the FIFO SR-7: Light Pen Detect into read mode after the command is interpreted by the When this bit is set to 1, the light pen address (LAO) GOC's command processor. Any commands and parame- register contains a deglitched value that the system micro- ters behind the read-evoking command are discarded processor may read. This flag is reset after the 3-byte when the FIFO direction is reversed. LAO is moved into the FIFO in response to the Ughtpen read command. Read-Modify-Write Cycle Oata transfers between the GOC and the display memory SR-6: Horizontal Blanking Active are accomplished using a read-modify-write (RMW) mem- A 1 value for this flag signifies that horizontal retrace blank- ory cycle. The four clock period timing of the RMW cycle is ing is currently underway. used to: 1) output the address, 2) read data from the mem- SR-5: Vertical Sync ory, 3) modify the data, and 4) write the modified data back Vertical retrace sync occurs while this flag is a 1. The verti- into the initially selected memory address. This type of cal sync flag coordinates display format modifying com- memory cycle is used for all interactions with display mem- mands to the blanked interval surrounding vertical sync. ory including OMA transfers, except for the two clock This eliminates display disturbances. period display and RAM refresh cycles. SR-4: DMA Execute The operations performed during the modify portion of the This bit is a 1 during OMA data transfers. RMW cycle merit additional explanation. The circuitry in the SR-3: Drawing in Progress GOC uses three main elements: the Pattern register, the While the GOC is drawing a graphics figure, this status bit Mask register, and the 16-bit Logic Unit. The Pattern regis- is a 1. ter holds the data pattern to be moved into memory. It is SR-2: FIFO Empty loaded by the WOAT command or, during drawing, from the This bit and the FIFO Full flag coordinate system micro- parameter RAM. The Mask register contents determine processor accesses with the GOC FIFO. When it is 1, the which bits of the read data will be modified. Based on the Empty flag ensures that all the commands and parameters contents of these registers, the Logic Unit performs the previously sent to the GOC have been processed. selected operations of REPLACE, COMPLEMENT, SET, or CLEAR on the data read from display memory. SR-1: FIFO Full A 1 at this flag indicates a full FIFO in the GOC. A 0 The Pattern register contents are ANOed with the Mask ensures that there is room for at least one byte. This flag register contents to enable the actual modification of the needs to be checked before each write into the GOC. memory read data, on a bit-by-bit basis. For graphics draw- ing, one bit at a time from the Pattern register is combined SR-O: Data Ready with the Mask. When ANOed with the bit set to a 1 in the When this flag is a 1, it indicates that a byte is available'to Mask register, the proper single pixel is modified by the be read by the system microprocessor. This bit must be Logic Unit. For the next pixel in the figure, the next bit in the tested before each read operation. It drops to a 0 while the Pattern register is. selected and the Mask register bit is data is transferred from the FIFO into the microprocessor moved to identify the pixel's location within the word. The interface data register. Execution word address pointer register, EAO, is also FIFO Operation ~ Command Protocol adjusted as required to address the word containing the The first-in, first-out buffer (FIFO) in the GOC handles the next pixel. command dialogue with the system microprocessor. This In character mode, all of the bits in the Pattern register are flow of information uses a half-duplex technique, in which used in parallel to form the respective bits of the modify the single 16-location FIFO is used for both directions of data word. Since the bits of the character code word are data movement, one direction at a time. The FIFO's direc- used in parallel, unlike the one-bit-at-a-time graphics draw- tion is controlled by the system microprocessor through ing process, this facility allows any or all of the bits in a the GOC's command set. The microprocessor coordinates memory word to be modified in one RMW memory cycle. these transfers by checking the appropriate status The Mask register must be loaded with 1s in the positions register bits. where modification is to be permitted. The command protocol used by the GOC requires the dif- The Mask register can be loaded in either of two ways. In ferentiation of the first byte of a command sequence from graphics mode, the CURS command contains a four-bit the succeeding bytes. This first byte contains the operation dAO field to specify the dot address. The command proces- code and the remaining bytes carry parameters. Writing sor converts this parameter into the one-of-16 format used into the GOC causes the FIFO to store a flag value along- in the Mask register for figure drawing. A full 16 bits can be side the data byte to signify whether the byte was written loaded into the Mask register using the MASK command. into the command or the parameter address. The com- In addition to the character mode use mentioned above, mand processor in the GOC tests this bit as it interprets the the 16-bit MASK load is convenient in graphics mode when entries in the FIFO. all of the pixels of a word are to be set to the same value. 3 The Logic Unit combines the data read from display mem- DIR OPERATIONS TO ADDRESS THE NEXT PIXEL ory, the Pattern Register, and the Mask register to generate EAD + P-+ EAD 000 the data to be written back into display memory. Anyone of 001 EAD + P-+EAD four operations can be selected: REPLACE, COMPLE- dAD (MSB) = 1 : EAD + 1 -+ EAD dAD-+ LR MENT, CLEAR or SET. In each case, if the respective Mask bit is 0, that particular bit of the read data is returned to 010 dAD (MSB) = 1 : EAD + 1 -+ EAD dAD-+ LR memory unmodified. If the Mask bit is 1, the modification is 011 EAD - P-+EAD enabled. With the REPLACE operation, the modify data dAD (MSB) = 1 : EAD + 1 -+ EAD dAD-+ LR simply takes the place of the read data for modification EAD - P-+EAD 100 enabled bits. For the other three operations, a 0 in the mod- 101 EAD - P-+ EAD ify data allows the read data bit to be returned to memory. dAD (LSB) = 1 : EAD - 1 -+ EAD dAD-+ RR A 1 value causes the specified operation to be performed in the bit positions with set Mask bits. 110 dAD (LSB) = 1 : EAD + 1 -+ EAD dAD-+ RR Figure Drawing 111 EAD + P-+ EAD The GDC draws graphics figures at the rate of one pixel per dAD (LSB) = 1 : EAD + 1 -+ EAD dAD-+ RR read-modify-write (RMW) display memory cycle. These Where P = Pitch, LR = Left Rotate, RR = Right Rotate EAD = Execute Word Address cycles take four clock periods to complete. At a clock fre- dAD = Dot Address stored in the Mask Register quency of 5MHZ, this is equal to 800ns. During the RMW cycle the GDC simultaneously calculates the address and used per RMW cycle to write all the bits of the word to the position of the next pixel to be drawn. same value. The next Pattern bit is used for the word, etc. The graphics figure drawing process depends on the dis- . For the various figures, the effect of the initial direction play memory addressing structure. Groups of 16 horizon- upon the resulting drawing is shown below: tally adjacent pixels form the 16-bit words which are handled by the GDC. Display memory is organized as a lin- DIR LINE ARC CHARACTER SLANT CHAR RECTANGLE DMA early addressed space of these words. Addressing of indi- vidual pixels is handled by the GDC's internal RMW logic. 000 ~# Ilillm During the drawing process, the GDC finds the next pixel of ~ the figure which is one of the eight nearest neighbors of the last pixel drawn. The GDC assigns each of these eight directions a number from 0 to 7, starting with straight down and proceeding counterclockwise. 010 A ----- - 011 ~ ~ 100 1111" II 101. ~ - -- 110 Drawing Directions 111 A ~ Figure drawing requires the proper manipulation of the address and the pixel bit position according to the drawing Drawing Parameters direction to determine the next pixel of the figure. To move In preparation for graphics figure drawing, the GDC's to the word above or below the current one, it is necessary Drawing Processor needs the figure type, direction and to subtract or add the number of words per line in display drawing parameters, the starting pixel address, and the memory. This parameter is called the pitch. To move to the pattern from the microprocessor. Once these are in place word to either side, the Execute word address cursor, EAD, within the GDC, the Figure Draw command, FIGD, initiates must be incremented or decremented as the dot address the drawing operation. From that point on, the system pointer bit reaches the LSB or the MSB of the Mask regis- microprocessor is not involved in the drawing process. The ter. To move to a pixel within the same word, it is necessary GDC Drawing Processor coordinates the RMW circuitry to rotate the dot address pointer register to the right or left. and address registers to draw the specified figure pixel by The table below summarizes these operations for each pixel. direction. The algorithms used by the processor for figure drawing Whole word drawing is useful for filling areas in memory are designed to optimize its drawing speed. To this end, the with a single value. By setting the Mask register to all 1s specific details about the figure to be drawn are reduced by withthe MASK command,both the LSB and MSB of the the microprocessor to a form conducive to high-speed dAD will always be 1, so that the EAD value will be incre- address calculations within the GDC. In this way the repeti- mented or decremented for each cycle regardless of direc- tive, pixel-by-pixel calculations can be done quickly, tion. One RMW cycle will be able to effect all 16 bits of the thereby minimizing the overall figure drawing time. The word for any drawing type. One bit in the Pattern register is table below summarizes the parameters. 4 DC 0 D2 01 OM Parameter Ram Contents Initial Character Mode: RAM Address RA 0 to 16 Value 0 8 8 -1 -1 Line .:lX 2IAYI-IAXI 2IAYI-2IAXI 21AYI - RPrO(-----=! ~~SAD1l~~I: Circle r/y'2t r-1 2(r-1) -1 0 1 -;:::: 0I_ 0 0 I _ SAD1 H ) Dllplay Partition Ar.a 1 !Ii. (word Itartlng addrell wltti low & high Ilgnlllcance Ileidl addrell). Arc r/\l'2t r-1 2(r-1) -1 rslna ,J. Rectangle 3 A* B* -1 A* 2 (I . LEN1l I 0 0 0 0 I Character 7 - - - - 3 II il I WD1 0 LEN1H ~i :2 Llngth 01 Dllplay Partition 1 (line count) with high and - - - ! ._. . . _- Area Fill _ _ _ low Ilgnlllcance fleldl. B** A** OMA L I - - - L-_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ~ :=,~~I::::::yCyCle RlWOAT W - - - - lrea If thll bit II ..t to a1. Graphics Figure Drawing Parameters The dllplay addre.. counter II then Incremented by 2 for ..ch dllpilY acan cycle. Other memory cycle typel are nct Inlluaneed. WHERE: AX # of pixel positions In the line horizontally. AY # of pixel positions In the line vertically. Dlaplay Partition 2 Radius of the curve, In pixels. RM SAD2 l I-- ItIIrtlng add..... and Rounded up to the next higher Integer. length A* a = The angle subtended from the octant axis to the arc. The length -1, In pixels, In the direction Initially specified. 0 0 o I SAD2H B* The length -1, In pixels, In the direction at right angles to the Initial direction. 8 LEN2l I 0 0 0 0 A* * B** L # of pixels In the Initial direction. # of pixels In the right angle direction -1. # of word address In the perpendicular direction for DMA. 7 WD4 o I LEN2H I # of DMA transfers In the Initially specified direction. W # of word addresses to be written Into. DC DM Drawing Count. Dots Masked Count. Graphics Character Drawing RM 9 0 0 o I SAD3l SAD3H -- Display Partition 3 ItIIrtlng add..... and length Graphics characters can be drawn into display memory pixel-by-pixel. The 8-by-8 character is loaded into the 10 LEN3 l I 0 0 0 0 GDC's parameter RAM by the system microprocessor. Consequently, there are no limitations on the character set 11 WD31 0 1 LEN3 H used. By varying the drawing parameters and drawing direction, numerous drawing options are available. In area Display Partition 4 fill applications, a character can be written into display RA-12 SAD4 l '-- starting address and length memory as many times as desired without reloading the parameter RAM. 13 0 0 o I SAD4H Once the parameter RAM has been loaded with the eight 14 LEN4l I 0 0 0 0 graphics character bytes by'the appropriate PRAM com- 15 WD41 o I LEN4H mand, the GCHRD command can be used to draw the eight bytes into display memory starting at the cursor. The zoom magnification factor for writing, set by the zoom com- Graphics and Mixed Graphics and Characters Mode mand, controls the size of the character written into the dis- play memory in integer multiples of 1 through 16. The bit values in the PRAM are repeated horizontally and vertically RA-O I , - - - -_ _ _ _ _ _ _ _ _---. ~._ SAD1 L Display Partition Area 1 starting address with low, ............__................._l.........._"__..........____', ::~~(:a~~ ~::~).lllcance the number of times specified by the zoom factor. As seen in display memory, the writing is started in the lower left cor- ner of the eventual 8-by-8 block and proceeds right to left 1 1.......~_ -'-_S_AD~1_M ....... .........._"__..........____' and bottom to top. The LSBs of the stored character bytes are written first, and parameter RAM location 15 is the first 2 I LEN1 l : byte to go out. ~ ~ Length of Display Partition 3 I I _WD1 _ 1M_ '-_ _ _ _ _LE_N_1_H_ _ _ _ _ _ significance fields Area 1 with low and(line highcount). 61 62 63 - GCHR-8 In mixed mode, a 1 indicates an image or graphics area, and a 0 indicates a character - GCHR-7 area. - GCHR-6 Display Partition Area 2 RA-4 SAD2 l starting address and ~Iength with image identify - GCHR-5 bit as in area 1. SAD2M - GCHR-4 - GCHR-3 6 LEN2L I 0 o I SAD2 H WD21lM 1 LEN2H - GCHR-2 First Plxel-- 0 - GCHR-1 WriHen ~~--~--~~~~--~--~~ LSB MSB Display Memory 5 RA-8 or GCHR8 If followed by parameter bytes, this command also sets the ! I I Pattern of 16 bits used for sync generator parameters as described below. 9 PTN H or GCHR7 y figure drawing to pattern dotted, dashed, etc. lines. Idle mode is exited with the START command. P1 Mode of Operation select bits. See below. AA-10 GCHR6 P2 Active Display Words per line. Must be even number with bit 0 = o. 11 GCHR5 P3 HS 12 GCHA4 Graphics character bytes to be moved into display \ ~ Horizontal Sync Width - memory with graphics '-_ _ _ _ _ _ _ _ _ _ Vertlcal Sync Width, low bits 13 GCHA3 character drawing 14 GCHA2 P4 HFP V~H I-- Vertical Sync Width, high bits 15 GCHA1 / I.-.....L...---I_ _...I..'-,;:, ~ _-=---_.L-_-:.-_L...._-:...-:..":.-=-~_Horizontal Front Porch Width ...._.J... Command Bytes Summary P5 0 0 HBP t-c- Horizontal Back Porch Width RESET: 0 0 0 0 0 0 0 P6 0 0 VFP t--- Vertical Front Porch Width VSYNC: 1 M I P7 AL.L Active Display Unes per Video Field, t-- low bits CCHAR: 0 0 0 P8 VBP ALH I - Active Display Unes per Video Field, START: 0 0 I...-....L....---L_ _""'I' ~-'----L__...a...---'----'! high bits \ ' - - - - - - - - - V e r t i c a l Back Porch Width ZOOM: 0 0 0 In graphics mode, a word is a group of 16 pixels. In charac- ter mode, a word is one character code and its attributes, if CURS: 0 0 any. The number of active words per line must be an even num- PRAM: 0 SA ber from 2 to 256. An all-zero parameter value selects a count equal to 2 n where n=nurriber of bits in the parameter field. PITCH: 0 All horizontal widths are counted in display words. All vertical widths are counted in lines. WDAT: 1 I TYPE o I MOD Modes of Operation Bits MASK: 0 0 FIGS: 0 C G Display Mode 0 0 Mixed Graphics & Character FIGD: 0 0 0 0 1 Graphics Mode GCHRD: 0 0 0 1 0 Character Mode RDAT: 11 1 I TYPE I 0 o I 1 1 Invalid CURD: 0 0 I S Video Framing LPRD: 0 0 0 Non·lnterlaced DMAR: 1 I TYPE 11 0 1 Invalid 1 0 Interlaced Repeat Field for Character Displays DMAW: 0 1 I TYPE 111 MOD 1 1 Interlaced Video Control Commands Reset Repeat Field Framing: 2 Field Sequence with V21ine off- set between otherwise identical ~rl-o--,-0--,-0-,--0-!-0--,-0--,-0--,-0~1 Blank the display, enter Idle mode, and Initialize fields. within the GDC: -FIFO Interlaced Framing: 2 Field Sequence with V2 line off- - Command Processor -Internal Counters set. Each field displays alternate lines. This command can be executed at any time and does not Non-interlaced Framing: 1 field brings all of the information modify any of the parameters already loaded into the GOC. to the screen. 6 Cursor Position Specify 0 Dynamic RAM Refresh Cycles Enable 0 No Refresh - STATIC RAM CURS: I 0 0 0 0 1 I 1 Refresh - Dynamic RAM P1 I EAD ~ Execute Word Address, low byte Dynamic RAM refresh is important when high display zoom P2 I EAD ~ Execute Word Address, mIdcIe byte factors or DMA are used in such a way that not all of the rows in the RAMs are regularly accessed during display raster generation and for otherwise inactive display P3 I dAD I 0 o I EAD (Graphics Mode only) t memory. F Drawing Time Window I Word Address, top bits Dot Address within the word In character mode, the third parameter byte is not needed. 0 Drawing during active display time and retrace blanking The cursor is displayed for the word time in which the dis- play scan address (DAD) equals the cursor address. 1 Drawing only during retrace blanking In graphics mode, the cursor word address specifies the word containing the starting pixel of the drawing; the dot Access to display memory can be limited to retrace blank- address value specifies the pixel within that word. ing intervals only, so that no disruptions of the image are seen on the screen. . Vertical Sync Mode Parameter RAM Load ' o VSYNC: .L...I_0....I...---1..__L.....-....I...--.J...._ .....I.-°--1.I.~--I , O-Accept External Vertical PRAM:L...I_°.....l.-~__ L...-....I...---1..__ S~A--1.---I Sync - Slave Mode 1'-_____ Starting Address In 1-Generate & Output Vertical parameter RAM Sync - Master Mode When using two or more GDCs to contribute to one image, one GDC is defined as the master sync generator, and the '--.....I.-~_ _L...--'--~__~....L-......... I--- 1 to 16 bytes to be loaded Into the parameter RAM starling at the RAM address others operate as its slaves. The VSYNC pins of all GDCs specified by SA are connected together. Cursor & Character Characteristics From the starting address, SA, any number of bytes may- be loaded into the parameter RAM at incrementing addresses, up to location 15. The sequence of parameter P1 ~....I...-~--~~~~~~~ LR I--- Lines per character row bytes is terminated by the next command byte entered into the FIFO. The parameter RAM stores 16 bytes of informa- " - - - - - - - - - - - - - Display Cursor if1 tion in predefined locations which differ for graphics and character-modes. See the parameter RAM discussion for P2 CTOP L...--+---1...,--J__....L..---L----L_ _....L..-........, 1- Cursor Top line number in the row _bit assignments. "'----________ ~=~::~~~~=r ' - - - - - - - - - - - - - Blink Rate, lower bits Pitch Specification P3 L...-....I...---1..~L.....-....L--.J....---I_B_RU....L..---I1-- Blink Rate, upper bits '---'-_ _ _ _ _ _ _ _ Cursor Bottom line number In In graphics mode, LR should be set to 1. the row P1 : I P L...----L_ _...I..--I-----L_ _ ~.....I.---1.---I I--- ~~~=:I ~~~n Number of word addresses the The blink rate parameter controls both the cursor and attribute blink rates,. The cursor blink-on time = blink-off This value is used during drawing by the drawing processor time = 2 x BR (video frames). The attribute blink rate is to find the word directly above or below the current word, always V2 the cursor rate but with a 3/4 on- V4 off duty cycle. and during display to find the start of the next line. Display Control Commands Start Display & End Idle Mode Drawing Control Commands START: I 0 , 1 , 1 , 0 , 1 , 0 Write Data into Display'Memory WDAT: 0 Zoom Factors Specify 1:....---RMW Memory cycle logical ZQQM: I 0 , 1 , 1 o ...-.--.- o Operation: 0 _ _ _ REPLACE with Pattern o 1 _ _ _ COMPLEMENT P1 DlSP GCHR L...-....I...--+t--L.....-~-.J....---IL.....-....L..---I· I--- Zoom factor for graphics ~~~ 1 1 0 _ _ _ RESET to zero 1 _ _ SETt01 1 - -_ _ _ _ _ _ Data TransterType: Display zoom factor 1-_- - - - - - - - - - - - - - - - - - - o 0 _c_-------- Word, Low then High byte 1 0 - Low Byte of the Word Zoom magnification factors of'1 through 16 are available 1 1. High Byte of the Word using codes 0 through 15, respectively. o 1.. Invalid 7 P1 WORDlor BYTE 1- Word Low Data Byte or Valid Figure Type Select Combinations ~~--,-_ '.....----"L--......'_""'---'---'r--- Single Byte Data value P2 etc. .... ---'_....&...---'-_W-J0L-RD_H....&.----L._.L..-~II- I • ..f---- Word transfer only: High Data Byte SL R A GC L Operation Upon receiving a set of parameters (two bytes for a Word o 0 0 0 0 Character Display Mode Drawing and Individual Dot Drawing transfer, one for a byte transfer), one RMW cycle into Video Memory is done at the address pointed to by the cursor o 0 0 0 1 Straight Line Drawing EAD. The EAD pointer is advanced to the next word, according to the previously specified direction. More o 0 0 1 0 Graphics Character Drawing and parameters can then be accepted. Area filling with graphics character pattern For byte writes, the unspecified byte is treated as all zeros during the RMW memory cycle. o 0 0 0 Arc and Circle Drawing Mask Register Load o 0 0 0 Rectangle Drawing MASK: I 0 0 0 o 0 o Slanted graphics character 1 drawing and slanted area filling P1 I Ml I I- Low significance byte Only these bit combinations assure correct drawing P2 operation. I MH I I- High significance byte This command sets the value of thE3 16-bit Mask register of Figure Draw Start the figure drawing processor. The Mask register controls which bits can be modified in the display memory during a FIGD: I 0 I 1 I 1 I 0 I 1 0 1 read-modify-write cycle. On execution of this instruction, the GDC loads the param- eters from the parameter RAM into the drawing processor Figure Drawing Parameters Specify and starts the drawing process at the pixel pointed to by the cursor, EAD, and the dot address, dAD. Graphics Character Draw Start P1 I ......- - Drawing Direction Base Figure Type Stlect Blta: GCHRD: I 0 I 1 I 1 I 0 I 1 I 0 I 0 I 0 '-------- Line (VlOtO., Graphic. Charact.r Arc/Clrel. Based on parameters loaded with the FIGS command, this Rectangle command initiates the drawing of the graphics character or Sianttd Graphic. Character area filling pattern stored in Parameter RAM. Drawing begins at the address in display memory pointed to by the EAD and dAD values. :1 ~~~=~~~=~~~'"""I;--- iGDI..... DC ---'~;:::========~=I~QraPhlc. .... , l DC I H DC Drawing Parameter Drawing flag for u.e In Mlxtd Graphic. and Character Mode Data Read Commands 1;_-- Read Data from Display Memory :1,......--..----------,1 o i Dl I DH D Drawing Parameter RDAT:11 0 1 I ~PE I o o .. 0 0 I ) : - - - - - - D a t a Transfer Type: 0 .......1 - - - - - - Word, low then high byte Low Byte of the Word only :1 D2l D2H I 1... I ; - - - 02 Drawing Parameter 1 .......f - - - - - - High Byte of the Word only 1 ........1 - - - - - - Invalid Using the DIR and DC parameters of the FIGS command 1;_-- to establish direction and transfer count, multiple RMW :1 D1 Drawing Parameter cycles can be executed without specification of the cursor D1l , .address after the initial load (DC = number of words or bytes + 1). o i D1H 1 As this instruction begins to execute, the FIFO buffer direc- tionis reversed so that the data read from display memory can pass to the microprocessor. Any commands or param- ~o~ ~, t~~~- eters in the FIFO at this time will be lost. A command byte i : :~":: sent to the GDC will immediately reverse the buffer direc- The parameters take on ~Ifferent Interpretations for tion back to write mode, and all RDAT information not yet Pn : different figure types. read from the FIFO will be lost. 8 Cursor Address Read Absolute Maximum Ratings* (Tentative) CURD: 1~1~ ~~ ~0~_0~ 0~_0~1 __ __ __ Ambient Temperatj.lre under Bias Storage Temperature ooe to 70 0 e -65°e to 150 0 e Voltage on any Pin The following bytes are returned by the GDC: with respect to Ground -O.5Vto +7V Power Dissipation 1.5 Watt P1 A7 Execute Address (EAD), Low Byte *COMMENT: Exposing the device to stresses above those listed in Abso- lute Maximum Ratings could cause permanent damage. The device is P2 A15 Execute Address (EAD), Middle Byte not meant to be operated under conditions outside the limits described in the operational sections of this specification. Exposure to absolute maxi- mum rating conditions for extended periods may affect device reliability. P3 o o 0 0 0 Execute Address (EAD), High Bits DC Characteristics ~""'_ldAD),LDw_ TA=O°C to 70°C; Vcc=5V ± 10% PARAMETER SYMBOL MIN MAX UNITS TEST CONDITIONS Dot Address (dAD), High Byte Input Low Voltage V il -0.5 0.8 V Input High Voltage V IH 2.0 Vcc+0.5 V Output Low Voltage VOL 0.45 V IOL =2.2mA The Execute Address, EAD, points to the display memory Output High Voltage VOH 2.4 V ~H = -400uA Input Low Leak Current -10 uA word containing the pixel to be addressed. Input High Leak Current III +10 uA I=OV VI=Vcc IIH The Dot Address, dAD, within the word is represented as a Output Low Leak Current 10l -10 uA Vo=OV Output High Leak Current 10H +10 uA Vo = Vcc 1-of-16 code for graphics drawing operations. Clock Input Low Voltage VCl -0.5 0.6 V Clock Input High Voltage VCH 3.9 Vcc+ 1.0 V Light Pen Address Read Vcc Supply Current Icc 270 mA LPRD: 11 , 1 • 0 , 0 , 0 The following bytes are returned by the GDC: , 0 , 0 , 0 I Capacitance I A7 , LA~L , AO I---- Ught Pen Address, Low Byte TA =25°C; Vcc=GND=OV PARAMETER SYMBOL MIN MAX UNITS TEST CONDITIONS IA15 , LA~M , A8 ~ Light Pen Address, Middle Byte Input Capacitance CIN 10 pF fc=1MHz I/O CapaCitance Cuo 20 pF VI (unmeasured) = OV IL...-0~' _0......L..__ ...I.-~ _ _-'-_O...JI,--_LA.L..' D",;,,;H...JI---- Ught Pen Address, High Bits AC Characteristics The light pen address, LAD, corresponds to the display TA=O°C to 70°C; Vcc=5V ± 10% word address, DAD, at which the light pen input signal is detected and deglitched. PARAMETER SYMBOL MIN MAX UNITS TEST CONDITIONS The light pen may be used in graphics, character, or mixed Clock Cycle Period tClK 167 2000 nS C L = 100pF Clock High Time 70 nS modes but only indicates the word address of light pen Clock Low Time tCH 70 nS tCl position. Clock Rise Time tCR 10 nS Clock Fall Time tCF 10 nS DMA Cycle Time tE 4xt ClK nS Data In Set Up Time _ t OIS 40 nS Data Set Up Time for WR tow 150 nS Data Hold Time for WR two 0 nS DACK High Level Width nS 1 I TYPE , I 1 tOK tClK J:: . f---------------Data Transfer Type: Timing Requirements . 0 - - - - - - - - - - - - - W o r d , Low then high byte 0 - - - - - - - - - Low Byte 01 the Word PARAMETER SYMBOL MIN MAX UNITS TEST CONDITIONS . 1- .. - - - - - - - - High Byte 01 the Word Address Output Delay tAO 20 80 nS C L = 100pF 1 ---------Invalld Data Bus In Delay _ tOBI 80 nS Address Active to RAS Low t AORA 60 nS Video Signal Delay tyO 120 nS DMA Write Request AD Low to DB Delay t RO 120 nS a~~~h to DB Roating tOF 120 nS DMAW:~I_°......L.._0~_1~I TY~p_E~I 1...J1~_MO~,D~1 _ Low to ORO Delay tOR 120 nS RAS Output Delay t RAS 80 nS __ __ AD Floating Delay 80 nS tOFF ~RMW Memory Logical Operation: Timing Responses o 0- REPLACE with Pattern l_COMPLEMENT o_ RESET to Zero l_SETtoOne I.... - - - - - - - D a t a 1I'llnslerType: o ....._ - - - - - W o r d , Low then high byte o ....._ - - - - - L o w Byte 01 the Word 1 ......_ - - - - - - - - High Byte of the Word 1 ....__---------Invalld 9 Display Memory Bus Timing AD 0·15:-.:....--