JPH019984Y2 - - Google Patents

Info

Publication number
JPH019984Y2
JPH019984Y2 JP6280788U JP6280788U JPH019984Y2 JP H019984 Y2 JPH019984 Y2 JP H019984Y2 JP 6280788 U JP6280788 U JP 6280788U JP 6280788 U JP6280788 U JP 6280788U JP H019984 Y2 JPH019984 Y2 JP H019984Y2
Authority
JP
Japan
Prior art keywords
address
screen
attribute data
screen buffer
data
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
Application number
JP6280788U
Other languages
Japanese (ja)
Other versions
JPS63187192U (en
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 filed Critical
Priority to JP6280788U priority Critical patent/JPH019984Y2/ja
Publication of JPS63187192U publication Critical patent/JPS63187192U/ja
Application granted granted Critical
Publication of JPH019984Y2 publication Critical patent/JPH019984Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)

Description

【考案の詳細な説明】 本考案は、CRT等を用いたデイスプレイ装置
の制御装置に関し、特に画面バツフア上のアトリ
ビユート・データを迅速に探索する機構に関する
ものである。
[Detailed Description of the Invention] The present invention relates to a control device for a display device using a CRT or the like, and particularly to a mechanism for quickly searching attribute data on a screen buffer.

従来のデイスプレイ装置においては、1表示画
面に対応する画面データを記憶しておくために画
面バツフアが設けられている。画面バツフアは画
面上の表示位置に対応するアドレスをもつてお
り、各アドレスにはそれが対応している画面上の
位置に表示すべき文字、記号等の画面データが記
憶される。他方、文字、記号等の画面データにつ
いて更にその色、パターン種別その他の属性を規
定することが必要な場合があり、そのためにアト
リビユート・データが用いられる。アトリビユー
ト・データは、必要に応じて画面データと組み合
わされ、デイスプレイ制御装置に適切な表示制御
を行なわせる。
In conventional display devices, a screen buffer is provided to store screen data corresponding to one display screen. The screen buffer has addresses corresponding to display positions on the screen, and each address stores screen data such as characters and symbols to be displayed at the corresponding position on the screen. On the other hand, it may be necessary to further define the color, pattern type, and other attributes of screen data such as characters and symbols, and attribute data is used for this purpose. The attribute data is combined with screen data as necessary to cause the display controller to perform appropriate display control.

アトリビユート・データは、画面バツフア上で
文字、記号等の画面データが書き込まれないアド
レス位置に記憶させておくことができる。アトリ
ビユート・データは、画面へのデータ入力、転
送、画面操作等において読み出される必要があ
る。しかし、アトリビユート・データは、画面バ
ツフア上で画面データと混在した状態にあるの
で、従来その探索は、画面バツフアのアドレスを
順次アクセスしてデータを読み出し、それがアト
リビユート・データであるか否かを次々に調べて
ゆくという方法で行なわれており、処理時間が長
い欠点があつた。
Attribute data can be stored at address locations on the screen buffer where screen data such as characters and symbols are not written. Attribute data needs to be read when inputting data to the screen, transferring data, operating the screen, etc. However, since attribute data is mixed with screen data on the screen buffer, the search conventionally involves sequentially accessing the addresses of the screen buffer, reading out the data, and checking whether it is attribute data or not. This method was carried out by examining the data one after another, which had the drawback of taking a long processing time.

