JPS63223970A - Information processor - Google Patents

Information processor

Info

Publication number
JPS63223970A
JPS63223970A JP5662887A JP5662887A JPS63223970A JP S63223970 A JPS63223970 A JP S63223970A JP 5662887 A JP5662887 A JP 5662887A JP 5662887 A JP5662887 A JP 5662887A JP S63223970 A JPS63223970 A JP S63223970A
Authority
JP
Japan
Prior art keywords
data
address
read
write
word
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5662887A
Other languages
Japanese (ja)
Inventor
Yasuo Sakai
康夫 酒井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5662887A priority Critical patent/JPS63223970A/en
Publication of JPS63223970A publication Critical patent/JPS63223970A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute read-out and write processings of a display data shifted against a word boundary at high speed, by providing an even address graphic memory, an odd address graphic memory and a character generator, etc. CONSTITUTION:When a display data and a command are inputted to an input/ output control part 107 through a signal line 110, a CPU 100 starts its display operation. At the time of a display operation of a character pattern stored in a character generator CG 102, even when a pattern data which the CPU 100 write to a real byte address (n) is shifted from a word boundary, a write pattern data is written simultaneously to the real byte address (n) and (n) + 1. Also, even at the time of an operation for displaying a pattern on other position in an even or odd address graphic memory 105, 106, when it is shifted from the word boundary, a read pattern is read simultaneously from a real byte address (m) and (m) + 1. In such a way, write and read-out processings can be executed at high speed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は文字や図形等を表示するのに適した情報処理装
置に係り、特にワードプロセッサやパーソナルコンピュ
ータ等で用いられているCRTや液晶による表示あるい
はプ、リンクによって記録破に記録して表示する文字や
図形等の表示データを、グラフィックメモリ上で高速に
読出し書込みを行なうための読出し書込み制御に関する
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information processing device suitable for displaying characters, figures, etc., and particularly relates to a CRT or liquid crystal display used in word processors, personal computers, etc. Alternatively, the present invention relates to read/write control for rapidly reading and writing display data such as characters and figures to be recorded and displayed on a record on a graphic memory using links and links.

〔従来の技術〕[Conventional technology]

近年、日本語ワードプロセッサやパーソナルコンピュー
タ等では、CRTや液晶表示が面に文字や図形等を表示
するために、表示内容の自由度が大きい1表示画素の1
ドツトに1ビツトの記憶要素が対応するグラフィックメ
モリを用いたビットマツプ表示方式を採用した表示装置
が多く用いられるようになってきた。
In recent years, in Japanese word processors and personal computers, CRTs and liquid crystal displays display characters, figures, etc. on the surface, so the degree of freedom in display content is large.
Display devices that employ a bitmap display method using a graphic memory in which a 1-bit storage element corresponds to a dot have come into widespread use.

ビットマツプ表示方式の欠点は、1表示画面分の表示画
像を1ドツト対応でグラフィックメモリに書込まなけれ
ばならず1表示速度が遅いこと、そして表示内容を頻繁
に変更する場合はこの書込み処理を制御するプロセッサ
(以下CPUという)の負荷が増加して他の制御のため
の処理が遅れることである。
The disadvantage of the bitmap display method is that the display image for one display screen must be written to the graphics memory corresponding to one dot, which slows down the display speed, and if the display contents are to be changed frequently, this writing process must be controlled. This increases the load on the processor (hereinafter referred to as CPU), which delays processing for other controls.

このために、グラフィックメモリへの表示データの書込
み処理を高速化し、しかもこの処理のためのCPUの負
荷を低減する方法が提案されている。特開昭60−26
0989号公報に記載された表示方式は、書込み(更新
)データのグラフィックメモリへの書込みの際のビット
シフト処理や背景データとの合成処理のためのCPUの
負荷を軽減するものである。
To this end, methods have been proposed to speed up the process of writing display data to the graphic memory and to reduce the load on the CPU for this process. JP-A-60-26
The display method described in Japanese Patent No. 0989 is intended to reduce the load on the CPU for bit shift processing and compositing processing with background data when writing (update) data to a graphic memory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら上記従来の表示方式は、合成のための表示
データをグラフィックメモリから読みだすためや合成後
の表示データをグラフィックメモリへ書込むためのメモ
リアクセスについて考慮しておらず、ビットシフトによ
って語境界を越えたデータを更新対象とする場合には、
このデータのために複数個の書込み処理が必要であった
However, the conventional display methods described above do not take into account memory access for reading display data for compositing from graphic memory or writing display data after compositing to graphic memory, and do not consider word boundaries by bit shifting. If you want to update data that exceeds the
Multiple write operations were required for this data.

〔問題点を解決するための手段〕[Means for solving problems]

本発明はこの目的を達成するために、グラフィックメモ
リに独立して同時にアクセスできる奇数語アドレスの表
示データを格納する奇数アドレスメモリ部と、偶数語ア
ドレスの表示データを格納する偶数アドレスメモリ部と
を設け、読出し書込み手段に前記奇数アドレスメモリ部
からの読込みデータと前記偶数アドレスメモリ部からの
読込みデータを第1のデータシフト手段に与え、該第1
のデータシフト手段から出力されたデータから前記デー
タ転送手段に送出するデータを発生する読込みデータ発
生手段と、第2のデータシフト手段から出力された表示
データから前記奇数アドレスメモリ部への書込みデータ
と前記偶数アドレスメモリ部への書込みデータを発生す
る書込みデータ発生手段と、前記データ転送手段から与
えられた前記一方のメモリ部に対する語アドレスから該
メモリ部に対するアクセスアドレスと他方のメモリ部に
対するアクセスアドレスを発生するアクセスアドレス発
生手段とを設け、シフトによって語境界を越えたデータ
を他方のメモリ部から同時に読出し、またシフトによっ
て語境界を越えたデータを他方のメモリ部に書込むよう
に構成したことを特徴とする。
In order to achieve this object, the present invention includes an odd address memory section that stores display data of odd word addresses that can be accessed independently and simultaneously in a graphic memory, and an even address memory section that stores display data of even word addresses. providing read/write means with read data from the odd address memory section and read data from the even address memory section to a first data shift means;
read data generation means for generating data to be sent to the data transfer means from the data output from the second data shift means; and write data to the odd address memory section from the display data output from the second data shift means. write data generating means for generating write data to the even address memory section; and determining an access address for the memory section and an access address for the other memory section from the word address for the one memory section given from the data transfer means. The present invention is constructed such that the data exceeding the word boundary is simultaneously read from the other memory section by a shift, and the data exceeding the word boundary is written into the other memory section by the shift. Features.

〔作用〕[Effect]

読出し時に、データ転送手段から読出し位置を示す語ア
ドレスが与えられると、アクセスアドレス発生手段は、
前記語アドレスのメモリ部と該語アドレスに隣接する語
アドレスをもつ他のメモリ部の2つのメモリ部に対する
アクセスアドレスを発生する。読込みデータ発生手段は
、前記語アドレスのメモリ部と、該語アドレスに隣接す
る語アドレスをもつ他のメモリ部から、2つのメモリ部
に対応する読込みデータを同時に読出し、該読込みデー
タから語境界に跨るデータを得る。従って読出しデータ
が2つの語アドレスに跨っても1回の読出し処理でグラ
フィックメモリから読みだすことができる。
At the time of reading, when a word address indicating the read position is given from the data transfer means, the access address generation means
Access addresses are generated for two memory sections, a memory section having the word address and another memory section having a word address adjacent to the word address. The read data generation means simultaneously reads read data corresponding to the two memory parts from the memory part of the word address and another memory part having a word address adjacent to the word address, and reads data from the read data at a word boundary. Obtain straddling data. Therefore, even if read data spans two word addresses, it can be read from the graphic memory in one read process.

