U PD72120 Users Manual Dec86

uPD72120_Users_Manual_Dec86 uPD72120_Users_Manual_Dec86

User Manual: manual pdf -FilePursuit

Open the PDF directly: View PDF PDF.
Page Count: 118

DownloadU PD72120 Users Manual Dec86
Open PDF In BrowserView PDF
"

"

NEe

NEe Electronics Inc.
ADVANCE
PRODUCT
INFORMATION

December 1886

pPD72120
Advanced Graphics Display Controller
User's Manual

The information contained in this document is being iIIued in adYance of the produCtiOn cycle for the device. The
parameters for the device may change before final production or NEe Electronics Inc.•~ It its own discretion. may
withdraw the ctevice prior to production.
The information in this document is subject to change without notice. NEe Electronics Inc. assumes no
responsibility for any errors or omissions that may appear in this document. Devices sold by NEe ElectroniCS Inc.
are covered by the warranty and patent indemnification provisions appearing in NEe illectronics Inc~ Terms and
Conditions of Sale only. NEe Electronics Inc. makes no warranty. express, ltatutory, implied, or by desCription.
regarding the information . t forth herein or regarding the freedom of the deSCribed devices from patent
infringement. NEC Electronics Inc. makes no warranty of merchantability or fitness for any purpose. NEe
Electronics Inc. makes no commitment to update or to keep current the information contained in this document. No
pert of this document may be copied or reproduced in any form or by any means without the prior written ~nsent
of NEC Electronics Inc.

..

Advanced Graphic Display Controller

Preliminary Product Informat:ion

1. OVerview •••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Features •••••••••••••••••••••••••••••••••••••••••••••••••••••••
Pin Configurations •••••••••••••••••••••••••••••••••••••••••••••
Pin Configuration (Flat package) ••••••••••••••••••••••••••
Pin Configuration (PLCC package) ••••••••••••••••••••••••••
Block Diagram ••••••••••••••••••••••••••••••••••••••••••••••••••
Pin Functions ••••••••••••••••••••••••••••••••••••••••••••••••••
Clock Pins ••••••••••••••••••••••••••••••••••••••••••••••••
system Bus Control Pins •••••••••••••••••••••••••••••••••••
Dis~ay Memo~ Control Pins •••••••••••••••••••••••••••••••
Video Timing Signal Helated Pins ••••••••••••••••••••••••••
Display Signal Belated Pins •••••••••••••••••••••••••••••••
Power SUpply and Ground Pins ••••••••••••••••••••••••••••••
SmlTery ••••••••••••••••••••••••••••••••••••••••••••••••••••••••

1-1
1-1
1-2
1-3
1-4
1-5
1~

l~

1-6

1-8
1-9
1-9
1-9
1-10

2. Function Description •••••••••••••••••••••••••••••••••••••••••••••

2-1

2.1 Features ••••••••••••••••••••••••••••••••••••••••••••••••••••••••

2-1
2-1
2-3
2-3
2-3
2-5
2-9

High Speed Graphics Drawing ••••••••••••••••••••••••••••••••••••
Video Timing Signal Generation •••••••••••••••••••••••••••••••••
Large capacity Display Memo~ COntrol ••••••••••••••••••••••••••
CPtJ Interface ••••••••••••••••••••••••••••••••••••••••••••••••••
2 .2 Corrmand/Paranete r Exchange Between the CPU and A(;x' ••••••••••••
2.3 Beset and Abort Operation ••••••••••••••••••••••••••••••••••••••
3. A~ C>}?eration •••••••••••••••••••••••••••••••••••••••••••••••••••
3.1 How to Use the Internal ~ister ••••••••••••••••••••••••••••••••
3.2 AGDC Control ~isters ••••••••••••••••••••••••••••••••••••••••••
S'm'ltlS ( Status) ••••••••••••••••••••••••••••••••••••••••••••••••

BANK

(Bank) ••••••••••••••••••••••••••••••••••••••••••••••••••••

C'l'RI., (Control) •••••••••••••••••••••••••••••••••••••••••••••••••
3.3 Display ~lated ~isters •••••••••••••••••••••••••••••••••••••••
DI~Y FLAGS (Display Flags) ••••••••••••••••••••••••••••••••••
DISPLAT PITCH (Display Pitch) ••••••••••••••••••••••••••••••••••
AC (Address Control) •••••••••••••••••••••••••••••••••••••••••••
DAD (Display Address) ••••••••••••••••••••••••••••••••••••••••••

~ (~rd

Count) ••••••••••••••••••••••••••••••••••••••••••••••••

GCSRX (Graphics Cursor X Coordinate) •••••••••••••••••••••••••••
CRS (OJrsor ()Ut Select) ••••••••••••••••••••••••••••••••••••••••
i

3-1
3-1
3-3
3-3
3-5
3~

3-7
3-6

3-14
3-15
3-16
3-17
3-18
3-19

Advanced Graphic Display Controller

CE (CUrsor

Enable) •••••••••••••••••••••••••••••••••••••
OCSRYS (Graphics Cursor Y COOrdinate Start) ••••••••••••••••••••
G:RSl'E (Graphics CUrsor Y OX>rdinate End) ••••••••••••••••••••••
D~lay

BS, BBP, BH, BO, BFP •••••••••••••••••••••••••••••••••••••••••••
VS, VBP, LlF, VFP ••••••••••••••••••••••••••••••••••••••••••••••
3.4 Inter.nal Register ~le •••••••••••••••••••••••••••••••••••••••••

3-20
3-21
3-22
3-23
3-24
3-25

4. Drawing Operations •••••••••••••••••••••••••••••••••••••••••••••••
4.1 Drawing Functions •••••••••••••••••••••••••••••••••••••••••••••••
4.2 ~ of DRAW Commands ••••••••••••••••••••••••••••••••••••••••••
SUmma~ of Operation Flags •••••••••••••••••••••••••••••••••••••
4.3 Detailed Description of DRAW Commands •••••••••••••••••••••••••••
4.3.1 Register Operation COmmands •••••••••••••••••••••••••••••
4.3.2 Graphics Drawing Commands •••••••••••••••••••••••••••••••
4.3.3 Paint Commands ••••••••••••••••••••••••••••••••••••••••••
4.3.4 CDPY Commands •••••••••••••••••••••••••••••••••••••••••••
4.3. 5 PUT/~T COrmands ••••••••••••••••••••••••••••••••••••••••
4.4 How to Use the Flag Bits ••••••••••••••••••••••••••••••••••••••••
4.5 Painting Pattern ~ferenoe Examples •••••••••••••••••••••••••••••
4.6 Inter-plane Data Transfers ••••••••••••••••••••••••••••••••••••••
4.7 Drawing ~lated ~isters •••••••••••••••••••••••••••••••••••••••
4.8 Parameters Corresponding to DFAW Commands •••••••••••••••••••••••

4-1
4-1
4-1
4-4
4-9
4-9
4-10
4-20
4-25
4-30
4-32
4-43
4-46
4-47
4-55

ii

Advanced Graphic Display COntrolle r

Section 1

'n1e uP072120 Advanced Gratilic Display Olntroller (HDC) displays characters and
graphics on a raster scan CRr aC(X)rding to coummds and pararretez:s received
from a h:>st processor or CPO. It has high speed graPlic drawing capabilities,
video timing signal generation, large capacity display IDeDDtY ex>ntml
(including Video RAMs) and a versatile CPO interface. '!hese are sene of the
features that allow the ACZX:, to ex>ntrol graphics dr_ing and display of bit
~ systems.

Features

* High

speed graphics drawing functions
o Graphics drawing
!:bt, straight line, rectangle, circle, are, sector, ellipse, ellipse arc
and ellipse sector

Maxirrum drawing speed: 500 ns/piXel (8 MHz, pixel node)
500 ns/d:>t
(8 MHz, plane DDde)
o Painting (High speed processing in word units)
N:>n-arbitrary enclosed area painting (Fill): triangle, trapezoid and

circle.

*

*

Arbitrary enclosed area painting (Paint): boundary &:>t retrieval
o Data transfers in display menory
Multiplane transfers
Data transfomation (90°/180°/270° rotation and reversal)
Transfer speed: 500 ns/word max.
° Image Processing
Slant, arbitrary angle rotation, 16/N enlargenent, W16 shrinkage (N any
integer from 1 to 16)
o Position specification by X-Y coordinates
o IDgic operations between planes
Video timing signal generation
o High speed processing by two system clocks: display (fo r video sync
signal generator) and gratilics drawing clocks
o External synchronization
Large capacity display memo~ control
o Display menory bus interface (24-bit address and 16-bit data bus fo r
addressing up to 16 Mwords, 16 bits/word)
° Video RAM (VPAM) oontrol
o Display memory bus arbitration
1-1

Advanced

Gr~hic

Display Controller

* IiJst

Processor (CPU) Interface
o System bus interface - -2o-bit address bus, 8 or 16 bit data bus

o SYStem ueItOry <-> display nenory data transfer with extemal IJ.1A
Controller
From system merrory to display DeltCry (PU!')
From display uencry to system meItDry tCET)
o Sigh speed pipeline processing with preprocessor before drawing processor
o CPO DerlDry or I/O mapping of internal registers and display menory efficient ~stem interface
8 MHz System Clock

*
* CHJS Technoloqy
*

Single +5 V Power SJpply
flat package (uPD72l2DG) or 84-pin PICe (uPD72l2OL)

* SO-pin

Ein Configurations
~:

II1A lequest

IJt\AAK:

II-1A Acknowledge

INT:

Interrupt

R'.ADY:

leady

~:

RESET:

~set

'00:

CSIR:

~:
Internal ~ister
Chip Select
BLD~:
Display Menory Chip select DT/I5ISP:

CS5M:
R):

Read

WR:

Write

~est

ASl'B:
Address Strobe
MAl9-l6: Main Address Bus
l-1AD1S-o: flain Data Bus

NC:

USE:
CI.K:

DfBE:

-DUBE:

R:> ex>nnection
Oppe r Byte Enable
Clock
Display Memory Lower

W3-l6: Display Ment>ry Address. Bus
IW>l5-o: Display Mem:>ry Data Bls
D.l\Sm:
Display Memory Address Strobe
Display MeIIOry lead
Display MenDry Write
9;)ld Acknowle:lge
9;)ld ~est

D:lta

Transfer/Display Timing
~:
Blanking Signal
HS/EXHS: 9;)ri2Dntrol Sync!
. Exte mal Ii:> r iz. Sync
VS/EXVS: ~rtical Sync/External
va rticl Sync
GCSR:
Gratilics CUrsor
s:LK:
Sync Generator Clock
~T:
Graphics wait

Byte Enable

Display Memory Upper
Byte Enable

1-2

Advanced Graphic Display Controlle r

E1D.

Cbnfiguration (Plat)

SCVHBDHHODOV 00000
CCSSl.TLLWRAA A A A A A
LSIIAI.DORDS I 22221
KR £ £ NOR A T T 3 2 1 0 9

XXKICk
VH

B

S

SSP

vc

~~

~ ~ ~

ttttt

II

tttftcttttt

~

,~~

~

80 78 76 74 72 70 88 68 64 82 61
79 T1 75 73 71 69 67

~~

Ot1AAK

~

INT

READV

Jt£S£T
CSJ]

•

RO

ASTB

VOO .... 11

ADt3
A012

GND ....

12

•

13
14
15

..

A19

•
..
•
•

A.

G

D

C

46

45
44

17

• 18
II

19

II

20

54
53
52
51
50
49

48
47

80 PIN P.f'l.AT

43
42
41

22 24 26 28 30 32 34 38 38
21 23 25 27 29 31 33 35 37 39 40

, t t t t , t t t t

tt tt t t

+ + + + ++ + + ~

~ ~

I I I I I I I I I +I I I

VG

1 1 987 654 3 2 1 0

10

1-3

t

oN I
o0 ~ ~ +

AA A AA AA A AAAA NUC
o 0 0 0 DOD 0 DOD 0 C 8 L
£K

OAI8
OAl7
DAI6

-60
59
58
51 .. VOD
55

•
• 16

II

63

56

~

WR

AOl4

as

3
4
5

• 6
7
8
•..
9
• 10

C.SDM

Al8
At7
Ale
AOtS

1
2

DD0

L UA
BB0
E E0

.. eND

•
•
•
•
•
•
•
•
•
•
•
•
•
4

4

~

Ii
~

Ii
Ii
Ii
II
II
II

•

•
•
•
•
II

DADtS
OAD14
DADI3
DAD12
DADlt
DADlO
OAD9
DADa
DAD7
DADS

DADS
OAD4
DAD3

OA02

DADl

Advanced Graphic Display Q)ntrolle r

tin Q:mfiguration

(PTa'l

sevHsDHiiooov 00000
CCSSLTLLWRAA
LSI I A. l 0 0 R 0 S I
K R E £ N D RAT T
XXKIQK
B
VH S

AAA.AA.
222 2 1
321 0 9

ss·p

vee

~~~

ttttt tttttcttttt

~ ~ ~ ~

: II

~

,

~ ~,

84 82 80 18 76 74 72 70 68 66 64

83 81 79 77 75 73 71 69 67 6S

fljAtQ

DMAAK

----..

tNT

READY
&ES.ET
CSJ.&

631---.. OAI8
62 1-----. DA17

1
2
3

61~--"

4

~

~voo
~ eND
~ eND

----..

5

59

CS~

----..
----..

6
7

58
57 ..

&0

----..

8

~

-----..

9

AST8

----..

10

A19

eND -.
eND....
•
----..
----..

WR

AlB
A17
AIS
AOlS
A014
AOl3
AD12

VDD -. 11

----+.
•
•
..
..

•
•
•
•

A.

G

D

C

12

13

14
15
16
11
18
19
20
21

84 PIN PLCC

•
•
M
•
54
•
53
•
52
•
51
•
50 ~
.. -~•
49 ~
.. -~•
48 ....- ....•
47 ~.-~•
46 ~.-....•
45 ....-~
44 ..
•
43 "'4-~•
~.--~
~
.. --~
~.-~
+-.-~
+-.-~
~
.. -~

I

4 -....

23 2S 2'7 29 31 33 35 37 39 41

22 24 26 28 30 32 34 36 38 40 42

t t t t t t t t t t t t

t t t t f

~~~

II t II1III111

~~~~,+".~,.

I

DOD'~~

UC

AAAAA.AA.AAAAA

o DOD 0 DOD 0 DOD B L
1 1 987 654 321 0 £ k
ION
C

1-4

t

DOD
L UA
BB0
£ E0

DAIS
OADIS
DAD14
OAD13
OAD12
DAD1!
DADI0
OAD9
DADS
DAD?
DADS
DADS
DAD4
DAD3
DAD2
DADI

AGDC BLOCK DIAGRAM
eLK
RESET

VIDEO TIMING SGW.GBERA~

Vdd
GND

SClK
BLANK
HSIEXHS

OMARa
OMAAK

GWNT

DISPLAY

DUDE
DlBE

~

NT

HlDRQ
f-t

J,

READ'
CSIR
CSOM

DISPlAY
t.IMRf
NTEFFACE

CPU

INTERFACE
00AVVN2

ASTI

~

MA19-1

. MAD15

-own

HLDAK

DAD

DASTB

RD
WR
UBE

I~

VSlEXVS

~

OT DISP
I

GCSR

0m.18
DAD15-0

G)
t1

E

I

t....
0

c

In·

~
~

g
~

a....
to
..,

Advanced

i.in

Gr~hic DisplayOont~ller

Functions

Clock Pins

I TeDninal I I/O I Active
I Name I
I level

Function

I

I Clock sut¢ied to the circuits other than the
I the sync signal generator and display processor.
I '1'he drawing processor am preprocessor speed
I depend on this clock frequency.

I

I
I
I
I
I

Clock supplied to the sync signal generator and
the display processor. '.this clock frequency is
determined by the eRr timing requirenents - i.e.,
b:>rizontal sync frequency, the nUll'ber of dots per
line, etc.

I
I
I
I .
I

System Bus Cbntrol Pins

I Terminal
I Narre

I/O I Active

Function

I level
+

cro

I MADlS-o
I

I I/O I
I
I

ex>nsisting of nultiplexed 16I bit address and a bidirectional data bus.

I MAl9-16

I I· I

I upper four address bits

I/O bus to the

of the 20-bit address.

ASTB

I I
I

E

I Latches the address on MAl9-16 and
I falling edge.

USE

I I
I
I

L

I 'lbgether with JW)() defines. the data acoess fotltBt
I as shown below. tlBE smuld be tied high when
I oonnected to an 8-bit CPO.
I ~ tlBE Di.tA ACa!ss Fonnat
I
0
0
Even address word
I
0 1 Even address byte
I
1
0
~d address byte
I
1 1 Odd address byte