本考案は、上記の欠点を改善することを目的と
するもので、そのため、画面上に表示される画面
データと前記画面データの属性を規定するアトリ
ビユート・データとを記憶するための画面バツフ
アと、前記画面バツフアの各アドレスに各1ビツ
トが対応する記憶平面をもち、前記画面バツフア
のあるアドレスの記憶内容がアトリビユート・デ
ータである場合にのみ前記記憶平面上の対応ビツ
ト位置に有効を示す2進値が書き込まれるように
して画面バツフア上におけるすべてのアトリビユ
ート・データの位置情報を記憶する記憶手段と、
前記画面バツフア上のアトリビユート・データの
探索に際して、前記記憶手段から読み出されたア
トリビユート・データの位置情報に基づいて前記
画面バツフア上におけるアトリビユート・データ
のアドレスを作成する手段と、前記作成されたア
ドレスを用いて前記画面バツフアからアトリビユ
ート・データを読み出す手段と、をそなえたデイ
スプレイ制御装置において、 画面上のカーソル位置に基づいて画面データの
入力あるいは転送等の操作を行う際、カーソルア
ドレスを印加して前記記憶手段からカーソルアド
レスにより決定される画面バツフア上の所定の領
域内のアトリビユート・データの位置情報を自動
的に探索する制御手段を設け、 前記アトリビユート・データを自動的に探索す
る手段は、前記記憶手段から読み出されたアトリ
ビユート・データの位置情報を前記画面バツフア
上のアドレスに変換するデコーダ手段と、前記記
憶手段のアクセスの際有効なアトリビユート・デ
ータの位置情報が出力されたかどうかを検出する
位置情報検出手段と、前記位置情報検出手段が有
効なアトリビユート・データの位置情報を検出し
たとき前記デコーダ手段の変換出力アドレスが所
定の範囲内にあるかどうかを調べ所定の範囲内に
あるとき当該アドレスを前記画面バツフアに供給
してアトリビユート・データを読み出させ、また
前記位置情報検出手段が有効なアトリビユート・
データの位置情報を検出しなかつたときには前記
デコーダの変換出力を禁止するとともに前記記憶
手段に次位のアドレスを指定して前記記憶手段の
アクセスを行わせるように制御する論理回路手段
とを含むことを特徴とするものである。
The present invention aims to improve the above-mentioned drawbacks, and therefore includes a screen buffer for storing screen data displayed on the screen and attribute data defining attributes of the screen data; It has a memory plane in which one bit corresponds to each address of the screen buffer, and a binary value indicating validity at a corresponding bit position on the memory plane only when the memory content of an address in the screen buffer is attribute data. a storage means for storing position information of all attribute data on the screen buffer so that values are written;
When searching for attribute data on the screen buffer, means for creating an address of the attribute data on the screen buffer based on position information of the attribute data read from the storage means, and the created address and means for reading out attribute data from the screen buffer using a cursor address when inputting or transferring screen data based on the cursor position on the screen. A control means is provided for automatically searching for positional information of attribute data within a predetermined area on the screen buffer determined by the cursor address from the storage means, and the means for automatically searching for the attribute data is configured to a decoder means for converting the position information of the attribute data read from the storage means into an address on the screen buffer; and a decoder means for detecting whether valid position information of the attribute data has been output when accessing the storage means. a position information detecting means; when the position information detecting means detects position information of valid attribute data, it checks whether the converted output address of the decoder means is within a predetermined range; and if it is within a predetermined range; An address is supplied to the screen buffer to read the attribute data, and the position information detection means is configured to supply the valid attribute data.
and logic circuit means for controlling the conversion output of the decoder when the data position information is not detected, and specifying the next address in the storage means to access the storage means. It is characterized by:

第1図は、第2図に示す本考案の実施例の理解
を容易にするための説明図で、画面バツフアとア
トリビユート・テーブル記憶装置との間のアドレ
ス対応を例示的に示したものである。
FIG. 1 is an explanatory diagram to facilitate understanding of the embodiment of the present invention shown in FIG. 2, and illustratively shows the address correspondence between the screen buffer and the attribute table storage device. .