また、書込み時に、データ転送手段から書込み位置を示
す語アドレスと共に与えられた語単位の表示データがシ
フトされて語境界を越えると、書込みデータ発生手段は
、前記語アドレスのメモリ部に対する書込みデータと1
語境界を越えた表示データから該語アドレスに隣接する
語アドレスをもつ他のメモリ部に対する書込みデータを
発生し、アクセスアドレス発生手段は、前記2つのメモ
リ部に対するアクセスアドレスを発生する。これにより
前記2つの語アドレスの書込みデータが対応する2つの
メモリ部に同時に書込まれる。従って語単位で転送され
てくる表示データがシフト処理によって2つの語アドレ
スに跨っても1回の書込み処理でグラフィックメモリに
格納できる。
Further, during writing, if the word-by-word display data given from the data transfer means together with the word address indicating the write position is shifted and crosses a word boundary, the write data generation means generates the write data for the memory section at the word address. 1
Write data for another memory section having a word address adjacent to the word address is generated from the display data beyond the word boundary, and the access address generating means generates access addresses for the two memory sections. As a result, the write data of the two word addresses are simultaneously written to the two corresponding memory sections. Therefore, even if the display data transferred word by word spans two word addresses due to the shift process, it can be stored in the graphic memory in one write process.

以上の動作により、グラフィックメモリ上で2つの語ア
ドレスに跨る表示データを読出し、2つの語アドレスに
跨る位置に書込む転送処理が、1回の読出し処理と1回
の書込み処理で終了する。
With the above operations, the transfer process of reading display data spanning two word addresses on the graphic memory and writing it to a position spanning the two word addresses is completed with one read process and one write process.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

本発明になる表示装置は第2図のごとく1表示装置の制
御を行い1バイトを単位として周辺のメモリ等とデータ
の交換を行なうCPU100と、表示装置が動作するた
めのプログラムやデータを格納するプログラムメモリ1
01と、CRTモニター108に表示する第8図に示す
ごとき文字パターンデータを格納するキャラクタジェネ
レータ(以下CGという)102と、グラフィックメモ
リ105,106からCRTモニター108へ表示する
データを読みだすためのアドレスや同期信号を発生する
CRTコントローラ103と、CPU100がグラフィ
ックメモリ105,106の任意の位置にCRTモニタ
ー108へ表示するパターンデータを書込むときに該パ
ターンデータをシフト処理し、グラフィックメモリ10
5,106に対するアクセスアドレスを発生し、書込み
アドレスに書込んである旧パターンデータと論理処理し
て新パターンを発生し、該新パターンデータをグラフィ
ックメモリ105,106に書込む処理と、CRTモニ
ター108にパターンを表示するためにグラフィックメ
モリ105,106からデータを読出す処理とを行なう
周辺制御回路104と、CRTモニター108に表示す
るパターンデータを格納するグラフィックメモリ105
,106と、外部装置から信号線110を介して該表示
装置に送られてくる表示データや命令をCPU100に
受信せしめ、またCPU100からの応答を外部装置に
発信せしめるための入出力制御部107と、文字や図形
等のパターン等を表示するCRTモニター108と、前
記CPU100とプログラムメモリ101.C:G10
2.CRTコントローラ1o39周辺制御回路104お
よび入出力制御装置107とを接続する内部配線路(C
PUバス)109とを備えている。
As shown in FIG. 2, the display device according to the present invention includes a CPU 100 that controls one display device and exchanges data with peripheral memory in units of one byte, and stores programs and data for operating the display device. Program memory 1
01, a character generator (hereinafter referred to as CG) 102 that stores character pattern data as shown in FIG. When the CPU 100 writes pattern data to be displayed on the CRT monitor 108 to an arbitrary position in the graphic memories 105 and 106, the CPU 100 shifts the pattern data to be displayed on the CRT monitor 108.
5, 106, performs logical processing with the old pattern data written to the write address to generate a new pattern, and writes the new pattern data to the graphic memory 105, 106, and the CRT monitor 108. a peripheral control circuit 104 that performs a process of reading data from graphic memories 105 and 106 in order to display patterns on a CRT monitor 108; and a graphic memory 105 that stores pattern data to be displayed on a CRT monitor 108.
, 106, and an input/output control unit 107 for causing the CPU 100 to receive display data and commands sent from an external device to the display device via the signal line 110, and for transmitting a response from the CPU 100 to the external device. , a CRT monitor 108 for displaying patterns such as characters and figures, the CPU 100 and a program memory 101 . C:G10
2. An internal wiring path (C
PU bus) 109.

第1図は第2図における周辺制御回路104の内部構成
を示すものである。
FIG. 1 shows the internal configuration of peripheral control circuit 104 in FIG. 2. As shown in FIG.

第1図において、制御信号発生回路1はCPUアクセス
信号および動作クロック信号CLKにもとづいて該周辺
制御回路104内の制御データラッチ(A)6や制御デ
ータラッチ(B)16のいずれか1つにレジスタ選択信
号を送出し、制御データラッチ(A)6や制御データラ
ッチ(B)16のいずれか1つにCPU100からのデ
ータを書込ませ、あるいは背景データラッチ14やデー
タバッファ13に対してデータラッチ信号やデータ出力
信号を送出すると共にアドレスセレクタ(A)4.(B
)5に対してCPUアドレス選択信号を送出し、同時に
グラフィックメモリ105゜106に対する制御信号を
発生し、グラフィックメモリ105,106にCPU1
00からのデータを書込ませ、あるいは背景データラッ
チ14やデータバッファ15に対してデータラッチ信号
やデータ出力信号を送出すると共にアドレスセレクタ(
A)4.(B)5に対してCPUアドレス選択信号を送
出し、同時にグラフィックメモリ105゜106の対す
る制御信号を発生し、CPU100にグラフィックメモ
リ105,106からのデータを読込ませ、あるいはア
ドレスセレクタ(A)4゜(B)5に対してCRTアド
レス選択信号を送出し、同時にグラフィックメモリ10
5,106に対する制御信号と、シフト部17に対する
データラッチ信号を発生し、CRTモニター108で表
示すべき映像信号をシフト部17に書込むものである。
In FIG. 1, the control signal generation circuit 1 outputs one of the control data latch (A) 6 and the control data latch (B) 16 in the peripheral control circuit 104 based on the CPU access signal and the operation clock signal CLK. A register selection signal is sent to write data from the CPU 100 to either one of the control data latch (A) 6 or control data latch (B) 16, or data is written to the background data latch 14 or data buffer 13. Address selector (A) 4. Sends out latch signals and data output signals. (B
) 5, and at the same time generates a control signal for the graphic memories 105 and 106.
Write data starting from 00, or send a data latch signal or data output signal to the background data latch 14 or data buffer 15, and also send the data latch signal or data output signal to the address selector (
A)4. (B) Sends a CPU address selection signal to the address selector (A) 5, and simultaneously generates a control signal for the graphic memories 105 and 106 to cause the CPU 100 to read data from the graphic memories 105 and 106, or゜ (B) Sends a CRT address selection signal to 5, and at the same time sends a CRT address selection signal to graphic memory 10.
5, 106 and a data latch signal to the shift section 17, and write a video signal to be displayed on the CRT monitor 108 to the shift section 17.

グラフィックメモリ105,106に対するアクセスは
第3図に示すごとく1回の表示データ読出しアクセスで
読出したデータを映像信号としてCRTモニター108
に送出している時間を、次の表示データ読出し時間とC
PUアクセス時間の2つに時分割し、各々で独立したア
ドレスのグラフィックメモリに対してアクセスし、次の
表示データとCPUによるグラフィックメモリに対する
書込みあるいは読出しを行なうものである。
Access to the graphic memories 105 and 106 is performed in one display data read access as shown in FIG.
The time it takes to read out the next display data and C
The PU access time is divided into two parts, each accessing the graphics memory at an independent address, and the next display data and the CPU writing or reading from the graphics memory.