I
I
I
I
I

1-6

l-1AD1S-O on the

Advanced Graphic Display Controller
System Bus Control pins (oontinued)
'n!rmina.l I I/O I Active
Name
I level
I

RD

I

L

WR

I

L

Function

I PerfOnt8 a read of data from the
I CPO.

NZY:,

by the

~st

Perforns a write of data to the ACDC from the

mst

CPU.

CSIR

I

L

I Enables reading/writing of laX:. intemal
I registers by the mst CPO. 'Dle register is
I selected by the address input on MNl7-o.

CSl1

I

L

I
I
I
I

RFADY

0

H

I Activated by the data access request

IN!'

0

H

Signals an interrupt from the AaX:..

~

0

H

Indicates a request for data transfer (PUT/GET)
to an extemal ~ ex>ntroller. DMARO will be low
afte r RESET.

Il1AAK

I

L

I Acknowledgnent of
I DMA controller.

!£SET

I

H

I Initializes operation of the AGOC.. The intemal
I paraneter register is not cleared by H:SET (it is
I initialized by setting data).

Enables reading/writing of display uenory
through the Ar:D: by· the mst CPU. 'l'he display
rrerrcry address is generated by the address input
on MAl9-16 and MADl5-0 and by the bank register.

for
I the AaX:.. During the access, the signal. is low.
I ~$T will set the READY line high.

1-7

(R>/WR)

tt-1A request to the AGX by the

Advanced Graphic Display Controller
Display MeIrory O:>ntrol Pins

I '1eminal I I/O I Active I
I Name I
I level I
I
I

J:W)lS~

I DA23-16
I
I

DUBE

I I/O I
I
I

I I/O pins for display

mdress

DeDDty - 16-bit

luultiplexed. with data.

o

I 'Opper 8 bits of display DeDOty Iddress (the lower
I 16 bits of the 24-bit address are output on
I IW>lS-o).

o

B

I Indicates that a display DeltDty address is
I present on the falling edge.

0

L

I
I
I
I
I
I
I
I

DLBE

DR)

Function

o
o

L

L

Defines the data fornat for accessing the display. I
:RESET sets Ix>th pins low.
iiii iim JatI. emess fQgnat
0
0
16-bit CPO
8/16-bit CPU 0
16-bit CPO
1
8-bit CPU
1

/IGX:,

0
0
1
0

1

Word
Word
High (odd) byte
Low (even) byte
High (odd) byte

I O:>ntrols reading of the display meoo ry by the
I AG:X:,. Set high by m:sET.
I Controls writing to the display nenory by the
I AGX,. Set high by RESET.
"

+-------~---+------~------------------------------------~
H
I aequests control of the display menory bus by an
I
HIDKJ
I extemal device to transfer display data

o

L

I
I
I
I

Indicates that the NZX:, mem:>ry bus (W3-16 arx1
[w)15-0) is in the high iJrpedanoe state so that
an extemal device can have access to display
nenory bus. Set high by RESET.

1-8

Advanced Graphic Display Centrolle r
Video Timing Signal.

~latec1

Pins

I 'l'enninal I I/o I Active I
I Name I
f level I

vs/EXVS I I/O I
I
I
I
I
I

B

I
I
I
I

When the laX; operates as the master, VS is the
vertical sync signal. When the NZJC oparates as a
slave, EXVS initializes the intemal vertical
sync signal. on the rising edge.

H

I
I
I
I
I

When the AaX; oparatee as the master, as is the
mrizontal sync signal output. When the AGDC
operates as a slave, EXHS initialias the
intemal mrimntal sync signal on the rising

I

HS/EXHS I I/O I
I
I
I
I

Function

I
I
I
I

edge.

Display Signal Related Pins

I 'l'e rminal I I/O I Active
I Name
I
I level

Function

+,======~~==*======+=====-==========-======================+

I' 0

H

Used to blank the display.

M/DISP I 0

L

Set to M in the DT nDde (VPAMs used) aM
specifies the data transfer. In the cycle steal
ItDde (VPAMs not used) indicates display Cjcle.

B.I.Mi(

I
I

I

GCSR

0

E

I Specifies the display of the graphics cursor

GlAIT

0

H

I Graphics wait signal

Power SUpply and Ground Pins
J

I
+

Terminal I I/O I Active
Name
I
I level

Function

I -

I +5 V powe r supply

I -

I Ground

1-9

Advanced. Graphic Display Controlle r

The AGX. is an LSI device that can be used to (X)ntro 1 a raster scan CRT
(X)nnecteQ to a personal (X)lIp-lter, word processor, or various kinds of work
stations. '1'be AGOC, not only generates the video t'iming signals needed by the

CRr, but can draw various kinds of maracters and gratXUcs at high speed.
lax: also bas abundant functions required by many advanced system.

'!be

'!be figure below sb:>ws the basic ex>nfiguration of a system euploying the AGX.

SYSTEM BUS

......_ . . , . . - - - - '<~>

DISPLAY

MEMORY
CHARACTER
ROM

1-10

Advanced Graphic Display Centrolle r

section 2

2.1 Features
High Speed Graphics Drawing
o Graphics Drawing
'!be AaX has graphic drawing oormands to draw oots, straight lines,
rectangles, circles and arcs, all of which are indispensable for
CAD/CAM, office autonation, cX>current processing am printing. In
addition, the At;zX; supports the drawing of sectors, ellipses, ellipse
arcs and ellipse sectors as advanced graphic primitives. '1hese high
speed graphics are drawn at maxirtum rate of SOO ns/pixel (8 MHz clock)
for a straigh line, 1 us/pixel for a curved line (are, etc.).
o Painting
'!be AaX, can paint or fill in a triangle, rectangle, trapezoid or circle
as well as any enclosed area. '!his powerful feature is useful not only
for docunent processing but advanced three dinensional graphics as well.
Since the tiling pattern for painting can be freely set in the display
merrory, the areas to be painted can be drawn with any of a wide
assortnent of oolors.
In the past, painting was perfomed by software on the mst au which is
time oonsuming. For this reason, painting was used in only limited
applications. The AaX:, can upgrade the performance for painting sp?eO
by as nuch as several hundred tines oonpared to painting c:bne by a mst
CPU. This enables painting to be applied nore extensively through the
use of the AGDC.
o Transfer of Data in Display Merrory (CDPY)
'!be 'cx)PY' oorrmands refers to bit-block transfers (also known as
bilblt). '!his CX)rmands transfer a rectangular area of any size arxl bit
position to another similarly siEd rectangle. 1be 'CCPY' canmand
performs powerful character drawing and window oontrol functions.
In the past, a character oould be displayed only with a fixed size and
at a set p:>sition (word boundaty) on the screen. 1be word processing
applications of today require !rore flexibility in the display of
characters. As a result, it is neoessaty to display charactecs of
different fonts, styles and sizes and to proportionally space
characters. The 'CDPY' function of the AGX can satisfy all of these
demands and at high s~ed - 500 ns/16 bits.
Personal computers are making use of multiple windows on display
screens. The 'ropy' oorrrnand allows the user to easily specify the
2-1

Advanced Graphic Display Q:)ntrolle r

nUJtbe r, shape and size of IEUltiple windows. Purthe r, the 'Qpy' oanmand
of the ND: can perform various logical operations between source an::1
destination planes.
o Image Prooessing
'!be NZ1:. is able to do mre than just copy data. It can slant oopy,
arbitrary angle rotation CDPY, 16/n enlargeuent cx>py or n/16 shrink CX)py
(n any' integer from 1 to 16). ihese copies transfer data from a
rectangular source area to a non-rec::tangW.ar destination.
n. slant Q)PY can be used for drawing italic cbaractem. '!be atbitraty
angle rotation oopy is useful for doctment preparation beca1se it can
rotate characters, graphics, imsges, etc. 1be enlarge and shrink oopies
are effective for editing and patching doclments.
'lbese AGX:, ootrltBOOs relieve the mst CPO of what was a software
intensive function. '!be laX:, can quickly acoorrplish these image
processing tasks and for a lower cost.
o Position Specification by X-Y Q)ordinates
'nle graphics drawing and oopy paranetem can be given as X-Y ooordinates
thereby relieving the mst CPU of the address calculation requirenents.
o Hardware Clipping
Clipping is used to draw either inside or outside a rectangular window
defined by the user. For exanple, a cxm.nand to draw a straight line
from the outside to the inside of a wirWw wlllonly be seen inside (or
outside) of the window when clipping is used.
'!be Aax:. inplements clipping in hardware so that the user need only
specify the cx>ordinates of the rectangular winoow and the mde to
indicate whether to clip inside or outside of the window.

,

,

~

I

\

Clipping rectangle
Inside drawing

OUtside drawing

~

( - - - Invisible line)

2-2

~

-,

Advanced Graphic Display Controlle r

Video Timing Signal. Generation
o High Speed Processing by Dual System Clocks
Dual system clocks can be input to the NZX':. - the drawing clock and the
display clock. In a graphics system, the display rate depends on the
resolution of the CRr, the clock frequency of the display mntrolle r
depends on the display rate. In the past, only a single clock was used
for the display a>ntroller. It was often necessary to limit the clock
to 5 MHz even trough the capacity of the display ex>ntrolle r was 8 MHz.
'lberefore, the AaX:, was designed to have the display clock independent
of the drawing clock so that drawing can be perforned at the highest

tx>ssible speed.
o External Sync Inplt
In systems that incx>rporate a separate circuit to generate the video
timing signals and use an Aczx, only to draw gra];ilics, or in systems that
use JIUltiple AGDCs to achieve higher perfoanance, it is necessar:y to
synchronize the ACD:. with the extemal Circuitry or the AiD: with other
AGDCs. '1berefore, the 1Q.X, has extemal sync input capability to
synchronize its operatlons with other A£J)Cs or with extemal circuitry.
Large capacity Display Menory Control
o ~isplay Mem:ay Bus Interface
With its 24-bit addressing and 16-bit data, 16 Mwords of 16 bits/word
display nerrory can be cx>nfigured with the ACDC. '!his neans that up to
64 planes of 2048 x 2048 dots can be cx>nnected.
o Video MM (VRAM) Q)ntrol
VPAMs are dual-p:>rted DRAMs with intemal line buffer shift registers
(i.e., uPD41264). '!be VMMs provide a sep!lrate port for display data so
that when drawing, JIel'Il)ry access tine is greatly reduC2d. As a result,
nost of the entire rreItDry cycle can be used as the drawing cycle to
inprove system throughput. 'nle AGDC supplies the signals neEded to
oontrol VRAMs.
o DisplayMemo~ Bus Ar.bitration
In a basic system, the display ment>ry is accessed by the AQ)C only.
However, in a nore advanced system, the display menory may be accessed
by other processors. In other words, a local bus is established between
the display nen:cry and the Ja)C or other processors. In this case, it
is necessary for the AaX:, to periodically provide refresh am display
cx>ntrol and thus act as the local bus master. Other processors on the
. display nenory bus (i.e., an inage processor) are slaves ard nust
request use of the bus from the AQJC. 'nle Amc oontrols the display
nerrory bus and can grant the use of the bus to other processors.
'nle ACXI:, inoorporates display I11!rrory bus arbitration logic enabling
higher performance systens to be oonstructed for a lower oost.

2-3

Advanced

Gr~hic

Display

Cont~ller

CPU interface
.
o Systen MeIIO ry Bus Inte rface
o CPO Mapping of Internal Registers and Display Melrory
'!he Jta:£ system nenory bus interface to the mst CPO is indepen3ent of
the display JleDDry bus. '!be width of the a:idress mich the CPU can
inPolt to the AaX:. is 20 bits am the data width is 8 or 16 bits. '!be
2o-bit address is used when the display plraneters, drawing lBraneters
and oonmmds are set and the CPU accesses the display neDD ry directly.
ihe intemal AGX:, registers and the display JDeDDry can be mapped in the
CPU rrenory or I/O space. '1bi.s Allows the CPO to efficiently execute
special drawing p~cessing directly in the display JDeDDIy. !be mapping
of AGX:, registers in the CPU uerroty space provides for quick access of
inforrration to and from the Aa:C.
o System Mem:>ry <-> Display Menory Data Transfer
As described above, it is p>ssible to map ,the display neuory in the CPU
nenory space. It is also possible to execute PUlICE'!' c:annands - to
transfer the data between the system uenory and the display neIIOty at
high speed th~ugh the use of an exte mal IJt1A oontrolle r • Pt1l' is the
oonrnand to transfer data from' the system nem:>ry to the display nenory.
CET is the comnand to transfer data from the display nenory to the
system menory.
o High Speed Pipeline Drawing P~cessing
The paraneters given by the CPU to the ACJX; are greatly reduced by using
X-y ooordinates. However, it is necessary for the Aa>C to calculate
physical nenory addresses for the drawing processor. '!be process to
oonvert the X-Y (X)()rdinates from the CPU into physical addresses is done
by the drawing preprocessor. '!be drawing processor executes the actual
drawing ooImBnds independent of the preprocessor. '1herefore the drcwing
processor and preprocessor can oJ:erate ooncurrently. As srown in the
figure below, the throughput of the system is improved by the use of the
drawing preprocessor and the drawing processor in a pipeline.

Paranete r Input
(CPU Interface)

___~~~______~)~~~<_____

~~p~ro~sor _ _~<
Drawing Processor

tine

2-4

Advanced Graphic Display Controller

2.2 Q:mmond/Pargete r Exc;hange Between .tl:& a!l .IDd

~

It is necessary for the CPU to set various parametem and ooammds to operate
the drawing and display oontrol functions of the AaX.. 'lb set these plraneters
and Q)nm:mds, the CPO writes them directly to the NZJC intemal registers.
'nle internal registers of the ND: can be classified into registers the CPU can
read and write directly and registers in which reaiing or writing is
prohibited. 'nle registers which can be read and written are assigned unique
addresses. '1tley are mapped in the CPU nent>ry or I/O Splce and referred to as
the '(X)rrmand/paraneter table'. 'lbese registers are selected by the lower 8
bits (OOB - FFH) of the address input on MADO - MNJ7 to the AaX:, when CSIR is
low. '!be data to be read or written can be sent through the data bus in the
sane address cycle providing high speed comrcand or parameter exchange.
The Ar:D::. inoorporates a preprocessor for drawing preprocessing and a drawing
processor for the actual drawing. '!be drawing preprocessor calculates the
effective (physical) address from X-Y cx>ordinates (logical address) given by
the CPU and generates the parameters of the micro-level CX>des intetpretErl by
the drawing processor. '!be drawing preprocessor decodes CXI'IItlaMs and performs
the drawing preprocessing necessary to execute ex>nmmds in the cx>mmmd/
paraneter'table. It is not necessary to write all the paraneters in the
oorrm:md/parameter table. Cnl.y the required paranetets for the particular

command need be written.
Of the addresses OOH - FFH in the intemal register space, 80H - FFH are not
presently used. These are reserved for future use. '!be register addresses
OOH-7FH can be grouped into four categories as shown in the following table.

2-5

Advanced Graphic Display Controller

I Classification

Register Name

Address

CPO Access

1(1) 1GX:, oontrol I STA'lUS (Read)
I 301 - 30B I Read - at any tine
I
I Cl'RL, IWt{ (Wr ite) I 3aI - 3DB I Write - at any tine

I (2) Display
related
I
registers
I
I
I
I
I
I (3) Drawing
related
registers

I
I
.I
I
I
I
I
I
I
I
I
I
I
I
I
J

DISPLAY FIAGS
I 708 - 7PH I R!ad - inhibited
DISPIAY PI'lCB
I Write at any time
I
IW>, le, AC
I
r
OCSRK,GCSRlS ,GCSRVE I
I
CRS, CE
I
I
BS,HBP ,HH,BD,HFP
I
I

VS,VBP,I/F,VFP

I

FAro:£(;, dAIX)R:;

I OOB - lFB Raad at any tim:
I 40B - 6FH I Write - 3 types of
hanlshaking selectable
I

tADl, dADl
EAD2, dAD2
PDISPS, PDISPD
PI'1':HS, PlroID

PMAX, MDl ,ftD)()
PIANES
PmP, P.LN:NI'
STACK, S'IMAX