第1図において、1は画面バツフアであり、こ
の例では1920文字を80字×24行の配列で画面表示
するものの画面バツフアを示している。画面バツ
フアのアドレス配列は、画面イメージにしたがつ
た形で示されているが、実際には通常の任意の記
憶装置が使用できる。各アドレスは12ビツトの長
さをもつが、ここでは便宜上16進数3桁で示して
いる。また最下位は、OBXについて展開してあ
るように16個のアドレスO〜FをXでまとめて表
わしてある。画面バツフア1の各アドレスにはそ
れぞれ2バイトのデータが記憶でき、文字、記号
等の画面データまたはアトリビユート・データの
いずれかが書き込まれる。
In FIG. 1, 1 is a screen buffer, and in this example, 1920 characters are displayed on the screen in an array of 80 characters x 24 lines. The address array of the screen buffer is shown according to the screen image, but in reality any ordinary storage device can be used. Each address has a length of 12 bits, but is shown here as a 3-digit hexadecimal number for convenience. Also, at the lowest level, 16 addresses O to F are collectively represented by X, as expanded for OBX. Each address of the screen buffer 1 can store 2 bytes of data, and either screen data such as characters or symbols or attribute data is written.

2は、画面バツフア1上のアトリビユート・デ
ータの位置を表示するためのアトリビユート・テ
ーブル記憶装置である。テーブル記憶装置2は、
画面バツフア1のアドレスの上位2桁の展開00〜
78(16進数)に対応する120のアドレスをもつ。
120アドレスの各々のワード長は16ビツト(2バ
イト)であり、また16ビツトの各各は画面バツフ
ア1のアドレスの最下位桁X(0〜F)に対応し
ている。結局、テーブル記憶装置2は、(120アド
レス)×(16ビツト)=1920ビツトの記憶平面を構
成し、これが画面バツフア1の全アドレスと1対
1で対応していることが理解されよう。
2 is an attribute table storage device for displaying the position of attribute data on the screen buffer 1; The table storage device 2 is
Expand the upper two digits of the address on screen buffer 1 from 00 to
It has 120 addresses corresponding to 78 (hexadecimal).
The word length of each of the 120 addresses is 16 bits (2 bytes), and each of the 16 bits corresponds to the least significant digit X (0-F) of the screen buffer 1 address. In the end, it will be understood that the table storage device 2 constitutes a storage plane of (120 addresses) x (16 bits) = 1920 bits, and this corresponds one-to-one with all the addresses of the screen buffer 1.

アトリビユート・テーブル内の2進値“1”
は、画面バツフア1の対応アドレスのデータがア
トリビユートであることを示している。図では、
アドレス(000),(0BE),(751)がそれである。
特にアドレス(0BE)について、アトリビユー
ト・テーブルから画面バツフアのアドレスが得ら
れる過程が示されている。
Binary value “1” in attribute table
indicates that the data at the corresponding address of screen buffer 1 is an attribute. In the diagram,
These are addresses (000), (0BE), and (751).
In particular, for the address (0BE), the process of obtaining the address of the screen buffer from the attribute table is shown.

第2図は、本考案の実施例を説明するためのブ
ロツク図である。第2図における画面バツフア1
とアトリビユート・テーブル記憶装置2とは、カ
ーソル(0D7)が加えられている点を除き第1図
にしたがつて説明したものと同じである。
FIG. 2 is a block diagram for explaining an embodiment of the present invention. Screen buffer 1 in Figure 2
and the attribute table storage device 2 are the same as described in accordance with FIG. 1 except that a cursor (0D7) is added.

第2図において、画面バツフア1中に示されて
いるカーソル位置に画面データを入力したり、そ
のデータを転送するような場合、関連するアトリ
ビユートを読み出す必要がある。通常は、カーソ
ルの左方、すなわちカーソル・アドレスよりも低
位のアドレスにあるアトリビユートが探索され
る。画面バツフア1において、上に述べたアトリ
ビユートのデータを迅速に探索するために、第2
図の破線下部に示す本考案による機構が使用され
る。以下にその動作を具体的に説明する。
In FIG. 2, when inputting screen data to the cursor position shown in the screen buffer 1 or transferring the data, it is necessary to read related attributes. Typically, attributes to the left of the cursor, ie, at addresses lower than the cursor address, are searched. In screen buffer 1, in order to quickly search the attribute data mentioned above,
A mechanism according to the invention is used, which is shown below the dashed line in the figure. The operation will be specifically explained below.