アドレス変換器2は、第4図に示すように横1024ド
ツト(128バイト)、縦1024ドツトに構成されて
いるグラフィックメモリ105゜106をCRTモニタ
ー108の表示の縦方向の大きさが512ドツトを超え
ない場合は、縦512ドツトの境界で領域0と領域1に
分割し、CRTモニター108に表示するデータを格納
する領域として用いる領域(0)を文字等の表示処理が
高速化可能なバイトアドレスが縦方向に順次増加する縦
型アドレス構成とし、またCPU100がプログラム実
行中に用いるデータの格納領域とじて用いる領域(1)
はバイトアドレスが横方向に順次増加する横型アドレス
構成とすることを可能とし、またCRTモニター108
の表示の縦方向の大きさが512ドツトを超えた場合は
、グラフィックメモリ105,106の全ての領域をC
RTモニター108に表示するデータを格納する領域と
して用い、文字等の表示データへ書込み処理が高速化可
能なようにバイトアドレスが縦方向に順次増加する縦型
アドレス構成とすることを可能とするもので、CPU1
00からのアドレス信号をグラフィックメモリ105,
106に与えるアドレス信号CAO〜CAl6に変換す
るものである。
As shown in FIG. 4, the address converter 2 converts the graphic memory 105° 106, which is configured into 1024 dots (128 bytes) horizontally and 1024 dots vertically, into a CRT monitor 108 whose display size in the vertical direction is 512 dots. If not, divide it into area 0 and area 1 at the border of 512 vertical dots, and set area (0) used as an area for storing data to be displayed on the CRT monitor 108 to a byte address that can speed up the display processing of characters, etc. The area (1) has a vertical address structure in which the addresses increase sequentially in the vertical direction, and is used as a storage area for data used by the CPU 100 during program execution.
This enables a horizontal address configuration in which byte addresses increase sequentially in the horizontal direction, and also allows the CRT monitor 108
If the vertical display size exceeds 512 dots, all areas of the graphic memories 105 and 106 are
It is used as an area for storing data to be displayed on the RT monitor 108, and enables a vertical address configuration in which byte addresses increase sequentially in the vertical direction so that writing processing to display data such as characters can be speeded up. So, CPU1
The address signal from 00 is sent to the graphic memory 105,
106 into address signals CAO to CAl6.

該アドレス変換器2は、第6図に示すようにCPU10
0からのアドレス信号0〜A16をアドレス変換後アド
レス(以下実バイトアドレスという)CAO−CA16
に変換するためにアドレスクロス(A)201とアドレ
スクロス(B)202およびデータセレクタ203によ
って構成されており、データセレクタ203には制御デ
ータラッチ(A)6(7)DC,VSO,VSIおよび
CPUアドレス信号のA16がコントロール信号として
入力されている。アドレスクロス(A)201とアドレ
スクロス(B)202は各々第5図に示すアドレス変換
対応表のうち縦アドレス(A)と縦アドレス(B)に対
応するようにCPU100からのアドレス信号AO−A
16を実バイトアドレスCAO〜CAl6に変換するも
のであり、この結果CPU100から見たグラフィック
メモリ105゜106のバイトアドレスは第7図のよう
に各々の変換モードによってグラフィックメモリ105
゜106の横方向に順次増加するように構成された実バ
イトアドレスから変換されるものである。進言すると、
CPU100から見たグラフィックメモリ105,10
6のアドレスが縦方向アドレスであり、CPU100が
それに対応するアドレスを発生したとしても、該アドレ
ス変換器2の出力である実バイトアドレスCAO〜CA
l6はグラフィックメモリ105,106の横方向に順
次増加するように構成されたアドレスとなっているもの
である。
The address converter 2 includes a CPU 10 as shown in FIG.
Address signal 0 to A16 from 0 is converted into address (hereinafter referred to as real byte address) CAO-CA16
It is composed of an address cross (A) 201, an address cross (B) 202, and a data selector 203, and the data selector 203 includes control data latches (A) 6 (7) DC, VSO, VSI, and CPU. Address signal A16 is input as a control signal. The address cross (A) 201 and the address cross (B) 202 are the address signals AO-A from the CPU 100 so as to correspond to the vertical address (A) and the vertical address (B) in the address conversion correspondence table shown in FIG.
16 into real byte addresses CAO to CAl6, and as a result, the byte addresses of the graphic memory 105 and 106 seen from the CPU 100 change depending on each conversion mode as shown in FIG.
It is converted from a real byte address configured to increase sequentially in the horizontal direction of .degree.106. When I advise you,
Graphic memory 105, 10 seen from CPU 100
Even if the address No. 6 is a vertical address and the CPU 100 generates the corresponding address, the real byte addresses CAO to CA output from the address converter 2
l6 is an address configured to increase sequentially in the horizontal direction of the graphic memories 105 and 106.

加算器3は前記実バイトアドレスのCAL〜CAl6と
CAOを加算するものであり、CPU100が送出した
グラフィックメモリ105゜106へのアドレス信号か
ら変換された実バイトアドレスが奇数となった場合に偶
数アドレスグラフィックメモリ105に対して該アドレ
スの増加方向に隣接するグラフィックメモリの偶数アド
レスを発生するものである。このとき奇数アドレスグラ
フィックメモリ106には前記実バイトアドレスのCA
L〜CAl6がそのまま印加される。
The adder 3 adds the real byte addresses CAL to CAl6 and CAO, and when the real byte address converted from the address signal sent from the CPU 100 to the graphic memory 105, 106 becomes an odd number, it becomes an even address. For the graphic memory 105, even-numbered addresses of adjacent graphic memories in the increasing direction of the address are generated. At this time, the CA of the real byte address is stored in the odd address graphic memory 106.
L to CAl6 are applied as they are.

実バイトアドレスが偶数の場合はCAOがOのため偶数
アドレスグラフィックメモリ105および奇数アドレス
グラフィックメモリ106には前記実バイトアドレスの
CAL〜CAl6がそのまま印加される。以上により、
前記実バイトアドレスが偶数の場合、該実バイトアドレ
スが指示する偶数アドレスメモリとアドレスの増加方向
に隣接する奇数アドレスメモリを一括して16ビツト選
択し、前記実バイトアドレスが奇数の場合、該実バイト
アドレスが指示する偶数アドレスメモリとアドレスの増
加方向に隣接する偶数アドレスメモリを一括して16ビ
ツト選択可能となる。
When the real byte address is an even number, CAO is O, so the real byte addresses CAL to CAl6 are applied as they are to the even address graphic memory 105 and the odd address graphic memory 106. Due to the above,
If the real byte address is an even number, 16 bits of the even address memory indicated by the real byte address and the adjacent odd address memory in the increasing direction of addresses are selected at once, and if the real byte address is an odd number, the real byte address is selected. It becomes possible to collectively select 16 bits of the even address memory indicated by the byte address and the even address memory adjacent in the direction of increasing address.

アドレスセレクタ(A)4および(B)5は各各偶数ア
ドレスグラフィックメモリ105および奇数アドレスグ
ラフィックメモリ106に印加するアドレス信号を生成
するものであり、前記制御信号発生回路1からの信号に
より前記CP U 100からの実アドレスあるいはC
RTコントローラ103からの表示データアドレスのい
ず九か一方を選択し、グラフィックメモリ105,10
6のロウアドレス、カラムアドレスに時分割して印加す
るものである。
Address selectors (A) 4 and (B) 5 are for generating address signals to be applied to each even address graphic memory 105 and odd address graphic memory 106, and the CPU Real address from 100 or C
Select one of the display data addresses from the RT controller 103 and store it in the graphic memory 105, 10.
The signal is applied to 6 row addresses and column addresses in a time-division manner.