I CLIP
I XCIlUN,XCI.MAX
f YCl.MIN, YCIl-W{

I MACH ,l-lAGV

I X,DX,XS,XE,XC,DH
I y,DY,yS,YE,yC,OV
I CDMMAID
I (4)
I
I
I
J

Data port

I
I
I
I
I

I

A. status flag
B. ready signal
C. IN.I' signal

J
J

I
I
I
I
I
I
I
I
I
I
I

IlWORr (during
3EH - 3FH I
PUl'/CET execution) I
I
OX (during W.AD
I 44H - 4sH I
DP/lEAD CX>L

execution)

I
I

I
I

N:>te: The OX register is used as the logical address (.CX)()rdinate) setting
register and at the same time as the data port during execution of
the READ OP/WAD CDL oorme.nd.

2-6

I

I
I .
I
I

Advanced Graphic Display Controller
1be 'registers in the first classification - srA'lUS, Cl'RL and BAR( - are
assigned address 3CH - 3DH. 'l!le oontents of the STA'lUS register can be reeD at
any tine. '!be Cl'R[, and BARt registers can be written to by the CPU at any ,

tine.
'!be registers in the seCX)m group - display related registem - are assigned
addresses in the range 70B - 7Fa. '!he CDntents of these registers cannot be
read. Data can be written to these registem at any tine. Ibweve~, writing to
these registers can disturb the CRl' display. To prevent this, the display can
be blanked while writing to these registers. First set the S) bit in the
DISPIAY FlAGS register (address 70B-7lB) to '1'. Sea:>nd, write the data into
the display related register group. '!bird, set the SJ bit from '1' back to

'0' •
Follow these procedures to write data (SYH: parametets) such as SS, HBP,
HE, HO, HFP, VS, VBP and !IF on the registers at "address 7EH - 7FB:
1. Set the SYN: bit in the DISPIAY FIAGS register (70H - 7lH) to '1'
2. Write, in the order listed, SS, BBP, HH, HO, BFP, VS,
VBP, I/F AN) VFP (address 7EH - 7FH).
3. Set the SYNC bit to '0'
The registers in the drawing related group are assigna:i addresses from OOH to
lFE and 40H to 6FH. The preprocessor resides in this register group. '!he

read/write option of these registers are:
- aead
The CPU can read the contents of these reg is te IS at any tine. The
preprocessor stops for one clock while the contents of a register are
read.
- Write
One of three writing procedures can be used:
1. Check the STA'IUS register PPBSY flag (~dress 3CH)
2. Use the READY signal.
3. Use the IN!' pin to signal an interrupt. to the au
The method described by (1) is the general nettOO. '!he contents of the status
flag are read to check that the preprocessor is not in operation. If the
preprocessor is not busy, then data can be written to the CCIt1lti1!ld/plrarreter

table.
In the method described by (2), the au is tied to the A(])c's READY line. If
the preprocessor is busy, the CPU cannot write the data until the preprocessor
is finished and the READY line goes high. This procedure enables the
exmmand/pararreter data to be sent at a higher speed.

2-7

Advanced

Graphic Display Controlle r

In the netb:>d described by (3), the CPO is interNpted ,by the &CDC when the
preprocessor is available. '!be AaX:., through its IN!' line, inforns the au to
send cxmnand/paraneter data. The CPU interrupt routine srould send a CXIr1rt\aOO
and parameters to the NZlC. '!be' INl" line is enabled or disabled by a flag in
the CTRL register (address 3OB).
'!be three write meth:>ds are lllustrated

Procedure (A) ••• Handshake by the
busy flag

below.
Procedure (I) ••• -Handshake by the
llEADY Signal

YES

The CPU is in wait cycle
during the execution of
the draw1nlpre-process1ng.

IParameter I
I

Ipara~eter I
I

Command

Procedure (C) •• Handshake by the
IN! signal
Main routine
!he dra~ing preprocessing
end is informed.

-------,t

r- - ---- I
I

Interrupti?n pl'ocessing rout ine

I Parameter I
I Parametel' I
I

I

:

:

I Parameter I
:I

Command

I:

_----L--------------'1 - - - - - - - .J
MalT; routine

2-8

Advanced

Graphic Display Controlle r

'nle data port register, ~Rr, is at address 3Ea - 3F8. '!he drawing
processor uses this register during execution of the drawing preprocessing.
'1berefore, to read/write this register, follow the uetb:>d for reading or
writing the drawing prep~ssor.

2.3 BIBt ADd. 6tQ.G Qgeratioo

resets 0 r abo rts processing by any of the following procedures:
- Reset Operation
1. Set the RESET input signal (pin 5) to a high level (hamware reset)
2. Set the ~SET flag in the am:, register to '1' (sofbBre reset).
- Abort Operation
3. Set the ~RI'. flag in the CTR[., register to '1'.

The AfZX:,

Reset/Abort Operation
1(1)

Hardware

~set

- sets the display stop flag S) in the DISPIAY
FIAGS register (70R - 71B) to '1'
- sets all bits in the ~ register (3DH) to '0'
- all other registers maintain the same status
- stops the preprocessor and the drawing processor
- initializes the video timing signals
- stops the l.nege nenory direct access

Software

~set

- same as the hardware reset but Cbes not set the
display stop flag in the DISPIAY FLAGS register
(70H - 71H) to '1' and Cbes not initialize the
video timing signals

I
I
I
I
I
I
1(2)

Operation

1

I
I
I (3) Abort
I

I - all registers mintain their status
I - stops the preprocessor and drawing processor

Advanced Graphic Display Controller

2-10

Advanced Graphic Display Controller

Section 3

3.1 B14

m 12K tbl

Intemal Resisters

The internal registers of the laX: are classified as

Classification
c:x>ntrol
registers

AWlication

ItfZ'£

I
I
I
I

related
registers

in the table below:

Register Nue

~t~
I ~~S
Q)ntrol
I CTRL
Higher 8 bits of
I BAR<
address in dis,play I
memory direct access I

Display related I Display status
registers
I setting
I Display area
I setting
I Cursor setting
I
I B:>rizontal sync
I signal setting
I ~rtical sync
I signal setting
Dra~'ing

smwn

I Address (Hex)
3C
3D
3C

DISPIAY FlAGS

70 - 71

DISPIAY PI'lCH,
Dt\D, lC
CRS, CE, GCSRX,
GCS~, GCSRVE
BS, BBP, HH,
HO, BFP

72 - 77

VS, VBP, L/F,

7E - 7F

78 - 7D
7E - 7F

VFP

I
I
I
I
I
I
Inter-plane logical I
operation setting I
I
Cl ipping setting
I
I
Enlarge/Shr ink
I
coefficient setting I

IDgical address
zero point setting
wgical address
setting
Plane setting

3-1

EAIX)R:2, dAlX)R:;

00 - 03

PITCHS, PITCHD

58 - 5B

PMAX, PDISPS,

OC - lS

PDISPD
KDO, KDl,

16, SE - SF

PWES
CLIP, XCU'lIN,

6D, 62 - 69

XQIU\X, YQlt1IN,
YCI.HAX

MAGS, MAGV

6C

Advanced Graphic Display Controlle r

Classification

AJ;plication

Drawing related
registers
( mntinued)

Painting pattem
setting
JaY:, work area set
Pbysical address
(word addr) value
setting
Physical address
(mt addr.) value
setting
IDgical address (X
coord.) value set
IDgica.l address (Y
cx>ord.) value set
Conrnand

Register NIUIe

I PlNP,

I

Address (Hex)

PnCN.r

18-lA,6G-61

S'l'MAX
IADl, EAD2

04-06,OS-oA

sma,

dADl, dAD2

le-lE,SC-50

07, OB

X, DX* , XS, D,

40 - S5

XC, DB
Y, DY, YS, YE,
!C, DV

42 - 57

CD1MAN)

6E - 6F

I Data port during
IIJWORl'
I execution of Pt1l'/GET I
IOX*
I Data port during
I execution of READ I
I OP/H:.AD CXL
I

3E - 3F

I

Data port

44 - 45

*: '!be DX register is used as the logical address (X coordinate) value
setting register and at the saIre tine as the data port during the
execution of a m'AD OP/READ CXlL oonrrand.

3-2

Advanced Graphic
3.2-

~

Dis~ay

Controller

Qlntrol Registers

BJUUS (Status)

H:>. of bits:

16

Address:

3CB - 30B (Read)

ARUication:

'lhe status of the intemal operation of the
is as follows:

MSB

8

I CUP

I Bit

5

6

7

4

I PGBSY I cmFD I VSB

vs

I Abbrev.

Flag Narre

3

2

1aX:,.

'!be format

1

o

LSB

I DPERR I PPERR I DPBSY I PPBSY I

AmC status when flag is 'l'

0

I
I

PF£-PR:Q8&)R BOSY

1

I
I

DRAWm:; PRXESS:>R BUSY

2

I PRE-PlO:!ES&:>R ERR:>R
I
I

3

I OPAWIN3 PRX'ESSOR ERK>RI DI£RR I An error was detected during the
I execution of a co~ by the
I
I
I drawing processor
I
I

4

I VERI'ICAL sm: PERIa>

VS

5

IVERl'ICAL
I

VSB

I Indicates vertical blanking
I period

CDDFD

Indicates odd field during
interlaced scanning

6

BIAtl{nt;

I CDD FIEID

PPBSY

I 1M preprocessor is executing
I a COJIItIU'X3

I OPBSY I 1be drwing processor is
I
I executing a CX'IIIDal'd
PI£RR

PERICD I

I An error was detected during the
I execution of the oomnand by the
I preprooesso r

Indicates vertical sync period

I

I

3-3

,

Advanced

Gr~hic Dis~ay

Controller

Status (cx:>ntinued)

1 Bit
7

8

J

I
I
I

Flag Name
PUr/GET BUSY

1 CUPPIK;

I Abbrev.
PGBSY

NZX:. status when flag is

I Indicates that data can be
I transferra:i during a POT/CZT
I CDIIIBnd

CUP

I Picking or object detected
I Reserved for future use
I

19-1
I lS I

3-4

'1'

.

Advanced Graphic Display Control Ie r
. . (Bank)

1t>. of bits:
Address:

AWlication:

8

3CB (Write)
'!be CPU interface on the AaX: acmDDdates 2o-bit addresses. '!be
~ can address 32 !bytes of display meuDty (24 bits). When
the CPO addresses display Jl8Dl)ty directly, the lower 16 bits
provided by the CPO (bits 0 - 15) is CDlbJ.ned with the upper 8
bits (bits 16-23) of the IW« register to form the 2..oit
display JDeltDty address.

3-5

Advanced Graphic Display Controlle r

am.

(OJntrol)

N::>. of bits:·

8

Address:
AWlication:

3DB (Write)

MSB

I DBlE

I Bit I

I PSIE

I s:FlWARE RESET

1

I
I
I

P~R

2

I

N:n' USED

3

I

N:Yr USED

4

I KYl' USED

5

J

6

7

em

Flag Na%re

o

I
I

5

6

7

AB:>Rl'

CLIPPIt{'; INlERRJPr

o

I Abbrev.

2

o

o

1

o

LSB

I ABlR1' I RESET I

laX:. status when flag is '1'

Initializes ~*
AEDRl'

I Stope any ,processing being
I performed am clears the
I processor busy status

I MJst be set to '0'

CIE

EN1\BLE

PRE-PRXESOOR BUSY
INrERRJPL' EN1\BLE

3

PBIE

I DRAWIN:; PRX:ESSOR BUSY I OBIE
I INlERRJPr EN1\BLE
I
I
I
I
I

I Enables the INI' signal trilen
I picking (drawing in the clip~
I region)
I Enables the INI' signal on the
I IN!' pin. IN!' output when
I preprocesser status changes from I
I BUSY to RJI' BUSY
I

I
I
I
I

Enables the IN!' signal on the
Im' pin to be output when the
drlWing processor status chan3es
from BOSY to lCl' ElJSY

*: Please refer to section 2.3, 'Reset and Abort Operation'

3-6

Advanced Graphic Display Controlle r
, 3.3 D!§glay Belated legiste r
DISRAY PUtGS (Display Flags>

of bits:

~.

Address:
Application:

16
70B - 7lB (Write)
'1b select the operation of the display processor am the

video timing signal generator.
MSB

IS

LSB

14

13 12

11 10

9

IN

RE

I SF/M I

8

7

6

5

4

s: IPO:LI'ltCLIMASKlrvs I

3
S)

2

1

o

IIEO Ism: I VS

Bit 0: VS (vertical Sync)
The laX, inoorporates a horizontal/vertical CX)Ul\ter to keep track of the
current position of the display by the scanning line nlmber ex>unted from the
'top of the screen or by the word nurrber oounted from the left side. When the
Aax:. is used in the slave node, the VS defines the timing of the h::>ri2Dntal/
vertical oounter by the external sync signal, EKVS. When the AGX:, is used in
the master node, the VS is ignored.

vs
+

Function

o

I The total nurrber of display lines in the 1st and 2nd fields is even

1

I The total nurrber of display lines in the 1st and 2nd fields is odd

3-7

Advanced Graphic Display Controlle r

IJISIIAl IUIGS (CX)Ot1nued)
Bit 1:

sm: (Sync Par_ter

Setting)
,\

'Ibis bit permits the writing of data in the registem (SS, BBP, RB, BFP, VS,
VBP, LF 'and VPP) assigned to the address 7EB - 7FH.

+----1----------------------------------------------------+
Function
I~I
o

l!b writing is pennitted

1

I Writ.ing is permitted

Bit 2: LEO (Display Lines per Frame in Interlace It>de)
This bit defines the total nurrber of display lines per frame (the first arx1
seoond fields) in the interlace DDde (IN • 1 in DISPIAY FlAGS). For noninterlace node (IN = 0), LEO is ignored.

I LEX> I

Function

o

I The total nurrbe r of display lines in the 1st and 2nd fields is even

1

I The total nurrbe r of display lines in the 1st and 200 fields is cx1d

Bit 3: SO (Stop Display)
This bit defines the output status of the BlANK pin.
when the ~SET pin is high.

'1'his bit is set to '1'

Function

o I. 'lb!

BlANK pin is activated between the non-display period defined

I by the sync signal. generator
1

I The

BI.MI<

output pin is activated in all the period

3-8

Advanced Graphic Display Controller
DUHAY JUGS (continued)

Bit 4: MIS (Master/Slave)
'l'his bit defines the master/slave DDde of the AGX

Fwlction

MS

o

I 1be

NZJ;

is set to master DDde (BSnC, VEMC)

1

I 'nle

AGr,

is set to slave node (EXHS, EXVS)

Bit 5: MASK (Mask)

This bit defines the VSlR; output pin timing in the master DOde (MS &: 0 in
DISPIAY FIAGS). It also defines the validity/invalidity of the EXHS and EXVS
input pins in the slave node (MS II: 1 in DISPLAY FIAGS).

MS

I MASK I
+
o

I Only the VSYN: signal in the first field is output in the
I interlaoe display node (m • 1 in DISPIAY FIAGS)

1

I The usual vsm: signal is output

o

o

I The EXHS and EXVS external sync input signals are valid
1 +I----~----------------------------------------------~
1

The EXHS and EXVS extemal sysnc input signals are invalid

3-9

Advanced Graphic Display Controlle r

DISL\Y lUGS (amtinued)

Bit 6: 'la:L (Timing cOunter Clear)
'l!le NZX:, display the data by using two cycles of Dl and D2 as one unit.
1mrefore, the lOX. incorporates the display cycle oounter to recognize the Dl
cycle and the D2 cycle during display. 1hls bit defines the initializing
timing of the d1splay cycle counter by the EXVS extemal sync input signal. In
the master lOde (MS • 0 in DISPlAY FLAGS), 'ltXL is ignored.

+----I------------------------------------------~--------+
I ro::L I

Function

o

I '!be display cycle counter is not initialized
I the rising edge of EXVS

1

I '1lle display cycle oounter is initialized (to the D1 cycle) on the
I rising edge of EXVS

(to the Dl cycle) on

