JPH0697392B2 - Image display device - Google Patents
Image display deviceInfo
- Publication number
- JPH0697392B2 JPH0697392B2 JP61044163A JP4416386A JPH0697392B2 JP H0697392 B2 JPH0697392 B2 JP H0697392B2 JP 61044163 A JP61044163 A JP 61044163A JP 4416386 A JP4416386 A JP 4416386A JP H0697392 B2 JPH0697392 B2 JP H0697392B2
- Authority
- JP
- Japan
- Prior art keywords
- dot data
- data
- dot
- cpu
- screen memory
- 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.)
- Expired - Lifetime
Links
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像表示装置に係り、特に表示器で表示する画
像のドツトに1ドツト対応の記憶要素をもつビツトマツ
プ式の画面メモリへのドツトデータの書込みに関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image display device, and more particularly, to a dot map type screen memory having a storage element corresponding to one dot for each image displayed on a display. About writing.
従来のこの種の画像表示装置において、画面メモリに記
憶させたドツトデータを部分的に変更する処理は、例え
ばキヤラクタジエネレータに記憶した文字パターンのド
ツトデータを画面メモリへ転送するとき、中央処理装置
(以下CPUという)が、 (1)既に画面メモリの該当部分に書込まれているドツ
トデータを読み出してCPUに取込む。In the conventional image display device of this type, the process of partially changing the dot data stored in the screen memory is performed by, for example, a central processing when transferring the dot data of the character pattern stored in the character generator to the screen memory. The device (hereinafter referred to as CPU) (1) reads out the dot data already written in the relevant part of the screen memory and takes it into the CPU.
(2)加えるべきドツトデータを表示ビツト位置へシフ
トする。(2) Shift the dot data to be added to the display bit position.
(3)CPUに取込んでおいた前記元のドツトデータから
マスク処理によつて非書換え部分を読み出し、前記シフ
ト後の加えるべきドツトデータからマスク処理によつて
書込みビツトのみを取出し、両者の論理和をとつて新し
い書込みドツトデータを作成する。(3) A non-rewritten portion is read from the original dot data stored in the CPU by a mask process, and only a write bit is extracted from the dot data to be added after the shift by a mask process. Create a new write dot data by taking the sum.
(4)新しい書込みドツトデータを画面メモリの前記該
当部分へ書込む。(4) Write new write dot data to the corresponding portion of the screen memory.
という処理ステツプをとつていた。しかし、元来CPUは
ビツト処理が遅く、特に複数ビツトのデータシフトは1
ビツトシフトのコマンドステツプを複数回繰返すことに
よつて処理するために処理ステツプ数が多くなる欠点が
ある。The processing step was called. However, the CPU is originally slow in bit processing, and especially the data shift of multiple bits is 1
There is a drawback that the number of processing steps increases because the processing is performed by repeating the command step of bit shift a plurality of times.
このような欠点を改善するために、特開昭59-90156号公
報に記載のように、シフトレジスタを用いてデータシフ
トを行うようにしたメモリ制御方式が提案されている。
しかしこの方式でもシフト動作は1クロツクで1ビツト
のシフトであるので、データを複数ビツトシフトするた
めには複数クロツク分の時間が必要であつた。In order to improve such a defect, a memory control system has been proposed in which data shift is performed by using a shift register, as described in JP-A-59-90156.
However, even in this method, since the shift operation is a shift of one bit with one clock, it takes time for a plurality of clocks to shift a plurality of bits of data.
一方、キヤラクタジエネレータに記憶されている文字パ
ターンが24×24ドツトのマトリツクス構成であり、CPU
の処理単位が16ビツトのワード単位である場合には、キ
ヤラクタジエネレータからのドツトデータの読み出し方
法は、右側16ビツトと左側8ビツトに分けて行い、左側
8ビツト分には8ビツトの無効データを加えてワードア
クセスを行うのが一般的である。On the other hand, the character pattern stored in the character generator has a 24 x 24 dot matrix structure,
When the processing unit of 16 bits is a word unit of 16 bits, the method of reading the dot data from the charactor generator is divided into 16 bits on the right side and 8 bits on the left side, and 8 bits on the left side are invalid. It is common to add data and perform word access.
このようなキヤラクタジエネレータのアクセス方法で文
字パターンのドツトデータを読み出し、前述したような
データシフト処理を施して画面メモリへ新しいドツトデ
ータを書込む方法では、表示文字を走査線方向に数ビツ
トシフトする場合には、キヤラクタジエネレータからの
ドツトデータの読み出しを多数回に分けて実行しなけれ
ばならず、表示速度が遅くなるという不都合がある。In this method of accessing the character generator, the dot data of the character pattern is read out, and the data shift processing described above is performed to write new dot data to the screen memory. In such a case, the reading of the dot data from the character generator has to be executed in a large number of times, which causes a problem that the display speed becomes slow.
従つて本発明の目的は、ドツトデータのシフト処理を更
に高速化し、しかもキヤラクタジエネレータからのドツ
トデータの読み出しを連続させることにより、表示速度
を更に高速化することにある。Therefore, an object of the present invention is to further increase the display speed by further increasing the speed of the dot data shift processing and by continuing the reading of the dot data from the character generator.
本発明はこの問題点を解決するために、キヤラクタジエ
ネレータには24×24のドツトマトリクスのドツトデータ
を走査線方向にバイト単位で3組に区分するとともに1
つの走査線方向の全ドットデータ毎に走査線の並び方向
に24の連続アドレスで並列に記憶するメモリを設け、画
面メモリは走査線の並び方向のアドレス順をもつように
構成し、更に前記キヤラクタジエネレータに記憶された
24×24ドツトのドツトデータを走査線方向の左側16ビツ
トまたは右側16ビツトの何れかを前記CPUからの指示に
従つて16ビツト1ワード単位で読み出すキヤラクタジエ
ネレータ読み出し制御回路と、CPU側から与えられる画
像のドツトデータをCPUから与えられたシフト量指令値
に従つたビツト量だけシフトするバレルシフタと、CPU
側から与えられるドツトデータの書込み範囲を制限する
マスクデータを発生するマスクコントローラと、画面メ
モリから読み出されたドツトデータとバレルシフタから
出力されたドツトデータをマスクデータに従つて合成し
て新しい書込みデータを作成するライトコントローラと
を設けたことを特徴とする。In order to solve this problem, the present invention divides the dot data of a 24 × 24 dot matrix into three sets in byte units in the scanning line direction in the charactor generator.
A memory for parallelly storing 24 continuous addresses in the arrangement direction of the scanning lines for all dot data in one scanning line direction is provided, and the screen memory is configured to have an address order in the arrangement direction of the scanning lines. Memorized by Rakuta generator
A charactor generator read control circuit for reading out 24 × 24 dot data in 16-bit one-word units from the CPU side according to the instruction from the CPU, either the left 16-bit or the right 16-bit in the scanning line direction. The barrel shifter that shifts the dot data of the given image by the bit amount according to the shift amount command value given by the CPU, and the CPU
The mask controller that generates the mask data that limits the write range of the dot data given from the side, and the new write data by combining the dot data read from the screen memory and the dot data output from the barrel shifter according to the mask data. And a light controller for creating.
CPUはキヤラクタジエネレータをアクセスするときにス
トリング命令で読み出しアドレス信号を出力し、メモリ
の左側16ビツトまたは右側16ビツトの何れかの組をドツ
トパターンにおける走査線の並び方向に順次アクセスし
て16ビツト単位でドツトデータを取込み、画面メモリへ
書込むべく該当部分はこのアドレス信号と共に出力す
る。バレルシフタはこのドツトデータをCPUからのシフ
ト量指令値に応じてビツト量だけ即座にシフトして出力
する。一方、ライトコントローラは前記アドレス信号に
よつて画面メモリから読み出されたドツトデータとバレ
ルシフタから出力されたドツトデータをマスクコントロ
ーラからのマスクデータに従つて合成して新しい書込み
データを作成し、該当部分へ書込む。このような処理
を、ストリング命令によつて読み出されるメモリの左側
16ビツトまたは右側16ビツトの何れか一方の側に24ワー
ド分順次に実行し、次に他の側に同様に実行すること
で、1文字分の画像パターン領域のドツトデータの書込
みを完了する。When accessing the charactor generator, the CPU outputs a read address signal with a string instruction, and sequentially accesses either the left 16-bit or right 16-bit group of the memory in the arrangement direction of the scan lines in the dot pattern. The dot data is fetched in bit units, and the corresponding portion is output together with this address signal so as to be written in the screen memory. The barrel shifter immediately shifts this dot data by the bit amount according to the shift amount command value from the CPU and outputs it. On the other hand, the write controller creates new write data by synthesizing the dot data read from the screen memory by the address signal and the dot data output from the barrel shifter according to the mask data from the mask controller. Write to. Such processing is performed on the left side of the memory read by the string instruction.
By sequentially executing 24 words for one side of 16 bits or 16 bits on the right side, and then for the other side in the same manner, writing of dot data in the image pattern area for one character is completed.
以下、本発明の実施例を図面に従つて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
第1図は本発明になる画像表示装置のブロツクダイヤグ
ラムを示している。11は表示機能部の制御を行なう中央
処理装置(以下CPUと呼ぶ)であり、例えばインテル社
の8086などが好適である。12は外部からの事象に応じ
て、CPU11に割込み信号を与えプログラムを分岐させる
割込コントローラである。13はCPU11が実行するプログ
ラムやデータ処理情報を記憶するプログラムメモリであ
る。14は表示する文字パターンをドツトマトリクスで記
憶しているキヤラクタジエネレータ(以下、CGと呼ぶ)
であり、一般にROMにより構成される。19はCG14からの
読出しデータの右側,左側を換えるCG読出し制御回路で
ある。15は表示機能部の上位にあるホストCPUからのコ
マンドを受取るためのインターフエイス回路である。16
は画面メモリ20の内容を順次読出すアドレス信号を作成
し、またCRTモニター24を制御する同期信号を発生する
グラフイツクデイスプレイコントローラ(以下GDCと呼
ぶ)である。17は画面メモリ20とその周辺の回路に対す
るタイミング信号を発生するコントロール回路である。
18は画面メモリ20に対するCPU11からの書込み信号と同
期してCPU11による描画処理を支援する画面メモリ制御
回路である。20はCRTモニター24の画面に表示するドツ
トマトリツクス画像を1ドツト対応で記憶する記憶素子
が画面に対応して存在するビツトマツプ方式の画面メモ
リであり、ダイナミツクRAMから構成される。21はGDC16
からの水平、垂直同期信号とシフトレジスタ23からの映
像信号との同期を取るための同期回路である。22は画面
メモリ20から読出した画像ドツトデータを一時的に蓄え
るラツチであり、23はラツチ22に蓄えられた画像ドツト
データを受取つてこれをパラレルシリアル変換するシフ
トレジスタであり、24は映像信号と同期信号を受けて画
面表示を行なうCRTモニターである。51-1,51-2はCPUバ
ス信号線aとGDC16や画面メモリ制御回路18との間に位
置し信号をバツフアリングするトランシーバ/レシーバ
である。52-1,52-2,52-3はマルチプレクサであつて、入
力信号線の内から一組の信号を選択して出力する。FIG. 1 shows a block diagram of an image display device according to the present invention. Reference numeral 11 denotes a central processing unit (hereinafter referred to as CPU) that controls the display function unit, and for example, Intel's 8086 or the like is suitable. Reference numeral 12 is an interrupt controller that gives an interrupt signal to the CPU 11 and branches the program in response to an external event. Reference numeral 13 is a program memory for storing programs executed by the CPU 11 and data processing information. Reference numeral 14 is a character generator (hereinafter referred to as CG) that stores a character pattern to be displayed in a dot matrix.
And is generally composed of a ROM. Reference numeral 19 is a CG read control circuit for changing the right side and the left side of the read data from the CG 14. Reference numeral 15 is an interface circuit for receiving a command from the host CPU located above the display function unit. 16
Is a graphic display controller (hereinafter referred to as GDC) which generates an address signal for sequentially reading the contents of the screen memory 20 and generates a synchronizing signal for controlling the CRT monitor 24. Reference numeral 17 is a control circuit that generates a timing signal for the screen memory 20 and its peripheral circuits.
Reference numeral 18 denotes a screen memory control circuit that supports drawing processing by the CPU 11 in synchronization with a write signal from the CPU 11 to the screen memory 20. Reference numeral 20 is a bit map type screen memory in which a storage element for storing one dot image of the dot tomato image displayed on the screen of the CRT monitor 24 exists corresponding to the screen, and is composed of a dynamic RAM. 21 is GDC 16
It is a synchronizing circuit for synchronizing the horizontal and vertical synchronizing signals from the and the video signal from the shift register 23. 22 is a latch for temporarily storing the image dot data read from the screen memory 20, 23 is a shift register for receiving the image dot data stored in the latch 22 and converting the image parallel data into parallel serial data, and 24 is a video signal and It is a CRT monitor that displays a screen in response to a synchronization signal. 51-1, 51-2 are transceivers / receivers located between the CPU bus signal line a and the GDC 16 or the screen memory control circuit 18 for buffering signals. 52-1, 52-2, 52-3 are multiplexers, which select and output a set of signals from the input signal lines.
本装置の構成要素として重要な機能を分担している画面
メモリ制御回路18についての詳細を第2図を参照して説
明する。Details of the screen memory control circuit 18, which has an important function as a component of the present apparatus, will be described with reference to FIG.
第2図において、18-1はデータラツチでCPU11からのデ
ータを保持する。18-2はバレルシフタでデータラツチ18
-1からのデータを指定されたビツト単位でシフトする。
18-3はライトコントローラで画面メモリ20への書込みデ
ータを生成する。18-4は操作レジスタでありライトコン
トローラ18-3に与えるべきビツト単位での画像ドツトデ
ータへの操作コマンドを保持する。18-5と18-6はビツト
レジスタでバレルシフタ18-2でのデータシフト量の指定
値を保持する。18-7はマスクレジスタで書込み操作する
ビツト幅指令値を保持する。18-8は演算器(以下ALUと
呼ぶ)であり、ビツトレジスタ18-5と18-6に保持された
ビツトシフト量に基づいてバレルシフタ18-2でシフトす
べきシフト量を計算する。18-9はマスクコントローラで
あり、マスクレジスタ18-7に保持されたビツト幅指令値
に従つてCPU11からの書込みデータの画面メモリ20への
書込みをマスクするマスクデータを出力する。18-10は
これらの動作タイミングを制御する制御回路である。In FIG. 2, 18-1 is a data latch for holding data from the CPU 11. 18-2 is a barrel shifter and data latch 18
Shifts the data from -1 in the specified bit units.
A write controller 18-3 generates write data to the screen memory 20. Reference numeral 18-4 is an operation register, which holds an operation command for image dot data in bit units to be given to the write controller 18-3. 18-5 and 18-6 are bit registers, which hold the designated value of the data shift amount in the barrel shifter 18-2. 18-7 holds the bit width command value for write operation with the mask register. Reference numeral 18-8 is an arithmetic unit (hereinafter referred to as ALU), which calculates the shift amount to be shifted by the barrel shifter 18-2 based on the bit shift amount held in the bit registers 18-5 and 18-6. Reference numeral 18-9 is a mask controller, which outputs mask data for masking the writing of the write data from the CPU 11 to the screen memory 20 in accordance with the bit width command value held in the mask register 18-7. Reference numeral 18-10 is a control circuit for controlling these operation timings.
次に、画面メモリ20のアクセスについて説明する。画面
メモリ20は、CPU11が書込みを行うときにあつてはリー
ドモデイフアイライトにより動作する。すなわち、CPU1
1からのドツトデータはデータラツチ18-1に一旦たくわ
えられ、バレルシフタ18-2により処理されてライトコン
トローラ18-3の一方の入力端子に入力される。画面メモ
リ20の指定されたアドレスの画像ドツトデータは読出さ
れてライトコントローラ18-3のもう一方の入力端子に与
えられる。上記2つの入力は操作レジスタ18-4に記憶さ
れた指示に基づいて、ビツト単位で論理演算され画面メ
モリ20の指定アドレスに書込まれることになる。Next, access to the screen memory 20 will be described. The screen memory 20 is operated by the read modifier eyelight when the CPU 11 writes. That is, CPU1
The dot data from 1 is temporarily stored in the data latch 18-1, processed by the barrel shifter 18-2, and input to one input terminal of the write controller 18-3. The image dot data of the designated address of the screen memory 20 is read and given to the other input terminal of the write controller 18-3. The above two inputs are logically operated bit by bit on the basis of the instruction stored in the operation register 18-4 and written to the designated address of the screen memory 20.
次に、画面メモリ20のアドレス構成について第3図を用
いて説明する。Next, the address configuration of the screen memory 20 will be described with reference to FIG.
映像信号は画像ドツトの直列な連らなりとしてラスタ単
位で構成されている。すなわち、画面のリフレツシユの
ためのGDC16による読出しは画面の始めから16ビツト単
位であり、MSBから順に直列変換され、LSBの次には次の
16ビツトのMSBが連らなつている。The video signal is formed in raster units as a series of image dots. That is, the reading by the GDC16 for the screen refresh is in 16-bit units from the beginning of the screen, serially converted in order from the MSB, and next to the LSB.
16-bit MSBs are connected.
ところで、CPU11が24×24ビツトの文字パターンを扱う
とき、ラスタスキヤン方向には3バイトの深さ、ラスタ
の並び順の方向に対しては24バイトの深さになる。CPU1
1として使うインテル社の8086は順アドレスの繰り返し
処理に対してストリング命令が用意されている。このス
トリング命令によれば、所定のレジスタに指定した源ア
ドレスから、データを行先アドレスへの指定されたワー
ドあるいはバイト数の転送が、最小の命令ステツプと最
短の処理時間で行われる。この処理方式において最大の
効果を得るには、一回の転送数を大きく取るのが有効で
ある。この点に着目すれば、CPU11から見た画面メモリ2
0のアドレスはラスタの並び順方向に並ぶべきである。When the CPU 11 handles a 24 × 24 bit character pattern, the depth is 3 bytes in the raster scan direction and 24 bytes in the raster arrangement direction. CPU1
The Intel 8086 used as 1 is provided with a string instruction for repeating sequential addresses. According to this string instruction, the transfer of data from the source address specified in the predetermined register to the destination address in the specified number of words or bytes is performed with the minimum instruction step and the minimum processing time. In order to obtain the maximum effect in this processing method, it is effective to take a large number of transfers at one time. Focusing on this point, the screen memory 2 seen from the CPU 11
Addresses of 0 should be aligned in the raster order.
上記の点をふまえて実現した画面メモリ20のアドレス構
成を示したものが第3図である。FIG. 3 shows the address configuration of the screen memory 20 realized based on the above points.
次に、CG14について説明する。本実施例では文字パター
ンのドツトデータが第4図に示すようにROMに記憶され
ている。すなわち、1つの文字を構成するパターンのド
ツトデータは走査線方向にバイト単位で3組に区分さ
れ、左側24バイト,中央24バイト,右側24バイトが縦方
向に連なつて3個のROMに分割して収納されている。Next, CG14 will be described. In this embodiment, the dot data of the character pattern is stored in the ROM as shown in FIG. That is, the dot data of the pattern that constitutes one character is divided into 3 sets in byte units in the scanning line direction, and the left 24 bytes, the center 24 bytes, and the right 24 bytes are vertically connected and divided into 3 ROMs. It has been stored.
第5図はこのように3個のROMに走査方向8ビツトずつ
分割されてパターンが記憶されているCG14より、CPU11
がワード単位でデータを読出す時の制御を行なうCG読出
し制御回路19の詳細な構成を示したものである。FIG. 5 shows the CPU11 from the CG14 in which the patterns are stored in the three ROMs by dividing them by 8 bits in the scanning direction.
2 shows a detailed configuration of the CG read control circuit 19 for controlling the data read in word units.
第5図において、CG14はデータバスが8ビツトからなる
3個のROM14-1〜14-3からなつている。19-1〜19-4はこ
のROM14-1〜14-3より読出されるドツトデータをCPUデー
タバスへ出力する時のバツフアリングを行なうトランシ
ーバである。ここでCPU11からCG14の左側ワードがアク
セスされた場合には、トランシーバ19-1および19-2が、
データセレクト回路19-5によりイネーブル状態となり、
文字パターンドツトマトリクスの左側16ビツトが出力さ
れる。同様に、右側ワードがアクセスされた場合には、
右側の16ビツトが出力される。In FIG. 5, CG14 has three ROMs 14-1 to 14-3 each having a data bus of 8 bits. Numerals 19-1 to 19-4 are transceivers which perform buffering when outputting the dot data read from the ROMs 14-1 to 14-3 to the CPU data bus. Here, when the left word of CG14 is accessed from CPU11, transceivers 19-1 and 19-2 are
It is enabled by the data select circuit 19-5,
The left 16 bits of the character pattern dot matrix are output. Similarly, if the right word is accessed,
The right 16 bits are output.
第5図のCG読出し制御回路19により、漢字「漢」の文字
パターンドツトマトリクスを読み出した時の、アドレス
とドツトデータの関係を明示したものが第6図である。
中央部の走査方向8ビツト分は左側ワードアクセスで
も、右側ワードアクセスでも重複して読み出すことが可
能である。FIG. 6 clearly shows the relationship between addresses and dot data when the character pattern dot matrix of the Chinese character “Kan” is read by the CG read control circuit 19 of FIG.
It is possible to read 8 bits in the scanning direction at the central portion in duplicate in either the left word access or the right word access.
なお、CG読出し制御回路19がない従来の場合の、読出し
アドレスとドツトデータの関係を示したものが第7図で
ある。文字パターンドツトマトリクス左側ワードをアク
セスした時には、16ビツト中の左側8ビツトは無効デー
タとして読出される。Note that FIG. 7 shows the relationship between the read address and the dot data in the conventional case where the CG read control circuit 19 is not provided. When the left word of the character pattern dot matrix is accessed, the left 8 bits of the 16 bits are read as invalid data.
次に、画面メモリ20への画像ドツトデータの書込みと、
画面メモリ20の内容をCRTモニター24で表示する動作に
ついて説明する。Next, write the image dot data to the screen memory 20, and
The operation of displaying the contents of the screen memory 20 on the CRT monitor 24 will be described.
画像はビツト単位で画面メモリ20に“1"(輝点)あるい
は“0"(暗点)のドツトデータを書込むことで表示され
る。文字はCG14より指定された文字パターンのドツトデ
ータを表示すべき画面メモリ20上のワードアドレスヘス
トリング命令を使つて書込むことにより画面に表示され
ることになる。The image is displayed by writing dot data of "1" (bright spot) or "0" (dark spot) to the screen memory 20 in bit units. The character is displayed on the screen by writing the dot data of the character pattern designated by the CG 14 to the word address on the screen memory 20 to be displayed using the string command.
CG14よりデータを読出した時の文字パターンドツトデー
タのビツト位置は第6図に示したようにワード単位で並
んでいる。従つて、例えば第8図に示すような「漢字」
という文字例をCRTモニター24へ表示する場合、画面メ
モリ20へのアクセス単位はワードであるため、2文字目
の「字」の左端ビツト位置が8ビツトずれて整合しない
状態が発生する。このとき、画面メモリ制御回路18をも
たない構成では、CG14から画面メモリ20への文字パター
ンドツトデータ転送処理において、1ワード転送する毎
にビツトシフト処理をせねばならない。すなわち、8086
系のCPU11においても、前述のワード転送に対して強力
であるストリング命令によるメモリ移動が利用できなか
つた。The bit positions of the character pattern dot data when the data is read from the CG14 are arranged in word units as shown in FIG. Therefore, for example, "Kanji" as shown in Fig. 8
In the case of displaying the character example on the CRT monitor 24, since the access unit to the screen memory 20 is a word, the left end bit position of the second character "character" is shifted by 8 bits, and a state of inconsistency occurs. At this time, in the structure without the screen memory control circuit 18, in the character pattern dot data transfer process from the CG 14 to the screen memory 20, the bit shift process must be performed every 1 word transfer. That is, 8086
Even in the CPU 11 of the system, the memory movement by the string instruction, which is strong against the above word transfer, cannot be used.
本実施例では、第2図に示す画面メモリ制御回路18を設
けたことによつて、バレルシフタ18-2がCPU11に代つて
ビツトシフト処理を行なう。また、バレルシフタ18-2で
はワードデータをローテートすることになるので、シフ
トして次のアドレスに書かれるべきデータについては、
マスクコントローラ18-9によつてビツト単位にマスクし
て書込みを禁止する。以上のような処理により、文字パ
ターン「字」は2回のワードストリング命令で表示する
ことが可能となつた。In the present embodiment, since the screen memory control circuit 18 shown in FIG. 2 is provided, the barrel shifter 18-2 performs bit shift processing in place of the CPU 11. In addition, since the barrel shifter 18-2 rotates the word data, the data to be shifted and written to the next address is
The mask controller 18-9 masks each bit to prohibit writing. By the above processing, the character pattern "character" can be displayed by two word string commands.
また、第8図に示された1文字目「漢」の文字パターン
を表示する場合においては、CG14よりの読出しデータが
従来の第7図に示すような左側8ビツト、右側16ビツト
に分割して読出される場合は、画面メモリ20へ文字を展
開するのに、前記画面メモリ制御回路18を用いたとして
も、第8図下部に示すようにA、B、Cの領域と3回に
分けてワード書込み処理をしなければならなかつた。し
かしながら、本実施例における第5図に示すCG読出し制
御回路19を用い、第6図に示したようなCG読出し形態を
とれば、第8図下部に示すように、「漢」の文字パター
ンドツトデータは、D,Eの2領域に分けて2回ワード書
込み処理で表示することが可能である。Further, when displaying the character pattern of the first character "Kan" shown in FIG. 8, the read data from the CG14 is divided into 8 bits on the left side and 16 bits on the right side as shown in FIG. If the screen memory control circuit 18 is used to develop the characters in the screen memory 20, the characters are divided into three areas A, B and C as shown in the lower part of FIG. I had to do the word writing process. However, if the CG read control circuit 19 shown in FIG. 5 in this embodiment is used and the CG read mode as shown in FIG. 6 is adopted, as shown in the lower part of FIG. The data can be divided into two areas, D and E, and can be displayed by word writing processing twice.
このように、本実施例の画面メモリ制御回路18とCG読出
し制御回路19を組合せることにより、文字パターンのド
ツトデータを従来に比し高速に表示できることは明らか
である。As described above, by combining the screen memory control circuit 18 and the CG read control circuit 19 of this embodiment, it is obvious that the dot data of the character pattern can be displayed at a higher speed than in the conventional case.
また、上記した実施例にあつてはCPU11として8086を用
いストリング命令による効果を例示したが、同様な効果
はメモリ間でのDMA転送でも発揮できる。従つて、8086
以外のCPUによつても実現できるものである。Further, in the above-described embodiment, the effect of the string instruction is illustrated using the 8086 as the CPU 11, but the same effect can be exerted in the DMA transfer between the memories. Therefore, 8086
It can be realized by CPUs other than the above.
本発明によれば、文字パターンのドツトデータをキヤラ
クタジエネレータより読込んで画面メモリの任意の位置
へ書込み表示画面上の任意の位置に表示せしめる処理
を、専用回路で補うことにより、CPUを高速で融通性に
富んだ状態で利用できる。また、文字パターンの表示の
みならず、図形を描画するときもビツト単位でのメモリ
への書込みが高速になる。According to the present invention, by supplementing the processing for reading the dot data of the character pattern from the character generator and writing it to any position of the screen memory and displaying it at any position on the display screen, the CPU speeds up. It can be used in a versatile state. Further, not only the display of the character pattern but also the writing of the figure into the memory in bit units becomes faster when drawing the figure.
以上のことはCPUを用いた表示装置において表示処理時
間を短縮できることになり、操作性の改良となる。As described above, the display processing time can be shortened in the display device using the CPU, and the operability is improved.
第1図は本発明になる表示装置の回路のブロツクダイヤ
グラム、第2図は画面メモリ制御回路の詳細を示すブロ
ツクダイヤグラム、第3図は本発明になる画面メモリの
アドレス構成を示す説明図、第4図はキヤラクタジエネ
レータへの文字パターンドツトデータの収容を示す説明
図、第5図はキヤラクタジエネレータ読出し制御回路の
詳細を示すブロツクダイヤグラム、第6図は本発明にな
る文字パターンドツトデータを読出した時のアドレスと
データの関係を示す説明図、第7図は従来の場合の文字
パターンドツトデータを読出した時のアドレスとデータ
の関係を示す説明図、第8図は本発明になる文字表示処
理を説明する画面メモリのデータを示す説明図である。 11……CPU、14……キヤラクタジエネレータ、18……画
面メモリ制御回路、18-2……バレルシフタ、18-3……ラ
イトコントローラ、18……マスクコントローラ、19……
CG読出し制御回路、20……画面メモリ、24……CRTモニ
ター。1 is a block diagram of a circuit of a display device according to the present invention, FIG. 2 is a block diagram showing details of a screen memory control circuit, and FIG. 3 is an explanatory diagram showing an address configuration of a screen memory according to the present invention. FIG. 4 is an explanatory view showing the accommodation of character pattern dot data in the character generator, FIG. 5 is a block diagram showing the details of the character generator read control circuit, and FIG. 6 is the character pattern dot data according to the present invention. FIG. 7 is an explanatory view showing the relationship between the address and the data when the data is read, FIG. 7 is an explanatory view showing the relationship between the address and the data when the character pattern dot data in the conventional case is read, and FIG. 8 is the present invention. It is explanatory drawing which shows the data of the screen memory explaining a character display process. 11 …… CPU, 14 …… Character generator, 18 …… Screen memory control circuit, 18-2 …… Barrel shifter, 18-3 …… Light controller, 18 …… Mask controller, 19 ……
CG readout control circuit, 20 …… screen memory, 24 …… CRT monitor.
Claims (1)
パターンのドットデータを記憶するキャラクタジェネレ
ータと、画像をドットマトリクスで表示する表示器と、
この表示器で表示する画像のドットに1ドット対応の記
憶要素をもつビットマップ式の画面メモリと、前記キャ
ラクタジェネレータから文字パターンのドットデータを
読み出し、これを前記画面メモリに記憶させる制御を実
行するCPUと、前記画面メモリに記憶されたドットデー
タを読み出して前記表示器に与える表示器制御回路とを
備えた画像表示装置において、前記キャラクタジェネレ
ータは24×24のドットデータを走査線方向にバイト単位
で3組に区分するとともに1つの走査線方向の全ドット
データ毎に走査線の並び方向に24の連続アドレスで並列
に記憶するメモリを有し、前記画面メモリは走査線の並
び方向のアドレス順をもつように構成され、更に前記キ
ャラクタジェネレータに記憶された24×24ドットのドッ
トデータを走査線方向の左側16ビットまたは右側16ビッ
トの何れかを前記CPUからの指示に従って16ビット単位
で読み出すキャラクタジェネレータ読み出し制御回路
と、CPU側から与えられる画像のドットデータをCPUから
与えられたシフト量指令値に従ったビット量だけシフト
するバレルシフタと、CPU側から与えられるドットデー
タの書込み範囲を制限するマスクデータを発生するマス
クコントローラと、画面メモリから読み出されたドット
データとバレルシフタから出力されたドットデータをマ
スクデータに従って合成して新しい書込みドットデータ
を作成するライトコントローラとを設けたことを特徴と
する画像表示装置。1. A character generator for storing dot data of a character pattern composed of a 24 × 24 dot matrix, and a display for displaying an image in a dot matrix.
A control is executed to read out dot data of a character pattern from a bitmap type screen memory having a storage element corresponding to one dot to a dot of an image displayed on this display and the character generator, and store this in the screen memory. In an image display device comprising a CPU and a display control circuit for reading the dot data stored in the screen memory and giving it to the display, the character generator outputs 24 × 24 dot data in byte units in the scanning line direction. And a memory for storing all the dot data in one scanning line direction in parallel with 24 consecutive addresses in the scanning line arrangement direction, and the screen memory has an address order in the scanning line arrangement direction. And the dot data of 24 × 24 dots stored in the character generator in the scanning line direction. A character generator read control circuit that reads either 16 bits on the side or 16 bits on the right side in 16-bit units according to the instruction from the CPU, and the dot data of the image given from the CPU according to the shift amount command value given from the CPU. Barrel shifter that shifts only the amount of bits, a mask controller that generates mask data that limits the writing range of the dot data given from the CPU side, the dot data read from the screen memory and the dot data output from the barrel shifter are masked An image display device, comprising: a light controller for synthesizing according to data to create new writing dot data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61044163A JPH0697392B2 (en) | 1986-03-03 | 1986-03-03 | Image display device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61044163A JPH0697392B2 (en) | 1986-03-03 | 1986-03-03 | Image display device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62203193A JPS62203193A (en) | 1987-09-07 |
| JPH0697392B2 true JPH0697392B2 (en) | 1994-11-30 |
Family
ID=12683928
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61044163A Expired - Lifetime JPH0697392B2 (en) | 1986-03-03 | 1986-03-03 | Image display device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0697392B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60260989A (en) * | 1984-06-08 | 1985-12-24 | 株式会社日立製作所 | Pattern display system for desired position |
-
1986
- 1986-03-03 JP JP61044163A patent/JPH0697392B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62203193A (en) | 1987-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0197412B1 (en) | Variable access frame buffer memory | |
| JPS61159686A (en) | Image display unit | |
| US4103331A (en) | Data processing display system | |
| US5251298A (en) | Method and apparatus for auxiliary pixel color management using monomap addresses which map to color pixel addresses | |
| JPH077260B2 (en) | Image data rotation processing apparatus and method thereof | |
| JPH0355832B2 (en) | ||
| JPH0715706B2 (en) | Memory controller | |
| JPH02310586A (en) | Display controller | |
| US5486844A (en) | Method and apparatus for superimposing displayed images | |
| JPS6332390B2 (en) | ||
| JPH04291684A (en) | Thick line plotter | |
| JPS6330633B2 (en) | ||
| JPH04230546A (en) | Video random access memory | |
| JPH0697392B2 (en) | Image display device | |
| JPH0325684A (en) | Picture drawing controller | |
| JP2810609B2 (en) | Graphic display method and apparatus | |
| JP2954589B2 (en) | Information processing device | |
| JPS63304293A (en) | Display memory control circuit | |
| JP2504413B2 (en) | Display controller | |
| JPS61296385A (en) | Memory | |
| JP2602379B2 (en) | Method and apparatus for writing to bitmap memory in image processing apparatus | |
| JPH0863595A (en) | Image rotation processing method and apparatus thereof | |
| JP2901631B2 (en) | Image processing device | |
| JPS63214887A (en) | display device | |
| JPS63217477A (en) | Graphic memory control device for display devices |