CPUデータスルー信号発生器7はCPU100のアド
レス信号と制御データラッチ(A)6の各制御信号をも
とにCPU100がグラフィックメモリ105,106
の前記領域1に対してアクセスした場合に、後述するデ
ータシフト合成部のデータシフトおよび合成処理を強制
的にシフト量を0とし、合成は行なわすCPU100の
データをそのまま出力するモードにする信号を発生する
ものである。前記の強制的にシフト量をOとし、合成を
行なわずCPU100のデー・夕をそのまま出力するモ
ードは、制御データラッチ(B)16の各制御信号と前
記CPUデータスルー信号の論理和あるいは論理積をと
った信号を後述のシフト部(A)9.シフト部(B)1
0.シフト部(C)11と書込みデータ合成部12へ送
出する構成をとることにより設定可能となる。
The CPU data through signal generator 7 allows the CPU 100 to control the graphic memories 105 and 106 based on the address signal of the CPU 100 and each control signal of the control data latch (A) 6.
When accessing area 1 of It happens. The mode in which the shift amount is forcibly set to O and the data and data of the CPU 100 are output as they are without performing synthesis is the logical sum or logical product of each control signal of the control data latch (B) 16 and the CPU data through signal. The resulting signal is sent to the shift section (A) 9 described later. Shift part (B) 1
0. Setting is possible by adopting a configuration in which the data is sent to the shift section (C) 11 and the write data synthesis section 12.

制御データラッチ(B)16は、データシフト合成部の
データシフト量ないし合成方式を選択する制御値をラッ
チしておくデータラッチ群であり。
The control data latch (B) 16 is a data latch group that latches a control value for selecting the data shift amount or synthesis method of the data shift synthesis section.

FCは合成方式を指定するデータラッチであり、DNは
第10図に示すようにCPU100からグラフィックメ
モリ105,106へ書込むデータのグラフィックメモ
リ105,106の語境界からのシフト量を指示するデ
ータラッチであり、R8Nは第9図に示すようにCPU
100がグラフィックメモリ105,106かに読出す
データのグラフィックメモリ105,106の語境界か
らのシフト量を指示するデータラッチであり、WSNは
第13図に示すようにCPU100からグラフィックメ
モリ105,106へ書込むデータのデータ開始位置を
CPU100の語境界からシフト量として指示するデー
タラッチであり、WNは第12図に示すようにCPU1
00からグラフィックメモリ105,106へ書込むデ
ータのデータ幅をビット数で指示するデータラッチであ
る。
FC is a data latch that specifies the compositing method, and DN is a data latch that specifies the amount of shift of data to be written from the CPU 100 to the graphic memories 105, 106 from the word boundaries of the graphic memories 105, 106, as shown in FIG. , and R8N is the CPU as shown in FIG.
100 is a data latch that instructs the amount of shift of data to be read into the graphic memories 105, 106 from the word boundary of the graphic memories 105, 106, and WSN is a data latch that indicates the shift amount from the word boundary of the graphic memories 105, 106 to be read from the CPU 100 to the graphic memories 105, 106 as shown in FIG. This is a data latch that indicates the data start position of the data to be written as a shift amount from the word boundary of the CPU 100.
This is a data latch that indicates the data width of data to be written from 00 to the graphic memories 105 and 106 in the number of bits.

書込みドツト指示パターン発生器8は制御データラッチ
(B)16のWNの値にしたがって第12図に示すよう
にdOからd7に向かう1ビツトから8ビツトまでの1
のデータ列である書込みドツト指示パターンMDを発生
するものである。第12図において斜視部(IIII)
が1を示す。
The write dot instruction pattern generator 8 generates 1 bit from 1 bit to 8 bits from dO to d7 as shown in FIG. 12 according to the value of WN of the control data latch (B) 16.
A write dot designation pattern MD, which is a data string, is generated. In Fig. 12, perspective part (III)
indicates 1.

シフト指示パターンMDを発生するものである。It generates a shift instruction pattern MD.

笛部(A)9は、16ビツトのデータローテイタであり
制御データラッチ(B)16のDNの値とグラフィック
メモリ実バイトアドレスのCAOの値にしたがって第1
2図に示すように書込みドツト指示パターンMDをdo
からd15の方向に向かつてローティトしデータ書込み
位置指示パターンSMDを生成するものである。実バイ
トアドレスCAOがOの場合は第12図(a)のように
doからデータラッチDNの値だけシフトした位置にロ
ーティトし、実バイトアドレスCAOが1の場合は第1
2図(b)のようにd8からデータラッチDNの値だけ
シフトした位置にローティトするものである。
The flute section (A) 9 is a 16-bit data rotator, and the first rotator is rotated according to the DN value of the control data latch (B) 16 and the CAO value of the graphic memory real byte address.
Do the write dot instruction pattern MD as shown in Figure 2.
The data write position designation pattern SMD is generated by rotating in the direction from d15. If the real byte address CAO is 0, rotate to the position shifted by the value of the data latch DN from do as shown in FIG. 12(a), and if the real byte address CAO is 1, the first
As shown in FIG. 2(b), the rotation is made to a position shifted from d8 by the value of the data latch DN.