Bit 7: FCCL (Field CoW'lter Clear)
'!be IG:/:, inoorporates the field oounter to recognize the first field and the
Sealnd field in the interlace display m:>de. '!bis bit defines the initializing
timing of this field oounter by the EXVS extema! sync input signal. In the
master node (MS = 0 in DISPIAY FlAGS) or in the non-interlaced display IrOde (IN
cOin DISPIAY FIAGS), FCCL is ignored.

FCCL

Function

+===~c===================================================,+

o

I '1lle field oounter is not initialized (to the first field) on the
I rising edge of EXVS

1

I '!be field oounter is initialized
I rising edge of EXVS

3-10

(to the firSt field) on the

Advanced Graphic Display Controlle r

IJISEI!AY PLAGS (oontinued)

Bit 8: s: (Steal Count)
'lhi.s bit defines the relationship between Ql( and s:ut in the dual port DPAM
(VRAM) drive node (SE/M' • lx in DISPIAY FlAGS). In the cycle steal IIDde
(SE/M' • Ox in DISPlAY FlAGS), s: is ignored.

Function

o

I '!his bit is set to 0 when

1

I rus bit is set to 1 when aK • s::tJt

Ql(

Jl s::tJt

Bit 9: RE (Refresh Enable)
1his bit defines the DRAM refresh address output.

Function

o
1

I The DRAM refresh address is output when HSYNC is high
The

D~

refresh address is not output

Bit 10: IN (Interlace)
This bit sets the display screen mode.

IN

Function

o

I '!he non-interlaaad display JIDde is set

1

.I '1be interlaced display node is set

3-11

Advanced Graphic Display Controller

DImAY PLAGS (a>nt1nued)
Bits 11 - 13: ~ (Display Address Proceedings)
'1bese bits define the progressive form of display addressing •

.----I------------------------------------------------~
Progressive form
I Da\D+ I
I 000

I Dt\O+l I

tN)

-> DPDt-l -> Da\Of-2 -> Dt\D+3 -> DAD+4 -> IW>+5 -> •••

I 001 ·1 DAD+2 I Dt\D

-> DJ\I)f-2 ->

DAD+4 -> 1W>+6 -> IW>t8 -> IW>+lO -> •••

1 010

I DAD+4 I DAD

-> Dt\Df-4 ->

IW>t8 -> IW>t12 -> tw>+16 -> IW>t-20 -> •••

1011

I IW>t8 I DAD

-> DAD+8 -> DAD+16 -> DAD+24 ->,DAD+32 -> DAD+40 -> ••• 1

1100

I DAD+16f DAD -> Dt\Df-16 -> DAD+32 -> DAD+48 -> 1W>+64 -> DAD+80 -> •• 1

I 101

I DAD+321 DAD -> DAD+32 -> DAD*64 -> DAD+96 -> DAD+128 -> •••

I 110

1DAD+1/41 DAD -> DAD

-> DAD

-> DAD+1

-> •••

I 111

1rw>+-l/21 DAD -> DAD

-> Dt\D+1 -> IW>t-1 -> IW>+2

-> •••

-> DAD

3-12

Advanced Graphic Display Controlle r
IWHAY lUGS (alntinued)

Bits 14-15:

SE'/DT

(Steal Enable/Data Transfer Jb:ie)

ibese bits indicate whether VMMs or DMMs are used for the display DBl'Dry.
When DMMs are used, drawing is accxmpliahed by 1lleDl)J:Y cycle stealing. When
VPAMS are used, the timing node of the data transfer 8ignall71' is defined.

Function

I SE'/DTI
Ox

I 1be cycle steal Jll)de (the DISP signal. indicating the display
I period outplt) is used

10

I
I
I
I
I
I

11

I
I
I
I
I

The M' signal is generated at the timing which satisfies at least

one of the following three mndi tions:
1. At the start of the display on the screen
2. At the start of the display of each scan line on the screen
3. When all the lower 8 bits of the 24 bits of display address
are 0
'!be M' signal is generated at the timing which satisf ies at least
one of the following b«> oomitions:
1. At the start of the display on the screen
2. When all the lower 8 bits of the 24 bits of the display address

are 0

3-13

Advanced Graphic Display Controlle r
DISlU.Y Pl'.laI (Display pitch)
!t>. of bits:
Address a

Application:

12
728 - 738 (Write)
Sets theJlUllber of addresses in the mrimntal. direction
of the image JDI!III)ry plane.

DISPIAY PI'laI

I R:>. of Iddresaes

0000 0000 0000 I
0000 0000 0001 I
0000 0000 0010 I
I
•
I
•
I
•
1111 1111 1101 I
1111 1111 1110 I
1111 1111 1111 I

3-14

0
1
2

•
•
•

4093
4094
4095

I
I
I
I

·1
I
I
I
I

Advanced Graphic Display Controller
Ie (Address Olntrol)
~.

of bits:

3

Address:

73B (Write)

Application:

'Dlese bits define the output of the 9 bit refresh address
to the display address lines Dt\23 - Dt\l6 and Dt\D15 - Jli\DO. '!he
table belOw sh:Jws the change in the lower 8 bits of the display
address which is used to set the output timing signal In' in the
VRAM drive lOde (SF/M' • 11 in DISHAY FIAGS) ACQ)raing to the
AI:,

value.

I AC I Refresh address I '!be a>ndition to activate the M' signal. in the
I
I outplt pins
I dual port DPAM drive IIDde
I
I
I
I
I
I
I
I

000 I
001 f
010 I

011
100
101
110
111

I
I Dr\D9 - DADl
I IY\DIO - Dt\D2
I IW>11 - Dt\D3
I Df\D12 - IW>4

I
I
I
I
I
I
-I
I

When

DMfl -

Dt\DO are 0

prohibited
prohibited
prohibited
When IW)8 - IWll are 0
When DAD9 - DAD2 are 0
When IY\DIO - Dt\03 are 0
When IY\Dll - MD4 are 0

3-15

..
Advanced Graphic Display Controlle r

JW)

(Display Address)

R:>. of bits:
Address:
AR;>lication:

24
7411 - 768 (Write)
'1bese bits set the display starting PtYsical address in the
DBrDry.

3-16

•

•
Advanced Graphic Display Controlle r
Il: (Word Count)
li:). of bits:
Address:
J.t:p1ication:

8

77H (Write)
These bits set the ntmber of address in the display period

for one scanning period.

w:

I

R>. of addresses

0000 0000
0000 0001
0000 0010
•

1
2

3
•
•

•
254
255

•

1111 1101
1111 1110
1111 1111

256

3-17

•
Advanced
~

Graphic Display Controller

(Graphics Cursor X OX>rdinate)

R>. of bits:
Address I

12

ARllication:

'ltlese bits set the starting display address of the graphics
cursor using the upper left c»mer of the screen as the origin.
-n. graphics cursor d1splay signal generation period in the
b:>rimntal direction is fixed to one d1splay cycle J;eriod.

78S - 79B (Write)

I OCSR generation pos1t1orV1 scan line
I
I
I
I
I
I
I

0000 0000 0000 I R>t defined
0000 0000 0001 I 1st display cycle
I
•
•

I
•
I
•
1111 1111 1110 I 4094th display cycle
1111 1111 1111 I 4095th display cycle
•
•

3-18

Advanced Graphic Display Controlle r

. cas

(CUrsor OUt Select)

~.

of bits:
Address:

Application:

1

79B (Write)

nus

bit selects the logical OR or the logical AM> of the
hori2Dntal (X)incidenoe signal with the vertical coincidence
signal. to be output at the crSR pin.

I

OS

I

o I
1

Function
Ali)

and output I

I OR and output

3-19

Advanced Graphic Display Controller

cz (cursor Display Enable)
R>. of bits:

Address:

Application:

1
79B (Write)
Enables the graphics cursor output signal

Plmction

CE

o

I

1

I enabled

tbt enabled

3-20

I

(~R)

Advanced Graphic Display Controlle r
Q&dS

(Graphics CUrsor Y Coordinate start)

Rl. of bits:

Address:
~ication:

l2
7AB - 7BB (Write)
'lbese bits set the Y CX)()rdinate of the graphics cursor display
start on the screen using the upper left tomer of the screen
as the origin.

I OCSR generation poait1on/l scan line
I
I
I
I
I
I
I

0000 0000 0000
0000 0000 0001
•
•
•
1111 1111 1110
1111 1111 1111

I Nbt defined
I 1st dis~y
I
•
I
•
I

~e

•

I 4094th display cycle
I 409Sth d~lay cycle

3-21

Advanced Graphic Display Controller

\U6iB (Graphics CUrsor Y Q)ordinate End)
N:>. of bits:
Address:
~ication:

12
7CB - 7DB (Write)
1\lese bits set the Y Q)()rdinate of the graphics "cursor display
end on the screen using the upper left comer as the origin.

I OCSR generation positiDn,ll scan line
I 0000 0000 0000 I NOt defined
I 0000 0000 0001 I 1st display' cycle
I
r.
I
•
I
•
I
•
I
•
, 1111 1111 1110 I 4094th display cycle
I 1111 1111 1111 I 409Sth d~lay cycle

< Gratilics Cursor Oltput Form >

__________

~rl~

__________

________

~r1~

t

I

I

I

I
I
t

_

GCSRYS-

-

GCS1YE_

________

I
I
I

i t

--- --- ------ 0
--- .. ---- -_ ....

[CRS-01

{CRS-l]

t

t

GCSRX----J

GCSRX -...J

When the value of GCSRYS < cx:sRm is not set,the graphics cursor output from
the display line indicated by GCSRYS to the last display line is activated.
When OCSRYS = GCSRYE, only one display line indicate::1 by OCSRfS is displayed.

3-22

Advanced

Graphic Display Control1e r

III, &', III, Ill, IPP

as (Jl:)rimntal Sync signal)
BBP (Jt)ri2DntAl Back Porch, non-Qisplayed period on the left of the CRT screen)
BB (Period from the BBP end to the center of one mri2Dntal period)
(Jt)riJDntal a1spl.ay period)
BFP (8:)rimntal front porchl non-displayec1 period on the right of the CRr

8)

screen)

Ml. of bits:
Adlress:
Application:

12 each
7EB - 7FH (Write)
'l!lese registers set the blr i20ntal video timing parsrete rs.

I BS, HBP,

BB,

11),

BFP

I

Ml. of display cycles

0000 0000 0000
0000 0000 0001
0000 0000 0010
•
•

1
2
3

•
•
•
4094

•

1111 1111 1101
1111 1111 1110
1111 1111 1111

4095

4096

3-23

Advanced Graphic Display Controller

.,

~,

LIP,

WP

VS (Vertical Sync si;na.r)
VBP (vartical Back Porch; non-displayec1 period on the uR2r part of the CRI'

screen)

I/F (Display period in the vertical direction)
VFP (vartical Front Porch; oon-displayed period on the lower

plrt

of the em'

screen)

R>. of bits:
Address:
~ication:

12 each
7EH - 7FH
'lhese registers set the vertical video timing parauetem.

vs,

WF,

VBP,

VFP

I R>. of display cycles

0000 0000 0000
0000 0000 0001
0000 0000 0010
•
•

1
2
3

•
•
•

•

1111 1111 1101
1111 1111 1110
1111 1111 1111

< Sync
HSYNC
HBLANK

-

L
H5

4094
4095
4096

Signal Generation Diagram

>

1M

HBP

VSYNC

HD,

-HH-I

n

-

HFP

(2ND F.)

VSYNC
(151 F.)

I
VSY'NC
VBLANK

1.i

1V

VBpl

L/F

3-24

I

I vnE

I

Advanced

Graphic Display Controlle r

3.4 Int;'mal Register !t'Iblt.

OON IV

•
•

02H IV

04" IV
08H IV

•

08H tv

OAH IV
OCH IV
O£H IV

IOH

IV

12H IV
14H R'J
ISH

IV

ISH IV
lAM IN
101 RV

1£H R'J

20H - 3BH

AGOe working registers
LS8

MSB

I
I'
I'

XI X

X

X

X

em
I

X

X~

I'
. I•
III
I

3-25

SiATUS
I

BANK
I

-I
·1
·1

3CK R
301 V
3tH RW

4

Advanced Graphic Display Controlle r
Inte~

Register Table (CX)ntinued)

LSI

•
• •
•
•
•
•,
• .,
•

I

I

I

I

I

~

I

I

I

~

I

I

•

.1

I

I

•
•
•
•
•

·

I

.1

..

I

..1

1

..1

I

,

,

,

1

,

I

I

~

1

I

I

•

¥

I

I

I

•

..1

1

.1

..

•

I

I

I

.~

•

I

• PI~OIS

•

·

•

I

I

I

,

I

•

·

I

..1

I

1

I

• ...L

I

I

,

•

I
I·
I·

0

.1

,

.1

,

I

I

.1

I

I

f

0

,

,

·

• PI1?D

•

• •

40H IV

•

•

• •

· ••

42H IV

,

•

•

•

•

·

•

•

•

•

•

•

,

• •

•

·

•
I

· ·

·· · ·
I

I

I

I

I

,

,

.

...l

• • •

56H IV

·

I

,

I

I

•

58H IV

I

•

•

SAM IV

I

I

I

•

5CH IV

I

I

• •

5£K ltv

J

I

•

SOH RW

I

I

I

•

•

62H ltv

,

I

I

•

64H

•

66H RW

•

68H R'e'

I

I

I

I

I

I

•

I

I

t

·

,

·

•

I

I

,

•

I

• vClt'AX

1--;- ~CH ~ 1--;- ~cv ~ I
1

.I ·

FLAGS (L)
I

I

I

AGDC working registers

3-26

54H IV

•

•

I

6AH - 6BH

I

· ·

I

SOH IV

•

,

I

4£H IV

•
1

I

1

•
•

401 IV

52H IV

•

· ·
· ·

,

48H IV

•
•

•

I

I

I

XCl!1IN •

• VCLt'IN •

I

4AH IV

·

I

Cl)t1AND

· ••

· ·
• • ·
• · ·
· · ·

I

IV

48H RW

•

· •
· ·

44H

•
•

1

FLAGS

I

I

I

,PTN_,OO •

XCU1AX
•

•

•

•

•

I

·

· · ·

P~ES.

I

•

•

I~

o109 f "Q 1Q.IP
I

0

~v

I

I

•
•

~H

I

I

I

~

J

I

•

• ~C

· ··
··

..1

•

~ •
, ~
•
I

• V!-

,

•

.
·
•

•

.-

•

•

•

,

~

,

,

I

I

•

I

I

•

I

I

I

·
.1

· Xy.
· · · · ·
~
I

'I

R'W

6CH IV

-I

6EH R

·1

6tH

v

Advanced Graphic Display Controlle r

Internal Register Table (Q)ntinued)

ttS8

lS8

•

•

I

• DI~LA~ ~cs

•

t

01",.4(."'1•

•

I

I

1

~

I

I

c~

i

~

at o oIt

I

.
I

I

01'
01" .

I

I

.

DI~~ PI!?

• ~ (,".1.).

·
·

•
I

II

I
I

I

I

•

I

I

i

•

I

I

,

•

.

,OAD .(1) t

. a:s.ax ,

•

I

I

•
I

•
•

• •

10H V

, •

12M V

•

•
•

·•
•

1tH "

1SH "
1811 "

•

7AR "

II

7CH W

o.
o

O. 0.

0

0

0

oI •

HS
I

TEH V

0

0

0

oI •

HSP

7EH "

0

0

0

oI ·

HH

0

0

0

oI •

HD

0

0

0

oI ·

Hf?,

7£11 W

0

0

0

oI ·

VS

TEN "

0

0

0

oI ·

vap,

7EM

0

0

0

oI ·

LlF

7EH \t'

0

0

0

oI ·

VFP

7EH V

t

o~ 0

I

·

.

I

•

I

a:srts.~

-' ccs.av£ ,

•

•

RW Read/Wri te
W Write only
R Read only

BOH - FFH

•
I

,
•

•

I

I

I

7EH "

\II

H: Higher 8 bits of 24-bit word
M: Middle 8 bits of 24-uit word
l: Lower 8 bits of 24-bit word

Reserved

3-27

Advanced Graphic Display Controller

3-28

Advanced Graphic Display Controller

Section 4

4.1 Drawing Functions
'!'be NZX:, is an LSI device that can perform graphics drawing am (X)pying at high
. speed. 1!le mst system specifies the drawing plraneters and cxmnands by
writing to specific internal AGlC registem. Q'lly the parsetem that are
needed to perform the drawing a:mnand are written. When the DRAW a:mnand is
written, the ~ starts the drawing process.

'!bis section describes the variations of the DRAW a:mnand and the tBraneters
requi red fo reach oonmand.

The DRAW cx>nmand is set in the cx:MMAID register at address 6EH - 6FH. The type
of drawing is selected according to the op!ration code written to 6FB. ~rious
ootrbinations are selected by the flags set in the register at 6EH.
The DRAW conmands can roughly be classified as follows:
1. Data read oormand

2. Graphics drawing cxmnands
- Dot drawing
- Straight line drawing
- CUrve drawing
3. Paint col'tllands
- N:>n-arbi trary area paint
- Arbitrary area paint
4. Copy conmands
- Siuple oopy
- 900 rotation copy
- Arbitrary angle rotation oopy
- Enlarge/Shrink cx>py
s. PUT/GET oonmands
- PUT

- GET

- 900 rotation GET

4-1

4-2

Advanced Graphic Display Controlle r

List of DPAW· oonm:mds ( ex>ntinued) :

I Absolute

I BelaUve

I
I Coordinate systan I Q)ord1nate systan I

I Copy Conmands
I
I
I
I
I
I
I
I Pm'/CET
I Cormands

I
I
I
I
I
I
I
I