カーソル・アドレス・レジスタ3中のカーソ
ル・アドレスの上位2桁(16進数)は、最初、ア
ドレス−1回路4によつて何も作用されずに、そ
のままテーブル・アドレス・レジスタ5へ送られ
る。アトリビユート・テーブル記憶装置2は、レ
ジスタ5のアドレスによつてアクセスされ、その
アドレス位置にある16ビツト・ワードのデータを
データ・レジスタ6へ読み出す。この16ビツト・
ワードは、カーソル・アドレスたとえば図示の場
合(0D7)の上位2桁(0D)を共通にもつ16個
の画面バツフア・アドレス(0D0)〜(0DF)に
ついての、アトリビユートの有無と位置に関する
情報をもつている。
The upper two digits (hexadecimal) of the cursor address in the cursor address register 3 are initially sent to the table address register 5 without any action by the address-1 circuit 4. Attribute table storage 2 is accessed by the address in register 5 and reads the 16-bit word of data at that address location into data register 6. This 16-bit
The word contains information regarding the existence and position of attributes for 16 screen buffer addresses (0D0) to (0DF) that share the upper two digits (0D) of the cursor address (0D7) in the illustrated case. ing.

レジスタ6中のデータ・ビツトは、ALL“0”
検出器7によつて全ビツトが“0”であるかどう
かを調べられ、もし全ビツトが“0”であれば、
そこにはアトリビユートが存在していないことを
表わしているから、アトリビユート探索論理回路
8を経てアドレス−1回路4に信号を送り、カー
ソル・アドレスから1を減じてアトリビユート・
テーブルの次の16ビツト・ワードを読み出させ
る。図の例では、(0D)から(0B)まで2度繰
り返される。
Data bits in register 6 are ALL “0”
The detector 7 checks whether all the bits are "0", and if all the bits are "0",
Since this indicates that the attribute does not exist there, a signal is sent to the address-1 circuit 4 via the attribute search logic circuit 8, and 1 is subtracted from the cursor address to find the attribute.
Causes the next 16-bit word of the table to be read. In the example shown in the figure, it is repeated twice from (0D) to (0B).

アトリビユート探索論理回路8は、カーソル・
アドレス・レジスタ3からカーソル・アドレスの
最下位桁(16進数)とデコーダ9からアトリビユ
ート・アドレスの最下位桁(16進数)とを受け入
れている。デコーダ9は、レジスタ6中の16ビツ
ト・ワードにアトリビユートを示す“1”ビツト
が存在した場合にだけ、そのビツト位置を4ビツ
ト符号に変換するものである。
The attribute search logic circuit 8 has a cursor
It accepts the least significant digit (hexadecimal) of the cursor address from the address register 3 and the least significant digit (hexadecimal) of the attribute address from the decoder 9. The decoder 9 converts the bit position into a 4-bit code only when a "1" bit indicating an attribute exists in the 16-bit word in the register 6.

論理回路8は、アトリビユート・アドレスとカ
ーソル・アドレスの大小を比較し、適正なアトリ
ビユート・アドレスであることが確認できた場合
(図では(0BE))、ゲート10を開いて、テーブ
ル・アドレス・レジスタ5からの上位2桁アドレ
スとデコーダ9からの下位1桁アドレスとを組み
合わせ、画面バツフアのバツフアアドレス・レジ
スタ11へ送る。
The logic circuit 8 compares the size of the attribute address and the cursor address, and if it is confirmed that the attribute address is correct ((0BE) in the figure), it opens the gate 10 and registers the table address register. The upper two digit address from the decoder 5 and the lower one digit address from the decoder 9 are combined and sent to the buffer address register 11 of the screen buffer.

最後にバツフア・アドレス・レジスタ11のア
ドレスによつて画面バツフア1がアクセスされ、
目的のアトリビユート・データが読み出される。
Finally, screen buffer 1 is accessed by the address in buffer address register 11,
The desired attribute data is read.

