Professional Documents
Culture Documents
Data Sheet Preliminary Jun83
Data Sheet Preliminary Jun83
FUNCTIONAL DESCRIPTION
Introduction
The 82720 Graphics Oisplay Controller (GOC) is an intelligent microprocessor peripheral designed to drive high-
performance raster-scan computer graphics and character CRT displays. Positioned between the video display
memory and Intel microprocessor bus, the GOC performs the tasks needed to generate the raster display and
manage the display memory. Processor software overhead is minimized by the GOC's sophisticated instruction
set, graphics figure drawing, and OMA transfer capabilities. The display memory directly supported by the GOC
can be configured in any number of formats and sizes up to 256K 16-bit words. The display can be zoomed and
partitioned screen areas can be independently scrolled and panned. With its light pen input and multiple controller
capability, the GOC is ideal for most computer graphics applications. Systems implemented with the GOC can
be designed to be compatible with standards such as VOl, NAPLPS, GKS, Core, or custom implementations.
eo 2~WClK 40 Vee
'" 0---<_ _ _--' 39 A-17
"IEXT:SYNC 4 "
37
BLANK 5 36 AD-14
RAs(ALE) 6 35 AO·13
DACK "
33 AD-"
"
"
2S A[).3
24 AO·2
PARAMETER
""
16x8
GND 0---
2xWClJ( 0----
Intel Corporation Assumed No Responsibility for the Use of Any CircUItry Other Than Circuitry Embodied in an Intel Product. No Other Clrcuil Palent licenses arc Implied. Information
contained herein supersedes previously published specifications on these devices from Intel.
@INTEL CORPORATION 1983 JUNE 1983
ORDER NUMBER: 210655-002
82720
2 210655-002
82720
Microprocessor Bus Interface Based on the programmable zoom display factor and
the display area parameters in the parameter RAM,
Control of the GOC by the system microprocessor is the zoom and pan controller determines when to
achieved through an 8-bit bidirectional interface. advance to the next memory address for display
The status register is readable at any time. Access to refresh and when to go on to the next display area. A
the FIFO buffer is coordinated through flags in the horizontal zoom is produced by slowing down the
status register. display refresh rate while maintaining the video sync
rates. Vertical zoom is accomplished by repeatedly
Command Processor accessing each line a number of times equal to the
horizontal repeat. Once the line count for a display
The contents of the FIFO are interpreted by the com- area is exhausted, the controller accesses the start-
mand processor. The command bytes are decoded, and ing address and line count of the next display area
the succeeding parameters are distributed to their from the parameter RAM. The system microproces-
proper destinations within the GOC. The bus interface sor, by modifying a display area starting address,
has priority over the command processor when both allows panning in any direction, independent of the
access the FIFO simultaneously. other display areas.
The 16-byte RAM stores parameters that are used The display memory controller's tasks are numerous.
repetitively during the display and drawing processes. Its primary purpose is to multiplex the address and
In character mode, the RAM holds the partitioned dis- data information in and out of the display memory. It
play area parameters. In graphics mode, the RAM also also contains the 16-bit logic units used to modify the
holds the drawing pattern and graphics character. display memory contents during RMW cycles, the
character mode line counter, and the refresh counter
for dynamic RAMs. The memory controller appor-
Video Sync Generator tions the video field time between the various types
of cycles.
Based on the clock input, the sync logic generates
the raster timing signals for almost any interlaced,
non-interlaced, or "repeat field" interlaced video for-
Light Pen Debouncer
mat. The generator is programmed during the idle
Only if two rising edges on the light pen input occur
period following a reset. In video sync slave mode, it
at the same pOint during successive video fields are
coordinates timing between the GOC and another
the pulses accepted as a valid light pen detection. A
video source.
status bit indicates to the system microprocessor
that the light pen register contains a valid address.
Memory Timing Generator
3 210655-002
82720
raster timing, including sync and blanking signals. many cost/performance tradeoffs for both display and
Partitioned areas on the screen and zooming are drawing are realizable.
also accomplished at this level. At the next level,
video display memory is modified during the figure The video memory can be partitioned into 4 banks,
drawing operations and data moves. Third, display each 1024 x 1024 bits. By selecting all 4 memory
memory address are calculated pixel by pixel as banks during display, 4 bits/pixel can be provided by
drawing progresses. Outside the GDC at the next a single 82720. Each bank of video memory con-
level, preliminary calculations are done to prepare tributes 1 bit to each pixel. This configuration can
drawing parameters. At the fifth level, the picture support color monitors, again with a maximum dot shift
must be represented as a list of graphics figures rate of 44 or 88 MHz.
drawable by the GDC. Finally, this representation
must be manipulated, stored and communicated. Higher performance may be achieved by using multi-
The GDC takes care of the high-speed and repetitive ple 82720s. Multiple 82720s can be used to support
tasks required to implement graphics systems. mutliple display windows, increased drawing speed,
or increased bits per pixel. For display windows,
each 82720 controls one window of the display. For
GENERAL OVERVIEW increased drawing speed, multiple 82720s are
operated in parallel. For increased bitsipixel, each
In order to minimize system bus loading, the 82720 uses 82720 contributes a portion of the number of bits
a private video memory for storage of the video image. necessary for a pixel.
Up to 512K bytes of video memory can be directly sup-
ported. For example, this is sufficient capacity to store CHARACTER DISPLAY CONFIGURATION
a 2048 x 2048 pixel x 1 bit image. Images can be Although the 82720 is intended primarily for raster-
_generated on the screen by: scan graphics, it can be used as a character display
controller. The 82720 can support up to 8K by 13 bits
-Drawing Commands of private video memory in this configuration (1 char-
-Program-Controlled Transfers acter = 13 bits). This is sufficient memory to store 4
-DMA Transfers from System Memory screens of data containing 25 rows by 80 characters.
The 82720 can display up to 256 characters per row.
The 82720 can be configured to support a wide vari- Smooth vertical scrolling of each of 4 independent
ety of graphics applications. It can support: display partitions is also supported.
-High Dot Rates
-Color Planes MIXED DISPLAY CONFIGURATION
-Horizontal Split Screen The GDC can support a mixed display system for
-Character-oriented Displays both graphic and character information. This capa-
-Multiplexed Graphic and Character Display bility allows the display screen to be partitioned be-
tween graphic and character data. It is possible to
switch between one graphic display window and one
GRAPHIC DISPLAY CONFIGURATIONS
character display window with raster line resolution.
The 82720 provides the flexibility to handle a wide
A maximum of 256K bytes of video memory is sup-
variety of graphic applications. This flexibility results
ported in this mode: half is for graphic data, half is for
from having its own private video memory for storage
character data. In graphic mode, a one megapixel
of the graphics image. The organization of this
image can be stored and displayed. In character mode,
memory determines the performance, the number of
64K, 16-bit characters can be stored.
bits/pixel and the size of the display. Several different
video memory organizations are examined in the fol-
lowing paragraphs.
DETAILED OPERATIONAL DESCRIPTION
In the simplest 82720 system, the memory can store up
The GDC can be used in one of three basic modes
to a 2048 x 2048 x 1 bit image. It can display a 1024
-Graphics Mode, Character Mode and Mixed Mode.
x 1024 x 1 bit section of the image at a maximum dot
This section of the data sheet describes the following
rate of 44 MHz, or 88 MHz in wide mode. In this con-
for each mode:
figuration, only 1 bit/pixel is used.
1. Memory organ ization
By partitioning the memory into multiple banks, color, 2. Display timing
gray scale and higher bandwidth displays can be sup- 3. Special Display functions
ported. By adding various amounts of external logic, 4. Drawing and writing
4 210655-002
intel' 82720
5 210655-002
82720
When replace by a pattern mode is selected, lines, ARC·· rsln ,pI '-1 2(,-1) -1 rsln 91
arcs and rectangles will be drawn using the 16-bit RECTANGLE A-I B-1 -1 A-I
6 210655-002
intel' 82720
After the parameters have been set, line, arc, circle, rec- Character Mode Display Timing
tangle or slanted rectangle drawing operations are
initiated by the Figure Draw (FIG D) command. In character mode, the display timing works as it does
Character, slanted character, area fill and slanted area in graphics mode. In addition, the Address 17 output
fill drawing operations are initiated by the Graphics becomes cursor output. The characteristics of the cur-
Character Draw (GCHRD) command. DMA transfers are sor are defined by parameters of the cursor and
initiated by the OMA Read or Write (DMAR or DMAW) Character Characteristics (CCHAR) command. One bit
commands. Data Read Operations are initiated by the allows the cursor output to be enabled or disabled. The
Read Data (RDAT) Command. Data Write Operations height of the cursor is programmable by selecting the
are initiated by writing a parameter after the WOAT top and bottom line between which the cursor will
command. appear. The blink rate is also programmable. The
parameter selects the number of frame times that the
The area fill operation steps and repeats the 8 x 8 cursor will be inactive and active, resulting in a 50%
graphics character pattern draw operation to fill a duty cycle cursor blinking at 2 x the period specified
rectangular area. If the size of the rectangle is not an by the parameter.
integral number of 8 x 8 pixels, the GDC will auto-
matically truncate the pattern at the edges furthest The cursor output pin also provides the line counter bit
from the starting pOint. 4 signal, which is valid 10 clocks after the trailing edge
of HSYNC.
The Graphics Character Drawing capability can be
modified by the Graphics Character Write Zoom Fac-
tor (GCHR) parameter of the zoom command. The
Character Mode Special Display Functions
zoom write factor may be set from 1 to 16 (by using
from 0 to 15 in the parameter). Each dot will be WINDOWING
repeated in memory horizontally and vertically The GOC's Character Mode display can be par-
(adjusted for drawing direction) the number of times titioned into one to four windows on the screen. The
specified by the zoom factor. windows are defined by parameters written into the
GDC's Parameter RAM. Each window is specified by
The WDAT command can be used to rapidly fill large a starting address and a window length in lines.
areas in memory with the same value. The mask is set
to all 1's, and the least significant bit of the WOAT If windowing is not required, the first window length
parameter replaces all bits of each word written. should be specified to be the same as the active
display length.
7 210655-002
inter 82720
modes work exactly as they do in graphics mode, with active high line counter reset signal which is valid
the exception that the parameter RAM Pattern is not 10 clocks after the trailing edge of HSYNC. During the
used. The pattern used is a parameter of the WDAT active display line time, A16 provides blink timing for
command. external attribute circuitry. This signal blinks at 1/2 the
blink rate of the cursor with a 75% on, 25% off duty
The Figure Specify (FIGS) command must be set to cycle. A17 provides a Signal which selects between
Character Display mode, as well as specify the direc- graphics or character display, which is also valid
tion the cursor will be moved by read or write data 10 clocks after the trailing edge of HSYNC. During the
commands. active display time, A17 provides the cursor signal. The
cursor timing and characteristics are defined in exactly
In character mode, the FIGD and GCHRD commands the same way as in pure character mode.
are not used.
Mixed Mode Special Display Functions
Mixed Mode Memory Organization
WINDOWING
In mixed mode, the display memory is organized into The GDC supports two display windows in mixed mode.
two banks of up to 64K words of 16 bits each (32 bits They can independently be programmed into either
in wide mode). graphics or character mode determined by the state of
two bits in the parameter RAM. The window location
The display height and width are programmable by the
in display memory and size are also determined by
same Reset or Sync command parameters as in the
parameters in the parameter RAM.
graphics and character modes. The display memory
width (in words) is a parameter of the Pitch Command
ZOOMING AND PANNING
and the height of the display memory is determined by
In mixed mode, zooming and panning commands
dividing the number of display memory words by the
function the same as in graphics and character
pitch.
mode.
An image mode signal is used to switch the external
circuitry between graphics and character modes in Mixed Mode Drawing and Writing
two display windows.
In mixed mode, the GDC can write or draw in exactly
In a graphics window, the GDC works as it does in the same ways as in both graphics and character
pure graphics mode, but on a smaller total memory modes. In addition, the FIGS command has a para-
space (64K words vs 512K words). meter GD (Graphics Drawing Flag) which sets the
image mode signal to select the proper RAM bank.
In a character window, the GDC works as it does in
pure character mode, but the line counter must be
DEVICE PROGRAMMING
implemented externally. The counter is clocked by
the horizontal sync pulse and reset by a Signal sup-
The GDC occupies two addresses on the system micro-
plied by the GDC.
processor bus through which the GDC's status register
and FIFO are accessed. Commands and parameters
In mixed mode, the GDC provides both a cursor and
are written into the GDC FIFO and are differentiated by
an attribute blink timing signal.
address bit AO. The status register or the FIFO can be
read as selected by the address line.
Mixed Mode Display Timing
AO READ WRITE
In mixed mode, each word in a graphic area is accessed
STATUS REGISTER PARAMETER INTO FIFO
twice in succession. The AW parameter of the Reset
or Sync command should be set to twice its normal
0
I I I I I I I I I I I I I I I I I I
value, and the video shift register load signal must be FIFO READ COMMAND INTO FIFO
suppressed during the extra access cycle. 1
I I I I I I I I I I I I I I I I I I
In addition, A16 becomes a Multiplexed Attribute and
Clear Line Counter signal and A17 becomes a multi- Figure 4. GDC Microprocessor Bus Interface
plexed cursor and image mode signal. A16 provides an Registers
8 210655-002
inter 82720
Commands to the GOC take the form of a command SR-6: Horizontal Blanking Active: A 1 value for
byte followed by a series of parameter bytes as this flag signifies that horizontal retrace blanking is
needed for specifying the details of the command. currently underway.
The command processor decodes the commands,
unpacks the parameters, loads them into the appro- SR-5: Vertical Sync: Vertical retrace sync occurs
priate registers within the GOC and initiates the re- while this flag is a 1. The vertical sync flag coor-
quired operations. dinates display format modifying commands to the
blanked interval surrounding vertical sync. This
The commands available in the GOC can be organ- eliminates display disturbances.
ized into five categories as described in figure 5.
SR-4: DMA Execute: This bit is a 1 during OMA data
transfers.
VIDEO CONTROL COMMANDS
1. RESET: RESETS THE GDC TO ITS IDLE STATE.
2. SYNC: SPECIFIES THE VIDEO DISPLAY FORMAT. SR-3: Drawing in Progress: While the GOC is draw-
3. VSYNC: SELECTS MASTER OR SLAVE VIDEO
SYNCHRONIZATION MODE
4. CCHAR: SPECIFIES THE CURSOR AND CHARACTER ROW
ing a graphics figure, this status bit is a 1.
HEIGHTS. .
DISPLAY CONTROL COMMANDS
1. START: ENDS IDLE MODE AND UNBLANKS THE DISPLAY. SR-2: FIFO Empty: This bit and the FIFO Full flag
2. BCTRL: CONTROLS THE BLANKING AND UN BLANKING OF
THE DISPLAY. coordinate system microprocessor accesses with
3. ZOOM: SPECIFIES ZOOM FACTORS FOR THE DISPLAY AND
GRAPHICS CHARACTERS WRITING. the GOC FIFO. When it is 1, the Empty flag ensures
4. CURS: SETS THE POSITION OF THE CURSOR IN DISPLAY that all the commands and parameters previously
MEMORY.
5. PRAM: DEFINES STARTING ADDRESSES AND LENGTHS OF
THE DISPLAY AREAS AND SPECIFIES THE EIGHT
sent to the GOC have been processed.
BYTES FOR THE GRAPHICS CHARACTER.
6. PITCH: SPECIFIES THE WIDTH OF THE X DIMENSION OF
DISPLAY MEMORY. SR-1: FIFO Full: A 1 at this flag indicates a full FIFO
DRAWING CONTROL COMMANDS
1. WDAT: WRITES DATA WORDS OR BYTES INTO DISPLAY in the GOC. A 0 ensures that there is room for at least
MEMORY. one byte. This flag needs to be checked before each
2. MASK: SETS THE MASK REGISTER CONTENTS.
3. FIGS: SPECIFIES THE PARAMETERS FOR THE DRAWING
PROCESSOR.
write into the GOC.
4. FIGD: DRAWS THE FIGURE AS SPECIFIED ABOVE.
5. GCHRD: DRAWS THE GRAPHICS CHARACTER INTO DISPLAY
SR-O: Data Ready: When this flag is a 1, it indicates
MEMORY. DATA READ COMMANDS
1. RDAT: READS DATA WORDS OR BYTES FROM DISPLAY that a byte is available to be read by the system
MEMORY.
2. CURD: READS THE CURSOR POSITION. microprocessor. This bit must be tested before each
3. LPRD: READS THE LIGHT PEN ADDRESS. read operation. It drops to a 0 while the data is trans-
DMA CONTROL COMMANDS
1. DMAR: REQUESTS A DMA READ TRANSFER. ferred from the FIFO into the microprocessor inter-
2. DMAW: REQUESTS A DMA WRITE TRANSFER.
face data register.
111l 1 ~~:=~;:
duplex technique, in which the single 16-location
FIFO is used for both directions of data movement,
- DRAWING IN PROGRESS one direction at a time. The FIFO's direction is con-
DMAEXECUTE
VERTICAL SYNC ACTIVE trolled by the system microprocessor through the GOC's
HORIZONTAL BLANK ACTIVE
' - - - - - - - - - - - - L l G H T P E N DETECT
command set. The microprocessor coordinates these
transfers by checking the appropriate status register
bits.
Figure 6. Status Register (SR)
The command protocol used by the GOC requires
the differentiation of the first byte of a command
Status Register Flags sequence from the succeeding bytes. This first byte
contains the operation code and the remaining bytes
SR-7: Light Pen Detect: When this bit is set to 1, the carry parameters. Writing into the GOC causes the
light pen address (LAO) register contains a de- FIFO to store a flag value alongside the data byte to
glitched value that the system microprocessor may signify whether the byte was written into the com-
read. This flag is reset after the 3-byte LAO is moved mand or the parameter address. The command pro-
into the FIFO in response to the light pen read cessor in the GOC tests this bit as it interprets the
command. entries in the FIFO.
9 210655-002
82720
The receipt of a command byte by the command moved to identify the pixel's location within the word.
processor marks the end of any previous operation. The Execution word address pointer register, EAD, is
The number of parameter bytes supplied with a com- also adjusted as required to address the word con-
mand is cut short by the receipt of the next command taining the next pixel.
byte. A read operation from the GDC to the micropro-
cessor can be terminated at any time by the next In character mode, all of the bits in the Pattern regis-
command. ter are used in parallel to form the respective bits of
the modify data word. Since the bits of the character
The FIFO changes direction under the control of the code word are used in parallel, unlike the one-bit-at-
system microprocessor. Commands written into the a-time graphics drawing process, this facility allows
GDC always put the FIFO into write mode if it wasn't any or all of the bits in a memory word to be modified
in it already. If it was in read mode, any read data in in one RMW memory cycle. The Mask register must
the FIFO at the time of the turnaround is lost. Com- be loaded with 1s in the positions where modification
mands which require a GDC response, such as RDAT, is to be permitted.
CURD and LPRD, put the FIFO into read mode after
the command is interpreted by the GDC's command The Mask register can be loaded in either of two
processor. Any commands and parameters behind ways. In graphics mode, the CURS command con-
the read-evoking command are discarded when the tains a four-bit dAD field to specify the dot address.
FIFO direction is reversed. The command processor converts this parameter
into the one-of-16 format used in the Mask register
for figure drawing. A full 16 bits can be loaded into
Read-Modify-Write Cycle
the Mask register using the MASK command. In addi-
tion to the character mode use mentioned above, the
Data transfers between the GDC and the display
16-bit MASK load is convenient in graphics mode
memory are accomplished using a read-modify-write
when all of the pixels of a word are to be set to the
(RMW) memory cycle. The four clock period timing of
same value.
the RMW cycle is used to: 1) output the address, 2)
read data from the memory, 3) modify the data, and 4)
The Logic unit combines the data read from display
write the modified data back into the initially se-
memory, the Pattern register, and the Mask register
lected memory address. This type of memory cycle is
to generate the data to be written back into display
used for all interactions with display memory includ-
memory. Anyone of four operations can be selected:
ing DMA transfers, except for the two clock period
REPLACE, COMPLEMENT, CLEAR or SET. In each
display and RAM refresh cycles.
case, if the respective Mask bit is 0, that particular bit
of the read data is returned to memory unmodified. If
The operations performed during the modify portion
the Mask bit is 1, the modification is enabled. With
of the RMW cycle merit additional explanation. The
the REPLACE operation, the modify data simply
circuitry in the GDC uses three main elements: the
takes the place of the read data for modification
Pattern register, the Mask register, and the 16-bit
enabled bits. For the other three operations, a 0 in
Logic unit. The Pattern register holds the data pat-
the modify data allows the read data bit to be re-
tern to be moved into memory. It is loaded by the
turned to memory. A 1 value causes the specified
WDATcommand or, during drawing, from the param-
operation to be performed in the bit positions with
eter RAM. The Mask register contents determine
set Mask bits.
which bits of the read data will be modified. Based on
the contents of these registers, the Logic unit per-
forms the selected operations of REPLACE,COM- Figure Drawing
PLEMENT, SET, or CLEAR on the data read from
display memory. The GDC draws graphics figures at the rate of one
pixel per read-modify-write (RMW) display memory
The Pattern register contents are ANDed with the cycle. These cycles take four clock periods to com-
Mask register contents to enable the actual modifica- plete. At a clock frequency of 5 MHz, this is equal to
tion of the memory read data, on a bit-by-bit basis. 800 ns. During the RMW cycle the GDC simulta-
For graphics drawing, one bit at a time from the neously calculates the address and position of the
Pattern register is combined with the Mask. When next pixel to be drawn.
ANDed with the bit set to a 1 in the Mask register, the
proper single pixel is modified by the Logic Unit. For The graphics figure drawing process depends on the
the next pixel in the figure, the next bit in the Pattern display memory addressing structure. Groups of 16
register is selected and the Mask register bit is horizontally adjacent pixels form the 16-bit words
10 210655-002
intel· 82720
which are handled by the GDG. Display memory is Figure 8 summarizes these operations for each
organized as a linearly addressed space of these direction.
words. Addressing of individual pixels is handled by
the GDG's internal RMW logic. Whole word drawing is useful for filling areas in
memory with a single value. By setting the Mask
During the drawing process, the GDG finds the next register to all 1s with the MASK command, both the
pixel of the figure which is one of the eight nearest LSB and MSB of the dAD will always be 1, so that the
neighbors of the last pixel drawn. The GDG assigns EAD value will be incremented or decremented for
each of these eight directions a number from 0 to 7, each cycle regardless of direction. One RMW cycle will
starting with straight down and proceeding be able to affect all 16 bits of the word for any drawing
counterclockwise. type. One bit in the Pattern register is used per RMW
cycle to write all the bits of the word to the same value.
The next Pattern bit is-used for the word, etc.
11 210655-002
intel" 82720
For the various figures, the effect of the initial direction arc as drawing proceeds. An arc may be up to 45
upon the resulting drawing is shown in figure 9. degrees in length. DMA transfers are done on word
boundaries only, and follow the arrows indicated in
the table to find successive word addresses. The
Note that during line drawing, the angle of the line slanted paths for DMA transfers indicate the GDC
may be anywhere within the shaded octant defined changing both the X and Y components of the word
by the DIR value. Arc drawing starts in the direction address when moving to the next word. It does not
initially specified by the DIR value and veers into an follow a 45 degree diagonal path by pixels.
Dir
000
~~
Line
~-,:::-
Arc
~
•~ ,
Character Slant Char Rectangle
0 tN
DMA
001
~
..
I
I
I'
*'
I
,
~
<> ~
010
A I '
I
I
L4'
,,
,
I / 0 ~
~ r~~~,. ~ 1•
<> ~
,
011
100
101
•
.. ~
~~ -,,~~'1
~
"
' .'I
I ~
0
0
m
~
r. 2-
110
Y , ,
,
I
I
... I / 0 -- - .
-
111
4 -~'~J
~
:;
~ <> ~
Figure 9. Effect of the Direction Parameter
12 210655-002
inter 82720
The algorithms used by the processor for figure The movement of these PRAM bytes to the display
drawing are designed to optimize its drawing speed. memory is controlled by the parameters of the FIGS
To this end, the specific details about the figure to be command. Based on the specified height and width
drawn are reduced by the microprocessor to a form of the area to be drawn, the parameter RAM is
conducive to high-speed address calculations within scanned to fill the required area.
the GDC. In this way the repetitive, pixel-by-pixel
calculations can be done quickly, thereby minimizing For an 8-by-8 graphics character, the first pixel drawn
uses the LSB of RA-15, the second pixel uses bit 1 of
the overall figure drawing time. Figure 3 summarizes
RA-15, and so on, until the MSB of RA-15 is reached.
the parameters.
The GDC jumps to the corresponding bit in RA-14 to
continue the drawing. The progression then advances
Graphics Character Drawing toward the LSB of RA-14. This snaking sequence is con-
tinued for the other 6 PRAM bytes. This progression
Graphics characters can be drawn into display matches the sequence of display memory addresses
memory pixel-by-pixel. The up to 8-by-8 character is calculated by the drawing processor as shown in
loaded into the GDC's parameter RAM by the system figure 9. If the area is narrower than 8 pixels wide, the
microprocessor. Consequently, there are no snaking will advance to the next PRAM byte before the
limitations on the character set used. By varying the MSB is reached. If the area is less than 8 lines high,
drawing parameters and drawing direction, fewer bytes in the parameter RAM will be scanned. If
numerous drawing options are available. In area fill the area is larger thaf1 8 by 8, the GDC will repeat the
applications, a character can be written into display contents of the parameter RAM in two dimensions.
13 210655-002
inter 82720
Parameter RAM Contents In addition, there are two mode bits for each area
which specify whether the area is a bit-mapped
The parameters stored in the parameter RAM, graphics area or a coded character area, and
PRAM, are available for the GOG to refer to whether a normal or wide display cycle is to be used
for that area.
repeatedly during figure drawing and raster-
scanning. In each mode of operation the values in the
PRAM are interpreted by the GDG in a predeter- The other use for the PRAM contents is to supply the
mined fashion. The host microprocessor must load pattern for figure drawing when in a bit-mapped
the appropriate parameters into the proper PRAM graphics area or mode. In these situations, PRAM
locations. PRAM loading command allows the host bytes 8 through 16 are reserved for this patterning
to write into any location of the PRAM and transfer as information. For line, arc, and rectangle drawing
many bytes as desired. In this way any stored param- (linear figures) locations 8 and 9 are loaded into the
eter byte or bytes may be changed without influenc- Pattern register to allow the GDG to draw dotted,
ing the other bytes. dashed, etc. lines. For area filling and graphics bit-
mapped character drawing locations 8 through 15
The PRAM stores two types of information. For are referenced for the pattern or character to be
specifying the details of the display area partitions, drawn.
blocks of four bytes are used. The four parameters
stored in each block include the starting address in Details of the bit assignments are shown on the fol-
display memory of each display area, and its length. lowing pages for the various modes of operation.
14 210655-002
inter 82720
RA_10S~, _ _ _ _S_AID_1L_ _ _ _ ~
. SAD1 H
,.1 DISPLAY PARTITION AREA 1 STARTING
ADDRESS WITH LOW AND HIGH
L-~__~__~~~~I__~I~-L__~ ~~~~~~4~CEFIELDS(WORD
10
11
13
14
15
~-------------------------------------------------------------------------~
Figure 10. Parameter RAM Contents-Character Mode
15 210655-002
intel' 82720
1 IL__J....-I__ ~_S_A..I.~_1_M-I- ~
__ 1
__L-.....
2 ~1 ~_LE~~_1_L~ ~I O~_O~I~S_A~f_1H~1
__ __ __
'T\'----LE_~1H_t-
LENGTH OF DISPLAY PARTITION
AREA 1 WITH LOW AND HIGH
SIGNIFICANCE FIELDS (LINE COUNT)
7 WD2
RA-10 GCHR 6
11 GCHR 5
14 GCHR 2
15
Figure 11_ Parameter RAM Contents-Graphics and Mixed Graphics and Character Modes
16 210655-002
inter 82720
RESET:
oI 0
I 0 0
I
0 WDAT: MOD
I
SYNC: 0
I
0
I 1 1 I DE MASK:
VSYNC: 0
I
0
I 1 1
I M FIGS:
CCHAR: 0
I 1 FIGD:
START: GCHRD:
BCTRL: 0
I
0 I DE RDAT: 1 I TyrE II
0
MOD
I
ZOOM: 0
I
CURD: 0
I 0
CURS: 0
I
LPRD: 0
I 0
PRAM:
oI
SA
I
DMAR:
1 I TYPE
I I I MOD
I
PITCH: DMAW:
1 I TYPE
I II MOD
I
RESET: I 0 I 0 !
0 !
0 ,
0 ,
0 ,
0 1 0 I BLANK THE DISPLAY, ENTER IDLE MODE.
AND INITIALIZE WITHIN THE GDC:
-FIFO
-COMMAND PROCESSOR
-INTERNAL COUNTERS
17 210655-002
82720
P4
I I I
HFP
I I I I V?" I-- VERTICAL SYNC WIDTH, HIGH BITS
i: HORIZONTAL FRONT PORCH WIDTH -1.
P8
I I I
VBP
I I I I AL I ACTIVE DISPLAY LINES PER VIDEO FIELD,
I" - - HIGH BITS
~ VERTICAL BACK PORCH WIDTH
An all-zero parameter value selects a count equal to MODE CONTROL BITS (FIGURE 15)
2n where n = number of bits in the parameter field for
vertical parameters. Repeat Field Framing: 2 Field Sequence with V2
line offset between other-
All horizontal widths are counted in display words. wise identical fields.
All vertical intervals are counted in lines. Interlaced Framing: 2 Field Sequence with V2
line offset. Each field dis-
Sync Parameter Constraints plays alternate lines.
Noninterlaced Framing: 1 field brings all of the in-
HORIZONTAL FRONT PORCH CONSTRAINTS formation to the screen.
1. In general:
HFP 2:2 words
Total scanned lines in interlace mode is odd. The
2. If DMA is used, or the display zoom factor is greater
sum of VFP + VS + VBP + AL should equal one less
than one in interlaced display mode:
than the desired odd number of lines.
HFP 2:3 words
3. If the GDC is used in slave mode:
Dynamic RAM refresh is important when high display
HFP 2:4 words
zoom factors or DMA are used in such a way that not
4. If the light pen input is used:
all of the rows in the RAMs are regularly accessed
HFP 2:6 words
during display raster generation and for otherwise
inactive display memory.
HORIZONTAL Sync CONSTRAINTS
1. If dynamic RAM refresh is used:
Access to display memory can be limited to retrace
HS 2:2 words
blanking intervals only, so that no disruptions of the
2. If interlaced display mode is used:
image are seen on the screen.
HS 2:5 words
18 210655-002
82720
CG DISPLAY MODE
0 1 GRAPHICS MODE
1 0 CHARACTER MODE
1 1 INVALID
IS VIDEO FRAMING
o 0 NONINTERLACED
0 1 INVALID
1 0 INTERLACED REPEAT FIELD
FOR CHARACTER DISPLAYS
1 1 INTERLACED
0 NO REFRESH-STATIC RAM
1 REFRESH-DYNAMIC RAM
19 210655-002
intJ 82720
SYNC Format Specify Command must be 4 or more display cycles wide. This is equiva-
lent to eight or more clock cycles. This gives the slave
This command loads parameters into the sync GDCs time to initialize their internal video sync
generator. The various parameter fields and bits are generators to the proper point in the video field to
identical to those at the RESET command. The GOC match the incoming vertical sync pulse (VSYNC).
is not reset nor does it enter idle mode. This resetting of the generator occurs just after the
end of the incoming VSYNC pulse, during the HFP
interval. Enough time during HFP is required to allow
Vertical Sync Mode Command the slave GOC to complete the operation before the
start of the HSYNC interval.
When using two or more GOCs to contribute to one
image, one GOC is defined as the master sync
Once the GOCs are initialized and set up as Master
generator, and the others operate as its slaves. The
and Slaves, they must be given time to synchronize. It
VSYNC pins of all GOCs are connected together.
is a good idea to watch the VSYNC status bit of the
Master GOC and wait until after one or more VSYNC
Slave Mode Operation pulses have been generated before the display pro-
cess is started. The START command will begin the
A few considerations should be observed when active display of data and will end the video
synchronizing two or more GOCs to generate over- synchronization process, so be sure there has been
layed video via the VSYNC INPUT/OUTPUT pin. As at least one VSYNC pulse generated for the Slaves to
mentioned above, the Horizontal Front Porch (HFP) synchronize to.
CCHAR: I 0, 1 I 0 , 0 I 1 ,0 ,1 ! 1 I
20 210655-002
82720
Zoom magnification factors of 1 through 16 are avail- This value is used during drawing by the drawing
able using codes 0 through 15, respectively. processor to find the word directly above or below
the current word, and during display to find the start
of the next line.
Cursor Position Specify Command
The Pitch parameter (width of display memory) is set
In character mode, the third parameter byte is not
by two different commands. In addition to the PITCH
needed. The cursor is displayed for the word time in command, the RESET (or SYNC) command also sets
which the display scan address (DAD) equals the the pitch value. The "active words per line" param-
cursor address. In graphics mode, the cursor word eter, which specifies the width of the raster-scan dis-
address specifies the word containing the starting play, also sets the Pitch of the display memory. In
pixel of the drawing; the dot address value specifies
situations in which these two values are equal there
the pixel within that word. is no need to execute a PITCH command.
START: lOt 1 ! 1 ! 0 ! 1 r 0 r 1 ! 1 I
DISPLAY BLANKING CONTROL
eCTRl: I0 , 0 , 0 I 0 I 1 I 1 , 0 IOEI
L - ~~~ ~',S:~~YB'CA~~~~L~~
AO.
ZOOM: I0 I 1 r 0 ! 0 r 0 , 1 r 1 J a I
21 210655-002
intel' 82720
PRAM: I0 ! 1 ,1 , 1 I SA
P,
Po
..
I~~======:.
I
,.
1 - 1 TO 16 BYTES TO BE LOADED
INTO THE PARAMETER RAM
STARTING AT THE RAM ADDRESS
SPECIFIED BY SA
PITCH: I 0 ! 1 I 0 , 0 I 0 ! 1 ! 1 1 1 I
P
I !-NUMBER OF WORD ADDRESSES
IN DISPLAY MEMORY IN THE
HORIZONTAL DIRECTION
WDAT:~I_o~ ~l~I__ __
TYir_E__ ~o~I Mi?_D~ __
P1 l__
_
.L.--I.__ W"L0_RD_L"L0_R~BY_T_E..I..
I I I I
____,..,j~""- - - WORD LOW DATA BYTE OR
_ SINGLE BYTE DATA VALUE
DRAWING CONTROL COMMANDS In graphics bit-map situations, only the LSB of the
WDAT parameter bytes is used as the pattern in the
Write Data Command
RMWoperations. Therefore it is possible to have only
Upon receiving a set of parameters (two bytes for a an all ones or all zeros pattern. In coded character
word transfer, one for a byte transfer), one RMW applications all the bits of the WDAT parameters are
cycle into Video Memory is done at the address used to establish the drawing pattern.
pointed to by the cursor EAD. The EAD pointer is
advanced to the next word, according to the previ-
ously specified direction. More parameters can then The WDAT command operates differently from the
be accepted. other commands which initiate RMW cycle activity. It
requires parameters to set up the Pattern register
For byte writes, the unspecified byte is treated as all while the other commands use the stored values in
zeros during the RMW memory cycle. the parameter RAM. Like all of these commands, the
22 210655-002
82720
P21
I1L
I1H
I_LOW SIGNIFICANCE BYTE
FIGS: I0 I
1
I
0 0
I I
1
I
1
I
0 0
I I
P11sLI R I A IGcl L I IDIR I J~ DRAWING DIRECTION BASE
t
f 1
FIGURE TYPE SELECT BITS:
LINE (VECTOR)
GRAPHICS CHARACTER
ARC/CIRCLE
1 RECTANGLE
L
SLANTED GRAPHICS CHARACTER
:1 ~~ 0 : D:LD~H :
:
DC DRAWING PARAMETER
~ 0 DRAWING PARAMETER
::10;01 ; :L ~M : ;
~ 02 .DRAWING PARAMETER
::10: 0i : D:L D~M :
:
::t;oi ; D:1LDiM;
;
~ OM DRAWING PARAMETER
pl1:o;ol D:LD~M;
P1°1
; ;
VALID FIGURE TYPE SELECT COMBINATIONS
J;!,. R A GC 1, OPERATION
0 0 0 0 0 CHARACTER DISPLAY MODE
DRAWING, INDIVIDUAL DOT
DRAWING, DMA, WDAT, AND
RDAT
0 0 0 0 1
[""~"" J
STRAIGHT LINE DRAWING
COMBINATIONS
0 0 0 1 0 GRAPHICS CHARACTER
DRAWING AND AREA FILLING
ASSURE
CORRECT DRAWING
WITH GRAPHICS CHARACTER OPERATION
PATTERN
0 0 1 0 0 ARC AND CIRCLE DRAWING
0 1 0 0 0 RECTANGLE DRAWING
1 0 0 1 0 SLANTED GRAPHICS
CHARACTER DRAWING AND
SLANTED AREA FILLING
23 210655-002
intJ 82720
On execution of this instruction, the GDC loads the The light pen address, LAD, corresponds to the dis-
parameters from the parameter RAM into the draw- play word address, DAD, at which the light pen input
ing processor and starts the drawing process at the signal is detected and deglitched.
RDAT:ll,O,lITYPElol M9D I
24 210655-002
82720
= Undefined
x IX IX I
LAPH I'-LIGHT PEN ADDRESS, HIGH BITS
x = Undefined
Figure 28. Cursor Address Read Command Figure 29. Light Pen Address Read Command
1 ~.1------ INVALID
DMAW: I 0I 0 I 1 IT~PE I I I
1 M?D
1 _ _ COMPLEMENT
0 _ RESET TO ZERO
1 _ _ SET TO ONE
1 ~.1------INVALID
25 210655-002
82720
DC CHARACTERISTICS
TA = O"C to 70" C; Vee = 5V ± 10%; GND =OV
Limits
Symbol Parameter Unit Conditions
Min. Max.
Vil Input Low Voltage -0.5 0.8 V
VIH Input High Voltage 2.0 Vee + 0.5 V
VOL Output Low Voltage 0.45 V IOl = 2.2 mA
VOH Output High Voltage 2.4 V IOH = -400 JkA
IOZ Output Leakage Current ±10 JkA VSS+0.45 <;;VI <;;
Vee
III Input Leakage Current ±10 JkA VSS <;;VI <;;Vee
Vel Clock Input Low Voltage -0.5 0.6 V
VeH Clock Input High Voltage 3.5 VCC + 0.5 V
lee Vee Supply Current 270 mA Typical = 150 mA
CAPACITANCE
TA = 25"C; Vee = GND = OV
Limits
Symbol Parameter Unit Conditions
Min. Max.
CIN Input Capacitance 10 pF
CIO 1/0 Capacitance 20 pF fc = 1 MHz
26 210655-002
82720
TAR Ao setup to RD I 0 0 0 ns
TRA Ao hold after RD I 0 0 0 ns
TRR AD Pulse Width TRO+20 TRO +20 TRo+20 ns
TRO AD I to Data Out Delay 120 80 70 ns CL=50pF
TOF AD I to Data Float Delay 0 120 0 100 0 90 ns
TRV AD Aecovery Time 4 TCY 4 TCY 4 TCY ns
TAW Ao Setup to WA I 0 0 0 ns
TWA Ao Hold after WR I 0 0 10 ns
Tww WA Pulse Width 120 100 90 ns
Tow Data Setup to WA I 100 80 70 ns
Two Data Hold after WA I 0 0 10 ns
TRV WR Recovery Time 4Tev 4 TCY 4 TCY ns
27 210655-002
82720
OTHER TIMING
CLOCK TIMING
TR Rise Time 20 20 20 ns
TF Fall Time 20 20 20 ns
DMA TIMING
TRD1 RD I to Data Out Delay 1.5 TCY 1.5 TCY 1.5 TCY ns CL=50pF
+120 +80 +70
TAKRO DACKI to DREOI Delay TCY + 150 TCy+120 TCY + 100 ns CL=50pF
28 2106S5-002
inter 82720
WAVEFORMS
Ao =>it-_- - - -_--f--I------_-_-_-T-RR-_-_-_
TA R
-_-~~~---
~TDF~
WRITE CYCLE
29 210655-002
inter 82720
WAVEFORMS (Continued)
2xWCLK
ADO-15 VALID
OUTPUT DATA
TCA ~ TCA .-
A16,A17 VALID
~
TeAH ..- TCAL"""~TAL---.V-
ALE
--------------------------------~
TAH .......
30 210655-002
82720
WAVEFORMS (Continued)
2xWCLK
ADo-AD15 --+---<1
A16,A17
ALE
~-----------
TCO
HSYNC ~_
~~l~~
LCo~3
g~~IMAGE -----------
AT,BLANKlCLC
OTHER TIMING
2xWCLK
LPEN
VSYNC ---------~
1 TPC \
__TPP-I'-------
CLOCK TIMING
2xWCLK
31 210655-002
intel' 82720
WAVEFORMS (Continued)
DMATIMING
READ
2XWCLK
TK0l-
DREQ
_ _ _ _J rTROAK I~'~----~KRO------'~---------
i-----TRR1-----.I ,,..--+------+--
D~7 -------------~---------_<I
1 - - - - - - - - - - TAK11 TAK2 - - - - - - - - - - - + l
WRITE
2xWCLK
TK0l---
DREQ
----J~TROAK
32 210655-002
inter 82720
WAVEFORMS (Continued)
2xWCLK:
ALE:
DBIN:
ADO·15
A16,17:
USYNC:
DLANK:
V/EXT SYNC:
33 210655-002
inter 82720
WAVEFORMS (Continued)
2xWCLK:
ALE:
A16,17: ~~::::::::::::::::::::::::~X:::::::::::::::::::::::~:X::::::::::::::::::::::::4JC:::::::
Blank:
2xWCLK:
ALE:
A16'17:=4:X::::::::::::::::::::::::::::::::::::::~::::::::::::::::::::::::::::::::::::::~::::::::
Blank: ::j~~------------------------------------f-,'-------------------------------------ri::::::=
34 210655-002
inter 82720
WAVEFORMS (Continued)
~~~~~~---------
Row:
:::::::::::::JC:
"--- - - -----~/r-----------------------------
I
VBLANK:
~--------~
VSYNC: /
!--------------1V (FI.,d)--------------1
HBLANK:
JL __ JL1L __ JUL __ JLJL __ .JL __ JL __ JLJL __ .JLJL_
I I 1 1 1 I , I
VBLANK:
L __ - - - . r - - - - I - - - - - - - , - - - - - L - __ ...r---,--,------,-,---
: I I I I
VSYNC:
(Interlace) ,,
I II I L-
I I - - - - - - - O d d F i e l d - - - : - - - - - !_ _ _ _ _ Even Fietd _ _ _--,-___
I , I
, I I
VSYNC: ____________~I Ir-----~~
(No Interlace)
35 210655-002
inter 82720
WAVEFORMS (Continued)
~-----------------------lH------------------------~
I
I
I
I
nL--_____.;-__________________---l._ _
HSYNC' _ _....;I'--_.....
I I
---1
I
I
:t I
I
~HBP--t--AW-----l
1----------_ _ _ _ _ _ 1V ___________________ ~
36 210655-002
82720
Active
Display
Horizontal
Back Porch
Blanking - Lines
DRAWING INTERVALS
~ Drawing Interval
~ Additional Drawing Interval When
~ in Flash Mode
m
wa Dynamic RAM Refresh if Enabled, Otherwise
Additional Drawing Interval
37 210655-002
DOMESTIC SALES OFFICES
EUROPEAN DISTRIBUTORS/REPRESENTATIVES