シフト部(B)10は、16ビツトのデータローテイタ
であり制御データラッチ(B)16のデータラッチDN
、WSHの値とグラフィックメモリ実バイトアドレスC
AOの値にしたがって第13図に示すように書込みデー
タWDをdOからd15の方向に向かってローティトし
書込みデータローティトパターンSWDを生成するもの
である。実バイトアドレスCAOがOの場合は第13図
(a)のようにdOからデータラッチDN(DN−WS
N)だけシフトした位置にローティトし、実バイトアド
レスCAOが1の場合は第13図(b)のようにd8か
らデータラッチDNの値からデータラッチWSHの値を
減算した値(DN−WSN)だけシフトした位置にロー
ティトするものである。これにより、書込みデータの開
始位置が前記データ書込み位置指示パターンSMDと一
致する。
The shift unit (B) 10 is a 16-bit data rotator and controls the data latch DN of the control data latch (B) 16.
, WSH value and graphic memory real byte address C
According to the value of AO, the write data WD is rotated in the direction from dO to d15 as shown in FIG. 13 to generate a write data rotation pattern SWD. When the real byte address CAO is O, data latch DN (DN-WS
If the real byte address CAO is 1, the value obtained by subtracting the value of data latch WSH from the value of data latch DN from d8 as shown in FIG. 13(b) (DN-WSN). It rotates to the shifted position. As a result, the start position of the write data matches the data write position instruction pattern SMD.

背景データラッチ14は制御信号発生回路1から送出さ
れる信号により、第3図に示すCPUアクセス時間でグ
ラフィックメモリ105,106より読出された16ビ
ツトの背景データRDをラッチするものである。
The background data latch 14 latches the 16-bit background data RD read out from the graphic memories 105 and 106 during the CPU access time shown in FIG. 3 in response to a signal sent from the control signal generation circuit 1.

書込みデータ合成部12は前記シフト部(A)9、シフ
ト部(B)10および背景データラッチ14の出力であ
るデータ書込み位置指示パターンSMD、書込みデータ
ローティトパターンSWD。
The write data synthesis section 12 generates a data write position instruction pattern SMD and a write data rotation pattern SWD which are outputs of the shift section (A) 9, shift section (B) 10, and background data latch 14.

背景データRDと制御データラッチ(B)16のデータ
ラッチFCの値にもとづいてSWDとRDをSMDが1
の部分について論理積や論理和や排他的論理和等の合成
(@E1部)を行ない、他の部分はRDをそのまま出力
する(IIコ部)処理を行ないグラフィックメモリ10
5,106に書込む書込みデータを生成し、出力するも
のである。
Based on the background data RD and the value of data latch FC of control data latch (B) 16, SMD sets SWD and RD to 1.
The graphic memory 10 performs synthesis such as logical product, logical sum, exclusive OR, etc. (@E part) for the part, and outputs the RD as it is (part II) for the other parts.
5, 106 and outputs it.

これにより、実バイトアドレスCAOが0の場合は第1
4図(a)のようにdOからデータラッチDNの値だけ
ローティトした位置にCPU100の書込みデータが位
置し、実バイトアドレスCAOが1の場合は第14図(
b)のようにd8からデータラッチDNの値だけローテ
ィトした位置にCPU100の書込みデータが位置する
ものである。
As a result, if the real byte address CAO is 0, the first
If the write data of the CPU 100 is located at a position rotated from dO by the value of the data latch DN as shown in Figure 4 (a), and the real byte address CAO is 1, then the data written in Figure 14 (
As shown in b), the write data of the CPU 100 is located at a position rotated from d8 by the value of the data latch DN.

シフト部(C)11は、16ビツトのデータローテイタ
であり制御データラッチ(B)16のデータラッチR3
Nの値とグラフィックメモリ実バイトアドレスのCAO
の値にしたがって第11図に示すようにグラフィックメ
モリ105,106より読出した背景データRDをd1
5からdOの方向に向かってローティトしCPUリード
データSRDを生成するものである。実バイトアドレス
CAOが0の場合は第14図(a)のようにd。
The shift section (C) 11 is a 16-bit data rotator and the data latch R3 of the control data latch (B) 16.
CAO of N value and graphic memory real byte address
The background data RD read from the graphic memories 105 and 106 as shown in FIG.
5 in the direction of dO to generate CPU read data SRD. If the real byte address CAO is 0, d as shown in FIG. 14(a).

に向けてデータラッチR5Nの値だけビットローティト
し、実バイトアドレスCAOが1の場合は第14図(b
)のようにdoに向けてデータラッチR8Nの値に8を
加えた値(R3N+8)だけビットローティトするもの
である。これにより、CPUリードデータSRD上で読
込みデータの開始位置がdOと一致する。
When the real byte address CAO is 1, bit rotation is performed by the value of data latch R5N toward
), the bit rotation is performed by the value (R3N+8) obtained by adding 8 to the value of data latch R8N toward do. As a result, the start position of the read data on the CPU read data SRD coincides with dO.

シフト部17は制御信号発生回路1から送出される信号
により、第3図に示す表示データ読出し時間でグラフィ
ックメモリ105,106より2回に分けて読出された
32ビツトの表示データをラッチし順次シフトしシリア
ルデータに変換して出1カするものである。
The shift section 17 latches and sequentially shifts the 32-bit display data read out twice from the graphic memories 105 and 106 during the display data readout time shown in FIG. 3 in response to a signal sent from the control signal generation circuit 1. It converts the data into serial data and outputs it.

なお、信号線に付した数字は線数を意味する。Note that the numbers attached to the signal lines mean the number of lines.

次に以上の構成を持つ表示装置の動作について説明する
Next, the operation of the display device having the above configuration will be explained.

入出力制御部107に外部装置から信号線110を介し
て表示データと表示コマンドが入力されると、CPU1
00はこれを検知して表示コマンドを解析し表示動作を
開始する。
When display data and display commands are input from an external device to the input/output control unit 107 via the signal line 110, the CPU 1
00 detects this, analyzes the display command, and starts the display operation.

CG 102に格納され、でいる文字パターンの表示動
作のときは、CG102に格納されている文字パターン
のアドレスと、表示すべきパターンデータを書込むグラ
フィックメモリ105,106の書込みアドレスと、シ
フト値DNと、合成指示値FCと、書込みデータ先頭位
置指示値WSNと、書込みデータ幅指示値WNを算出し
、次にシフト値DNと、合成指示値FCと、書込みデー
タ先頭位置指示値WSNと、書込みデータ幅指示値WN
をそれぞれ制御データラッチ(B)16内の該当するデ
ータランチに書込む。次にCG 102の該当アドレス
からグラフィックメモリ105,106に書込むべきパ
ターンデータを読出し、周辺制御回路104を経由して
グラフィックメモリ105゜106の該当するアドレス
へ書込む。このとき周辺制御回路104は、第3図のよ
うに時分割してグラフィックメモリ105,106にア
クセスしているCPUアクセス時間にグラフィックメモ
リ105.106に対して、次のように書込み動作を行
なう。
When displaying a character pattern stored in the CG 102, the address of the character pattern stored in the CG 102, the write address of the graphic memories 105 and 106 into which pattern data to be displayed are written, and the shift value DN are used. , the composite instruction value FC, the write data start position instruction value WSN, and the write data width instruction value WN are calculated, and then the shift value DN, the synthesis instruction value FC, the write data start position instruction value WSN, and the write Data width instruction value WN
are written to the corresponding data launches in the control data latch (B) 16, respectively. Next, pattern data to be written to the graphic memories 105 and 106 is read from the corresponding address of the CG 102 and written to the corresponding address of the graphic memories 105 and 106 via the peripheral control circuit 104. At this time, the peripheral control circuit 104 performs the following write operation on the graphic memories 105 and 106 during the CPU access time when the graphic memories 105 and 106 are accessed in a time-divided manner as shown in FIG.

■アドレス変換器2においてグラフィックメモリ105
.106への書込み実バイトアドレスnを生成する。
■Graphic memory 105 in address converter 2
.. A write real byte address n to 106 is generated.

■加算器3とアドレスセレクタ(A)4、アドレスセレ
クタ(B)5より、 (a)  nが偶数の場合は偶数アドレスグラフィック
メモリ105にnを、奇数アドレスグラフィックメモリ
106にはn+1を印加する。
(a) If n is an even number, n is applied to the even address graphic memory 105 and n+1 is applied to the odd address graphic memory 106 from the adder 3, the address selector (A) 4, and the address selector (B) 5.

(b) nが奇数の場合は偶数アドレスグラフィックメ
モリ105にn+2を、奇数アドレスグラフィックメモ
リ106にはn+1を印加する。
(b) If n is an odd number, apply n+2 to the even address graphic memory 105 and apply n+1 to the odd address graphic memory 106.

これにより、前記実バイトアドレスnが偶数の場合、該
実バイトアドレスnが指示する偶数アドレスグラフィッ
クメモリ105とアドレスの増加方向に隣接する偶数ア
ドレスグラフィックメモリ106を一括して16ビツト
選択し、前記実バイトアドレスnが奇数の場合、該実バ
イトアドレスが指示する奇数アドレスグラフィックメモ
リ106とアドレスの増加方向に隣接する偶数アドレス
グラフィックメモリ105を一括して16ビツト選択可
能する。
As a result, when the real byte address n is an even number, 16 bits of the even address graphic memory 105 indicated by the real byte address n and the even address graphic memory 106 adjacent in the increasing direction of addresses are selected at once, and the real byte address n is selected. When the byte address n is an odd number, the odd address graphic memory 106 indicated by the real byte address and the even address graphic memory 105 adjacent to each other in the increasing direction of addresses can be selected by 16 bits at once.

■グラフィックメモリ105,106に対してアクセス
信号RASとCASを送出し、上記■で選択したアドレ
スから背景データを読出し、背景データラッチ14にラ
ッチし、背景データRDを得る。
(2) Send access signals RAS and CAS to the graphic memories 105 and 106, read background data from the address selected in (2) above, and latch it in the background data latch 14 to obtain background data RD.