I
I
IDgical address- I
phsical address I
Physical address- I
logical address I
IDgical address- I
logical address I
Physical addressJ;ttysical address

A CDPY AA

A CDPY CA
A CDPY AC
A CDPY CC

I ror
I GET

4-3

Advanced Graphic Disp[ay Controller
SUmmary'of Operation Flags:

(1). Data read coummds - ther£· is no variation in these operation flags

(2). Graphics drawing cxmnands - the operation flags are sl'¥7tm in the figures
below:

- ~t drawing ooImBnCis
II

Operation Code

II 0

o

o

IPXEN I

8PPJC

o

o

BPPA

ESH

1

II

6FH
PXEN:
BPPX:

6EH

Pixel node specification
NJ. of bits in one pixel

- Straight line drawing oomnands
II

Ope ration Code

II ES

IP

ED

IPXEN I

I I

6FH

ES:
IP:
ED:

PXEN:
BPPX:
ESH:

6EH

Enlarge/shrink or original size
Specification of initialization of the type of line to be drawn
Specification of thickening direction of line width in enlarge
drawing
Pixel node speCification
Specification of the nUJtber of bits in one pixel
Enlarge or shrink specification (kind of line to be drawn)

4-4

Advanced Graphic Display Contrelle r

- CUrve drawing cxmmands
II

Operat:ion Code

II CF

IP

o IFJCEN I

SPPA

o

o

II

6FB

G':
IP:
PXEN:
BPPX:

6E1i

Clockwise or Q')unterclockwise drawing
Specification of initialization of type of line to be dram
Pixel node specification
Specification of the nunb! r of bits in one pixel

(3). Paint: ColIltiUXls - the oparation flags are

-

~n-aIbitrary

srown

in the figures below:

area paint ooImBnds
II

Operation Code

II 'XL

o

1

SSIWLIWR

o

o

o

o

It

6FH

6EH

Paint by tiling specification
Color of nonochromatic tiling s{:ecification
IA!ft boundary tbt paint specificat:ion
Right boundary dot paint st:eCification

'lL:

ss:
WL:
WR:

- Arbitrary area paint oonmands
Comrrend
tI

Operation Code

II

'l'L

o

1

S5

IPIDD I 0

II

6FH
'IL:

ss:
PM:D:

6EH

Paint by tiling specificat:ion
Color or nonochromatic specification
Boundary oolor specification

4-5

Advanced Graphic Display Controlle r

(4). CoFi CCmnands - the operation flags are sbJwn in following figures:

- General
, I

Operation Code

II
II

I , _________________16EH

6Fa

Specified by each

a:>p.{

va ration

00: 9oo mtation CDp.{
01: slant cx>py
10: arbitrary angle
rotation ooF.{
11: enlarge/shrink

cxmnand

oopy
S)

SEL:

Copy plane specification

- Sirtple oopy· ex>rmands
Comrrand
II

Operation Code

I I ESE I REV I KY.I'

o

o

o

o

o

II

6FH
ESE:
H:V:
lOT:

6EH

Source data reve rse read specif ication
Reverse specification
R>tation: 0 = no lOtation7 1 = 1800 rotation

- 900 R:>tation Copy Conrcands
II

Operation Code

I I ESE I REV I

R)T

o

S)

SEL

II

6FH

6EH
s~fication

ESE:

Source data reverse read

~V:

Pieverse specification
R>tation: 0 = 900 lOtation7 1 = 2700 rotation

lOT:

4-6

Advanced Graphic Display Controller

- Slant Copy Camands
II

Operation Code

IIESEIm:vIImIO

o

o

1

o

Ir

6PH

ESE:
EV:
101':

6EH

Q)urce data reverse read specification
Reverse specification
Rltation: o· no mtation; 1 • 1800 rotation

- Atbitrary Angle ltltation Enlarge/Shrink Copy Coummds
camand
II

Operation Code

J I ES

SF

I ESH I ESV I

SO BEL

II

6FH
ES:
SF:
ESE:

ESV:

6EH

Enlarge/shrink or original size
Specification of a point not to
Enlarge/shrink specification in
Enlarge/shrink specification in

specification
be drawn
mri2Dntal direction
vertical direction

- Enlarge/Shrink Copy Conmands
II

Operation Code

I I ESH I REV I :Ear I ESV I

S)

BEL

1

1

II

6FH
ESE:
~V:

tar:
ESV:

6EH

Enlarge/shrink specification in the mri2Dntal direction
Reversal specification
,.
lCtation specific:aton: 0 = no rotation; 1 • 1800 rotation
Enlarge/shrink specification in the vertical direction

4-7

Advanced· Graphic Display Controlle r

(5). PUl'/CET COImBnds - the operation flags are

smwn

in the follOWing figures:

- Pm'
I .

II

Operation Code

110

I REV I R7l'1 0

S> BEL

1

1

II

6£8

6PH

REV:
R:1I':
S> BEL:

Reversal specification
a.">tation: o· no rotation; 1 • 1800 rotation
Q)py plane specification

- CET

Operation Code

II

I .

110

IREVIR7.l'1 0

1

II

6FH
EV:
R7I':

s:> SEL:

6EH

Reversal specification
a.">tation: 0 = no rotation 1 1
Copy plane specification

=:

1800 rotation

- 900 R::>tation GET

Comrrand
II

Operation Code

o

IIOIREVIKYl'

1

I I

6FH
REV:
R:1.I':
SO SE:L:

6EH

~versal specification
it>tation: 0
900 rotationl 1
Copy plane specification

=

4-8

II:

27()o rotation

o

Advanced Graphic Display Controller
4.3

Detailed Description gf Im6Ii CPJmMds

4.3.1 aegister Operation Coummds

(1)

~ DP (lead

Drawing Pointer)
6FB

MSB

6EB

LSB

I--~~--~-+--~-+--+--+

.1

00000110101010101010101010··,
+--+--+--+--~-+--~~--I--~~--~~--~~~~~

By this oorme.nd, the drawing pointer (XI, YI) held in the NDC is

read in the register (X, Y)

(2) ~ CDL (Read

Color)

6FH

MSB

100

1

1

6EH

1 I 0 100

0

0

0 I 0 I 0

LSB

0

0

this cormand, the color information regarding the display nenory
location indicated by (X, Y) is read in the register

By

4-9

I

Advanced Graphic Display Controlle r

4.3.2
(1) IX1I' D (Ik>t Direct)

o

6EH

6FH

MSB

0

0

0

1

0

0

0

LSB

0 I 0 I 0 IP.KEN I 0 I 0 I

PXE:N: Pixel !rOde specification
BPPX: ttmber of "bits in one pixel
Ckle d::>t is drawn at the drawing pointer (xt, yt) held in the ACDC. In
this case, it is not necessary to set (X, Y) again.

(2) A

ror

M (Absolute D:>t with f.k:>ve)

6FH

MSB

o

0

0

0

6EH

1

1

0

0

0

0

LSB

0 IPXEN ordinate indicated by (X, Y). The drawing
IX>inter (XI, YI) is oonverted :into (X, Y). '!he d:>t which is enlarged
by any nagnification can be drawn by giving the lx>rizontal magnification
'MAGH t and the vertical magnificaton 'MAGV'.

(3) R IXY!' M (Relative Ibt with ftbve)

6FH

MSB

o

0

0

1

6EH

0

0

0

0

0

LSB

0 "0 IP.XEN I 0 I 0
I .

PXEN: Pixel node specification
BPPX: Nurrt>er of bits in one pixel
rdinate p:>int (X+DX, Y+DY) generate:1 by (X, Y)
and (DX, DY). The drawing pointer (XI, YI) changes to (X-tDX, Y+DY).

4-10

Advanced Graphic Display Controlle r
(4) A LINE 1«), A LItE Ml, A LINE M2 (Absolute Line with It>ve 0, 1 or 2)

6FH

MSB

6EH

LSB

I

A Line MO

0

0

0

0

1

1

0

f

0 I ESI IPI EDIPXEN  IEBBr 1 I

I
6FB

MSB
A Line Ml

0

0

0

1

1

6EB
0

0

0

I
I Est IPI
I

6FH

MSB

LSB

EDIPXEN IESHI 1

I

I
ES:
IP:
ED:

Original size or enlargerrent specification
Initialization of the type of line to draw
Specification of thickening direction of line width in enlarge

drawing
PXEN: Pixel node specification
BPPX: Nurtber of, bits in one pixel
ESH: Specification of the thickness of a line to draw
A straight line is drawn from (X, Y) as the drawing start (X)()rdinates to
the ooordinates indicated by (XE, YE). However, the coordinates (XE, l:E)
are not drawn. The drawing pointer (XI, YI) changes to (XE, YE).

A straight line can be enlarged/shrunk in the drawing direction and
enlarged in thickness by giving the b:>ri2Dntal magnification 'MAGH I, the
vertical magnification 'MAGV' and the thickening paraneters. The
differences anong these three carrnands are as follows:
A LINE MO: (X, Y) changes to (XE, YE)
A LINE Ml: Both (X, Y) and (XS, YS) do not change
A LINE M2: (XS, YS) changes to (X, Y) arx1 (X, Y) changes to (XE,

4-11

~)

Advanced Graphic Display Controlle r

(5) A LINE DO, A LINE D1, A LINE D2, A LIE D3 (Absolute Line Direct 0 - 3)

6FH

6EH

LSB

+-~--~~--~--~~--+--I--~~--~~--~~~~~

A Line DO

0

0

1

I0 I0
I

0

0

0

I ESI

6PH

MSB

IPI EDIPXEN <&PEt>

I

) I

6EH

IEBBI

1

I

LSB

+-~--~~--~--~~--+--I--~~~~--~~--+--+--~

A Line D1

0

0

1

I 0 I 0

1

0

0 I ESI IPI mlPXEN IESBI 1 I

I
MSB

6EH

6FB

LSB

+-~--~~--~--~~--+--I--~~--~~--~~~~~

A Line D2

0

0

1

0

1

0

0

0 I ESI IPI EDIPXEN  IEBBI 1 I

I
MSB

6EH

6FH

+-~--~~--~--~~--+--I--~~--~--~~--+--+--*

A Line D3

0

0

1

0

1

1

0

0 I ESI IPI EDIPXEN  IESBI 1 I

I

I

Original size or enlargenent specification
Initialization of the type of line to draw
ED: Specification of thickening direction of line width in enlarge
drawing
PXEN: Pixel node specification
BPPX: N-uri:>er of bits in one pixel
ESH: Specification of the thickness of the line to draw

ES:
IP:

A straight line is drawn from (X, Y) as the drawing start (l)ordinates to
the ooordinates indicated by (XE, IE). However, the coordinates (XE, ~)
are not drawn. The drawing pointer (xt, yt) changes to (XE, YE). It is
not necessary to set (X, Y) again.
A straight line

am

be enlarqed/shnmk in the drawing direction an.]

enlarged in thickness by giving the mriz:mtal magnification 'MAGS', the
vertical. magnification 'MAGV' aoo the thickening parsneter:s. The
differenoes anong these four oarmands are as follows:
A LINE DO: (X, Y) changes to (XE, IE)
A LINE D1: Both (X, y,) and(XS, YS) 00 not dlanqe
A LINE D2: (XS, YS) changes to (X, Y) and (X, Y) changes to (XE, l'E)
A LINE D3: '!be CX>ItIlIandis executed after dlanging (XE, IE) to
(XS, YS). It is not necessary to set (XE, YE) again.

4-12

Advanced Graphic Display Controlle r

(6) R LINE 11), R LINE

Ml, R Ln£ M2 (Relative Line with )t)ve
6EH

6FH

MSB

0 - 2)

LSB

I
R Line MO

0

0

1

1

0

0

0

0 I ESI IPI EDIPJCEN  IESHI 1 I

I
6FB

MSB

R Line Ml

0

0

1

1

0

6EB

1

0

0

I
I ESI IPI mlPXEN IESBI 1
I
6EB

6FH

MSB

LSB
J

LSB

I
R Line M2

0

0

1

1

1

0

0

0 I ESI IPI EDIPXEN  IESHI 1 I

I
Original size or enlargement specification
Initialization of the type of line to draw
Specification of thickening direction of line width in enlarge
drawing
PXEN: Pixel node specification
BPPX: 9.JJrber of bits in one pixel
ESH: Specification of the thickness of the line to draw

ES:

IP:
ED:

A straight line is drawn from (X,Y) as the drawing start PJint to the
cx>ordinates (X+DX, Y+DY) 9enerate:! by (OX, DY). However, the (X)ordinates
(X+DX, Y+DY) are not drawn. '!be drawing p:>inter (XI, YI) changes to
(X+DX, Y+DY).

A straight line can be enlarged/shrunk in the drawing direction and
enlarged in thickness by giving the oorimntal magnification 'l-1AGH', the
vertical magnification 'MAGV' and the thickening paraneteIS.
The

differences anong these three cxmnands are as follows:
R LINE MO: (X, Y) changes to (X+DX, Y+DY)
R LINE Ml: Both (X, Y) and (XS, YS) Q:) not change
R LINE M2: (XS, YS) changes to (X, Y) arx1 (X, Y) changes to
(X+OX, Y+DY)

4-13

Advanced Graphic Display Controlle r

(7) R LINE DO, R LINE D1, R Ln£ D2 (Relative Line Direct 0 - 2)
MSB

6FH

6EH

LSB

+-~--~~--~--~~--+--I--~~--~--~~--+--+--~

R Line DO

0

0

1

1

1

1

0

0 I ESf IPI £[)IPX£N  IESSI 1 I

I
6FB

MSB

6EH

LSB

+-~--~~~~--~~--+--I--~~--~--~-P--~-+--+

R Line D1

0

1

0 I 0 I 0

MSB

I 0

0

0

I ESI IPI EDIPXEN  IESBI 1 I
I
6EH

6FH

LSB

+-~--~~--~--~-'--+--I--~~--~--~-P--+--+--*

R Line D2

0

1

0

0

0

1

0

0 I ESI IPI EDIPXENIESHI 1 I

I
Original size or enlargement specification
Initialization of the type of line to draw
ED:
Specification of thickening direction of line width in enlarge
drawing
PXEN: Pixel JrDde specif ica tion
BPPX: tlmbe r of bits in one pixel
ESH: Specification of the thickness of the line to draw
ES:

IP:

A straight line is drawn from (X, Y) as the drawing start p:>int to the
a:>ordinate (X+DX, Y+DY). The point (X+OX, Y-tDY) is not dram. The
drawing p:>inter (XI, YI) changes to (X-t{)X, Y+DY). It is not necssary to

set (X,

Y)

again.

straight line can be enlarged/shrurit in the drawing direction and
enlarged in thickness by giving the oori20ntal magnification 'MAGE', the
vertical magnification 'MAGV' and the thickening parartetets.

A

'!be differences anong these three cx:mnands are as follows:
R LINE MO: (X, Y) changes to (X+DX, y-tDY)
R LINE Ml: Both (X, Y) and (XS, YS) 00 not change
R LINE M2: (XS, YS) changes to (X, Y) and (X, Y) changes to
(X+DX, Y-tDY)

4-14

Advanced Graphic Display Controlle r

(8) A

~

(Absolute Rectangle)
6EB

6FH

MSB

LSB

+--+--~~--~~~~--~-I--~~~~--~~--+--+--~

o

1

0

0

1

0

0

0

I ESI IPI 0 IPXEN rdinates (XS, YS) is drawn. A straight line enlarge/shrink in
the drawing direction (by so doing, (XS, YS) mes not d1anqe but the
diagonal (X)()rdinates change) and enlarged in thickness can be drawn by
giving the oori20ntal magnification 'MAGS' and the vertical magnification
'MAGvt •

(9) R:ROC (Ielative Rectangle)

6FH

6EH

+-~--~~--~--~~--+--I--~~~~--~~--+-~--~

o

1 I

~

I OIl

0

0 I ESI IPI 0 IP.XEN IESHI 1

+--+--~~--~--~~--+--I--~~~~--~~--+-~--~

Original size or enlargement specification
IP:
Initialization of the type of line to draw
PXEN: Pixel node specification
BPPX: N.mt>er of bits in one pixel
ESH: Specification of the thickness of the line to draw

ES:

A rectangle defined by (X, Y) as the drawing start Q)()rdinates and the
diagonal CX)()rdinates (X+DX, Y+Dy) generated by (OX, Dy) is drawn. A
rectangle enlarge/shrink in the drawing direction (by so doing, (X-tDX,

Y+DY) does not change, but the diagonal ax>rdinates change) am enlarged
in the thickness direction can be drawn by giving ~ mri2Dntal
magnification 'MAGS' and the vertical magnification 'MGV'.

4-15

