IA63484
Data Sheet
Advanced CRT Controller
Graphic Drawing Commands:
The graphic drawing commands cause the ACRTC to draw. Graphic drawing is performed by
modifying the contents of the frame buffer based on micro coded drawing algorithms in the ACRTC
drawing processor. Parameters for these commands are specified using logical X-Y addressing. The
display processor performs the complex task of translating a logical pixel address to a linear frame
buffer word address, and further, selecting the proper sub field of the word.
Many instructions allow specification in either absolute or relative X-Y coordinates. In both cases,
two’s compliment numbers represent both positive and negative values.
Table 2 and Table 3 tabulate the ACRTC drawing commands and Op-Codes available.
Table 2: ACRTC Command Table
Type
Mnemonic
ORG
Command Name
Origin
# (words)
3
CLK_2 Cycles
8
WPR
Write Parameter Reg
Read Parameter Reg
Write Pattern RAM
Read Pattern RAM
DMA Read
2
6
Register Access Command
RPR
1
6
WPTN
RPTN
DRD
n+2
4n+8
4n+10
2
3
(4x+8)y+12(x*y/8 )+(62~68)
•
DWT
DMA Write
3
(4x+8)y+16(x*y/8 )+34
•
DMOD
RD
DMA Modify
Read
3
(4x+8)y+16(x*y/8 )+34
•
1
12
WT
Write
2
8
Data Transfer Command
MOD
CLR
Modify
2
8
Clear
4
(2x+8)y+12
(4x+8)y+12
(6x+8)y+12
(6x+8)y+12
56
SCLR
Selective Clear
Copy
4
CPY
5
SCPY
AMOVE
RMOVE
ALINE
RLINE
ARCT
RRCT
APLL
RPLL
APLG
RPLG
CRCL
ELPS
Selective Copy
Absolute Move
Relative Move
Absolute Line
Relative Line
5
3
3
56
3
P*L+18
P*L+18
2P(A+B)+54
2P(A+B)+54
3
Absolute Rectangle
Relative Rectangle
Absolute Polyline
Relative Polyline
Absolute Polygon
Relative Polygon
Circle
3
3
( P
( P
( P
( P
*
*
*
*
L
L
L
L
+ 16 ) +
+ 16 ) +
+ 16 ) +
+ 16 ) +
8
8
2n+2
å
å
å
å
2n+2
P
P
*
*
Lo
Lo
+
+
20
20
2n+2
2n+2
2
4
5
5
7
7
3
3
1
1
2
5
5
8d+66
Graphic Drawing Command
Ellipse
10d+90
8d+18
AARC
RARC
AEARC
REARC
AFRCT
RFRCT
PAINT
DOT
Absolute Arc
Relative Arc
8d+18
Absolute Ellipse Arc
Relative Ellipse Arc
Absolute Filled Rectangle
Relative Filled Rectangle
Paint
10d+96
10d+96
(P*A+8)B+18
(P*A+8)B+18
(18A+102)B-58(Applies to rectagular figures, varies for other shapes)
Dot
8
PTN
Pattern
(P*A+10)B+20
((P+2)A+10)B+70
((P+2)A+10)B+70
AGCPY
RGCPY
Absolute Graphic Copy
Relative Graphic Copy
Copyright ã 2001
innovASIC
ENG 21101041200
www.innovasic.com
Customer Support:
The End of Obsolescenceä
Page 20 of 32
1- 888- 824- 4184