■■と同時に、書込みパターン発生器8.シフト部(A
)9.シフト部(、B)10.書込みデータ合成部12
により、第14図に示すごとく、(a) nが偶数の場
合はdoから始まる16ビツトにたいして、dOからD
Nビットシフトした位置に前記書込みパターンが位置す
るデータを生成する。
■■ At the same time, the write pattern generator 8. Shift part (A
)9. Shift part (,B)10. Write data synthesis section 12
As shown in Figure 14, (a) If n is an even number, for the 16 bits starting from do, from dO to D
Data in which the write pattern is located at a position shifted by N bits is generated.

(b) nが奇数の場合はd8から始まる16ビツトに
たいして、d8からDNビットシフトした位置に前記書
込みパターンが位置するデータを生成する。
(b) If n is an odd number, for 16 bits starting from d8, generate data in which the write pattern is located at a position shifted by DN bits from d8.

■■の背景データラッチ動作が終了すると、データバッ
ファ13を経由して、グラフィックメモリ105,10
6に■で生成した書込みデータを送出し、同時にグラフ
ィックメモリ105゜106にデータ書込み信号WEを
送出し、■で生成したデータを、書込む。
When the background data latch operation of
6, the write data generated in step (3) is sent, and at the same time, the data write signal WE is sent to the graphic memories 105 and 106, and the data generated in step (2) is written.

以上により第16図に示すように、CPU100が実バ
イトアドレスnに対して書込んだパターンデータが1語
境界に対してシフトしている場合でも、書込みパターン
データが実バイトアドレスnおよびn+1に対して同時
に書込まれる。これにより、従来第15図のように実バ
イトアドレスnとn+1に対して2回に分けて書込んで
いた動作が1回で済むようになり、書込み処理の高速化
が可能となり、書込み位置によらず同一速度が得られる
ようになる。
As a result of the above, as shown in FIG. 16, even if the pattern data written by the CPU 100 to real byte address n is shifted with respect to a one-word boundary, the written pattern data is are written at the same time. As a result, the conventional writing operation that was performed twice for real byte addresses n and n+1 as shown in Figure 15 can now be done in one time, making it possible to speed up the writing process and The same speed can be obtained regardless of the speed.

次に、グラフィックメモリ105,106内に格納され
ているパターンを他の位置へ表示する表示動作のときは
、グラフィックメモリ105゜106内に格納されてい
るパターンのアドレスと。
Next, when a display operation is performed to display a pattern stored in the graphic memories 105 and 106 at another location, the address of the pattern stored in the graphic memories 105 and 106 is used.

表示すべきパターンを書込むグラフィックメモリ105
.106の書込みアドレスと、シフミル値DNと、合成
指示値FCと、書込みデータ先頭位置指示値WSNと、
書込みデータ幅指示値WNと、読込みパターンデータの
有効開始位置指示値RSNを算出し、次にシフト値DN
と、合成指示値FCと、書込みデータ先頭位置指示値W
SNと、書込みデータ幅指示値WNと、有効開始位置指
示値R8Nをそれぞれ制御データラッチ(B)16内の
該当するデータラッチに書込む。次にグラフィックメモ
リ105,10.6の該当アドレスから周辺制御回路1
04を経由して移動表示するパターンを読出し、周辺制
御回路104を経由してグラフィックメモリ105,1
06の該当するアドレスへ書込む。このとき周辺制御回
路104は。
Graphic memory 105 in which patterns to be displayed are written
.. 106 write address, Schifmil value DN, composite instruction value FC, write data start position instruction value WSN,
The write data width instruction value WN and the valid start position instruction value RSN of the read pattern data are calculated, and then the shift value DN is calculated.
, composite instruction value FC, and write data start position instruction value W
SN, write data width instruction value WN, and valid start position instruction value R8N are respectively written into the corresponding data latches in the control data latch (B) 16. Next, from the corresponding address of the graphic memory 105, 10.6, the peripheral control circuit 1
The pattern to be moved and displayed is read out via the peripheral control circuit 104 and then transferred to the graphic memory 105, 1 via the peripheral control circuit 104.
Write to the corresponding address of 06. At this time, the peripheral control circuit 104.

第3図のように時分割してグラフィックメモリ105.
106にアクセスしているCPUアクセス時間にグラフ
ィックメモリ105,106に対して、次のように読出
し動作を行ない、前述の書込み動作によりパターンデー
タを書込む。
The graphic memory 105 is time-divided as shown in FIG.
During the CPU access time when accessing the graphic memories 106, the following read operation is performed on the graphic memories 105 and 106, and pattern data is written by the write operation described above.

■アドレス変換器2においてグラフィックメモリ105
.106への読込み実バイトアドレスmを生成する。
■Graphic memory 105 in address converter 2
.. A real byte address m to be read into 106 is generated.

■加算器3とアドレスセレクタ(A)4.アドレスセレ
クタ(B)5より、 (a) mが偶数のの場合は偶数アドレスグラフィック
メモリ105にmを、奇数アドレスグラフィックメモリ
106にはm+1を印加する。
■ Adder 3 and address selector (A) 4. From the address selector (B) 5, (a) If m is an even number, m is applied to the even address graphic memory 105 and m+1 is applied to the odd address graphic memory 106.

(b) mが奇数の場合は偶数アドレスグラフィックメ
モリ105にm+2を、奇数アドレスグラフィックメモ
リ106にはm+1を印加する。
(b) If m is an odd number, m+2 is applied to the even address graphic memory 105 and m+1 is applied to the odd address graphic memory 106.

これにより、前記実バイトアドレスmが偶数の場合、該
実バイトアドレスmが指示する偶数アドレスグラフィッ
クメモリ105とアドレスの増加方向に隣接する奇数ア
ドレスグラフィックメモリ106を一括して16ビツト
選択し、前記実バイトアドレスmが奇数の場合、該実バ
イトアドレスが指示する奇数アドレスグラフィックメモ
リ106とアドレスの増加方向に隣接する偶数アドレス
グラフィックメモリ105を一括して16ビツト選択可
能にする。
As a result, when the real byte address m is an even number, 16 bits of the even address graphic memory 105 indicated by the real byte address m and the adjacent odd address graphic memory 106 in the increasing direction of addresses are selected at once, and the real byte address m is When the byte address m is an odd number, the odd address graphic memory 106 indicated by the real byte address and the even address graphic memory 105 adjacent to each other in the increasing direction of addresses are collectively made 16-bit selectable.

■グラフィックメモリ105,106に対してアクセス
信号RASとCASを送出し、上記■で選択したアドレ
スからデータを読出し、背景データラッチ14にラッチ
し、背景データRDを得る。
(2) Send access signals RAS and CAS to the graphic memories 105 and 106, read data from the address selected in (2) above, and latch it in the background data latch 14 to obtain background data RD.

■シフト部(C)11により、第11図に示すごとく。(2) As shown in FIG. 11, by the shift section (C) 11.

(a) mが偶数の場合はdOから始まる16ビツトに
たいして、doからR8Nビットジフトした位置のパタ
ーンを8ビット読込みデータとして生成する。
(a) If m is an even number, for 16 bits starting from dO, a pattern at a position shifted by R8N bits from do is generated as 8-bit read data.

(b) mが奇数の場合はd8から始まる16ビツトに
たいして、d8からR3Nビットシフトした位置のパタ
ーンを8ビット読込みデータとして生成する。
(b) If m is an odd number, for 16 bits starting from d8, a pattern at a position shifted by R3N bits from d8 is generated as 8-bit read data.

■■で産成した読込みデータをデータバッファ15を介
してCPU100に送出する。
The read data generated in step 2 is sent to the CPU 100 via the data buffer 15.