Advanced Graphic
(10)

em.

Dis~y

Controller

(Circle)

6FB

MSB

6EH

LSB

+-~--~~--~--~I-_.~t~I--+--I--~~--~--~~--+--+--~

o

1

0

1

0

0

0

0 I CPI IPI 0 IPIEN I 0 I 0 I

+-~--~~~~--~-+--+--I--~~--~~--~~~~-*

CF:
Clockwise or counterclockwise dr_ing specification
IP:
Initialization of the type of line to draw
PXEN: Pixel IIDde specification
BPPX: R.mber of bits in one pixel
A circle defined by the center (X)()rdinates (XC, te) am the radius (OX) is

drawn.

(11)

~

(Circle Arc)

6FH

MSB

6EB

LSB

+-~--~~--~--~-+--+--I--~~--~--~~--+--+--~

o 1

0

1

0

1

0

0

I eFl

IPI 0

IP.XEN I

0

0

+--+--~~--~--~~--+--l--~~--~--~~--+--+--~

Clockwise or oounterclockwise drawing specification
Initialization of the type of line to draw
PXEN: Pixel node specif ication
BPPX: Nunt>er of bits in one pixel

CF:

IP:

A circle arc defined by the center cx>ordinates (XC, YC), the radius (DX),
the drawing start Q)()rdinates (XS, 'ys) and the drawing end cx>ordinates
(XE, YE) is drawn.

4-16

Advanced Graphic Display Controlle r '
(12) CE (Circle Sector)

6FH

MSB

6EH

LSB

+--+--~~--~~~~--p--I--~~~~--~-P--+--+--~

o 1

0

1

1

0 I 0 I 0 I CPI IPI 0 IP.X!N I 0

0

+-~--~~--~--~-r--+--I--~~--*-~--~~--~~

CF:
IP:
PXEN:
BPPX:

Clockwise or c::ounterclockwise drawing spK:ification
Initialization of the type of line to draw
Pixel JrOde specification
IUrber of bits in one pixel

A sector defined by the center Q)()rdinAtes (XC, YC), the raiius (DX), the
circle arc drawing start cx>ordinates (XC, YC) and the circle arc drawing
end cx>ordinates (XE, lE) is drawn.

(13) CB::W (Circle Bow)

6EH

6FH

MSB

I--~~~~--~-+--+--+--~

I,

o

1

LSB

0

1 11

0

0 I eFl IPf 0 IPXEN I 0

1

0

+--+--~~--~--~~--+--I--~~~~--~-+--+--+--~

CF:

Clockwise or counterclockwise drawing specification
Initialization of the type of line to draw

IP:
PXEN: Pixel mode specification
BPPX: Nurrber of bits in one pixel
A

circle bow defined by the center ooordinates (XC, Ye), the radius (OX), the

circle arc drawing start ex>ordinates (XC, YC) and the circle arc drawing
end ooordinates (XE, YE) is

dr~.

4-17

Advanced Graphic Display Controlle r

(14) ELPS (Ellipse)
6FH

MSB

6EB

LSB

+--*--~~--~--~~--+--I--~~~~--~-+--+-~--~

o

1

0

1

1

1

0

0 I CPI IPf 0 IP.XEN 1 0 I 0 I

+-~--~~~~--~-+--+--I--~~~~--~~--+--*--~

0':
IP:
PXEN:
BPPX:

Clockwise or ex>unterclockw1se drawing specification
Initialization of the type of line to draw
Pixel. node specification
N.mber of bits in one pixel

An ellipse defined by the center ccordinates (XC, YC), the ra:!ius in the X
axis direction (OX), the radius in the Y axis direction (DY), the square
ration of the radius in the X axis and the square ratio of the ra:1ius in
the Y axis direction is drawn (DB: DV. DX2 : Dy2).

(15) EAR: (Ellipse Arc)

6FH

6EH

LSB

+-~--~~--~--~~--+--I--~~~~--~~--+-~--~

o

1

1

0

0

0

0

0 I CFI IPI 0 IP.XBN I 0

J

0 I

+-~--~~--~--~~--+--I--~~~~--~~--+-~--~

CF:
Clockwise or ex>unterclockwise drawing specification
IP:
Initialization of the kind of line to draw
PXEN: Pixel node specification
BPPX: Nunber of bits in one pixel
An ellipse arc defined by the center ordinates (XC, YC), the raiius in
the X direction (DX), the radius in the Y direction (OY), the ~re ratio
of the radius in the X axis (DB) I the square ratio of the radius in the y
axis direction (OY) I the drawing start CDOrdinates (XS , YS) ~ the
drawing end (X)()rdinates (XE , tE) is drawn (DB: DV.• OX2 : Dy2).

4-18

Advanced Graphic ~isplay Controlle r
(16) ESE)C (Ellipse Sector)

6FH

MSB

6EH

~-*--~~--~--~-P--+--I--~~~~--~~

o

1

1

0

0

1

0

LSB

__~-+__~

0 I CPI IPI 0 IP.XEN I 0 lor

+--'--~~--~--~-P--+--I--~~~~--~~--+--+--~

Clockwise or (X)UI'lterclockw!se drawing specification
Initialization of the kind of line to draw
~.: Pixel IIDde specification
BPPX: R.utbe r of bits in one pixel

CF:
!P:

An ellipse sector defined by the center Q)Ordinates (XC, te), the radius
in the X axis direction (OX), the radius in the y axis direction (DY), the
square of the radius in the X axis direction (DB), the square of the
radius in the Y axis direction (DV), the ellipse arc drawing start
ex>ordinates (XS, YS) and the ellipse arc drawing cx>ordinates (leE, !E) is
drawn (DB : DV DX2 : Dy2).

=

(17) £9:1\7 (Ellipse Bow)

6FH

MSB

6EH

LSB

+--+--~~--~--~~--+--I--~~~~--~~--+-~--*

o

1

1

0

0

0

0

0 I CFI IPI 0 IPKEN I 0

0

+--+--~~--~~~~--+--I--~~~~--~~--+-~--~

Clockwise or rounterciockwise drawing s~ification
Ini tialization of the kirxl of line to draw
P.XEN: Pixel mode specification
BPPX: Nunt>e r of bits in one pixel

CF:

IP:

An ellipse bow defined by the center ooord:inates (XC, YC), the radius in

the X direction (OX), the radius in the Y direction (OY), the square ratio
of the radius in the X axis (DB), the square ratio of the radius in the Y
axis direction (OY), the ellipse arc start CXX)rdinates (XS, YS) and the
ellipse arc end cx:>ordinates (XE, 'm) is drawn (DH : OV.: OX2 : Dy2).

4-19

Advanced Graphic Display Contro11e r
4.3.3 Paint Conman:3s

(1) PAIllr (A1:bitrary Paint within Enclosed Pattem)

6FH

MSB

6EB

LSB

+--+--~~--~--~-P--+--I--~~~~--~~--+--+__~

'1 0

1

1

0

1

0

0 I 0 I TLI 0 I 1 I SSIPtm 0 I 0

0

+-~--~~~~--~-+--+--I--~~--~~--~~~~~

Specification of painting by Wing
Color or uooochrotratic tiling specification
PKD: Boundary oolor specification
'It.:

SS:

An enclosed area between the boumaty p:>ints is painted starting from the
(X)()rdinates (X, Y). 1be boundary a:>lor is specified by OX (the OX

specification is not required for painting with the a:>lor different from
the boundary oolor).

(2) A ROC FILL (Absolute :Rectangle Fill) ,

6FH

MSB

6EH

LSB

+--+--~~--~--~~--+--I--~~--~--~-P--+--+--~

1

0

0

0

1

1

0

0 I TLI 0 I 1 I sst WLI WRfFAST 0

+--+--~~--~--~~--+--. I--~~--~--~-P--+--+--~

Specification of painting by tiling
ss: Color or rronochromatic tiling specification
WL:
Specification of whether to paint on left edge
WR:
Bt:ecification of whether to paint on right edge
FAST: Specification of nornal or fast fill sp!ej
TL:

A rectangle defined by the screen upp!r left CDOrdinates (X, Y)

as the

drawing start cx>ordinates and the screen lower right Q)()rdinates (XS, YS)
as the dia~nal coordinates is painted.

4-20

Advanced Graphic Display Contro1le r

(3) R

~

FILL (Relative Rectangle Fill)
6FH

MSB

6EB

LSB

+--+--+--+--~~--~~--I--~~--~~--~~~~~

1

0 I 0 I 1 I 0 I 0 1 0 I 0 1 !LI 0 1 1 I SSI WLI WRIFAST 0 I

+--+--+--+--'-~--'-~--I--~~--~~--~~~~~
~:

Specification of painting by tiling
ss: Q)lor or uonochromltic tiling specification
WL:
Specification of whether to paint on left edge
WR:
Specification of whether to paint on right edge
FAST: Specification of nornal or fast fill speed
A rectangle defined by the screen upper left CX)()rdinates (X, Y) as the
drawing start coordinates and the screen lower right cx>ordinates generatED
by (OX, DY) as the diacpnal ax>rdinates (X+OX, Y-tDY) is painted.

(4) CRL FILL (Circle Fill)

6FH

MSB

6EH

LSB

+--+--+-~--+-~I-,~--+--I--~~--~~--~~~~~

o

1

0

1

0

0

0

0 I TLI 0 I 1 I SSl WRI WoL( 0

0

+--+--+-~--+-~--+--+--I--~~--~~--~~~~~

TL:

ss:
WL:

WR:

Specification of painting by tiling
Color or rronochronatic tiling specification
Specification of whether to paint on left edge
Specification of whether to paint on right edge

A circle defined by the center coordinates (XC, YC) anl the radius (DX) is

painted.

4-21

Advanced Graphic Display Controlle r

(5) ELPS FILL (Ellipse Pill)
6EH

6FB

MSB

LSB

+--+--+--+--+--+--+--+--I--~~--~~~~~~~~

o

1

0

1 I1 I1

0

0 I 'lL1 0 I 1 I

sst WLI WRI 0 I 0 I

+--+--+--+--+--+--+--+--I--~~--~~--~~~~~

'!L:

SS:
WL:
WR:

Specification of painting by tiling
Color or DDnochromtic tiling specification
Specification of whether to paint on left edge
Specification of whether to paint on right edge

An ellipse defined by the center coordinates (XC, l'C), the radius in the X
axis direction (DX), the radius in the Y axis c3irection (Dy), the square
ratio of the radius in the X axis direction (DB) am the square ratio of
the radius in the Y axis direction (DV) is painted (DB : DV. Dx2 : Dy2).

4-22

Advanced Graphic Display Controlle r
(6) A 'l'RI PnaL (Absolute Triangle P111)
6FB

MSB

6EB

+--+--+-~--+-~--~~--I

Oil I 1

0

1

1 I0 I0 I

LSB
I

~I

0 I 1 I SSI WLI WRI 0 I 0 I

+--+--+--+--+--+--+--+--I--~~--~~--~~~~~

'I'L:

ss:
WL:

WR:

Specification of painting by tiling
Q)lor or uo1))chromatic tiling specification
6\leCification of whether to paint on left edge
6\leCification of whether to paint on right edge

A triangle defined by the three cx>ordinates (X, Y), (XS, !S) am (XC, YC)
is painted.

(7) A TPA FILL (Absolute Trapemid Fill)

6EH

6FH

MSB

LSB

+--+--+--+--+--+--+--+--I--~~--~~--~~~~~

o 1

1

1

0
I

0

0

0 I 'I'Ll 0 I 1 I sst WoLI WoRI 0 I 0 I
I--~~--~~--+-~--+--+

TL:

Specification of painting by tiling

ss:

Color or nonochromatic tiling specification

WL:
WR:

Specification of whether to paint on left edge
Specification of whether to paint on right edge

A trapemid defined by 6 kinds of parametem soowing four cx>ordinates (X,
Y), (XS, Y), (XC, ~) and (XE, YE) is painted.

4-23

Advanced Graphic Display Controlle r

(8) R TPA FILL (Relative 'l'rapefDid Fill)
6EH

6FH

MSB

LSB

+--+--+--+--~~~+--+--I--~~--~~--~~~~-*

o

1

1

1

0

1

I 0 I 0 I 'I'Ll 0 I 1 I SSI WLI WRI 0 I 0

+--+--+--+--+-~--+-~--I--~~--~~--~~~~~

TL:

ss:
WL:
WR:

Specification of painting by tiling
Color or uonochromatic tiling specification
Specification of whether to paint on left edge
Specification of whether to paint on right edge

A trapemid defined by the screen uR2r left cx>ordinates (Xi Y), the

screen upper right (X)()rdinates (XS, Y), the height (DY), the distance from
the screen lower left point to the X axis (OX)

screen lower right point to XS (XC) is painted.

4-24

am

the distance from the

Advanced Graphic Display Cantrolle r
4.3.4 CXlPY Q)ltINll'¥1s

(1) A CXlPY AA (Absolute Copy Address to Address)
6FB

MSB

o
~

BEL:

1

1

1

1

6EH

0

0

0

LSB

0 I 0 I 0 I 0 I SO SELl 0 I 0 I

Transfer plane specfication

'!be data in a rectangular area defined by the address (EAD2) of the
transfer start word of the display mezrory, the address (cWl2) of the
transfer start dot in the word, the nUllber of the cbts in the b::>ri2'Dntal
direction 'DB' and the nunber of the cbts in the vertical. direction 'DV'
is transferred to a rectangular area defined by the address (FADl) of
other transfer start word, the address 'c:Wll' of the transfer start Cbt in
the word, 'DB' and 'DV'.

(2) A cx)PY CA (Absolute Copy Coordinate to Address)
MSB

6FH

6EH

LSB

+--+--~~--~--~~--+--I--~~~~--~~--+-~--~

o

1 III

1

1

0

0 I 0 I 0 I 0 I 0 I SO SELl 0

0

+--+--~~--~--~~--+--I--~~--~--~~--+-~--~

so

BEL:

Transfer plane specfication

The data in a rectangular area defined by the transfer start (X)ordinates
(XS, YS) on the display nerrory, the nunDer of cbts in the rori2Pntal
direction 'DH' and the n&.mt>er of dots in the vertical direction 'DV' is
transferred to another rectangular area defined by the aldress 'EADl' of
the transfer start word, the address 'd1\Dl' of the transfer start dot in
the word, 'DB' and 'DV'.

4-25

Advanced Graphic Display Controller

(3) A CDPY AC (Absolute Copy Address to Q)ordinates)

6FB

MSB

1
SD SEL:

0

0

0

0

6EB

0

0

0

0

0

0 I 0 I SO SELl 0 I 0

Transfer plane sp!Cfication

data in a rectangular area defined by the transfer start Q)()rd.inates
(XS, YS) in the display neuory, the nusrber of ~ts in the mrimntal
direction 'DB' and the nUDber of dots in the vertical direction 'DV' is
transferred to a rectangular area defined by the other transfer start
(X)()rdinates (X, Y), 'OB' and 'DV'.
b

(4) A OJPY

ex: (Absolute

6FH

MSB

1

Copy ())ordinate to Q)ordinate)

0

0

0

0

6EB

1

0

0

0

0 I 0 I 0 I SO SELl 0

LSB

0

so BEL: . Transfer plane specfication
'!be data in a rectangular area defined by the transfer start cx>ordinates
(XS, YS) in the display nenory, the nwrber of (bts in the mri2Dntal
direction 'DH' and the nUlI'ber of dots in the vertical direction 'DV' is
transferred to a rectangular area defined by the other transfer start

ooordinates (X, Y), 'DB' and 'DV'.

4-26

Advanced Graphic Display Controlle r
(5) R Q)PY'OC (Relati\Ie Copy Q)ordinate

to Q:)ordinate)

6FH

MSB

6£8

+--+--+--+--~~--~~--I--~~--~~--~~~~-*

I

1

I

0

I

0

I

0

I

1

I

0

I

0

I

0

I

0

I

0

I

0

I

0

SO SELl 0

I

I

0

I

+--+--+-~--~~--~~--l--~~--~~--~~~~-+

so

BEL:

Transfer plane specfication

The data in a. rect:angul.ar area defined by the transfer start (X)()rdinates
(XS, YS) in the display meucry, the nunber of cbts in the bori2Dntal
direction 'DB' and the DUllber of cX>ts in the ftrt1cal direction 'DV' is
transferred to a rect.angul.ar area defined by the other start cx>ordinates
(XS+XC, YS+YC) generated by (xs, YS), (XC, 1'C), am 'DB' am 'DV·.

(6) Copy function extensions

The function of each OOPY ammand can be extended by changing the lower 2
bits of the ooll1liUld code. ibis extension is defined in the lower byte
(6EH) of the oomend register.
(a) 9()0 (X)PY (9oo a>tation Copy)

MSB

6EH

lESE IREV lIar I 1

LSB
&> SEL

ESE:
REV:

Reverse data read specification
Reversal specification

ROT:

~tation angle specification
Transfer plane specfication

S)

