1 |
23 |
robfinch |
<html>
|
2 |
|
|
|
3 |
|
|
<head>
|
4 |
|
|
<meta http-equiv="Content-Language" content="en-ca">
|
5 |
|
|
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
|
6 |
|
|
<meta name="ProgId" content="FrontPage.Editor.Document">
|
7 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
8 |
|
|
<title>rtfTextController</title>
|
9 |
|
|
|
10 |
|
|
<!--mstheme--><link rel="stylesheet" href="wate1011.css">
|
11 |
|
|
|
12 |
|
|
<meta name="Microsoft Theme" content="water 1011, default">
|
13 |
|
|
</head>
|
14 |
|
|
|
15 |
|
|
<body>
|
16 |
|
|
|
17 |
|
|
<p><font size="6">rtfTextController3</font></p>
|
18 |
|
|
<h2> </h2>
|
19 |
|
|
<h2><font size="5">Description</font></h2>
|
20 |
|
|
<p><font size="4">This is a text mode video display controller that supports
|
21 |
|
|
color. The controller uses several internal
|
22 |
|
|
dual ported r/w memories to store text, text attributes and character bitmaps. The display memory is
|
23 |
|
|
thirty-two bits wide of which only twenty seven bits are implemented, allowing 512 different
|
24 |
|
|
simultaneous characters to be displayed along with 512 background and foreground
|
25 |
|
|
colors. The use of internal dual ported memories means that the text
|
26 |
|
|
controller does not consume any memory bandwidth from the processor.</font></p>
|
27 |
26 |
robfinch |
<p><font size="4">The address decodes for the text screen and attribute memory,
|
28 |
|
|
character bitmap memory and register set area are all parameterized to allow a
|
29 |
|
|
different address mapping.</font></p>
|
30 |
23 |
robfinch |
<table border="1" cellpadding="0" cellspacing="0" width="91%" style="border-left: 1.5pt solid black; border-right: 1.5pt solid black; border-top: 1.5pt solid black; border-bottom: .75pt solid black; background-color: white" fpstyle="27,011111100">
|
31 |
|
|
<tr>
|
32 |
|
|
<td width="15%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
33 |
|
|
Address</td>
|
34 |
|
|
<td width="85%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
35 |
|
|
Description</td>
|
36 |
|
|
</tr>
|
37 |
|
|
<tr>
|
38 |
|
|
<td width="15%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
39 |
|
|
$FFD0_xxxx</td>
|
40 |
|
|
<td width="85%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
41 |
|
|
text screen and attribute memory area, currently the controller only supports a 4kx27 memory</td>
|
42 |
|
|
</tr>
|
43 |
|
|
<tr>
|
44 |
|
|
<td width="15%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
45 |
|
|
$FFD2_xxxx</td>
|
46 |
|
|
<td width="85%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
47 |
|
|
character bitmap memory, currently the controller only supports a 4k memory,
|
48 |
|
|
which allows 512 8x8 character bitmaps.</td>
|
49 |
|
|
</tr>
|
50 |
|
|
<tr>
|
51 |
|
|
<td width="15%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
52 |
|
|
$FFDA_00xx</td>
|
53 |
|
|
<td width="85%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
54 |
|
|
text controller register area</td>
|
55 |
|
|
</tr>
|
56 |
|
|
<tr>
|
57 |
|
|
<td width="15%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
58 |
|
|
<td width="85%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
59 |
|
|
</tr>
|
60 |
|
|
</table>
|
61 |
|
|
<p style="margin-bottom: 0">Text and Attribute Memory Layout</p>
|
62 |
|
|
|
63 |
|
|
<table border="1" cellpadding="0" cellspacing="0" width="34%" style="border-left: 1.5pt solid black; border-right: 1.5pt solid black; border-top: 1.5pt solid black; border-bottom: .75pt solid black; background-color: white" fpstyle="27,011111100">
|
64 |
|
|
<tr>
|
65 |
|
|
<td width="21%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
66 |
|
|
31 28</td>
|
67 |
|
|
<td width="25%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
68 |
|
|
27 19</td>
|
69 |
|
|
<td width="25%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
70 |
|
|
18 10</td>
|
71 |
|
|
<td width="29%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
72 |
|
|
9
|
73 |
|
|
0</td>
|
74 |
|
|
</tr>
|
75 |
|
|
<tr>
|
76 |
|
|
<td width="21%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
77 |
|
|
unimp</td>
|
78 |
|
|
<td width="25%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
79 |
|
|
Bk Color</td>
|
80 |
|
|
<td width="25%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
81 |
|
|
Fg Color</td>
|
82 |
|
|
<td width="29%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
83 |
|
|
char code</td>
|
84 |
|
|
</tr>
|
85 |
|
|
</table>
|
86 |
|
|
|
87 |
26 |
robfinch |
<p style="margin-bottom: 0">Data written to the unimplemented bits is ignored
|
88 |
|
|
and they will read back as zero.</p>
|
89 |
|
|
|
90 |
23 |
robfinch |
<h2 style="margin-bottom: 0">Clocks</h2>
|
91 |
|
|
|
92 |
|
|
<p style="margin-bottom: 0">The text video display controller uses two clocks, a
|
93 |
|
|
bus timing clock (clk_i) and a video timing clock (vclk), which can be
|
94 |
|
|
completely independent.</p>
|
95 |
|
|
|
96 |
26 |
robfinch |
<p style="margin-bottom: 0">The core synchronizes the display relative to
|
97 |
|
|
externally supplied horizontal and vertical synchronization signals.</p>
|
98 |
|
|
|
99 |
23 |
robfinch |
<h2><font face="Arial"><b>Register Description</b></font></h2>
|
100 |
|
|
<table border="1" cellspacing="0" width="90%" style="border-left:1.5pt solid black; border-right:1.5pt solid black; border-top:1.5pt solid black; border-bottom:.75pt solid black; background-color:white" cellpadding="2" fpstyle="27,011111100" height="658">
|
101 |
|
|
<tr>
|
102 |
|
|
<td width="11%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray" height="19"><font face="Arial"><b>Reg. No.</b></font></td>
|
103 |
|
|
<td width="20%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray" align="right" height="19">
|
104 |
|
|
<font face="Arial">31</font><b><font face="Arial">
|
105 |
|
|
0</font></b></td>
|
106 |
|
|
<td width="9%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray" align="center" height="19">
|
107 |
|
|
<font face="Arial">R/W</font></td>
|
108 |
|
|
<td width="19%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray" height="19"><font face="Arial"><b>Function</b></font></td>
|
109 |
|
|
<td width="151%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray" height="19"><font face="Arial"><b>Description</b></font></td>
|
110 |
|
|
</tr>
|
111 |
|
|
<tr>
|
112 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"><font face="Arial">0</font></td>
|
113 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17"><font face="Arial">
|
114 |
26 |
robfinch |
dddddddd
|
115 |
23 |
robfinch |
-------- nnnnnnnn</font></td>
|
116 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17">
|
117 |
|
|
<font face="Arial">RW</font></td>
|
118 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
119 |
|
|
<font face="Arial">number of columns</font></td>
|
120 |
26 |
robfinch |
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
121 |
|
|
<p style="margin-top: 0; margin-bottom: 0">nnn = number of columns</p>
|
122 |
|
|
<p style="margin-top: 0; margin-bottom: 0">ddd = character output delay
|
123 |
|
|
(default 3).</td>
|
124 |
23 |
robfinch |
</tr>
|
125 |
|
|
<tr>
|
126 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"><font face="Arial">1</font></td>
|
127 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17"><font face="Arial">-------- nnnnnnnn</font></td>
|
128 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17">
|
129 |
|
|
<font face="Arial">RW</font></td>
|
130 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
131 |
|
|
<font face="Arial">number of row</font></td>
|
132 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
133 |
|
|
</tr>
|
134 |
|
|
<tr>
|
135 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35"><font face="Arial">2</font></td>
|
136 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="35">
|
137 |
|
|
<font face="Arial">---- nnnnnnnnnnnn</font></td>
|
138 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="35">
|
139 |
|
|
<font face="Arial">W</font></td>
|
140 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
141 |
|
|
<font face="Arial">window left</font></td>
|
142 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
143 |
|
|
<font face="Arial">Text window position- pixels before the display starts, referenced to the
|
144 |
|
|
hsync signal</font></td>
|
145 |
|
|
</tr>
|
146 |
|
|
<tr>
|
147 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35"><font face="Arial">3</font></td>
|
148 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="35"><font face="Arial">----
|
149 |
|
|
nnnnnnnnnnnn</font></td>
|
150 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="35">
|
151 |
|
|
<font face="Arial">W</font></td>
|
152 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
153 |
|
|
<font face="Arial">window top</font></td>
|
154 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
155 |
|
|
<font face="Arial">Text window position - scan lines down from the top of
|
156 |
|
|
the screen referenced to the vsync signal</font></td>
|
157 |
|
|
</tr>
|
158 |
|
|
<tr>
|
159 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35"><font face="Arial">4</font></td>
|
160 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="35">
|
161 |
|
|
<font face="Arial">-------- --- nnnnn</font></td>
|
162 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="35">
|
163 |
|
|
<font face="Arial">W</font></td>
|
164 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
165 |
|
|
<font face="Arial">max scanline</font></td>
|
166 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
167 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">maximum scan
|
168 |
|
|
line used to display chars</font></p>
|
169 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">default 7.</font></td>
|
170 |
|
|
</tr>
|
171 |
|
|
<tr>
|
172 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="53"><font face="Arial">5</font></td>
|
173 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="53"><font face="Arial">--------
|
174 |
|
|
hhhh wwww</font></td>
|
175 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="53">
|
176 |
|
|
<font face="Arial">W</font></td>
|
177 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="53">
|
178 |
|
|
<font face="Arial">pixel size</font></td>
|
179 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="53">
|
180 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">pixel size in
|
181 |
|
|
video clocks and scan lines</font></p>
|
182 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">default is 1
|
183 |
|
|
(2 video clocks per pixel) and 1 (two video scan lines per pixel).</font></td>
|
184 |
|
|
</tr>
|
185 |
|
|
<tr>
|
186 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="53">
|
187 |
|
|
<font face="Arial">7</font></td>
|
188 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="53">
|
189 |
|
|
<font face="Arial">-------n nnnnnnnn</font></td>
|
190 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="53">
|
191 |
|
|
<font face="Arial">W</font></td>
|
192 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="53">
|
193 |
|
|
<font face="Arial">Transparent Color</font></td>
|
194 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="53">
|
195 |
|
|
<font face="Arial">color value that corresponds to a transparent background
|
196 |
|
|
color</font></td>
|
197 |
|
|
</tr>
|
198 |
|
|
<tr>
|
199 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="243">
|
200 |
|
|
<font face="Arial">8</font></td>
|
201 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="243"><font face="Arial">
|
202 |
|
|
-------T TBB sssss</font></td>
|
203 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="243">
|
204 |
|
|
<font face="Arial">W</font></td>
|
205 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="243">
|
206 |
|
|
<font face="Arial">cursor start</font></td>
|
207 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="243">
|
208 |
|
|
<font face="Arial">sssss=scan line cursor display starts on</font><table border="1" cellpadding="0" cellspacing="0" width="100%" height="93" style="border-left: 1.5pt solid black; border-right: 1.5pt solid black; border-top: 1.5pt solid black; border-bottom: .75pt solid black; background-color: white" fpstyle="27,011111100">
|
209 |
|
|
<tr>
|
210 |
|
|
<td width="12%" height="17" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
211 |
|
|
TT</td>
|
212 |
|
|
<td width="88%" height="17" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
213 |
|
|
= Cursor Type</td>
|
214 |
|
|
</tr>
|
215 |
|
|
<tr>
|
216 |
|
|
<td width="12%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
217 |
|
|
00</td>
|
218 |
|
|
<td width="88%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
219 |
|
|
Box</td>
|
220 |
|
|
</tr>
|
221 |
|
|
<tr>
|
222 |
|
|
<td width="12%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
223 |
|
|
01</td>
|
224 |
|
|
<td width="88%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
225 |
|
|
Line</td>
|
226 |
|
|
</tr>
|
227 |
|
|
<tr>
|
228 |
|
|
<td width="12%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
229 |
|
|
10</td>
|
230 |
|
|
<td width="88%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
231 |
|
|
Underscore</td>
|
232 |
|
|
</tr>
|
233 |
|
|
<tr>
|
234 |
|
|
<td width="12%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
235 |
|
|
11</td>
|
236 |
|
|
<td width="88%" height="18" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
237 |
|
|
Asterisk</td>
|
238 |
|
|
</tr>
|
239 |
|
|
</table>
|
240 |
|
|
<table border="1" cellpadding="0" cellspacing="0" width="100%" style="border-left: 1.5pt solid black; border-right: 1.5pt solid black; border-top: 1.5pt solid black; border-bottom: .75pt solid black; background-color: white" fpstyle="27,011111100">
|
241 |
|
|
<tr>
|
242 |
|
|
<td width="11%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
243 |
|
|
BB</td>
|
244 |
|
|
<td width="89%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
245 |
|
|
= Cursor Blink Rate</td>
|
246 |
|
|
</tr>
|
247 |
|
|
<tr>
|
248 |
|
|
<td width="11%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
249 |
|
|
00</td>
|
250 |
|
|
<td width="89%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
251 |
|
|
no blink</td>
|
252 |
|
|
</tr>
|
253 |
|
|
<tr>
|
254 |
|
|
<td width="11%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
255 |
|
|
01</td>
|
256 |
|
|
<td width="89%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
257 |
|
|
no display</td>
|
258 |
|
|
</tr>
|
259 |
|
|
<tr>
|
260 |
|
|
<td width="11%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
261 |
|
|
10</td>
|
262 |
|
|
<td width="89%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
263 |
|
|
1/16 frame rate (4 times per second)</td>
|
264 |
|
|
</tr>
|
265 |
|
|
<tr>
|
266 |
|
|
<td width="11%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
267 |
|
|
11</td>
|
268 |
|
|
<td width="89%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
269 |
|
|
1/32 frame rate (2 times per second)</td>
|
270 |
|
|
</tr>
|
271 |
|
|
</table>
|
272 |
|
|
</td>
|
273 |
|
|
</tr>
|
274 |
|
|
<tr>
|
275 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
276 |
|
|
<p> </p>
|
277 |
|
|
<p>
|
278 |
|
|
<font face="Arial">9</font></td>
|
279 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17"><font face="Arial">--------
|
280 |
|
|
--- eeeee</font></td>
|
281 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17">
|
282 |
|
|
<font face="Arial">W</font></td>
|
283 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
284 |
|
|
<font face="Arial">cursor end</font></td>
|
285 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
286 |
|
|
<font face="Arial">scan line cursor display ends on</font></td>
|
287 |
|
|
</tr>
|
288 |
|
|
<tr>
|
289 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
290 |
|
|
<font face="Arial">10</font></td>
|
291 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="35">
|
292 |
|
|
<font face="Arial">aaaaaaaa aaaaaaaa</font></td>
|
293 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="35">
|
294 |
|
|
<font face="Arial">W</font></td>
|
295 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
296 |
|
|
<font face="Arial">display offset</font></td>
|
297 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="35">
|
298 |
|
|
<font face="Arial">starting address of the text screen in the display
|
299 |
|
|
memory, defaults to zero</font></td>
|
300 |
|
|
</tr>
|
301 |
|
|
<tr>
|
302 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
303 |
|
|
<font face="Arial">11</font></td>
|
304 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17">
|
305 |
|
|
<font face="Arial">aaaaaaaa aaaaaaaa</font></td>
|
306 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17">
|
307 |
|
|
<font face="Arial">W</font></td>
|
308 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
309 |
|
|
<font face="Arial">cursor position</font></td>
|
310 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
311 |
|
|
<font face="Arial">location of the cursor in the display memory</font></td>
|
312 |
|
|
</tr>
|
313 |
|
|
<tr>
|
314 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
315 |
|
|
<font face="Arial">12</font></td>
|
316 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17">
|
317 |
|
|
<font face="Arial">aaaaaaaa aaaaaaaa</font></td>
|
318 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17">
|
319 |
|
|
<font face="Arial">R</font></td>
|
320 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
321 |
|
|
<font face="Arial">light pen position</font></td>
|
322 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17">
|
323 |
|
|
<font face="Arial">address of the light pen</font></td>
|
324 |
|
|
</tr>
|
325 |
|
|
<tr>
|
326 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
327 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17"></td>
|
328 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17"></td>
|
329 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
330 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
331 |
|
|
</tr>
|
332 |
|
|
<tr>
|
333 |
|
|
<td width="11%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
334 |
|
|
<td width="20%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="right" height="17"></td>
|
335 |
|
|
<td width="9%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" align="center" height="17"></td>
|
336 |
|
|
<td width="19%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
337 |
|
|
<td width="151%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white" height="17"></td>
|
338 |
|
|
</tr>
|
339 |
|
|
</table>
|
340 |
26 |
robfinch |
<h2 style="margin-bottom: 0"><b>Graphics</b></h2>
|
341 |
|
|
<p style="margin-bottom: 0">The core may be used as a low resolution graphics
|
342 |
|
|
controller via the programmable character set. The characters can be programmed
|
343 |
|
|
for block graphics. For instance each character could be a two by two grid of
|
344 |
|
|
pixels. Sixteen different characters would be required to represent all the
|
345 |
|
|
different combinations. It is also possible to program characters to a three by
|
346 |
|
|
three grid of pixels using all 512 programmable characters to represent every
|
347 |
|
|
possible combination of on/off pixels. The default resolution is 84x31 or
|
348 |
|
|
(672x248 pixels). This would allow approximately a 224x82 graphics display.</p>
|
349 |
|
|
<p style="margin-bottom: 0">Graphics and text may be intermixed by allocating
|
350 |
|
|
part of the programmable character set for a graphic arrray. For instance using
|
351 |
|
|
256 programmable characters a 128x128 bitmapped display can be created.</p>
|
352 |
|
|
<h2 style="margin-bottom: 0"><b>Core Parameters</b></h2>
|
353 |
|
|
<table border="1" cellpadding="0" cellspacing="0" width="90%" style="border-left: 1.5pt solid black; border-right: 1.5pt solid black; border-top: 1.5pt solid black; border-bottom: .75pt solid black; background-color: white" fpstyle="27,011111100">
|
354 |
|
|
<tr>
|
355 |
|
|
<td width="8%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
356 |
|
|
Name</td>
|
357 |
|
|
<td width="13%" align="center" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
358 |
|
|
Default Value</td>
|
359 |
|
|
<td width="129%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray">
|
360 |
|
|
Description</td>
|
361 |
|
|
</tr>
|
362 |
|
|
<tr>
|
363 |
|
|
<td width="8%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
364 |
|
|
COLS</td>
|
365 |
|
|
<td width="13%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
366 |
|
|
84</td>
|
367 |
|
|
<td width="129%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
368 |
|
|
default number of columns of text</td>
|
369 |
|
|
</tr>
|
370 |
|
|
<tr>
|
371 |
|
|
<td width="8%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
372 |
|
|
ROWS</td>
|
373 |
|
|
<td width="13%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
374 |
|
|
31</td>
|
375 |
|
|
<td width="129%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
376 |
|
|
default number of rows of text</td>
|
377 |
|
|
</tr>
|
378 |
|
|
<tr>
|
379 |
|
|
<td width="8%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
380 |
|
|
pTextAddress</td>
|
381 |
|
|
<td width="13%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
382 |
|
|
$FFD00000</td>
|
383 |
|
|
<td width="129%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
384 |
|
|
address of the shared text memory as addressed by the processor</td>
|
385 |
|
|
</tr>
|
386 |
|
|
<tr>
|
387 |
|
|
<td width="8%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
388 |
|
|
pBitmapAddress</td>
|
389 |
|
|
<td width="13%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
390 |
|
|
$FFD20000</td>
|
391 |
|
|
<td width="129%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
392 |
|
|
address of the character bitmaps as addressed by the processor</td>
|
393 |
|
|
</tr>
|
394 |
|
|
<tr>
|
395 |
|
|
<td width="8%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
396 |
|
|
pRegAddress</td>
|
397 |
|
|
<td width="13%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
398 |
|
|
$FFDA0000</td>
|
399 |
|
|
<td width="129%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
400 |
|
|
address of the register set</td>
|
401 |
|
|
</tr>
|
402 |
|
|
<tr>
|
403 |
|
|
<td width="8%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
404 |
|
|
<td width="13%" align="center" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
405 |
|
|
<td width="129%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
406 |
|
|
</tr>
|
407 |
|
|
</table>
|
408 |
23 |
robfinch |
<h2 style="margin-bottom: 0"><b><span lang="en-ca">Module Interface Description</span></b></h2>
|
409 |
|
|
<p style="margin-bottom: 0"><span lang="en-ca"><font face="Arial" size="4">
|
410 |
|
|
rtfTextController</font></span></p>
|
411 |
|
|
<p style="margin-bottom: 0; margin-top:0"><font face="Arial">
|
412 |
|
|
<font color="#00FF00">module</font> <span lang="en-ca">rtfTextController</span>(rst_i,
|
413 |
|
|
clk_i, cyc_i, stb_i, ack<span lang="en-ca">_o</span>, w<span lang="en-ca">e_i</span>, adr<span lang="en-ca">_i</span>, d<span lang="en-ca">at_i</span>, d<span lang="en-ca">at_o,
|
414 |
|
|
vclk, hsync, vsync, blank, border, rgbIn, rgbOut</span>);<br>
|
415 |
|
|
<br>
|
416 |
|
|
</font></p>
|
417 |
|
|
<table border="1" cellspacing="3" width="90%" style="border-left:1.5pt solid black; border-right:1.5pt solid black; border-top:1.5pt solid black; border-bottom:.75pt solid black; background-color:white" fpstyle="27,011111100">
|
418 |
|
|
<tr>
|
419 |
|
|
<td width="12%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><span lang="en-ca"><b>
|
420 |
|
|
<font face="Arial" color="#000080">System</font></b></span></td>
|
421 |
|
|
<td width="91%" style="font-weight: bold; color: white; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: 1.5pt solid black; background-color: gray"><b><font face="Arial">Description</font></b></td>
|
422 |
|
|
</tr>
|
423 |
|
|
<tr>
|
424 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">rst_i</font></td>
|
425 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This signal is normally connected to the
|
426 |
|
|
system reset signal. It resets the <span lang="en-ca">text controller</span>
|
427 |
|
|
interface forcing it to the <span lang="en-ca">reset</span> state. </font>
|
428 |
|
|
</td>
|
429 |
|
|
</tr>
|
430 |
|
|
<tr>
|
431 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">clk_i</font></td>
|
432 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial"><span lang="en-ca">T</span>his is usually
|
433 |
|
|
connected to the system clock and is used as a base timing clock for I/O
|
434 |
|
|
operations.</font></td>
|
435 |
|
|
</tr>
|
436 |
|
|
<tr>
|
437 |
|
|
<td width="103%" colspan="2" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
438 |
|
|
<font color="#000080" face="Arial">
|
439 |
|
|
<span lang="en-ca">Slave Port</span></font></td>
|
440 |
|
|
</tr>
|
441 |
|
|
<tr>
|
442 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">cyc_i</font></td>
|
443 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">indicates that a valid bus cycle is
|
444 |
|
|
taking place. The core will not respond to the bus unless this signal is
|
445 |
|
|
active.</font></td>
|
446 |
|
|
</tr>
|
447 |
|
|
<tr>
|
448 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
449 |
|
|
<font face="Arial">stb_i</font></td>
|
450 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
451 |
|
|
<font face="Arial">This strobe signal also indicates that a valid bus cycle is
|
452 |
|
|
taking place</font></td>
|
453 |
|
|
</tr>
|
454 |
|
|
<tr>
|
455 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">ack_o</font></td>
|
456 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This signal indicates that the core has
|
457 |
|
|
processed the bus transaction (it is the logical and of cyc_i and stb_i).</font></td>
|
458 |
|
|
</tr>
|
459 |
|
|
<tr>
|
460 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">we_i</font></td>
|
461 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This signal is used to signify a write
|
462 |
|
|
operation to the text controller<span lang="en-ca">.</span></font></td>
|
463 |
|
|
</tr>
|
464 |
|
|
<tr>
|
465 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">adr<span lang="en-ca">_i</span></font></td>
|
466 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
467 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">This
|
468 |
|
|
<span lang="en-ca">thirty-two bit </span>address b<span lang="en-ca">us
|
469 |
|
|
is </span>used
|
470 |
|
|
to address one of <span lang="en-ca">text controller</span></font><span lang="en-ca"><font face="Arial">s'</font></span><font face="Arial"><span lang="en-ca">s</span> registers
|
471 |
|
|
or internal memory. (Registers are described
|
472 |
|
|
below). </font><span lang="en-ca">
|
473 |
|
|
<font face="Arial">Registers respond to the address range $FFDA_00xx</font></span></p>
|
474 |
|
|
</td>
|
475 |
|
|
</tr>
|
476 |
|
|
<tr>
|
477 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">dat_i</font></td>
|
478 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This is the <span lang="en-ca">sixteen</span>
|
479 |
|
|
bit data input bus to the <span lang="en-ca">text controller</span>.</font></td>
|
480 |
|
|
</tr>
|
481 |
|
|
<tr>
|
482 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">dat_o</font></td>
|
483 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This is the <span lang="en-ca">sixteen</span> bit data output bus
|
484 |
|
|
from the text controller.</font></td>
|
485 |
|
|
</tr>
|
486 |
|
|
<tr>
|
487 |
|
|
<td width="103%" colspan="2" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
488 |
|
|
<font face="Arial">
|
489 |
|
|
<span lang="en-ca"><font color="#000080">Video</font></span><font color="#000080"><span lang="en-ca">
|
490 |
|
|
Ports</span></font></font></td>
|
491 |
|
|
</tr>
|
492 |
|
|
<tr>
|
493 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
494 |
|
|
<font face="Arial">vclk</font></td>
|
495 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
496 |
|
|
<font face="Arial">This input is the video clock input. Pixel timing is derived from it.</font></td>
|
497 |
|
|
</tr>
|
498 |
|
|
<tr>
|
499 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
500 |
|
|
<font face="Arial">hsync</font></td>
|
501 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
502 |
|
|
<font face="Arial">Horizontal sync.
|
503 |
|
|
This input signal signals the start/end of a video scanline (end-of-line)</font></td>
|
504 |
|
|
</tr>
|
505 |
|
|
<tr>
|
506 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
507 |
|
|
<font face="Arial">vsync</font></td>
|
508 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">
|
509 |
|
|
Vertical sync. This <span lang="en-ca">input </span>signal indicates
|
510 |
|
|
<span lang="en-ca">the end of the video frame.</span></font></td>
|
511 |
|
|
</tr>
|
512 |
|
|
<tr>
|
513 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
514 |
|
|
<font face="Arial">blank</font></td>
|
515 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">This
|
516 |
|
|
input signal indicates that the display should be blanked. It is active
|
517 |
|
|
during the video blanking period.</font></td>
|
518 |
|
|
</tr>
|
519 |
|
|
<tr>
|
520 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
521 |
|
|
<font face="Arial">
|
522 |
|
|
<span lang="en-ca">border</span></font></td>
|
523 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
524 |
|
|
<font face="Arial">This input signal indicates that a border area is active.</font></td>
|
525 |
|
|
</tr>
|
526 |
|
|
<tr>
|
527 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
528 |
|
|
<font face="Arial">rgbIn</font></td>
|
529 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
530 |
|
|
<font face="Arial">This 24 bit input bus can be connected to an external RGB input. (The text
|
531 |
|
|
controller may display on top of the external input).</font></td>
|
532 |
|
|
</tr>
|
533 |
|
|
<tr>
|
534 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
535 |
|
|
<font face="Arial">rgbOut</font></td>
|
536 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
537 |
|
|
<font face="Arial">This output signal bus contains the 24 bit RGB display data.</font></td>
|
538 |
|
|
</tr>
|
539 |
|
|
<tr>
|
540 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><span lang="en-ca"><b>
|
541 |
|
|
<font face="Arial" color="#000080">Parameters</font></b></span></td>
|
542 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"> </td>
|
543 |
|
|
</tr>
|
544 |
|
|
<tr>
|
545 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
546 |
|
|
<font face="Arial">ROWS</font></td>
|
547 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white"><font face="Arial">Use this parameter to specify the
|
548 |
|
|
default number of text rows.</font></td>
|
549 |
|
|
</tr>
|
550 |
|
|
<tr>
|
551 |
|
|
<td width="12%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
552 |
|
|
<font face="Arial">COLS</font></td>
|
553 |
|
|
<td width="91%" style="font-weight: normal; color: black; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid black; background-color: white">
|
554 |
|
|
<font face="Arial">Use this parameter to specify the default number of text columns.</font></td>
|
555 |
|
|
</tr>
|
556 |
|
|
</table>
|
557 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </p>
|
558 |
|
|
<hr>
|
559 |
|
|
<p> </p>
|
560 |
|
|
|
561 |
|
|
<h1 style="margin-bottom: 0"><b><font size="4" face="Arial">WISHBONE Compatibility
|
562 |
|
|
Datasheet</font></b></h1>
|
563 |
|
|
<p style="margin-bottom: 0"><font face="Arial">The text controller core may be directly
|
564 |
|
|
interfaced to a WISHBONE compatible bus.</font></p>
|
565 |
|
|
<p style="margin-bottom: 0"> </p>
|
566 |
|
|
<table cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-left-style: solid; border-left-width: 1; border-right-style: solid; border-right-width: 1; border-top-style: double; border-top-width: 3; border-bottom-style: solid; border-bottom-width: 1" width="65%">
|
567 |
|
|
<tr>
|
568 |
|
|
<td width="100%" colspan="3" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
569 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WISHBONE
|
570 |
|
|
Datasheet</font></p>
|
571 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WISHBONE SoC
|
572 |
|
|
Architecture Specification, Revision B.3</font></td>
|
573 |
|
|
</tr>
|
574 |
|
|
<tr>
|
575 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
576 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </td>
|
577 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
578 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </td>
|
579 |
|
|
</tr>
|
580 |
|
|
<tr>
|
581 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
582 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Description:</font></td>
|
583 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
584 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">
|
585 |
|
|
Specifications:</font></td>
|
586 |
|
|
</tr>
|
587 |
|
|
<tr>
|
588 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
589 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">General
|
590 |
|
|
Description:</font></td>
|
591 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
592 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><span lang="en-ca">
|
593 |
|
|
rtfTextController - Text mode video display controller</span></td>
|
594 |
|
|
</tr>
|
595 |
|
|
<tr>
|
596 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
597 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Supported
|
598 |
|
|
Cycles:</font></td>
|
599 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
600 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">SLAVE, READ /
|
601 |
|
|
WRITE</font></p>
|
602 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">SLAVE, BLOCK
|
603 |
|
|
READ / WRITE</font></p>
|
604 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">SLAVE, RMW</font></td>
|
605 |
|
|
</tr>
|
606 |
|
|
<tr>
|
607 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
608 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data port,
|
609 |
|
|
size:</font></p>
|
610 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data port,
|
611 |
|
|
granularity:</font></p>
|
612 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data port,
|
613 |
|
|
maximum operand size:</font></p>
|
614 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data transfer
|
615 |
|
|
ordering:</font></p>
|
616 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Data transfer
|
617 |
|
|
sequencing</font></td>
|
618 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
619 |
|
|
<p style="margin-top: 0; margin-bottom: 0">32<font face="Arial">
|
620 |
|
|
bit</font></p>
|
621 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">32 bit</font></p>
|
622 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">
|
623 |
|
|
32 bit</font></p>
|
624 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Little Endian</font></p>
|
625 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">any
|
626 |
|
|
(undefined)</font></td>
|
627 |
|
|
</tr>
|
628 |
|
|
<tr>
|
629 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
630 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Clock
|
631 |
|
|
frequency constraints:</font></td>
|
632 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1"> </td>
|
633 |
|
|
</tr>
|
634 |
|
|
<tr>
|
635 |
|
|
<td width="45%" valign="top" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
636 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Supported
|
637 |
|
|
signal list and cross reference to equivalent WISHBONE signals</font></td>
|
638 |
|
|
<td width="25%" valign="top" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
639 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Signal Name:</font></p>
|
640 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">ack<span lang="en-ca">_o</span></font></p>
|
641 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">adr<span lang="en-ca">_i(31:0)</span></font></p>
|
642 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">clk<span lang="en-ca">_i</span></font></p>
|
643 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">d<span lang="en-ca">at_i</span>(31:0)</font></p>
|
644 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">d<span lang="en-ca">a</span>t<span lang="en-ca">_o</span>(31:0)</font></p>
|
645 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">cyc<span lang="en-ca">_i</span></font></p>
|
646 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><span lang="en-ca">stb_i</span></p>
|
647 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">w<span lang="en-ca">e_i</span></font></td>
|
648 |
|
|
<td width="30%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
649 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WISHBONE
|
650 |
|
|
Equiv.</font></p>
|
651 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">ACK_O</font></p>
|
652 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">ADR_I()</font></p>
|
653 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">CLK_I</font></p>
|
654 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">DAT_I()</font></p>
|
655 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">DAT_O()</font></p>
|
656 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">CYC_I</font></p>
|
657 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">STB_I</font></p>
|
658 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">WE_I</font></p>
|
659 |
|
|
<p style="margin-top: 0; margin-bottom: 0"> </td>
|
660 |
|
|
</tr>
|
661 |
|
|
<tr>
|
662 |
|
|
<td width="45%" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
663 |
|
|
<p style="margin-top: 0; margin-bottom: 0"><font face="Arial">Special
|
664 |
|
|
Requirements:</font></td>
|
665 |
|
|
<td width="55%" colspan="2" bordercolor="#000000" style="border-style: solid; border-width: 1">
|
666 |
|
|
<p style="margin-top: 0; margin-bottom: 0">external sync generator</td>
|
667 |
|
|
</tr>
|
668 |
|
|
</table>
|
669 |
|
|
|
670 |
|
|
<p style="margin-bottom: 0"> </p>
|
671 |
|
|
|
672 |
|
|
<p> </p>
|
673 |
|
|
|
674 |
|
|
</body>
|
675 |
|
|
|
676 |
|
|
</html>
|