また、画面データ処理において、アトリビユー
トの挿入や、アトリビユートの画面データへの書
き替えが生じたときには、画面バツフア中のデー
タ書き替えと同時にアトリビユート・テーブルの
対応ビツトの書き替えがなされる。
Further, in screen data processing, when an attribute is inserted or an attribute is rewritten to screen data, the corresponding bit in the attribute table is rewritten at the same time as the data in the screen buffer is rewritten.

なお、本考案は特別な回路要素を用いた実施例
にしたがつて説明されたけれども、これら回路要
素の多くは、マイクロプロセツサのような他の同
等の機能をもつものによつて必要に応じ容易に代
替することができる。
Although the present invention has been described in terms of embodiments using special circuit elements, many of these circuit elements can be implemented as needed by other equivalent devices, such as microprocessors. Can be easily replaced.

以上述べたように、本考案においては、従来の
方式に較べて画面バツフアのアドレスを作成する
ために余分の時間が必要となるが、アトリビユー
ト・テーブルの探索結果に基づいて画面バツフア
の読み出しを行なうことによつて、アトリビユー
ト検出のための処理時間は大幅に減少させること
ができ、容易に代替することができる。
As mentioned above, in the present invention, extra time is required to create the address of the screen buffer compared to the conventional method, but the screen buffer is read out based on the search result of the attribute table. Thereby, the processing time for attribute detection can be significantly reduced and can be easily replaced.

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

第1図は本考案の理解を容易にするための説明
図、第2図は本考案の実施例のブロツク図を示
す。 1は画面バツフア、2はアトリビユート・テー
ブル記憶装置、3はカーソル・アドレス・レジス
タ、4はアドレス−1回路、5はテーブル・アド
レス・レジスタ、6はデータ・レジスタ、7は
ALL“0”検出器、8はアトリビユート探索論理
回路、9はデコーダ、10はゲート、11はバツ
フア・アドレス・レジスタを示す。
FIG. 1 is an explanatory diagram for facilitating understanding of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention. 1 is a screen buffer, 2 is an attribute table storage device, 3 is a cursor address register, 4 is an address-1 circuit, 5 is a table address register, 6 is a data register, and 7 is a
8 is an attribute search logic circuit, 9 is a decoder, 10 is a gate, and 11 is a buffer address register.

Claims (1)

