JPS62203193A - Image display unit - Google Patents

Image display unit

Info

Publication number
JPS62203193A
JPS62203193A JP61044163A JP4416386A JPS62203193A JP S62203193 A JPS62203193 A JP S62203193A JP 61044163 A JP61044163 A JP 61044163A JP 4416386 A JP4416386 A JP 4416386A JP S62203193 A JPS62203193 A JP S62203193A
Authority
JP
Japan
Prior art keywords
data
dot
dot data
cpu
bits
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.)
Granted
Application number
JP61044163A
Other languages
Japanese (ja)
Other versions
JPH0697392B2 (en
Inventor
長岡 正伸
信輝 浅井
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 JP61044163A priority Critical patent/JPH0697392B2/en
Publication of JPS62203193A publication Critical patent/JPS62203193A/en
Publication of JPH0697392B2 publication Critical patent/JPH0697392B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像表示装置fK係り、荷に表示器で表示する
画像のドツトに1ドツト対応の記憶要素をもつビットマ
ツプ式の画面メモリへのドツトデータの書込みに関する
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an image display device fK, which is a dot map type screen memory having a storage element corresponding to one dot for each dot of an image displayed on a display on a load. Regarding writing data.

〔従来の技術〕[Conventional technology]

従来のこの種の画像表示装置において、画面メモリに記
憶させたドツトデータを部分的に変更する処理は、例え
ばキャラクタジェネレータに記憶した文字パターンのド
ツトデータを画面メモリへ転送するとき、中央処理装f
(以下CPUという)が、 (1)  既に画面メモリの該当部分に4込まれている
ドツトデータを読み出してCPUK取込む。
In a conventional image display device of this kind, the process of partially changing the dot data stored in the screen memory is carried out by the central processing unit f, for example, when transferring the dot data of a character pattern stored in the character generator to the screen memory.
(hereinafter referred to as the CPU): (1) Reads the dot data already stored in the corresponding part of the screen memory and imports it into the CPUK.

(2)  加えるべきドツトデータを表示ビット位置ヘ
シフトする。
(2) Shift the dot data to be added to the display bit position.

(31CPUに取込んでおいた前記光のドツトデータか
らマスク処理によって非書換え部分を読み出し、前記シ
フト後の加えるべきドツトデータからマスク処理によっ
て書込みビットのみを取出し、両者の論理和をとって新
しい書込みドツトデータを作成する。
(31) Read out the non-rewritten portion from the light dot data that has been taken into the CPU through mask processing, extract only the write bits from the shifted dot data that should be added through mask processing, calculate the logical sum of the two, and write a new write bit. Create dot data.

(4)新しい書込みドツトデータを画面メモリの前記該
当部分へ書込む。
(4) Write new write dot data to the corresponding portion of the screen memory.

という処理ステップをとっていた。しかし、元来CPU
はビット処理が遅く、特に複数ビットのデータシフトは
1ビットシフトのコマンドステップを複数回繰返すこと
によって処理するために処理ステップ数が多くなる欠点
がある。
The following processing steps were taken. However, originally the CPU
The bit processing is slow, and in particular, the data shift of multiple bits is processed by repeating the 1-bit shift command step multiple times, which has the disadvantage of increasing the number of processing steps.

このような欠点を改善するためK、特開昭59−901
56号公報に記載のように、シフトレジスタを用いてデ
ータシフトを行うようにしたメモリ制御方式が提案され
ている。しかしこの方式でもシフト動作はlクロックで
1ビットのシフトであるので、データを複数ビットシフ
トするためには複数クロック分の時間が必要であった。
In order to improve these shortcomings, K. JP-A-59-901
As described in Japanese Patent No. 56, a memory control method has been proposed in which data is shifted using a shift register. However, even with this method, the shift operation is a 1-bit shift in 1 clock, so it takes time for multiple clocks to shift multiple bits of data.

一方、キャラクタジェネレータに記憶されていル文?−
パターンが24X24ドツトのマトリックス構成であり
、CPUの処理単位が16ビットのワード単位である場
合には、キャラクタジェネレータからのドツトデータの
読み出し方法は、右側16ビットと左側8ピツトに分け
て行い、左側8ビット分には8ビットの無効データを加
えてワードアクセスを行うのが一般的である。
On the other hand, what text is stored in the character generator? −
If the pattern has a matrix configuration of 24 x 24 dots and the processing unit of the CPU is a 16-bit word unit, the dot data is read from the character generator by dividing it into 16 bits on the right side and 8 bits on the left side. Generally, word access is performed by adding 8 bits of invalid data to the 8 bits.

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

このようなキャラクタジェネレータのアクセス方法で文
字パターンのドツトデータを読み出し、前述したような
データシフト処理を施して画面メモリへ新しいドツトデ
ータを書込む方法では、表示文字を走査線方向に数ビッ
トシフトする場合には、キャラクタジェネレータからの
ドツトデータの読み出しを多数回に分けて実行しなけれ
ばならず、表示速度が遅くなるという不都合がある。
In the method of reading the dot data of a character pattern using such a character generator access method, performing the data shift processing described above, and writing new dot data to the screen memory, the displayed character is shifted by several bits in the direction of the scanning line. In this case, the dot data must be read out from the character generator in multiple steps, resulting in an inconvenience that the display speed becomes slow.

従って本発明の目的は、ドツトデータのシフト処理を更
に高速化し、しかもキャラクタジェネレータからのドツ
トデータの読み出しを連続させることにより、表示速度
を更に高速化することに、tP)る。
Therefore, an object of the present invention is to further speed up the shift processing of dot data and to further speed up the display speed by continuously reading out the dot data from the character generator.

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

本発明はこの問題点を解決するために、キャラクタジェ
ネレータには24 X24のドツトマトリクスのドツト
データを走査線方向にバイト単位で区分した各組のドツ
トデータをバイト単位で走査線の並び方向に24バイト
分連続アドレスで並列に記憶するメモリを設け、画面メ
モリは走査線の並び方向のアドレス順をもつように構成
し、更に前記キャラクタジェネレータに記憶された24
×24ドツトのドツトデータを走査線方向の左側16ビ
ットまたは右側16ビットの何れかを前記CPUからの
指示に従って16ビット1ワード単位で読み出すキャラ
クタジェネレータ読み出し制御回路と、CPU側から与
えられる画像のドツトデータをCPUから与えられたシ
フト量指令値に従ったビット量だけシフトするバレルシ
フタと、CPU側から与えられるドツトデータの書込み
範囲を制限するマスクデータを発生するマスクコントロ
ーラと、画面メモリから読み出されたドツトデータとバ
レルシフタから出力されたドツトデータをマスクデータ
に従って合成して新しい書込みデータを作成するライト
コントローラとを設けたことを特徴とする。
In order to solve this problem, the present invention has a character generator that divides the dot data of a 24 x 24 dot matrix into byte units in the scanning line direction, and divides each set of dot data into byte units in the scanning line direction. A memory for storing bytes in continuous addresses in parallel is provided, the screen memory is configured to have address order in the direction in which the scanning lines are arranged, and 24 bytes stored in the character generator are arranged in parallel.
A character generator read control circuit that reads out dot data of 24 dots either on the left 16 bits or on the right 16 bits in the scanning line direction in units of 16 bits and 1 word according to instructions from the CPU, and the dot data of the image given from the CPU side. A barrel shifter that shifts data by the amount of bits according to the shift amount command value given from the CPU, a mask controller that generates mask data that limits the write range of dot data given from the CPU side, and a mask controller that generates mask data that limits the write range of dot data given from the CPU side. The present invention is characterized in that it is provided with a write controller that synthesizes the dot data outputted from the barrel shifter and the dot data outputted from the barrel shifter in accordance with mask data to create new write data.

〔作用〕[Effect]

CPtrはキャラクタジェネレータをアクセスするとき
にストリング命令で読み出しアドレス信号を出力し、メ
モリの左側16ビットまたは右側16ビットの何れかの
組をドツトパターンにおける走査線の並び方向に頭次ア
クセスして16ビット単位でドツトデータを取込み、画
面メモリへ書込むべく該当部分のアドレス信号と共に出
力する。バレルシフタはこのドツトデータをCPUから
のシフト量指令値忙応じてビット量だけ即座にシフトし
て出力する。一方、ライトコントローラは前記アドレス
信号によって画面メモリから読み出されたドツトデータ
とバレルシフタから出力されたドツトデータをマスクコ
ントローラからのマスクデータに従って合成して新しい
書込みデータを作成し、該当部分へ書込む。このような
処理を、ストリング命令によって読み出されるメモリの
左側16ビットまたは右側16ビットの何れか一方の側
に24ワ一ド分順次に実行し、仄に他の側に同様に実行
することで、1文字分の画像パターン領域のドツトデー
タの書込みを完了する。
When accessing the character generator, the CPtr outputs a read address signal using a string instruction, and accesses either the left 16 bits or the right 16 bits of the memory sequentially in the direction of the scanning lines in the dot pattern to read the 16 bits. It captures dot data in units and outputs it together with the address signal of the corresponding part in order to write it into the screen memory. The barrel shifter immediately shifts this dot data by the amount of bits according to the shift amount command value from the CPU and outputs it. On the other hand, the write controller synthesizes the dot data read from the screen memory in response to the address signal and the dot data output from the barrel shifter according to the mask data from the mask controller, creates new write data, and writes it to the corresponding portion. By sequentially executing such processing for 24 words on either the left 16 bits or the right 16 bits of the memory read by the string instruction, and similarly executing it on the other side, Complete writing of dot data in the image pattern area for one character.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に従って詳細に説明する。 Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は本発明になる画像表示装置のブロックダイヤグ
ラムを示している。11は表示機能部の制御を行なう中
央処理装fへ(以下CPUと呼ぶ)であり、例えばイン
テル社の8086などが好適である。12は外部からの
事象に応じて、CPU11に割込み信号を与えプログラ
ムを分岐させる割込コントローラである。13はCPU
11が実行するプログラムやデータ処理情報を記憶する
プログラムメモリである。14は表示する文字ノ(ター
ンをドツトマトリクスで記憶しているキャラクタジェネ
レータ(以下、CGと呼ぶ)であり、一般にROMによ
り構成される。19はCG14からのd出しデータの右
側、左側を換えるCG続出し制御回路である。15は表
示機能部の上位にあたるホストCPUからのコマンドを
受取るためのインターフェイス回路である。16は画面
メモリ20の内容を順次読出すアドレス信号を作成し、
゛またCRTモニター24を制御する同期信号を発生す
るグラフィックディスプレイコントローラ(以下GDC
と呼ぶ)である。17は画面メモリ20とその周辺の回
路に対するタイミング信号を発生するコントロール回路
である。1Bは画面メモリ20に対するCPUIIから
の書込み信号と同期してCPUI 1による描画処理を
支援する両面メモリ制御回路である。20はCRTモニ
ター240画面に表示するドツトマトリックス画像を1
ドツト対応で記憶する記憶素子が画面に対応して存在す
るビットマツプ方式の画面メモリであり、ダイナミック
RAMから構成される。21はGDC16からの水平、
垂直同期信号とシフトレジスタ23からの映像信号との
同期を取るだめの同期回路である。22は画面メモリ2
0から続出した画像ドツトデータを一時的に蓄えるラッ
チであり、23はラッチ22に蓄えられた画像ドツトデ
ータを受取ってこれをパラレルシリアル変換するシフト
レジスタであり、24は映像信号と同期信号を受けて画
面表示を行な5CRTモニターである。
FIG. 1 shows a block diagram of an image display device according to the present invention. Reference numeral 11 designates a central processing unit f (hereinafter referred to as CPU) for controlling the display function section, and for example, Intel's 8086 is suitable. 12 is an interrupt controller that gives an interrupt signal to the CPU 11 and branches the program in response to an external event. 13 is CPU
This is a program memory that stores programs executed by 11 and data processing information. 14 is a character generator (hereinafter referred to as CG) that stores characters (turns) to be displayed in a dot matrix, and is generally constituted by a ROM. 19 is a CG that changes the right side and left side of the d output data from CG 14. A continuous output control circuit 15 is an interface circuit for receiving commands from the host CPU which is a higher level display function section.16 is an interface circuit for generating an address signal for sequentially reading out the contents of the screen memory 20;
゛In addition, a graphic display controller (hereinafter referred to as GDC) that generates a synchronization signal to control the CRT monitor 24
). A control circuit 17 generates timing signals for the screen memory 20 and its peripheral circuits. 1B is a double-sided memory control circuit that supports drawing processing by the CPU 1 in synchronization with a write signal from the CPU II to the screen memory 20. 20 is the dot matrix image displayed on the CRT monitor 240 screen.
This is a bitmap type screen memory in which storage elements for storing dots correspond to the screen, and are composed of a dynamic RAM. 21 is horizontal from GDC16,
This is a synchronization circuit for synchronizing the vertical synchronization signal and the video signal from the shift register 23. 22 is screen memory 2
This is a latch that temporarily stores image dot data that continues from 0, 23 is a shift register that receives the image dot data stored in the latch 22, and converts it from parallel to serial, and 24 receives a video signal and a synchronization signal. The screen is displayed on a 5CRT monitor.

51−1.51−2はCPUパス信号線aとGDC16
や両面メモリ制御回路18との間に位置し信号をバッフ
ァリングするトランシーバ/レシーノ(である。52−
1 、52−2 、52−3はマルチプレクサであって
、入力信号線の内から一組の信号を選択して出力する。
51-1.51-2 is CPU path signal line a and GDC16
A transceiver/receiver (52-
1, 52-2, and 52-3 are multiplexers that select and output a set of signals from among the input signal lines.

本装置の構成要素として重要な機能を分担している画面
メモリ制御回路18についての詳細を第2図を参照して
説明する。
Details of the screen memory control circuit 18, which performs important functions as a component of this device, will be explained 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に保
持されたビット幅指令値に従ってCPUIIからの書込
みデータの画面メモIJ 20への書込みを\マスクす
るマスクデータを出力する。18−10はこれらの動作
タイミングを制御する制御回路である。
In Figure 2, 18-1 is a data latch for the CPU 11.
Retains data from A barrel shifter 18-2 shifts the data from the data latch 18-1 in designated bit units. A write controller 18-3 generates data to be written to the screen memory 20. Reference numeral 18-4 is an operation register that holds operation commands for image dot data in bit units to be given to the light controller 18-3. Bit registers 18-5 and 18-6 hold a designated value of the amount of data shift by the barrel shifter 18-2. A mask register 18-7 holds a bit width command value for write operation. 18-8 is an arithmetic unit (hereinafter referred to as ALU)
), and the barrel shifter 18
Calculate the shift) [to be shifted by -2. A mask controller 18-9 outputs mask data for masking the writing of write data from the CPU II to the screen memo IJ 20 in accordance with the bit width command value held in the mask register 18-7. 18-10 is a control circuit that controls these operation timings.

次に、画面メモリ20のアクセス忙ついて説明する。画
面メモリ20は、CPUI 1が書込みを行うときにあ
ってはリードモディファイライトにより動作する。すな
わち、CPUIIからのドツトデータはデータラッチ1
8−1に一旦たくわえられ、バレルシフタ18−2によ
り処理されてライトコントローラ18−3の一方の入力
端子に入力される。画面メモリ20の指定されたアドレ
スのlll1i像ドツトデータは読出されてライトコン
トローラ18−3のもう一方の入力端子に与えられる。
Next, the busy access to the screen memory 20 will be explained. The screen memory 20 operates by read-modify-write when the CPUI 1 writes data. In other words, the dot data from CPU II is transferred to data latch 1.
8-1, processed by barrel shifter 18-2, and inputted to one input terminal of light controller 18-3. The lllli image dot data at the designated address in the screen memory 20 is read out and applied to the other input terminal of the write controller 18-3.

上記2つの入力は操作レジスタ18−4に記憶されだ指
示に基づいて、ビット単位で論理演算され画面メモリ2
00指定アドレスに書込まれることになる。
The above two inputs are logically operated on a bit-by-bit basis based on instructions stored in the operation register 18-4.
It will be written to the address specified by 00.

次に、両面メモリ20のアドレス構成九ついて43・図
を用いて説明する。
Next, the address structure of the double-sided memory 20 will be explained using diagram 43.

映像信号は画像ドツトの直列な連らなりとしてマスク単
位で構成されている。すなわち、画面のリフレッシュの
ためのGDC16による読出しは画面の始めから16ピ
ツト単位であり、MSBから順に直列変換され、LSB
の次には次の16ビットのMSBが連らなっている。
The video signal is composed of mask units as a series of image dots. That is, reading by the GDC 16 for refreshing the screen is in units of 16 pits from the beginning of the screen, which is serially converted from the MSB to the LSB.
After , the next 16 bits of MSB are consecutive.

ところで、CPUIIが24X24ビットの文字パター
ンを扱うとき、マスクスキャン方向には3バイトの深さ
、マスクの並び順の方向に対しては24バイトの深さに
なる。CPUIIとして使うインテル社の8086は順
アドレスの繰り返し処理に対してストリング命令が用意
されている。
By the way, when the CPU II handles a 24x24 bit character pattern, the depth is 3 bytes in the mask scan direction and 24 bytes in the direction of the mask arrangement order. Intel's 8086, which is used as a CPU II, has a string instruction for repeated processing of sequential addresses.

このストリング命令によれば、所定のレジスタに指定し
た源アドレスから、データを行先アドンスヘの指定され
たワードあるいはバイト数の転送が、最小の命令ステッ
プと最短の処理時間で行われる。
According to this string instruction, a specified number of words or bytes of data is transferred from a source address specified in a predetermined register to a destination add in the minimum instruction steps and the shortest processing time.

この処理方式において最大の効果を得るには、−回の転
送数を大きく取るのが有効である。この点に着目すれば
、CPUI 1から見た画面メモIJ20のアドレスは
ラスタの並び順方向に並ぶべきである。
In order to obtain the maximum effect in this processing method, it is effective to increase the number of - transfers. Considering this point, the addresses of the screen memo IJ20 viewed from the CPUI 1 should be arranged in the forward direction of the raster arrangement.

上記の点をふまえて実現した画面メモリ20のアドレス
構成を示しだものが第3図である。
FIG. 3 shows the address structure of the screen memory 20 realized based on the above points.

次に、CG14について説明する。本実施例では文字パ
ターンのドツトデータが第4図に示すように一%ROM
に記憶されている。すなわち、1つの文字を構成するパ
ターンのドツトデータは走査線方向にバイト単位で3組
に区分され、左側24バイト、中央24バイト、右側2
4バイトが縦方向に連なって3個のROMに分割して収
納されている。
Next, CG14 will be explained. In this embodiment, the dot data of the character pattern is stored in 1% ROM as shown in FIG.
is stored in In other words, the dot data of the pattern constituting one character is divided into three groups in byte units in the scanning line direction: 24 bytes on the left side, 24 bytes in the center, and 2 groups on the right side.
4 bytes are stored in a row in the vertical direction and divided into 3 ROMs.

第5図はこのように3個のROMに走査方向8ビットず
つ分割されてパターンが記憶されているCG14より、
CPUI lがワード単位でデータを読出す時の制御を
行なうCG読出し制御回路19の詳細な構成を示したも
のである。
FIG. 5 shows the CG14 in which patterns are stored in three ROMs divided into 8 bits each in the scanning direction.
This figure shows a detailed configuration of a CG read control circuit 19 that controls when the CPU I reads out data in units of words.

第5図において、CG14はデータバスが8ビットから
なる3個のROM14−1〜14−3からなっている。
In FIG. 5, the CG 14 consists of three ROMs 14-1 to 14-3 each having an 8-bit data bus.

19−1.〜19−4はこのROM14−1〜14−3
より読出されるドツトデータをCPUデータバスへ出力
する時のバッファリングを行なうトランシーバである。
19-1. ~19-4 is this ROM14-1~14-3
This is a transceiver that performs buffering when outputting dot data read from the CPU data bus to the CPU data bus.

ここでCPUIIからCG14の左側ワードがアクセス
された場合には、トランシーバ19−1および19−2
が、データセレクト回路19−5によりイネーブル状態
となり、文字パターンドツトマトリクスの左側16ビッ
トが出力される。同様(、右側ワードがアクセスされた
場合には、右側の16ビットが出力される。
If the left word of CG14 is accessed from CPUII, transceivers 19-1 and 19-2
is enabled by the data select circuit 19-5, and 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図のCGd出し制御回路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 out by the CGd output control circuit 19 of FIG. 5. The 8 bits in the scanning direction in the center are on the left! Duplicate reading is possible with both word access and right word access.

なお、CG読出し制御回路19がない従来の場合の、読
出しアドレスとドツトデータの関係を示したものが第7
図である。文字パターンドツトマトリクスの左側ワード
をアクセスした時には、16ビット中の左側8ビットは
無効データとして読出される。
Note that the relationship between the read address and dot data in the conventional case without the CG read control circuit 19 is shown in the seventh column.
It is a diagram. When the left word of the character pattern dot matrix is accessed, the left 8 bits out of 16 bits are read out as invalid data.

次K、画面メモリ20への画像ドツトデータの書込みと
、画面メモリ20の内容をCRTモニター24で表示す
る動作について説明する。
Next, the operation of writing image dot data to the screen memory 20 and displaying the contents of the screen memory 20 on the CRT monitor 24 will be explained.

画像はビット単位で画面メモ17201c’l’(輝点
)あるいは101(暗点)のドツトデータを書込むこと
で表示される。文字はCG14より指定された文字パタ
ーンのドツトデータを表示すべき画面メモリ20上のワ
ードアドレスへストリング命令を使って書込むことによ
り画面に表示されることになる。
The image is displayed by writing dot data of screen memo 17201c'l' (bright dot) or 101 (dark dot) in bit units. Characters are displayed on the screen by writing dot data of a character pattern designated by the CG 14 to a word address on the screen memory 20 to be displayed using a string command.

CG14よりデータな読出した時の文字パターンドツト
データのビット位置は第6図に示したようにワード単位
で並んでいる。従って、例えば第8図に示すような「漢
字」という文字例をCRTモニター24へ表示する場合
、画面メモ+720へのアクセス単位はワードであるた
め、2文字目の「字」の左端ビット位置が8ビットずれ
て整合しない状態が発生する。このとき、画面メモリ制
御回路18をもたない構成では、CG14から画面メモ
リ20への文字パターンドツトデータ転送処理において
、!ワード転送する@にビットシフト処理なせねばなら
ない。すなわち、8086系のCPUIIにおいても、
前述のワード転送に対して強力であるストリング命令に
よるメモリ移動が利用できなかった。
The bit positions of the character pattern dot data when data is read from the CG 14 are arranged in word units as shown in FIG. Therefore, for example, when displaying the character example "Kanji" as shown in FIG. A mismatched state occurs due to an 8-bit shift. At this time, in the configuration without the screen memory control circuit 18, in the character pattern dot data transfer process from the CG 14 to the screen memory 20,! Bit shift processing must be performed on @ for word transfer. In other words, even in the 8086 series CPU II,
Memory movement using string instructions, which is more powerful than the aforementioned word transfer, could not be used.

本実施例では、第2図に示す画面メモリ制御回路18を
設けたことによって、バレルシフタ18−2がCPUI
IK代ってビットシフト処理を行なう。また、バレルシ
フタ18−2ではワードデータなローテートすることに
なるので、シフトして次のアドレスに書かれるべきデー
タについては、マスクコントローラ18−9によってビ
ット単位にマスクして沓込みを禁止する。以、ヒのよう
な処理により、文字パターン「字」は2回のワードスト
リング命令で表示することが可能となった。
In this embodiment, by providing the screen memory control circuit 18 shown in FIG. 2, the barrel shifter 18-2 is controlled by the CPU
Performs bit shift processing in place of IK. Further, since the barrel shifter 18-2 rotates word data, the data to be shifted and written to the next address is masked bit by bit by the mask controller 18-9 to prohibit writing. Since then, by using the process shown in hi, it has become possible to display the character pattern ``character'' with two word string commands.

また、第8図に示された1文字目「漢」の文字パターン
を表示する場合においては、CG14よりの読出しデー
タが従来の第7図に示すような左側8ビット、右、側工
6ビットに分割して読出される場合は、画面メモリ20
へ文字を展開するのに、前記1面面メモリ制御回路18
を用いたとしても、第8図下部に示すようにA、B%C
の領域と3回に分けてワード書込み処理をしなければな
らなかった。しかしながら、本実施例における第5図に
示すCG読出し制御回路19を用い、第6図に示り、E
の2領域に分けて2回のワード書込み処理で表示するこ
とが可能である。
In addition, when displaying the character pattern of the first character "Kan" shown in FIG. 8, the read data from the CG14 is 8 bits on the left side and 6 bits on the right side as shown in the conventional If the screen memory 20 is read out by dividing into
The first side memory control circuit 18
Even if A, B%C is used as shown in the lower part of Figure 8,
The word write process had to be performed three times for each area. However, using the CG readout control circuit 19 shown in FIG. 5 in this embodiment, the CG readout control circuit 19 shown in FIG.
It is possible to divide the image into two areas and display it by performing word writing twice.

このように、本実施例の1面面メモリ制御回路18とC
G読出し制御回路19を組合せることにより、1文字パ
ターンのドツトデータを従来に比し高速に表示できるこ
とは明らかである。
In this way, the first side memory control circuit 18 and C
It is clear that by combining the G readout control circuit 19, dot data of a single character pattern can be displayed at a higher speed than before.

また、上記した実施例にあってはCPUIIとして80
86を用いストリング命令による効果な例示したが、同
様な効果はメモリ間でのDMA転送でも発振できる。従
って、8086以外のCPUによっても実現できるもの
である。
In addition, in the above embodiment, the CPU II is 80
86 was used to illustrate the effect of a string instruction, but a similar effect can also be produced by DMA transfer between memories. Therefore, it can also be realized by CPUs other than 8086.

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

本発明によれば、文字パターンのドツトデータをキャラ
クタジェネレータより読込んで画面メモリの任意の位置
へ書込み表示画面上の任意の位置に表示せしめる処理を
、専用回路で補うことにより、CPUを高速で融通性に
富んだ状態で利用できる。また、文字パターンの表示の
みならず、図形を描画するときもビット単位でのメモリ
への書込みが高速になる。
According to the present invention, by supplementing the processing of reading dot data of a character pattern from a character generator, writing it to an arbitrary position in the screen memory, and displaying it at an arbitrary position on the display screen, using a dedicated circuit, the CPU can be used at high speed. Available in a variety of forms. Further, writing to memory in bit units becomes faster not only when displaying character patterns but also when drawing figures.

以上のことはCPUを用いた表示装fiにおいて表示処
理時間を短縮できることになり、操作性の改良となる。
The above means that the display processing time can be shortened in the display device fi using the CPU, resulting in improved operability.

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

第1図は本発明になる表示装置の回路のブロックダイヤ
グラム、第2図は画面メモリ制御回路の詳細を示すブロ
ックダイヤグラム、第3図は本発明になる画面メモリの
アドレス構成を示す説明図、第4図はキャラクタジェネ
レータへの文字パターンドツトデータの収容を示す説明
図、第5図はキャラクタジェネレータ読出し制−回路の
詳細を示すブロックダイヤグラム、第6図は本発明にな
る文字パターンドツトデータを読出した時のアドレスと
データの関係を示す説明図、第7図は従来の場合の文字
パターンドツトデータを読出した時のアドレスとデータ
の関係を示す説明図、第8図は本発明になる文字表示処
理を説明するm Fffiメモリのデータを示す説明図
である。 11・・・・・・CPU、14・・・・・・キャラクタ
ジェネレータ、18・・・・・・画面メモリ制御回路、
18−2・・・・・・バレルシフタ、18−3・・・・
・・ライトコントローラ、18・・・・・・マスクコン
トローラ、19・・・・・・CG読出し制御回路、20
・・・・・・:圃面メモリ、24・・・・・・CRTモ
ニター。 第2図 +8:t6面fモ、すmy匡腸1 78−2:バレルシフタ IB−3ニライトコントローラ /8−9:マスクコントローラ 第3図 よ 睡:CPu?ドレス 下 1玖:CRTアドレス 第4図 第5図 ψ
FIG. 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 structure of a screen memory according to the present invention. Figure 4 is an explanatory diagram showing how character pattern dot data is stored in the character generator, Figure 5 is a block diagram showing details of the character generator readout circuit, and Figure 6 is a diagram showing character pattern dot data read out according to the present invention. FIG. 7 is an explanatory diagram showing the relationship between address and data when character pattern dot data is read in the conventional case. FIG. 8 is character display processing according to the present invention. FIG. 2 is an explanatory diagram showing data in the mFffi memory for explaining the process. 11...CPU, 14...Character generator, 18...Screen memory control circuit,
18-2... Barrel shifter, 18-3...
...Write controller, 18...Mask controller, 19...CG readout control circuit, 20
......: Field memory, 24...CRT monitor. Figure 2 +8: t6 side f mo, sumy box 1 78-2: Barrel shifter IB-3 Nilight controller/8-9: Mask controller Figure 3 Sleep: CPU? Bottom of dress 1 ku: CRT address Figure 4 Figure 5 ψ

Claims (1)

【特許請求の範囲】[Claims] 1、24×24のドットマトリクスで構成した文字パタ
ーンのドットデータを記憶するキャラクタジェネレータ
と、画像をドットマトリクスで表示する表示器と、この
表示器で表示する画像のドットに1ドット対応の記憶要
素をもつビットマップ式の画面メモリと、前記キャラク
タジェネレータから文字パターンのドットデータを読み
出し、これを前記画面メモリに記憶させる制御を実行す
るCPUと、前記画面メモリに記憶されたドットデータ
を読み出して前記表示器に与える表示器制御回路とを備
えた画像表示装置において、前記キャラクタジェネレー
タは24×24のドットデータを走査線方向にバイト単
位で区分した各組のドットデータをバイト単位で走査線
の並び方向に24バイト分連続アドレスで並列に記憶す
るメモリを有し、前記画面メモリは走査線の並び方向の
アドレス順をもつように構成され、更に前記キャラクタ
ジェネレータに記憶された24×24ドットのドットデ
ータを走査線方向の左側16ビットまたは右側16ビッ
トの何れかを前記CPUからの指示に従って16ビット
単位で読み出すキャラクタジェネレータ読み出し制御回
路と、CPU側から与えられる画像のドットデータをC
PUから与えられたシフト量指令値に従ったビット量だ
けシフトするバレルシフタと、CPU側から与えられる
ドットデータの書込み範囲を制限するマスクデータを発
生するマスクコントローラと、画面メモリから読み出さ
れたドットデータとバレルシフタから出力されたドット
データをマスクデータに従って合成して新しい書込みド
ットデータを作成するライトコントローラとを設けたこ
とを特徴とする画像表示装置。
1. A character generator that stores dot data of a character pattern composed of a 24 x 24 dot matrix, a display that displays an image in a dot matrix, and a storage element that corresponds to one dot for each dot of the image displayed on this display. a bitmap type screen memory having a bitmap type screen memory; a CPU that executes control to read dot data of a character pattern from the character generator and store it in the screen memory; In an image display device equipped with a display control circuit for supplying data to a display device, the character generator divides each set of dot data into byte units in the scanning line direction from 24×24 dot data into an arrangement of scanning lines in byte units. It has a memory for storing 24 bytes in parallel in consecutive addresses in the direction, the screen memory is configured to have the address order in the direction in which the scanning lines are arranged, and the 24×24 dots stored in the character generator A character generator read control circuit reads out either the left 16 bits or the right 16 bits in the scanning line direction in units of 16 bits according to instructions from the CPU, and a
A barrel shifter that shifts the amount of bits according to the shift amount command value given from the PU, a mask controller that generates mask data that limits the write range of dot data given from the CPU side, and a dot read out from the screen memory. An image display device comprising: a write controller that combines data and dot data output from a barrel shifter according to mask data to create new write dot data.
JP61044163A 1986-03-03 1986-03-03 Image display device Expired - Lifetime JPH0697392B2 (en)

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 true JPS62203193A (en) 1987-09-07
JPH0697392B2 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)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60260989A (en) * 1984-06-08 1985-12-24 株式会社日立製作所 Pattern display system for desired position

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60260989A (en) * 1984-06-08 1985-12-24 株式会社日立製作所 Pattern display system for desired position

Also Published As

Publication number Publication date
JPH0697392B2 (en) 1994-11-30

Similar Documents

Publication Publication Date Title
JPS61159686A (en) Image display unit
EP0197412B1 (en) Variable access frame buffer memory
JP2659598B2 (en) Display cursor pattern generator
JPH06332664A (en) Display control system
US5737761A (en) Memory control architecture for high-speed transfer operations
EP0279227A2 (en) Raster display vector generator
EP0487819B1 (en) Video random access memory with fast, alligned clear and copy
US5699498A (en) Technique and apparatus for color expansion into a non-aligned 24 bit RGB color-space format
JPS6332390B2 (en)
JPS6330633B2 (en)
JPS62203193A (en) Image display unit
JPH0697394B2 (en) Memory circuit
JP2954589B2 (en) Information processing device
US5633661A (en) Video display control system having block write with opaque pattern control expansion
JPS63304293A (en) Display memory control circuit
US6104369A (en) Display control circuit including hardware elements for preventing undesired display within the display space of the display unit
KR960006282B1 (en) Dynamic memory device
JP2504413B2 (en) Display controller
JPS61296385A (en) Memory
JPH01202787A (en) Image memory
JP2587415B2 (en) Data processing system with variable memory bank selection
JPS63217477A (en) Graphic memory controller for display device
JPH0239192A (en) Display memory control circuit
JPS6330985A (en) Straight line drawing system
JPH0693178B2 (en) Display device