SEt:

'!be transfer area is rotated by 9()0.

4-27

I 0

0

Advanced Graphic Display Q:)ntrolle r

(b) SL CDPY (Slant Copy)

6EB

MSB

LSB

I .

I.

lESE IREV 1R11' I 0

ESE:
REV:

101':
S> SEL:

S)

BEL

0

1

Jeverse data read specification
Reversal specification
R:>tation angle specification
Transfer plane specfication

'!'he data in a rectmlgular area in the display DlmDty is slante3 by 'DX' in
the X axis direction accx>rding to the change in the y axis direction to
transfer it into a parallogrmn area.

(c) ES CDPY (Enlarqe/Shrink Copy)
MSB

6EH

IESH IREV 1K1l' IESV I s> SEL

EBB:
. REV:
ESV:
S> BEL:

LSB

1

1

Enlarge/shrink specification (horizontal direction)
, Reversal specification
~tation angle specification
Enlarge/shrink specification (vertical direction)
Transfer plane specfication

area is enlarged/shrunk by any magnification by giving the
h:>rizontal. magnification 'MAGS' aOO the vertical magnification 1M1(;V'
factors.

The transfer

4-28

Advanced Graphic Display Controlle r
. (a) FR

ts C'JJP'i (Free Angle It>tAtion Enlarge ana Slrink Copy)
MSB

6EH

I ESE I ESVI FS I 1
EBB:
ESV:
SF:
s) BEL:

IS
s)

BEL I 1

0

Enlarge/shrink specification in mrilDntal direction
Enlarge/shrink specification in vertical direction
~ification of point not to be dram
Transfer plane specfication

'!be transfer area is rotated by any angle are enlarged/shrurK by giving
the rori20ntal magnification 'MAGS', the vertical magnification 'MAGV',
and the angle def ined by DX and DY.

4-29

Advanced Graphic Display Controlle r

4.3.5 IVr/CET Q:mre.nds
(1) Pm' A (Put Data to Address Field)

6FB

MSB

6EB

LSB

I--~-+--+--+--~~--~~

.1

1

0

0

1

0

1

0

0 I 0 IREV IJOT I 0 I SO SELl 1 I 0 I

+-~--~~~~--~-P--+--I--~~~~--~~--+--+--~

Reversal Specification
It>tation Specification
Transfer plane st:eCfication

EV:
K1r:
s) BEL:

data from the rost system is transferre:1 to a rectangular area define:
by the address 'EAD1' of the transfer start word in the display mernory,
the address 'cW)1' of the transfer start dot in the word, the nun'ber of
cX>ts in the rori2Ontal direction 'DB' and the nwrber ·of ci::>ts in the
vertical direction 'OV'.
~

(2) PUT C (Put Data to Coordinate Field)

1

6EH

6FE

MSB
0

0

1

0

1

1

0

0 IREV IIDT·I 0 I SE SEL I 1

REV:

Reversal Specification

~:

~tation

Specification

SO SEL:

Tra~sfer

plane specfication

0

The data frorr, the mst system is transferred to a rectangular area defin~
by the transfer start ex>ordinates (X, Y) of the display nenory, the nlli10e r
of oots in the l'x:>rimntal directions 'OH' and the nUfl'ber of dots in the
vertical direction 'OV'.

4-3C

Advanced Graphic

Dis~ay

Controller

(3) GET A (Get Data from Address Field)
6FB

MSB

I1 I0 I0
REV:
R:7l':
s) SEL:

1

1

6EB

0

0

0

LSB

0 IREVliOTl 0 I SO SELl 1 I 0

Reversal Specification
R)tation Specification
Transfer plane specfication

'!be data from the mst system is transferred to a rectangular area def1ned
by the address 'FADl' of the transfer start word in the display meucry,
the address 'dADl' of the transfer start oot in the we I'd, the nuube r of
oots in the horiz:>ntal direction 'DB' and the nunber of ebts in the
vertical direction 'DV'.

(4) GET C (Get Data from Coordinate Field)

6FH

MSB

6EB

LSB

-r

1

REV:
IUI':

SO BEL:

0

0

1

1

0

1

0

0 IREVIRDTI 0 I SO SELl 1

0

Peversal Specification
lC:>tation Specification
Transfer plane specfication

The data from the display menory is transferred to the b:>st system from a
rectangular area defined by the transfer start cx>ordinates (X, Y) of the
display nerrory, the nwrber of oots in the horizontal directions 'DH' arxl
the nun:ber of cbts in the vertical direction IDV'.

4-31

Advanced Graphic Display Controller

(l)

PXEN: Pixel Drawing Enable

(2)

BPPX: Bits per Pixel
Sixteen pixels are assignecl to one 16-bit word in the 41splay IlleDDry
(X)ntrolled by the AaX; principally to mnsttuct the plane mnfiguration.
1'be ru.urDer of bits per pixel can easily be exten3ed by increasing the
ru.urDer of planes in the display JreUDry. In the packed (X)nfiguratiDn, in
which each pixel is assigned to one word, straight lines, rectangles,
circles, circle arcs, 'circle bows, arc sectors, ellipses, ellipse arcs,
ellipse bows and ellipse arc sectors can stUl be drawn.
'l!le plane or the pixel oonfiguration is selected by PXEN and the nunber of
bits in one pixel is defined by BPPA.

I BPPX I PXEN I N bits/pixel I

(3)

XX

0

00
01
10
11

1

(4)

ES: Enlarge/Shrink
ESH: Enlarge/Shrink Horizontal

(5)

ESV: Enlarge/Shrink

1
1
1

1
2
4
8

16

~rtical

Whether or not the enlarge/shrink function by any magnification (16/N or
Wl6, N an integer between 1 and 16) is enabled is determined by ES. 'Ihe
enlarge/shrink in the mrimntal direction is selected by ESH. The
enlarge/shrink in the vertical direction is selected by ESV. 'nle
horizontal magnification and the vertical magnification are set by the
MAGH and MAGV registers, respectively.

4-32

Advanced

Graphic Display Controlle r

Function

I ES I EBB 1 ESV I

oI

X I X
1 1 0 I X
1 I 1 I X
1 I X I 0
1 I X 1 1

I R;) enlarge/shrink
I It)rimntal shrink
I 8:)rimntal enlarge
I ~rtical shrink
I vertical enlarge

ESH

=0

IMagnificationl..l 1~ 1....3. 1-4 1..5. 1..6. 1..2. I..&. l...i 1lQ. III In III Jli

I~

III I
116 116 116 116 116 116 116 116 116 116 116 116 116 116 116 116 I

1

ESH = 1

MAGS

115 114 113 112 III 110

I

9 18

I

I ..

7

1

6

I

5 14

I

3

1

2

I

1

I

0

I

+==~==~=*~+=~~~~~c=~=*c=+=~-=~~~~~=*~~=+

IMagnif ication 112. IJ& lli lli 116. lli 116. 116. lli lli 1M 116.
116 115 114 113 112 III 110 I 9 I 8 1 7 I 6 I 5

1

4-33

I~
I

4

lli 1l6. Il§. I
I 3 I 2 I 1 I

Advanced Graphic Display Controller

~

I 0 I 1 I 2 I 3 I 4 I 5 I 6 I 7 I 8 I 9 110 III 112 113 114 115 I

+
IMagnification I~ 1...1 I..J. I..J I ~ l.i J.l 1.1 1..1 IlJI. III 1l2. III 1M Il.S. 1l6. I

I

116 116 116 116 116 116 116 116 116 116 116 116 116 116 116 116 I

ESV. 1
~

115 114 113 112 III 110

I

9

I

8

I

7

I

6

I

5

I

4

1

3

I

2

I

1

0

IMagnif ication Il&. 1l6. 116. 116. 116. 116. lli 116. lli lli lli 116. 116. 116. 1l6. 1l6. I
116 115 114 113 112 III 110

1

I

9

I

8

I

7

I

6

I

5

I

4

I

3

I

2

When enlarging straight lines or rectangles, the enlarge/shrink
magnification of l6/N or W16 of the line pattem .is defined by MAGH.
integral magnification of the line width is defined by MN3V.

1
I

X:

MAG V
I

t

x.

Specified start
position
Specified end
position

MAGH=12/l6

_________1 I
Original line

4-34

I

I~

. pattern

______~

I

1

I

The

Advanced Graphic Display Controlle r

(6) E;D: Enlargement Direction
ED selects the widening direction of a straight line drawing, as soown :1.n
the following table:

o
o

1
1

o

3

2

1

o

1

o

1

o I +x I +y' I -x I +Y I -x I -Y I +X I -Y I

o

3

1

2.

~hO~~

SP Quadrant Definition

XF Quadrant Definition

(7) IP: Initial Pattern Pointer
This bit selects the initialization/non-initialization of the p::>inter
which specifies the drawing of a specific bit in the register storing the
type of line (dotted, altemate long and srort dashed, etc). In the case
of drawing a folded line graph, etc., an alternate long and srort dashed
line is still drawn after passing the erd point if this pointer is not

initialized.

IP

o
1

Function

I The pattern pointer is not initialized
The pattern pointer is initialized

4-35

Advanced Graphic

Dis~y

Controller

(8) CF: ClockWise Flag

'Ibis bit selects the drawing direction of a circle, ellipse, etc.

I CF I Drawing direction I

o

Oounter~ise

1

Clockwise

(9) TL: Tiling Pattem
(10) SS: Single Source Pattem
This bit selects the pattern in painting.
are p:>ssible:

TL

'!be -following three selections

Selection

SS

0

0 I

0

I I The same pattem set in the •P.IN:Nr I register
I referred to for all the planes

I

0 I The pattern stored in the display menory is
I read each tine for each plane referred to it

I

1

~t

used

The same pattem stored in the display rrerrory
is referred to for all the planes

To clear all the planes to •0 I, set TL I : 0 andSS I : 1, then it is not
necessary to frequently read the p:lttern to be painted. '!his will allow
the planes to be cleared quicker. When it is necessary to paint with a

different oolor for each bit, set TL • 1

4-36

aoo

SS •

o.

Advanced Graphic Display Controller
(11) IKD: Paint ftt>de
This bit selects one of the two types of amitraty enclosed areas slxNn in
the following table:

I Pta> I

~

of area

o

I 'Ibe boundary oolor is retrieved according to the
I type of boundaty color preliminarily qiven and
I the space between the boundary points is painted

1

I
I
I
I
I

'!be color info mat ion at the start point of the
boundary plint retrieval. '!be bowmlY point is
retrieved for all the mlors other than the color
of the boundary and the space between the
boWldary p:>ints is pa:lnted

4-37

Advanced Graphic Display Controller
(12) WL.: Write Left
(13) WR: Write Right

on the boundaty line in a
quadrangle, circle, ellipse, triangle and trape7X)id fill.

'Dlese bits specify the drawing of 1X>1nts

I WI. I

Function

o I '!he points on the left boundary line
I are not painted
1 I 1b! plints on the left boundary line
I are also painted

Function

I WRI
o I The plints

on the right boundary line
I are not painted

1

'l1le points on the right boundary line

are also painted

xo ••••• ox
XO ••••• ox
XO ••••• ox
xo ••••• ox

x •••••• ox

t
L-Right boundaTY line
~Left boundary line
t.lI,.-O,

X•••••• OX
X•••••• OX
X•••••• OX
L-Right boundary line

t

~L~ft

wa-o

WL-l, WR-O

xo •••••• x

XO •••••• X
XO •••••• X
XO •••••• X
L-Right boundary line

t.

~Left

boundary line

boundary line

x••••••• x

X••••••• X

X••••••• X
X• • • • • • • X

t

L-R1ght boundary line

~Left
WL-l

WL-O t WR-l

4-38

t

WR-l

boundary line

Advanced Gr~hic Dis~ay Controller

(14) ESE: ExcJlange Start with End

This bit defines the reading order of the source data in the oopy
operation.

..

•

-x············
••
••••••••••
••••

.***.******.

•• •*

** •••• *•••
*.
*•
x
**

ESt-O

••

X

Reading start point

•

(15) REV: Reverse

This bit defines the use of the reverse drawing in the ooF.i operation •

..••

•

x···*****····
-

,

••••••••••
••
••

REV-O

REV-l

..

············X••
••••••••••
**
**

**

**

X

Drawing start point

4-39

~ced

Graphic Display Controller

(16) K7l': It>tation
'l'his bit defines the use of the 1800 rotation draring in the oopy

operation.

•
x************
-.*

**
**
**
***.******
**
**
*******·****x

.*
**** ••• *••

••
••
••

X

Drawing start point

-

(17) &> BEL: Source Destination Mode Select
This bit selects the data transfer node between the planes as sOOwn in the
table below· (please refer to the section on inter-plane data transfer):

so

BEL

Function

00

Single source and destination

01

Multiple sources

10
11

,I Multiple destinations
Multiple sources and destinations

4-40

Advanced Graphic Display Controlle r

(18 ) FS: Fill Sll:> rtage

When the ex>ordinate oonversion is made during the amitraty angle rotation
cx>py, some p'ints may not be drawn. '!bis bit specifies whether to draw
these p:>ints or not.

I FS I

o

fUnction

I Points drawn

1 I Points not drawn I

0000
000 ••••
0000 ••• 0000
•••• 000 ••••

OOOO ••• ~oOOO
• • • • tlOOO • • • •

0000 ••• '0000

•••• ooott ••••
tt

OOOo~

••• OOOO

• • • • 000 • • • •

The points

0000 ••• 0000
•••• 000
0000

(19) PUT: Put

This bit specifies the transfer by the PUr cx>mmand or transfer by the GET

conmand.

I PUr I
o
1

Function

I Transfer by

CE'l'

Transfe r by PUT

4-41

Advanced Graphic Display Controller
(20) FAST: Fast

'lhls bit specifies the norual or fast UDde for drawing.

I

FASr

I

Function

o

I R>mal speed

1

r Fast speed

However, the FAm node cannot be used for all drawing operations:
H:C FILL: 1be FAm m:>de cannot be used if clipping or painting
with a tiling pattem. It can only be used for replacing data.

COPY: 'nle FASr node can be used only for ordinaty CXPY with replace. It
cannot be used with other PY operations or with ltUltiple sources.

4-42

AdvanoedGraphic Display Controller
4. S

PAinting Pattern Referencz Enpes

(1) '1L • 0, SS

c

1

In this case, the oontents of the 16-bit register, 1'lK:m', in the AaX:, 1s
referred to as the painting pattern. When painting two or DDre planes is
specified, painting is made in the sane pattem.

Parameters to be set:
(A) Plane to be selected in drawing •••
(8) Maxinum nunber of planes to be selected in drawing...
(C) Painting pattern to be referred to •••

PLANES
PMAX
P.LN::m'

Drawing ExaIri'le: .

PLANES

= 7,

PMAX

= 4,

PTNCNT = SSSSH

10101010101010101010
10101010101010101010
10101010101010101010
10101010101010101010
10101010101010101010
First plane

10101010101010101010
10101010101010101010
10101010101010101010
10101010101010101010
10101010101010101010
Second plane

4-43

101010101010101010]0
10101010101010101010
10101010101010101010
10101010101010101010
10101010101010101010
Third plane

Advanced Graphic Display Controller

(2)

it,

-= 1, SS • 1

In this case, uultiple painting pattems previously stored in the display
nem:>t)! are referred to. 'lbe painting pattem is automatically updated
accx>rding to the rove of the Y CX)()rdinate. When painting mvering two or
IIt)re planes is specified and when the Y (X)()rdinates are the same, the same
pattern is referred to.

. Pararreters to be set:
(A) Plane to be selected in drawing •••
(Sr Maxinum nunt>er of planes to be selected in drawin:J •••
(C) The first address of the display DenOty a>ntaining
the pattern •••
(D) 'Ihe nunber of words to be repeated for the painting

PIANES
PMAX

pattern •••

Drawing Exanple:

10011001100110011001
01100110011001101100
00110011001100110011
10011001100110011001
10011001100110011001
First plane
p~-p

..

1001100110011001
1100110011001100
0110011001100110
0011001100110011

10011001100110011001
01100110011001101100
00110011001100110011
10011001100110011001
10011001100110011001

l

Second plane

PTN CNT-4

4-44

10011001100110011001
01100110011001101100
00110011001100110011
10011001100110011001
10011001100110011001
Third plane

Dis~ay

Advanced Graphic

(3)

~

Controller

• 1, SS = 0

nultiple painting pattems previously stored in the display IteII'Ory are
referred to. '!be painting pattem is automltically updated acmrd1ng to
the DDve of the Y CX)()rdinate. When painting oovering two or DOre planes
is specified, the painting pattem oorresponding to each plane is referred
to.