以上により第9図および第11図に示すように、CPU
100が実バイトアドレスmから読込むパターンが、語
境界に対してシフトしている場合でも、読込みパターン
が実バイトアドレスmおよびm+1から同時に読込まれ
る。これにより、従来第15図のように実バイトアドレ
スmとm+1に対して2回の分けて読込む動作が1回で
済むようになり、読込み処理の高速化が可能となり、読
込み位置によらず同一速度が得られるようになる。
As shown in FIGS. 9 and 11, the CPU
Even if the pattern read by 100 from real byte address m is shifted with respect to a word boundary, the read pattern is read from real byte addresses m and m+1 simultaneously. As a result, the conventional two-time read operation for real byte addresses m and m+1 as shown in Figure 15 can now be done in one time, making it possible to speed up the read process and to You will get the same speed.

以上の読込み動作と、前述の書込み動作により表示画面
上での表示の移動や、グラフィックメモ1J105,1
06内に格納しであるパターンデータの表示処理の高速
化が可能となる。
The above read operation and the above write operation allow you to move the display on the display screen and to move the graphic memo 1J105, 1
It is possible to speed up display processing of pattern data stored in 06.

次にグラフィックメモリ105,106の一部をCPU
100のデータエリヤとして用いる時の動・作について
説明する。CPU100のデータエリヤとしてグラフィ
ックメモリ105,106を用いる場合、CPU100
のデータを語境界に対しシフト量を0にして、読出しや
書込み動作を行なわなくてはならない、この場合CPU
100は。
Next, some of the graphic memories 105 and 106 are transferred to the CPU.
The operation when used as a data area of 100 will be explained. When using the graphic memories 105 and 106 as the data area of the CPU 100, the CPU 100
The data must be read or written with a shift amount of 0 relative to the word boundary. In this case, the CPU
100 is.

制御データラッチ(A)6内の制御値DCを1、VSO
を1.DTOをO,VSIをO,DTIを1になるよう
制御データラッチ(A)6にデータを書込む。これによ
り、グラフィックメモリ105゜106はCPU100
からみて、第4図に示すように領域(0)と領域(1)
の2つの領域に分割される。領域(0)は縦方向にアド
レスが増加し、かつ前述のデータシフト合成処理を行な
う領域となり、領域(1)は横方向にアドレスが増加し
、かつ前述のデータシフト合成処理を行なわずデータが
スルーされる領域となる。CPU100が領域(1)に
対してアクセスすると、CPUデータスルー信号発生器
8がCPU100のアドレス信号AO−A16より、該
CPUアクセスが領域(1)に対するものであることを
検出し、制御データラッチ(B)16に対してCPUデ
ータスルー信号を送出する。制御データラッチ(B)1
6は、該データスルー信号により制御データラッチ(B
)16から出力している値FC:、DN、R8N。
Control value DC in control data latch (A) 6 is set to 1, VSO
1. Write data to the control data latch (A) 6 so that DTO becomes O, VSI becomes O, and DTI becomes 1. As a result, the graphic memory 105 and 106 are used by the CPU 100.
As shown in Figure 4, area (0) and area (1)
It is divided into two areas. Area (0) is an area where the addresses increase in the vertical direction and the data shift synthesis process described above is performed, and area (1) is an area where the addresses increase in the horizontal direction and data is transferred without performing the data shift synthesis process described above. This is an area that will be ignored. When the CPU 100 accesses area (1), the CPU data through signal generator 8 detects from the address signal AO-A16 of the CPU 100 that the CPU access is to area (1), and activates the control data latch ( B) Send a CPU data through signal to 16. Control data latch (B) 1
6 is a control data latch (B
)16 output value FC:, DN, R8N.

WSN、WNを強制的に各々シフト量をOとし、合成は
行なわずCPU100のデータをそのまま入出力する値
とし、出力する。これにより、領域(1)に対するCP
U100のアクセスは、そのデータに何の影響を受ける
ことがなくなるため、領域(1)をデータエリヤとして
使用可能となり、グラフィックメモリ105,106の
有効活用が可能となる。
Forcibly set the shift amount of each of WSN and WN to O, and set the data of the CPU 100 as a value to be input/output as it is without performing synthesis, and output it. As a result, CP for area (1)
Since the access by U100 is not affected by the data, area (1) can be used as a data area, and the graphic memories 105 and 106 can be used effectively.

〔発明の効果〕〔Effect of the invention〕

以上詳述してきたように本発明を用いると周辺制御回路
によって、グラフィックメモリから該グラフィックメモ
リのデータ処理単位である語の境界に跨るデータを読出
し、該データを該グラフィックメモリの語の境界に跨る
位置に書込む際でも、語境界と一致した揚器と同一速度
での処理が可能なようになり、読出し書込み処理を高速
化することができる。
As described in detail above, when the present invention is used, the peripheral control circuit reads data from the graphic memory that straddles a word boundary, which is a data processing unit of the graphic memory, and causes the data to straddle the word boundary of the graphic memory. Even when writing to a position, it becomes possible to perform processing at the same speed as a lifter that coincides with a word boundary, making it possible to speed up the reading and writing process.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明になる周辺制御回路のブロック図、第2
図は本発明になる表示装置のブロック図、第3図は周辺
制御回路がグラフィックメモリへアクセスする時の各々
の動作を説明するタイミング図、第4図はグラフィック
メモリの領域分割を説明するための説明図、第5図は本
発明になるアドレス変換器の動作を説明するためのアド
レス変換対応テーブルの説明図、第6図は本発明になる
アドレス変換器のブロック図、第7図は本発明になるア
ドレス変換器の変換動作によるアドレス変換説明図、第
8図は文字パターンの説明図、第9図はパターンの読出
し位置の説明図、第10図はパターンの書込み位置の説
明図、第11図はシフト部(C)の動作の説明図、第1
2図はシフト部(A)の動作の説明図、第13図はシフ
ト部(B)の動作の説明図、第14図は書込みデータ合
成部の動作の説明図、第15図は従来の方式によるデー
タの書込み読出し方式の説明図、第16図は本発明によ
るデータの書込み読出し方式の説明図である。 1・・・制御信号発生回路、2・・・アドレス変換器、
3・・・加算器、6・・・制御データラッチ(A)、7
・・・CPUデータスルー信号発生器、8・・・書込み
ドツト指示パターン発生器、9・・・シフト部(A)、
10・・・シフト部(B)、11・・・シフト部(C)
、12・・・書込みデータ合成部、14・・・背景デー
タラッチ、16・・・制御データラッチB、105・・
・偶数アドレスグラフィックメモリ、106・・・奇数
アドレスグラフィックメモリ。           
乙−声、□HJ:。 代理人 弁理士 小川勝馬 −」二3 葵 1 M 第 Z口 $4図 暦5図 第す図 橘10 1Jジ[)・CPUヤで1丁ト1ス(B)第8の 不q囚 阜10口 り盟ニ S尺○             10乎1z菌 拳14−巳 G1,6
Figure 1 is a block diagram of the peripheral control circuit according to the present invention, Figure 2 is a block diagram of the peripheral control circuit according to the present invention.
The figure is a block diagram of the display device according to the present invention, FIG. 3 is a timing diagram explaining each operation when the peripheral control circuit accesses the graphic memory, and FIG. 4 is a timing diagram explaining the area division of the graphic memory. 5 is an explanatory diagram of an address translation correspondence table for explaining the operation of the address converter according to the present invention, FIG. 6 is a block diagram of the address converter according to the present invention, and FIG. 7 is a diagram showing the address converter according to the present invention. 8 is an explanatory diagram of the character pattern, FIG. 9 is an explanatory diagram of the pattern read position, FIG. 10 is an explanatory diagram of the pattern write position, and 11th The figure is an explanatory diagram of the operation of the shift section (C), the first
FIG. 2 is an explanatory diagram of the operation of the shift section (A), FIG. 13 is an explanatory diagram of the operation of the shift section (B), FIG. 14 is an explanatory diagram of the operation of the write data synthesis section, and FIG. 15 is a conventional method. FIG. 16 is an explanatory diagram of a data writing/reading method according to the present invention. 1... Control signal generation circuit, 2... Address converter,
3... Adder, 6... Control data latch (A), 7
. . . CPU data through signal generator, 8 . . Write dot instruction pattern generator, 9 . . . Shift section (A).
10...Shift part (B), 11...Shift part (C)
, 12...Write data synthesis unit, 14...Background data latch, 16...Control data latch B, 105...
- Even number address graphic memory, 106... odd number address graphic memory.
Voice, □HJ:. Agent Patent Attorney Katsuma Ogawa - 23 Aoi 1M No. 10 kuchiri ni S shaku ○ 10 乎1z fungus fist 14-snake G1,6