【実用新案登録請求の範囲】 画面上に表示される画面データと前記画面デー
タの属性を規定するアトリビユート・データとを
記憶するための画面バツフアと、前記画面バツフ
アの各アドレスに各1ビツトが対応する記憶平面
をもち、前記画面バツフアのあるアドレスの記憶
内容がアトリビユート・データである場合にのみ
前記記憶平面上の対応ビツト位置に有効を示す2
進値が書き込まれるようにして画面バツフア上に
おけるすべてのアトリビユート・データの位置情
報を記憶する記憶手段と、前記画面バツフア上の
アトリビユート・データの探索に際して、前記記
憶手段から読み出されたアトリビユート・データ
の位置情報に基づいて前記画面バツフア上におけ
るアトリビユート・データのアドレスを作成する
手段と、前記作成されたアドレスを用いて前記画
面バツフアからアトリビユート・データを読み出
す手段と、をそなえたデイスプレイ制御装置にお
いて、 画面上のカーソル位置に基づいて画面データの
入力あるいは転送等の操作を行う際、カーソルア
ドレスを印加して前記記憶手段からカーソルアド
レスにより決定される画面バツフア上の所定の領
域内のアトリビユート・データの位置情報を自動
的に探索する制御手段を設け、 前記アトリビユート・データを自動的に探索す
る手段は、前記記憶手段から読み出されたアトリ
ビユート・データの位置情報を前記画面バツフア
上のアドレスに変換するデコーダ手段と、前記記
憶手段のアクセスの際有効なアトリビユート・デ
ータの位置情報が出力されたかどうかを検出する
位置情報検出手段と、前記位置情報検出手段が有
効なアトリビユート・データの位置情報を検出し
たとき前記デコーダ手段の変換出力アドレスが所
定の範囲内にあるかどうかを調べ所定の範囲内に
あるとき当該アドレスを前記画面バツフアに供給
してアトリビユート・データを読み出させ、また
前記位置情報検出手段が有効なアトリビユート・
データの位置情報を検出しなかつたときには前記
デコーダの変換出力を禁止するとともに前記記憶
手段に次位のアドレスを指定して前記記憶手段の
アクセスを行わせるように制御する論理回路手段
とを含むことを特徴とするデイスプレイ制御装
置。
[Claims for Utility Model Registration] A screen buffer for storing screen data displayed on the screen and attribute data that defines the attributes of the screen data, and one bit corresponding to each address of the screen buffer. 2, which indicates that the corresponding bit position on the memory plane is valid only when the memory content of the address with the screen buffer is attribute data.
storage means for storing positional information of all attribute data on a screen buffer in such a manner that a digital value is written; and attribute data read from the storage means when searching for attribute data on the screen buffer. A display control device comprising means for creating an address for attribute data on the screen buffer based on position information of the screen buffer, and means for reading the attribute data from the screen buffer using the created address, When performing operations such as inputting or transferring screen data based on the cursor position on the screen, a cursor address is applied and attribute data in a predetermined area on the screen buffer determined by the cursor address is retrieved from the storage means. A control means for automatically searching for position information is provided, and the means for automatically searching for attribute data converts the position information of the attribute data read from the storage means into an address on the screen buffer. a decoder means, a position information detection means for detecting whether position information of valid attribute data is output when accessing the storage means, and the position information detection means detects position information of valid attribute data. When the converted output address of the decoder means is within a predetermined range or not, and if it is within the predetermined range, the address is supplied to the screen buffer to read the attribute data, and the position information detection means Attributes with valid
and logic circuit means for controlling the conversion output of the decoder and specifying the next address to the storage means to access the storage means when the data position information is not detected. A display control device featuring:
JP6280788U 1988-05-12 1988-05-12 Expired JPH019984Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6280788U JPH019984Y2 (en) 1988-05-12 1988-05-12

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6280788U JPH019984Y2 (en) 1988-05-12 1988-05-12

Publications (2)

Publication Number Publication Date
JPS63187192U JPS63187192U (en) 1988-11-30
JPH019984Y2 true JPH019984Y2 (en) 1989-03-20

Family

ID=30897436

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6280788U Expired JPH019984Y2 (en) 1988-05-12 1988-05-12

Country Status (1)

Country Link
JP (1) JPH019984Y2 (en)

Also Published As

Publication number Publication date
JPS63187192U (en) 1988-11-30

Similar Documents

Publication Publication Date Title
US4168541A (en) Paired least recently used block replacement system
JPS6340317B2 (en)
US5742298A (en) 64 bit wide video front cache
JPH0553909A (en) A cache memory control method for image data processing.
US4419727A (en) Hardware for extending microprocessor addressing capability
US4031514A (en) Addressing system in an information processor
JPS6359188B2 (en)
JPS5816263B2 (en) General information
US5050097A (en) Boundary detector and graphic processing system incorporating the same
US5862374A (en) Search method and circuit
JPS58189689A (en) Image display system
JPS6362083A (en) Projection data generation method
JPH06250921A (en) Access device
JPH053628B2 (en)
JPH06214878A (en) Memory access controller
JPS6153735B2 (en)
JPH0883213A (en) Storage device including cache memory
JPH025623A (en) information processing equipment
JPH05250253A (en) Memory access control system
JPS6150315B2 (en)
JPH01169645A (en) Memory
JPH06103162A (en) RAM address controller
JPS6218053B2 (en)
JPS6214857B2 (en)
JPH06268528A (en) Variable length code decoder