~

Parameters to be set:
(A) Plane to be selected in drawing...
(B) Maxinum nunber of planes to be selected in drawing •••
(C) i!le first address of the display 1tImDty oontaining

PIANES
PMAX

the pattern...
(D) '!be nurrt>er of words to be repeated for the painting

PlNP

pattern...
(E) '!be address displacenent between the painting pattem
prepared for each plane •••

PIN:Nr

PDISPS

Drawing Exanples:
PLANES = 7, PK\X

I:

4, PIN:Nr

l00110QI100110011001
11001100110011001100
01100110011001100110
00110011001100110011
10011001100110011001
First plane

PTN-P

+

= 4,

PDISPS • 4

10000111100001111000
11000011110000111100
11100001111000011110
11110000111100001111
10000111100001111000
Second plane

1001100110011001
1100110011001100
0110011001100110
0011001100110011

I~.......

1000011110000111
1100001111000011
1110000111100001
1111000011110000
1010101010101010
0101010101010101
0010101010101010
0001010101010101

4-45

10101010101010101010
01010101010101010101
00101010101010001010
00010101010100010101
10101010101010101010
Third plane

-

PTN CNT-4

PDISPS-4

Advanced Graphic Display OJntrolle r
4.6

Inter-plane DAtA Transfers
Up to 16
plan ••
transferrable
continuously
r---

~I

.

16 kinds of
logical operation by MODO.

r

f

.0
L16 kinds of

logical operation by MODO
and MODI.

o

~

•L---- 16

kinds of
logical operation by MODI.

Source

(1)

Destination

Source

(2)

Single Source and Destination
Up to 16 planes
transferrable
continuously

Destination
Multiple Source
Up to 16 planes
transferrable
continuousl

1

~

1

, ----,""""'--01'-------'1 0

,0 litO
L

Source
(3)

16 kinds of

1...

logical operation by MODO
and MODI.
Source

Destination

Multiple Destination

(4)

4-46

16 kinds of
logical operation by MODO
and MODI.
Destination

Multiple Source and Destination

Advanced Graphic

Dis~ay

Controller

4.7 Drawing Belated Begiste rs
'!'he internal registers in which the pa~ametetB requi~ for drawing are storEd .

are described in this section.

(1) &\l'XlIG (Execution Address Origin)
~. of Bits:
Address:
Application:

24
OOB - 02H

This register sets the physical address (effective address) in
the display nenory oorresponding to the origin (0,0) on the
logical plane (the X-Y CX)()rdinate plane).

(2) CWllIC (Ibt Address Origin)

N:>. of Bits:

Address:
AWlication:

4
03H
This register sets the oot ~sition in the physical address
(effective a¢idress) in the display nem:>ry oorresJ:X)nding to the
origin (0,0) on the logical plane (the X-Y coordinate plane).

(3) BADl (Execution Address 1)
~.

of Bits:
Address:
Application:

24

04H - 06H
This register sets the drawing start physical address value in
the drawing processing when the drawing start position is given
by the physical address (effective address).

(4) cWll (Ibt Address 1)
N::). of Bits:
Address:
Application:

4

078
This register sets the dot position in the display BeIIDty
when the drawing start position 18 given by the plTjsical address
(effective address).

4-47

Advanced Graphic Display Controller
(5) BADZ
!i).

(Execution Address 2)

of Bits:

Address:

Application:

24
OSB - OAB
This register sets the drawing start physical address in the
drawing processor when the drawing start ~sition is given by
the physical address (effective address).

(6) dMJ2 (D:>t Address 2)
R:>. of Bits:

Address:
Application:

4
OBB
This register sets the dot position in the display DeDl;)ry
when the drawing start position is given by the physical a:1dress
(effective address).

(7) PDISPS (Plane Displaoenent Source)
N:>. of Bits:

24

Address:
Application:

OeB - OEB
This reg iste r sets the nlU1"be r of words which OCCUP.i one meno ry
plane in the case of display nenory oonfigured with two or JIOre
planes. In the case of execution of the COpy conmand, the
nUl"Cber of words ~r source plane is set. In the case of
execution of the PAINr ool1'll'IBIld, the nurreer of words ~r plane
oontaining the painting J;8ttem (tiling J;8ttem) is set.

( 8) PDISPD (Plane Displacerrent Destination)
~.

of Bits:
Address:
Application:

24
lOB - 128
This register sets the nurrber of words whi~ occupy one menory
plane in the case of display IIeIl'Ory oonfigured with two or nore
planes. In the case of execution of drawing oomrrands, the
niurber of words per plane for gralilics drawing is, set. In the
case of execution of CDPYoonmmds, the nurrber of words per

destination plane is set. In the case of execution of painting
oonrnands, the nunt>er of words per painting plane is set.

4-48

Advanced Graphic Display Controller
(9) HLU (Plane Maxinum)
N:>. of Bits:

Address:
Awlication:

16
14B - lSa

'lhls register sets selects the nutrber of planes (up to 16) in
the display uenc ry to be drawn, as sOOwn in the following table:

I Plane to be drawn
I
I
I
I
I
I
I
I

0000 0000 0000 0001
0000 0000 0000 0010
0000 0000 0000 0100

•
•
0100 0000 0000 0000
1000 0000 0000 0000

ttltil 1st plane
2nd plane
tlltil lrd plane

unw

J

I
I

•
•
•

I
I
I
Until 15th plane I
Until 16th plane I

(10) lIDO (Drawing Mode 0)
N:>. of Bits:

Address:
Application:

(11)

JD)l

4
16H
This registers defines the type of logical operation perforned
during drawing processing. When the bit in PIANES oorrestx'nding
to the merrory plane is 0 during drawing processing, the logical
o~ration defined by KDO is executed.

(Drawing ltxle

NJ. of Bits:
Address:
Application:

1)

4

16H
This registers defines the type of logical operation perfomed
during drawing processing. When the bit in PLANES cx>rresp>nding
to the nerroIy plane is 1 during dra'Wing processing, the logical
operation defined by r«DO is executed.

4-49

Advanced Graphic Display COntrelle r
(12) PJ!W (Pattem Pointer)

!b. of Bits:
Address:

Awlication:

(13)
~.

sma:

24
18B - lAB
This registers sets the first Pr¥sical address in the display
ueuoty area Q)ntainin9 the painting (tiling) plttem.

(Stack Pointer)

of Bits:

Address:
~ication:

24
·lea - lEB
1bis registers sets the fitst P"zysical address in the display
nenory area to save data such as ax>minates, etc., during the
retrieval of the boundary lX)int in the atbitrary enclosed area
painting. It may be mnsidered as the working area of the ACDC
in the execution of the PAmI' CX)nmmd.

(14) X, Y, Ill, DY, IS,
~. of Bits:
Address:
Application:

!S, D, D, Je,

!C, DB, DV

16 each
40H - 57H, respectively

This is the group of registez:s used to set the paranetem
required for the execution of various drawing cxmnands.
8::>weve r, the DX registe rs is also used as the data p:>rt to
output data read by the ArD: during execution of the READ CDL

oomtand.

(15) PI'lCBS
~.

of Bits:
Address:
~ication:

(Pitch Source)
16
S8H - 59B
This register sets the nurrber of addresses in the horizontal.
direction of the source plane in the display JIelIDty during
execution. of the ropy CX)mmand.

4-50

Advanced Graphic Display Controller
(16 ) PI"1tBJ (Pi.tch Destination)
R:>. of Bits:
Address:
Application:

16
5AB - SBB

'Ibis registers set the n\lli)er of addresses in the mrimntal
direction of the drawing plane in the display DenDry during
execution of paint cxmIl1lI1ds.

(17) ~ (Store Maxinum)

of Bits:
Address:
AWlication:
R,).

16

SCE - SDH
This register set the size of the display DeDDty area used to
save data such as (X)()rdinates, etc., during retrieval of the
boundary point in the atbitraty enclosed area painting. It may
be (X)nsidered as the working area size of the JaY:, during
execution of the PAINr (X)mnand.

(18) PlA!BS (Plane Select)

No. of Bits:

Address:
Application:

16
SEH - 5FH
This register selects the type of logical operation in the
drawing processing. Each bit in the PIANES registers directly
corresp:>nds to a plane. For the plane in which the logical
operation defined by register KDO is to be executed, the
corresp:>nding bit in PlANES nust be o. For the plane in which
the logical operation defined by register l«Dl is to be
executed, the corresp:>ming bit in PII\NES nust be 1.

4-51

Advanced Graphic Display Contrelle r
(19) PJK:Hl'

!t>. of Bits:
Address:

Application:

(Pattern CoWlt)
16
60B - 61B
'Ibis register is set in the two ways listed below acau:aing to
the painting pattern in the execution of the painting ocmnand:

1. In the case of painting by using the painting pattem
previously generated in the display DmDty ('lL • 1), the range
of words from the address specified by the register PlNP to be
referred to as the painting plttem is defined by the nUDber of
words.

2. When the 16-bit data in the register Pl!CNl' is used as the
painting pattern (TL • 0), the actual painting plttem is
defined.

(20) Ja"IN, lCUIIH,

R:>. of Bits:
Address:

Application:

mlPaX,

~

(X/Y Clipping Minim.mv'MaxiDum)

16 each
62H - 69B, res~ctively
These registers define the rectangular clipping area to be
referred to during the drawing processing.

- - - YCllt1AX

Clipping

Area
- - - Yru1IN
XCIJUN

XCllt1AX

4-52

Advanced

Gr~hic

Display Controller

(21) IWII (It>ri2Dntal Magnification)
1'«:>. of Bits:
Address:

Application:

(22) I.WN

4
6CB

'Ibis register sets the enl.argenent/shrink magnification in the
b:>ri2Dntal direction during execution of enlarge/shrink drawing.
In the case of enlargeuent drawing, the magn1fcation is
16/(MAGB+l). In the case of shrink drawing, the magnification
if (MAGH+l)/16.

(~rtical

No. of Bits:

Magnification)

Address:

4
6CB

Application:

This register sets the enlargenent/shrink magnification in the
vertical direction during execution of enlarge/shrink drawing.
In the case of enlarge drawing, the uagnification is
16/(MACM-l). In the case of shrink drawing, the magnification
is (MAGW1)/16.

(23) CLIP (Cl ipping M:>de)

t«>. of Bits:
Address:
Application:

6DH

This register selects the clipping op! ration as soown in the
following table:

Function (Other than PAIN!' conrnand)

CLIP
+

2

Function (Paint ccmrand

+

+

00

01
10

11

Drawing only in the def ined
rectangular area

I Boundary point retrieval
I aOO drawing only in
I defined rectangular area

ftl> clipping o~ration

I Drawing only outside the defined
I rectangular area
I
I
t«>t Used

4-53

I Boundary point retrieval
I and draiing only outside
I the defined rectangular
I area

Advanced Graphic
(24) FLAGS,
~.

of Bits:

Address:

Application:

Dis~ay

COntroller

aJIWI) (Flags~ ~)

16
6EH - 6Fa
'lhis is the register used to write the coummd to be executed by
the 1GX,. It CDnsists of the o~ration (X)de (6Fa) arx:i the
operation flags (6£8). When the operation axle is written to
the oonmand register, N:D:., begins prooess~.

4-54

Advanced Graphic Display Q)ntrolle r

The parameters required for DPAW axmands are illustrated in this section.
(i:-!-[i:-:, 'l'+[t'I'j

fIIf

[ 1> OT ]
C

~

.

4-58

.... :--~·.I;

j

..

..
Advanced Graphic Display Contrelle r

F::Ell=G. F:OT =9

REU=0, ROT=l

REU=Z. E:OT:.:1

(SO_COpy]

[COpy]

[

coPY

]

4-59

['O~

RoTATXON COPY']

Advanced Graphic Display Controller

SOVRcE.

F:EU=0,

;=::)T=1

REt.i:"!. F,',)T=1

[SLANT

4-60

copy J

Advanced Graphic Display O:>ntroller

relJL.AR~E/SHRIlJk CDP,(]

rES_COP"]
SOVRCE

ESH=~.

ESU= 1

ESH=0, ESIJ=2

.,.

4-61

ESH=l. ES1.i=0

..

Advanced Graphic Display Controlle r

[ARBIIRARY !rfJqi..S
koTATION ccpy J
[FR_ES_COPY1

SOVRcE

ESH=21,-ES;U=l
-n\t>G,

DY<0

>\s<0,

1'~S)0

"-

4-62

:.

1;.-

,.

Advanced Graphic Display Controlle r

• RAs,eR. OPE.AATl.OIJ ).iDeE.

(I)

I
I
I

---------- --I
8
--------111
i
----,I
8888 ------------- =1
....
----•
----.'
"
mi
--------I

8888

i

1::

-~---

al

I

0-0-

'"
•

I

1

•

- - -

===

8888

••

•
'"
•

w·~
. . ••••••

"'''"'

~"""~
"'''''''''''''''"'w'"''
!!I!!IIS

i

81-§~§=!==
-

-

-!
4-63

0-0-

IQ

00--

88881====:
--------=
=[!]===
-8 --....
- -----

--------------------88881=====
~-

....

0-0-

0-0-

00--

•

00--

88881=====

•
'"
•

Vt

-0--

Illffil ~

0

0

--0-

VI

88881====:

..~~-~~;;;
-.....

----- •
•

•

00-0

• aUllla • _ • •
a.a • • • • •

2
- 88
------

•

Ills:]

8888

,!,

'""

00--

----------------

8888

oc--

--'
8
81
===-."-------

0-00
0-0-

00.0-000--

IQ

-----

8888

8888T=====

•
'"
•

0-0-

""'

0.--

Iffilll ~

888881
1===1
88888

---0

•

••

88881=====

,

ii

-000

---------

""'loll VII,,",

88881====:
------- -===[!]=-=
--- 8 -- ------------ - I
88881=====

.'"

•

r

----------===
i
-------------88
:=:
I 8888 --------• 0--8888

s

""'
•

0-000--

•

Advanced Graphic Display Cantrolle r

•

RAS1';~

OP6.~ATlO,.J

MOSE C<..)

!

i

I

I:,

---------

8888

---------_
... --- I
-------- 8\
..........
=====
_..... _-- !!i
----------------- ~I
---------_ ... _----~

-I

~!

.. -'.----

8888

;'~
----

~

••

0-0..... . .

;

.~o--

I
II
I!

III ----------

8888

~-

....•...

i

i

-----------

--

I

j

----------

8888

•
'""

ti~unl I III

51

i

====:

888a

0000

0

00--

""

0-0-

VI

0-0-

0

00--

0

oc--

88881=====

------- -888 1§
§1
------------- -8888l=====

I

"'",.

--

....

--.

I VI

0

-oe-

VI

0-0-

VI

c-e-

a

00--

0

oe--

r

88881====:

•
...,

-

. ~~. ~~~~

1===1
§E
88888
88881=====

i

I 1-§-888SSee
0

0 - --

-

r

1E I
....

---- ---- --------

0-0-

lID

0--0

""

0-0-

VI

0-0-

0

cc--

00--

...,

....

-VI

a

a

4~4

------

8888 ----8
=
1= 81E
88
8888 -----

SS88

=lD,.,. ••••
ecce
tltltl
........
:5~§ ... •

i

-----------

--- 881 1§
---§18
-I =
---- ;8 I~
-

-0-0

",,",,o-w,",,o-

-

8888

--~--

, , , ,

0000_0 • •

0

-----

0

"'",.0-0_.0
~

8888

~.

~¢"

4~ ,

00--

0

o
...,

IC

----------=
--- -=
----- -=--_... _------

8888

8g8~i

0-0-

0

!

II

'--00

-

•

C

c

....,

,.-t
Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.3
Linearized                      : No
XMP Toolkit                     : Adobe XMP Core 4.2.1-c043 52.372728, 2009/01/18-15:56:37
Create Date                     : 2012:05:14 12:04:22-08:00
Modify Date                     : 2012:05:14 11:58:44-07:00
Metadata Date                   : 2012:05:14 11:58:44-07:00
Producer                        : Adobe Acrobat 9.51 Paper Capture Plug-in
Format                          : application/pdf
Document ID                     : uuid:a9062c01-e790-4998-91f1-b3b5baa39bc0
Instance ID                     : uuid:1eac9934-176c-4803-96ba-884b9420b7ad
Page Layout                     : SinglePage
Page Mode                       : UseNone
Page Count                      : 118
EXIF Metadata provided by EXIF.tools

Navigation menu