Claims (1)

【特許請求の範囲】 1、語単位のデータおよび該データの転送位置を示す語
アドレスを発生するデータの転送手段と、語単位でアク
セスされる記憶部と、前記データ転送手段へのデータの
前記記憶部からの読出し位置を前記記憶部の語境界から
のビツト数で指示する第1指示手段と、前記記憶部から
前記データ転送手段へのデータ転送経路中に設けられ前
記記憶部からのデータを前記第1指示手段による読出し
位置情報にしたがつてシフトする第1データシフト手段
と、この第1データシフト手段から出力されたデータを
前記データ転送手段に送出する読出し手段と、前記デー
タ転送手段からのデータの前記記憶部への書込み位置を
前記記憶部の語境界からのビツト数で指示する第2指示
手段と、前記転送手段から前記記憶部へのデータ転送経
路中に設けられ前記転送手段からのデータを前記第2指
示手段による書込み位置情報にしたがつてシフトする第
2データシフト手段と、この第2データシフト手段から
出力されたデータを前記記憶部に書込む書込み手段と、
これらを制御する制御信号発生手段とを備えた制御装置
において、前記記憶部に独立して同時にアクセスできる
奇数語アドレスのデータを格納する奇数アドレスメモリ
部と、偶数語アドレスのデータを格納する偶数アドレス
メモリ部と、前記読出し手段に前記奇数アドレスメモリ
部からの読込みデータと前記偶数アドレスメモリ部から
の読込みデータを前記第1データシフト手段とに与え、
該第1データシフト手段から出力されたデータから前記
データ転送手段に送出するデータを発生する読込みデー
タ発生手段と、前記書込み手段に前記第2データシフト
手段から出力されたデータから前記奇数アドレスメモリ
部への書込みデータと前記偶数アドレスメモリ部への書
込みデータを発生する書込みデータ発生手段と、さらに
前記データ転送手段から与えられた前記一方のメモリ部
に対する語アドレスから該メモリ部に対するアクセスア
ドレスと他方のメモリ部に対するアクセスアドレスを発
生するアクセスアドレス発生手段とを設け、シフトによ
つて語境界を越えたデータを他方のメモリ部から同時に
読出すようにし、またシフトによつて語境界を越えたデ
ータを他方のメモリ部に書込むようにしたことを特徴と
する情報処理装置。 2、特許請求の範囲第1項において、前記第1および第
2データシフト手段は2語に相当するローテイトビツト
幅のデータローテイタを備えたことを特徴とする情報処
理装置。 3、特許請求の範囲第1項において、前記書込み手段は
、前記データシフト手段から出力されたデータと前記記
憶部から読出されたデータを入力して書込みデータを発
生するリードモデイフアイライト手段を備えたことを特
徴とする情報処理装置。
[Scope of Claims] 1. A data transfer means for generating word-by-word data and a word address indicating a transfer position of the data, a storage section accessed in word-by-word units, and a data transfer means for transferring data to the data transfer means. a first instruction means for instructing a reading position from the storage section by the number of bits from a word boundary of the storage section; a first data shift means for shifting according to read position information from the first instruction means; a read means for sending data output from the first data shift means to the data transfer means; a second instruction means for instructing the write position of the data in the storage section by the number of bits from a word boundary of the storage section; and a second instruction means provided in a data transfer path from the transfer means to the storage section, a second data shifting means for shifting the data according to the write position information by the second instruction means; a writing means for writing the data output from the second data shifting means into the storage section;
A control device comprising a control signal generating means for controlling these, an odd address memory section that stores data at odd word addresses that can be accessed independently and simultaneously in the storage section, and an even address memory section that stores data at even word addresses. a memory section, and providing read data from the odd address memory section and read data from the even address memory section to the read means, to the first data shift means;
read data generation means for generating data to be sent to the data transfer means from the data output from the first data shift means; and read data generation means for generating data to be sent to the data transfer means from the data output from the first data shift means; and the odd address memory unit from the data output from the second data shift means to the write means. write data generation means for generating write data to the even address memory section and write data to the even address memory section; access address generation means for generating an access address for a memory section is provided, and data that exceeds a word boundary is simultaneously read out from the other memory section by a shift, and data that exceeds a word boundary is read out simultaneously from another memory section by a shift. An information processing device characterized in that writing is performed in the other memory section. 2. The information processing apparatus according to claim 1, wherein the first and second data shifting means each include a data rotator having a rotation bit width corresponding to two words. 3. In claim 1, the writing means includes read modify write means for generating write data by inputting the data output from the data shifting means and the data read from the storage section. An information processing device comprising:
JP5662887A 1987-03-13 1987-03-13 Information processor Pending JPS63223970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5662887A JPS63223970A (en) 1987-03-13 1987-03-13 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5662887A JPS63223970A (en) 1987-03-13 1987-03-13 Information processor

Publications (1)

Publication Number Publication Date
JPS63223970A true JPS63223970A (en) 1988-09-19

Family

ID=13032567

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5662887A Pending JPS63223970A (en) 1987-03-13 1987-03-13 Information processor

Country Status (1)

Country Link
JP (1) JPS63223970A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6043742A (en) * 1983-08-19 1985-03-08 Toshiba Corp Reading circuit of variable length data
JPS60260989A (en) * 1984-06-08 1985-12-24 株式会社日立製作所 Pattern display system for desired position

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6043742A (en) * 1983-08-19 1985-03-08 Toshiba Corp Reading circuit of variable length data
JPS60260989A (en) * 1984-06-08 1985-12-24 株式会社日立製作所 Pattern display system for desired position

Similar Documents

Publication Publication Date Title
US4104624A (en) Microprocessor controlled CRT display system
US5990902A (en) Apparatus and method for prefetching texture data in a video controller of graphic accelerators
JPS61188582A (en) Multi-window writing controller
JPH077260B2 (en) Image data rotation processing apparatus and method thereof
JPS63223970A (en) Information processor
US5895502A (en) Data writing and reading method for a frame memory having a plurality of memory portions each having a plurality of banks
JPS6332390B2 (en)
JP2954589B2 (en) Information processing device
JPS63149690A (en) Information processor
JPS6330633B2 (en)
JPH0325684A (en) Picture drawing controller
JPS6311992A (en) Display unit
JPS63304293A (en) Display memory control circuit
JPS6324368A (en) Access circuit for image memory
JPS63217477A (en) Graphic memory controller for display device
JP2922519B2 (en) Video synthesizer
JPS60251431A (en) Memory display device
JPS62204389A (en) Clipping/shielding method by any polygons
JPH0350624A (en) Display controller
JPS63245716A (en) Multiwindow display device
JPS6155689A (en) Image memory writing/reading controller
JPS5971086A (en) Crt display
JPS5818652B2 (en) CRT display control device
JPS6213690B2 (en)
JPS61109094A (en) Cursor display unit