JP3461063B2 - Character display device - Google Patents

Character display device

Info

Publication number
JP3461063B2
JP3461063B2 JP20885495A JP20885495A JP3461063B2 JP 3461063 B2 JP3461063 B2 JP 3461063B2 JP 20885495 A JP20885495 A JP 20885495A JP 20885495 A JP20885495 A JP 20885495A JP 3461063 B2 JP3461063 B2 JP 3461063B2
Authority
JP
Japan
Prior art keywords
character
video ram
data
code
address
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 - Fee Related
Application number
JP20885495A
Other languages
Japanese (ja)
Other versions
JPH0954575A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP20885495A priority Critical patent/JP3461063B2/en
Publication of JPH0954575A publication Critical patent/JPH0954575A/en
Application granted granted Critical
Publication of JP3461063B2 publication Critical patent/JP3461063B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、テレビ画面等にR
GB処理された文字表示を行うのに好適な文字表示装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention
The present invention relates to a character display device suitable for displaying characters that have undergone GB processing.

【0002】[0002]

【従来の技術】一般的に、テレビ画面等に文字表示を行
う場合、所定文字フォントのドットパターンが記憶され
たキャラクタROMと、該キャラクタROMのアドレス
をアクセスするビデオRAMとを設ける。該ビデオRA
Mのアドレスは、前記テレビ画面上に於ける文字表示位
置に対応している。さて、前記テレビ画面上にRGB処
理された文字表示を行う場合、具体的には、表示文字に
対して文字自体の着色、背景色等を付す場合、前記ビデ
オRAMに、前記キャラクタROMのキャラクタコード
の他に前記キャラクタROMから読み出されるキャラク
タ情報に対する文字修飾の為のアトリビュートコードを
も記憶させなければならない。その具体的な記憶例につ
いて以下に説明する。 (例1)ビデオRAMの各アドレスにキャラクタコード
とアトリビュートコードとを一緒に記憶させる方法があ
る。この時、前記アトリビュートコードは、表示文字の
文字色を直接指定する情報であると共に表示文字の背景
色を直接指定する情報でもあるものとする。例えば、文
字色を指定するアトリビュートコードをRGBに1対1
に対応させて3ビットとし、且つ、背景色を指定するア
トリビュートコードもRGBに1対1に対応させて3ビ
ットとし、更にキャラクタコードを8ビットとすると、
ビデオRAMの各アドレスのビット長は14ビットとな
る。即ち、3ビットの2種類の合計6ビットのアトリビ
ュートコードと8ビットのキャラクタコードとが、ビデ
オRAMの各アドレスにシリアルの14ビットの状態で
記憶されている。この場合、文字色及び背景色は各々8
種類ずつの指定が可能となる。 (例2)ビデオRAMの各アドレスにキャラクタコード
とアトリビュートコートとを一緒に記憶する方法ではあ
るが、例1と異なる点は、アトリビュートコードが、文
字色及び背景色を直接指定する情報ではなく、外部に設
けた文字色又は背景色のRGB値が格納された外部デー
タテーブルのアドレス値となっている点である。具体的
には、アトリビュートコードを4ビットとし、その内訳
は、上位1ビットが文字色及び背景色の識別ビット
(「0」ならば文字色、「1」ならば背景色)、残り3
ビットが外部データテーブルを選択するアドレス指定ビ
ットに割り振られる。更に、キャラクタコードを例1と
同様に8ビットとすると、ビデオRAMの各アドレスの
ビット長は12ビットとなる。この場合、文字色で8種
類且つ背景色で8種類の指定が可能となる。 (例3)上記例1及び例2とは別に、ビデオRAMの各
アドレスにアトリビュートコード及びキャラクタコード
を一緒に記憶させないで、前記ビデオRAMの各アドレ
スにアトリビュートコード又はキャラクタコードの何れ
か一方を記憶させる方法がある。例えば、キャラクタコ
ード及びアトリビュートコードを各々8ビットとする
と、両コードの識別に更に1ビットを使用し(「0」の
時にキャラクタコード、「1」の時にアトリビュートコ
ードと識別)、これよりビデオRAMの各アドレスのビ
ット長は9ビットとなる。アトリビュートコードが記憶
される9ビットの内訳の一例は、最上位ビットがアトリ
ビュートコードであることの識別ビット即ち「1」であ
り、残りの所定3ビットが各々文字色及び背景色の識別
ビット、文字色を着色するか否かのオンオフビット、更
に背景色を着色するか否かのオンオフビットに割り振ら
れ、更に残りの所定3ビットが文字色又は背景色を直接
指定するRGB情報を記憶するビットに割り振られてい
る。この場合、文字色及び背景色が各々8種類ずつ指定
可能となる。
2. Description of the Related Art Generally, when characters are displayed on a television screen or the like, a character ROM in which a dot pattern of a predetermined character font is stored and a video RAM for accessing the address of the character ROM are provided. The video RA
The address of M corresponds to the character display position on the television screen. Now, when displaying RGB-processed characters on the TV screen, specifically, when coloring the characters themselves, adding background color, etc. to the displayed characters, the character code of the character ROM is added to the video RAM. Besides, an attribute code for character modification to the character information read from the character ROM must be stored. A specific storage example will be described below. (Example 1) There is a method of storing a character code and an attribute code together at each address of the video RAM. At this time, the attribute code is information that directly specifies the character color of the displayed character and also information that directly specifies the background color of the displayed character. For example, the attribute code that specifies the character color is 1: 1 for RGB.
3 bits corresponding to, and the attribute code designating the background color also has a 1-to-1 correspondence with RGB and is 3 bits, and the character code is 8 bits.
The bit length of each address of the video RAM is 14 bits. That is, two types of 3 bits, that is, a 6-bit attribute code and an 8-bit character code are stored in each address of the video RAM in a serial 14-bit state. In this case, the character color and background color are each 8
It is possible to specify each type. (Example 2) There is a method of storing the character code and the attribute code together in each address of the video RAM, but the difference from Example 1 is that the attribute code is not the information for directly specifying the character color and the background color. This is that the RGB value of the character color or the background color provided outside is the address value of the external data table in which it is stored. Specifically, the attribute code is set to 4 bits, of which the upper 1 bit is the identification bit of the character color and the background color (the character color if "0", the background color if "1"), and the remaining 3 bits.
Bits are allocated to the addressing bits that select the external data table. Further, if the character code is 8 bits as in Example 1, the bit length of each address in the video RAM is 12 bits. In this case, eight types of character colors and eight types of background colors can be designated. (Example 3) Separately from the above Examples 1 and 2, either the attribute code or the character code is stored in each address of the video RAM without storing the attribute code and the character code in each address of the video RAM together. There is a way to do it. For example, if the character code and the attribute code are each 8 bits, 1 bit is used to identify both codes (when it is “0”, it is identified as the character code, and when it is “1”, it is identified as the attribute code). The bit length of each address is 9 bits. An example of a 9-bit breakdown in which the attribute code is stored is that the most significant bit is the identification bit that is the attribute code, that is, "1", and the remaining 3 bits are the identification bit of the character color and the background color, and the character. It is assigned to an ON / OFF bit for coloring or not, and an ON / OFF bit for coloring or not for background color, and the remaining 3 bits are bits for storing RGB information for directly designating a character color or a background color. Allocated In this case, eight types of character colors and eight background colors can be designated.

【0003】[0003]

【発明が解決しようとする課題】上記した従来の技術に
於いる問題点を以下に述べる。 (例1)ビデオRAMを1度アクセスすることにより、
キャラクタコードの読み出しと同時に、該キャラクタコ
ードに対応する表示文字を修飾する文字色及び背景色を
得られる利点がある。しかしながら、文字色及び背景色
の階調度(色の変化の度合)を上げる為には、RGB値
を直接指定するアトリビュートコードに割り振られるビ
ット数を増やす必要があり、その結果、ビデオRAMが
大型化する問題がある。 (例2)アトリビュートコードには、外部データテーブ
ルを指定するアドレス情報が記憶される。その為、文字
色及び背景色の階調度を上げる場合、外部データテーブ
ルの各アドレスに記憶されているRGB値のデータビッ
ト数を増やすだけでよく、前記アトリビュートコードの
ビット数に変更はなく、ビデオRAMの各アドレスのビ
ット長はそのままである。しかしながら、文字色及び背
景色の種類を増やす場合、外部データテーブルのアドレ
ス数を増やす必要がある。この場合、アドレス情報の増
加に伴い前記アトリビュートコードのビット数が増えて
しまい、ビデオRAMの大型化を招く問題がある。特
に、外部データテーブルを必要とすることは、周辺回路
の大型化を招く問題も重ねて有している。 (例3)アトリビュートコード及びキャラクタコードを
各々ビデオRAMの別々のアドレスに記憶させる為、各
アドレスのビット長は例1及び2に比べて短くて済む。
前記アトリビュートコードの内訳は上記した様に、文字
色及び背景色を直接指定するRGB値の他に、これらの
文字修飾の為の各種修飾情報を付加することができる。
しかしながら、文字色及び背景色の階調度を上げるに
は、RGB値の為のビット長を増やさなければならな
い。この結果、ビデオRAMの各アドレスのビット長が
増えてしまい、ビデオRAMの大型化を招く問題があっ
た。反対に、ビデオRAMの各アドレスのビット長を固
定してしまうと、前記アトリビュートコード自体に各種
修飾情報の一部を付加できなくなり、正しい文字修飾を
実現できなくなる問題がある。
The problems in the above-mentioned conventional technique will be described below. (Example 1) By accessing the video RAM once,
At the same time as reading the character code, there is an advantage that a character color and a background color that modify the display character corresponding to the character code can be obtained. However, in order to increase the gradation (the degree of color change) of the character color and the background color, it is necessary to increase the number of bits allocated to the attribute code that directly specifies the RGB value, and as a result, the video RAM becomes large. I have a problem to do. (Example 2) The attribute code stores address information designating an external data table. Therefore, when increasing the gradation of the character color and the background color, it suffices to increase the data bit number of the RGB value stored in each address of the external data table, and the bit number of the attribute code is not changed. The bit length of each address in the RAM remains unchanged. However, when increasing the types of character colors and background colors, it is necessary to increase the number of addresses in the external data table. In this case, the number of bits of the attribute code increases as the address information increases, which causes a problem of increasing the size of the video RAM. In particular, the need for the external data table has the problem of increasing the size of the peripheral circuit. (Example 3) Since the attribute code and the character code are stored in different addresses of the video RAM, the bit length of each address can be shorter than in Examples 1 and 2.
As described above, the attribute code can include not only the RGB values that directly specify the character color and the background color but also various kinds of modification information for modifying these characters.
However, in order to increase the gradation of the character color and the background color, it is necessary to increase the bit length for RGB values. As a result, the bit length of each address of the video RAM increases, which causes a problem of increasing the size of the video RAM. On the contrary, if the bit length of each address of the video RAM is fixed, a part of various modification information cannot be added to the attribute code itself, and there is a problem that correct character modification cannot be realized.

【0004】本発明は、例3に示す問題の解決を図るも
のであり、多種類の文字修飾を行う場合でも、ビデオR
AMの周辺回路の大型化及びビデオRAM自体の大型化
を防止することのできる文字表示装置を提供することを
目的とする。
The present invention is intended to solve the problem shown in Example 3, and video R even when various types of character modification are performed.
It is an object of the present invention to provide a character display device capable of preventing the AM peripheral circuit from increasing in size and the video RAM itself from increasing in size.

【0005】[0005]

【課題を解決するための手段】本発明は、前記問題点を
解決する為に成されたものであり、その特徴とするとこ
ろは、所定の記憶番地にキャラクタROMをアクセスす
る為のキャラクタコード又は前記キャラクタROMから
読み出されるキャラクタ情報に対して所定の修飾を施す
為のアトリビュートコードが記憶されるビデオRAMを
備え、前記ビデオRAMから読み出されたアトリビュー
トコード及び前記キャラクタROMから読み出されたキ
ャラクタ情報に基づいて所定修飾を有する文字表示を行
う文字表示装置に於いて、前記アトリビュートコードに
対応する修飾データを前記ビデオRAMの特定の記憶領
域に記憶させ、前記ビデオRAMの特定の記憶領域から
読み出された修飾データと前記キャラクタROMから読
み出されたキャラクタ情報とを信号処理することによ
り、所定修飾を施された文字表示を行う点である。
The present invention has been made to solve the above problems, and is characterized in that a character code for accessing a character ROM at a predetermined storage address or The character information read from the character ROM includes a video RAM for storing an attribute code for applying a predetermined modification, and the attribute code read from the video RAM and the character information read from the character ROM In a character display device for displaying characters having a predetermined modification based on the above, modification data corresponding to the attribute code is stored in a specific storage area of the video RAM and read from the specific storage area of the video RAM. Modified data and characters read from the character ROM By signal processing and data information, it is that performs character display having been subjected to predetermined modifications.

【0006】[0006]

【発明の実施の形態】本発明の詳細を図面に従って具体
的に説明する。図1は本発明の文字表示装置を示す回路
ブロック図である。尚、図1は、マイクロコンピュータ
により実現される。図1に於いて、(1)はビデオRA
Mであり、表示文字に対応するキャラクタコードがテレ
ビ画面の表示部分に対応するアドレスに記憶され、表示
文字の色及び背景色等の修飾情報を示すアトリビュート
コードが、修飾変更を施す必要のある先頭の表示文字に
対応するキャラクタコードが記憶されたアドレスの直前
のアドレスに記憶されるものである。特に、テレビ画面
の中で、表示文字の一部又は全部を同じ修飾状態にして
連続表示する場合、ビデオRAM(1)は、修飾状態が
変更される1文字目のキャラクタコードが記憶された直
前のアドレスに、アトリビュートコードが記憶されるだ
けで済む様になっている。
BEST MODE FOR CARRYING OUT THE INVENTION The details of the present invention will be specifically described with reference to the drawings. FIG. 1 is a circuit block diagram showing a character display device of the present invention. Note that FIG. 1 is realized by a microcomputer. In FIG. 1, (1) is a video RA
M, the character code corresponding to the display character is stored at the address corresponding to the display portion of the TV screen, and the attribute code indicating the modification information such as the color and the background color of the display character is the head that needs to be modified. The character code corresponding to the display character is stored at the address immediately before the stored address. In particular, in the case where a part or all of the displayed characters are continuously displayed in the same modified state on the television screen, the video RAM (1) immediately before the character code of the first character whose modified state is changed is stored. Only the attribute code is stored in the address of.

【0007】また、本実施例では、ビデオRAM(1)
の各アドレスは9ビットで構成されるものとし、その最
上位ビットMSBが文字コード又はアトリビュートコー
ドの判別の為に割り振られ、残りの8ビットが文字コー
ド又はアトリビュートコードの内容として割り振られて
いる。例えば、最上位ビットMSBが「0」の場合、こ
れはキャラクタコードの判別を意味し、且つ、最上位ビ
ットMSBが「1」の場合、これはアトリビュートコー
ドの判別を意味する様に取り決めたとすると、「000
〜0FF」H(Hはヘキサデシマル)の256種類のキ
ャラクタコードがビデオRAM(1)の所定のアドレス
に記憶可能となり、また、「100〜1FF」Hの25
6種類のアトリビュートコードがビデオRAM(1)の
残りの所定アドレスに記憶可能となる。そして、ビデオ
RAM(1)から記憶済コードを読み出すと同時にそれ
らの最上位ビットMSBを検出することにより、当該コ
ードが如何なるコードであるのかが判別される。
In the present embodiment, the video RAM (1)
Each address is composed of 9 bits, the most significant bit MSB is allocated for determining the character code or the attribute code, and the remaining 8 bits are allocated as the content of the character code or the attribute code. For example, if the most significant bit MSB is "0", this means the determination of the character code, and if the most significant bit MSB is "1", this means the determination of the attribute code. , "000
~ 0FF "H (H is hexadecimal) 256 kinds of character codes can be stored in a predetermined address of the video RAM (1), and" 100 to 1FF "H 25
Six types of attribute codes can be stored in the remaining predetermined addresses of the video RAM (1). Then, by reading the stored code from the video RAM (1) and simultaneously detecting the most significant bit MSB of the stored code, it is possible to determine what kind of code the code is.

【0008】また、ビデオRAM(1)内部に於いて、
破線で区切られた下部の記憶領域は、表示文字に色又は
背景色を付す為の修飾データが記憶された記憶領域(以
下パレットデータ記憶領域と称する)であり、ビデオR
AM(1)から読み出されたアトリビュートコードをア
ドレスデータとしてアクセスされる領域である。つま
り、ビデオRAM(1)は、本発明の特徴である修飾デ
ータ自体を内部の特定アドレスに記憶する構成となって
いる。
In the video RAM (1),
The lower storage area separated by a broken line is a storage area (hereinafter referred to as palette data storage area) in which modification data for adding a color or a background color to display characters is stored.
This is an area that is accessed using the attribute code read from AM (1) as address data. That is, the video RAM (1) is configured to store the modification data itself, which is a feature of the present invention, at a specific internal address.

【0009】ビデオRAM(1)の具体的マップ例を図
3に示す。該ビデオRAM(1)は、縦方向が「00〜
10」Hの17種類のローアドレスデータ、及び、横方
向が「00〜2F」Hの48種類のカラムアドレスデー
タの何れか1つずつの交差位置が1つのアクセスされる
アドレスとなる。具体的には、ローアドレスデータ「0
0〜0F」H及びカラムアドレスデータ「00〜08」
で指定される右上がり斜線を引いたアドレスには、テレ
ビ画面上での文字表示開始位置、テレビ画面に初めて表
示を行う文字の為の修飾情報等を表す初期設定データが
書き込まれる。また、ローアドレスデータ「00〜0
F」H及びカラムアドレスデータ「09〜2F」Hで指
定されたアドレスには、テレビ画面への文字表示位置に
対応してキャラクタコード及びアトリビュートコードが
書き込まれる。更に、ローアドレスデータ「10」H及
びカラムアドレスデータ「00〜2F」Hで指定される
左上がり斜線を引いたアドレス(パレットデータ領域)
には、前記修飾データが書き込まれる。更に詳細する
と、ローアドレスデータ「10」H及びカラムアドレス
データ「00〜17」Hで指定されるアドレスには文字
の色自体を表す修飾データが書き込まれ、ローアドレス
データ「10」H及びカラムアドレスデータ「18〜2
F」Hで指定されるアドレスには文字の背景色を表す修
飾データが書き込まれるものとする。
A concrete map example of the video RAM (1) is shown in FIG. The video RAM (1) has a vertical direction of "00-
The intersection position of any one of 17 types of row address data of 10 "H and 48 types of column address data of" 00 to 2F "H in the horizontal direction is one accessed address. Specifically, the row address data “0
0 to 0F "H and column address data" 00 to 08 "
The initial setting data representing the character display start position on the television screen, the modification information for the character to be displayed on the television screen for the first time, and the like are written in the address designated by the right upward slanted line. In addition, the row address data “00-0
Character codes and attribute codes are written in the addresses designated by F "H and column address data" 09-2F "H, corresponding to the character display position on the television screen. Further, an address (pallet data area) which is specified by row address data “10” H and column address data “00-2F” H and which is drawn with a diagonal line rising to the left.
The modification data is written in. More specifically, the modification data representing the character color itself is written in the address designated by the row address data “10” H and the column address data “00-17” H, and the row address data “10” H and the column address are displayed. Data "18-2
It is assumed that the decoration data representing the background color of the character is written in the address designated by "F" H.

【0010】前記アトリビュートコードのビット配列の
一例について説明すると、前記アトリビュートコードは
上記した如く9ビット構成であり、最上位ビットがアト
リビュートコード及びキャラクタコードの識別ビット、
上位8ビット目が文字色及び背景色の識別ビット、上位
7ビット目が文字色を着色するか否かのオンオフビッ
ト、上位6ビット目が背景色を着色するか否かのオンオ
フビット、残りの5ビットが前記パレットデータ領域の
カラムアドレス「00〜17」Hを指定するビットに割
り振られている。
Explaining an example of the bit arrangement of the attribute code, the attribute code has a 9-bit structure as described above, and the most significant bit is the identification code of the attribute code and the character code.
The upper 8 bits are for identifying the character color and the background color, the upper 7 bits are for turning on / off the color of the character, and the upper 6 bits are for turning on / off the color of the background. Five bits are allocated to bits that specify the column address "00 to 17" H of the palette data area.

【0011】ここで、前記パレットデータ領域の各アド
レスは上記した如く9ビット構成であり、9ビット全て
がRGB値の情報として使用できる。本実施例では、R
GBに各々2ビットを割り当て、64種類の色指定が可
能であるものとする(残り3ビット不使用)。さて、上
記したマイクロコンピュータの1マシンサイクルは、プ
ログラムの解読結果に基づき、ビデオRAM(1)の書
き込み読み出し動作を行うCPUタイミングと、CPU
(図示せず)の動作とは無関係にビデオRAM(1)の
読み出し動作を行うOSD(ON SCREEN DI
SPLAY)タイミングとから成る。具体的には、1マ
シンサイクルは、3期間のCPUタイミング(ローレベ
ル)及び3期間のOSDタイミング(ハイレベル)を交
互に繰り返す6ステートから成っている(図2のO/C
参照)。ビデオRAM(1)は、CPUタイミング及び
OSDタイミングで独立にアクセスされる為、構成が簡
単なシングルポートで事足りることになる。
Here, each address of the palette data area has a 9-bit structure as described above, and all 9 bits can be used as information of RGB values. In this embodiment, R
2 bits are assigned to each GB, and 64 types of color can be designated (the remaining 3 bits are not used). Now, one machine cycle of the above-mentioned microcomputer is based on the decoding result of the program, the CPU timing for performing the read / write operation of the video RAM (1), and the CPU
An OSD (ON SCREEN DI) that performs a read operation of the video RAM (1) regardless of the operation of (not shown)
SPLAY) timing. Specifically, one machine cycle consists of 6 states in which CPU timing (low level) for 3 periods and OSD timing (high level) for 3 periods are alternately repeated (O / C in FIG. 2).
reference). Since the video RAM (1) is independently accessed at the CPU timing and the OSD timing, a single port having a simple structure will suffice.

【0012】ビデオRAM(1)は、データバス(2)
と接続されている。ビデオRAM(1)は、前記CPU
からの指示に従い、キャラクタコード又はアトリビュー
トコードの書き込みモード、又は両コードの読み出しモ
ードに切り換えられる。例えば、ビデオRAM(1)が
書き込みモードになっている時、アドレスデータ、キャ
ラクタコード、及びアトリビュートコードがデータバス
(2)を介してビデオRAM(1)に取り込まれる。一
方、ビデオRAM(1)に既に書き込まれている内容を
確認する目的で該ビデオRAM(1)が読み出しモード
になっている場合、アドレスデータがデータバス(2)
を介してビデオRAM(1)に取り込まれてアドレッシ
ングされ、該ビデオRAM(1)の指定アドレスからキ
ャラクタコード又はアトリビュートコードが読み出され
てデータバス(2)へ重畳される。
The video RAM (1) has a data bus (2).
Connected with. The video RAM (1) is the CPU
According to the instruction from, the mode is switched to the writing mode of the character code or the attribute code, or the reading mode of both codes. For example, when the video RAM (1) is in the write mode, the address data, the character code, and the attribute code are loaded into the video RAM (1) via the data bus (2). On the other hand, when the video RAM (1) is in the read mode in order to confirm the contents already written in the video RAM (1), the address data is transferred to the data bus (2).
Is taken into the video RAM (1) for addressing via the video RAM (1), the character code or the attribute code is read from the designated address of the video RAM (1) and is superimposed on the data bus (2).

【0013】(3)はローアドレスレジスタであり、各
マシンサイクルの前記CPUタイミング中、ビデオRA
M(1)のローアドレスは該ローアドレスレジスタ
(3)によりアドレッシングされる。該ローアドレスレ
ジスタ(3)は、前記CPUからデータバス(2)を介
してローアドレスデータがセットされる。同様に、
(4)はカラムアドレスレジスタであり、各マシンサイ
クルの前記CPUタイミング中、ビデオRAM(1)の
カラムアドレスは該カラムアドレスレジスタ(4)によ
りアドレッシングされる。該カラムアドレスレジスタ
(4)は、前記CPUからデータバス(2)を介してカ
ラムアドレスデータがセットされる。
(3) is a row address register, which is used for video RA during the CPU timing of each machine cycle.
The row address of M (1) is addressed by the row address register (3). Row address data is set in the row address register (3) from the CPU via the data bus (2). Similarly,
(4) is a column address register, and the column address of the video RAM (1) is addressed by the column address register (4) during the CPU timing of each machine cycle. Column address data is set in the column address register (4) from the CPU via the data bus (2).

【0014】(5)は表示文字の垂直方向の開始位置を
検出する垂直位置制御回路であり、各マシンサイクルの
OSDタイミング中、ビデオRAM(1)は垂直位置制
御回路(5)によりアドレッシングされる。ところで、
テレビ画面に最初に表示される文字の垂直方向開始位置
を表す初期設定データは、ローアドレスデータ「00〜
0F」H及びカラムアドレスデータ「00」Hで指定さ
れるアドレスに書き込まれている。垂直位置制御回路
(5)は、タイミング切換信号O/C、水平同期信号H
s、及び垂直同期信号Vsが印加されて動作するもので
あり、垂直位置制御回路(5)内部には、最初の表示文
字の垂直方向の開始位置を検出する手段として、水平同
期信号Hsの立ち上がりでリセットされ且つ該水平同期
信号Hsの立ち下がり期間中(次の水平同期信号Hsが
発生する迄の間)にカラムアドレスを「00」Hに固定
した状態でローアドレスを「00」Hから「0F」Hま
で変更させることのできる周波数を有するクロック信号
が印加される第1カウンタ(図示せず)と、垂直同期信
号Vsでリセットされ且つ水平同期信号Hsを計数する
第2カウンタ(図示せず)と、前記第1カウンタでアク
セスされた「00〜0F」Hの何れか1つのローアドレ
スに書き込まれたバイナリデータと前記第2カウンタで
計数された水平同期信号Hsのバイナリデータとの一致
検出を行う一致検出回路(図示せず)が設けられてい
る。従って、現在の水平走査中に現れる水平同期信号H
sの位置を表すデータが「00〜0F」Hの何れか1つ
のローアドレスに書かれていると、その位置が最初の表
示文字の垂直方向の表示開始位置と認識され、対応する
ローアドレスデータが出力されて表示が開始される。
(5) is a vertical position control circuit for detecting the vertical start position of a display character, and the video RAM (1) is addressed by the vertical position control circuit (5) during the OSD timing of each machine cycle. . by the way,
The initial setting data representing the vertical start position of the character first displayed on the TV screen is row address data “00-00”.
0F ”H and column address data“ 00 ”H are written. The vertical position control circuit (5) has a timing switching signal O / C and a horizontal synchronizing signal H.
s and the vertical sync signal Vs are applied to operate, and the vertical position control circuit (5) has a rising edge of the horizontal sync signal Hs as means for detecting the vertical start position of the first display character. The row address is reset from "00" H to "00H" while the column address is fixed to "00" H during the falling period of the horizontal synchronization signal Hs (until the next horizontal synchronization signal Hs is generated). A first counter (not shown) to which a clock signal having a frequency that can be changed to 0F "H is applied, and a second counter (not shown) that is reset by the vertical synchronizing signal Vs and counts the horizontal synchronizing signal Hs. ), The binary data written to any one row address of “00 to 0F” H accessed by the first counter and the horizontal data counted by the second counter. Coincidence detecting circuit for performing coincidence detection of the binary data signal Hs (not shown) is provided. Therefore, the horizontal sync signal H that appears during the current horizontal scan
If the data indicating the position of s is written in any one row address of "00-0F" H, that position is recognized as the vertical display start position of the first display character, and the corresponding row address data Is output and the display is started.

【0015】更に、垂直位置制御回路(5)内部には、
前記一致検出回路から出力される一致信号でイネーブル
状態にされ、水平同期信号Hsの立ち上がりをバイナリ
で計数する第3カウンタ(図示せず)が設けられてい
る。ここで、テレビ画面に表示される文字のフォントは
縦mドット×横nドットであるものとする。垂直位置制
御回路(5)に於ける前記第3カウンタは、前記一致検
出回路から一致信号が出力されると、計数を開始し、水
平同期信号Hsの立ち上がりをm回計数してリセットさ
れる。以後、上記した垂直表示開始位置の検出動作以降
を繰り返す。尚、後述するキャラクタROMは、縦mド
ット×横nドットの表示の為のドットパターンが予め記
憶されている為、垂直位置制御回路(5)は、前記一致
検出回路で一致が検出された以降、m個の水平同期信号
Hsの立ち上がりをバイナリで計数した値を、前記キャ
ラクタROMに印加し、該キャラクタROMのアドレス
制御を行える様にしている。
Further, in the vertical position control circuit (5),
A third counter (not shown) is provided which is enabled by a match signal output from the match detection circuit and counts the rising of the horizontal synchronizing signal Hs in binary. Here, the font of characters displayed on the television screen is assumed to be m dots vertically × n dots horizontally. When the coincidence signal is output from the coincidence detection circuit, the third counter in the vertical position control circuit (5) starts counting and is reset by counting the rising edge of the horizontal synchronization signal Hs m times. After that, the above-described operation of detecting the vertical display start position is repeated. Since the character ROM described later has a dot pattern for displaying vertical m dots × horizontal n dots stored in advance, the vertical position control circuit (5) is used after the coincidence is detected by the coincidence detection circuit. , The number of rising edges of the m horizontal synchronizing signals Hs are counted in binary, and are applied to the character ROM so that the address control of the character ROM can be performed.

【0016】(6)は、ビデオRAM(1)の前記パレ
ットデータ領域のローアドレスを指定する為に「10」
Hのローアドレスデータが予めセットされたパレットロ
ーアドレスレジスタである。(7)はローアドレス切換
回路であり、ローアドレスレジスタ(3)、垂直位置制
御回路(5)、及びパレットローアドレスレジスタ
(6)から出力されるローアドレスデータを切換出力す
るものである。具体的には、ローアドレス切換回路
(7)には、タイミング切換信号O/C及びパレットリ
ード信号PRが印加されており、両信号O/C及びPR
のハイレベル及びローレベルの組合せにより何れか1つ
のローアドレスデータを切換出力できる。尚、両信号O
/C及びPRの発生タイミングは図2のタイムチャート
に示す通りである。即ち、タイミング切換信号O/Cが
ローレベル且つパレットリード信号PRがローレベルの
時は、ローアドレスレジスタ(3)にセットされている
ローアドレスデータがローアドレス切換回路(7)から
切換出力されてビデオRAM(1)に印加され、また、
タイミング切換信号O/Cがハイレベル且つパレットリ
ード信号PRがローレベルの時は、垂直位置制御回路
(5)から水平走査に応じて発生するローアドレスデー
タがローアドレス切換回路(7)から切換出力されてビ
デオRAM(1)に印加され、更に、タイミング切換信
号O/C及びパレットリード信号PRが共にハイレベル
の時は、パレットローアドレスレジスタ(6)にセット
されたローアドレスデータがローアドレス切換回路
(7)を介してビデオRAM(1)に印加される。
(6) is "10" for designating the row address of the palette data area of the video RAM (1).
It is a palette row address register in which row address data of H is preset. (7) is a row address switching circuit, which switches and outputs row address data output from the row address register (3), the vertical position control circuit (5), and the palette row address register (6). Specifically, a timing switching signal O / C and a palette read signal PR are applied to the row address switching circuit (7), and both signals O / C and PR are applied.
Any one of the row address data can be switched and output according to the combination of the high level and the low level. Both signals O
The generation timings of / C and PR are as shown in the time chart of FIG. That is, when the timing switching signal O / C is at the low level and the palette read signal PR is at the low level, the row address data set in the row address register (3) is switched and output from the row address switching circuit (7). Applied to video RAM (1),
When the timing switching signal O / C is at a high level and the palette read signal PR is at a low level, row address data generated by the vertical position control circuit (5) in response to horizontal scanning is switched from the row address switching circuit (7). Applied to the video RAM (1), and when the timing switching signal O / C and the palette read signal PR are both high level, the row address data set in the palette row address register (6) is switched to the low address. It is applied to the video RAM (1) via the circuit (7).

【0017】(8)は表示文字の水平方向の開始位置を
検出する水平位置制御回路であり、各マシンサイクルの
OSDタイミング中、ビデオRAM(1)は該水平位置
制御回路(8)の出力に基づきアドレッシングされる。
該水平位置制御回路(8)内部には、水平同期信号Hs
の立ち上がりでリセットされた後にドットクロックDC
LKの立ち上がりをバイナリで計数するカウンタ機能、
及び、ドットクロックDCLKが表示文字の水平方向の
開始位置まで行われた時のドットクロックDCLK数が
予めバイナリでセットされるレジスタ機能を有してい
る。尚、ドットクロックDCLKは、文字データの横方
向の各ドット毎が1周期となる周波数を有するものであ
る。そして、水平位置制御回路(8)に於けるカウンタ
機能は、実際のドットクロックDCLKがレジスタ機能
にセットされた値に達するまでは計数動作を禁止され、
その後、計数を開始すると同時にパルスPPCを発生
し、その後、ドットクロックDCLKをn回計数する毎
にパルスPPCを繰り返し発生する。(9)はカラムカ
ウンタであり、ORゲート(10)を介して水平位置制
御回路(8)からのパルスPPCが印加される毎にイン
クリメントされるカラムアドレスデータを発生する。上
記説明から明らかな様に、パルスPPCは、水平方向の
文字表示か変更される時点で発生する。
(8) is a horizontal position control circuit for detecting the horizontal start position of the displayed character. During the OSD timing of each machine cycle, the video RAM (1) outputs the horizontal position control circuit (8). Addressing based on
Inside the horizontal position control circuit (8), a horizontal synchronization signal Hs
Dot clock DC after being reset at the rising edge of
A counter function that counts the rising edge of LK in binary,
Also, it has a register function in which the number of dot clocks DCLK when the dot clocks DCLK are performed up to the horizontal start position of the display character is set in advance in binary. The dot clock DCLK has a frequency such that each horizontal dot of the character data has one cycle. The counter function in the horizontal position control circuit (8) is prohibited from counting until the actual dot clock DCLK reaches the value set in the register function.
After that, the pulse PPC is generated at the same time when the counting is started, and thereafter, the pulse PPC is repeatedly generated every time the dot clock DCLK is counted n times. A column counter (9) generates column address data that is incremented each time the pulse PPC from the horizontal position control circuit (8) is applied via the OR gate (10). As is clear from the above description, the pulse PPC is generated when the horizontal character display is changed.

【0018】(11)はカラムアドレス切換回路であ
り、ローアドレス切換回路(7)と同様に、タイミング
切換信号O/C及びパレットリード信号PRが印加さ
れ、両信号O/C及びPRのレベルに応じて、カラムア
ドレスレジスタ(4)、カラムカウンタ(9)及び後述
するラッチ回路の出力を切換出力してビデオRAM
(1)に印加させるものである。具体的には、タイミン
グ切換信号O/C及びパレットリード信号PRが共にロ
ーレベルの時、カラムアドレスレジスタ(4)にセット
されたカラムアドレスデータがカラムアドレス切換回路
(11)を介してビデオRAM(1)に印加される。ま
た、タイミング切換信号O/Cがハイレベル且つパレッ
トリード信号PRがローレベルの時、カラムカウンタ
(9)で計数されたカラムアドレスデータがカラムアド
レス切換回路(11)を介してビデオRAM(1)に印
加される。更に、タイミング切換信号O/C及びパレッ
トリード信号PRが共にハイレベルの時、前記ラッチ回
路のラッチ出力がカラムアドレス切換回路(11)を介
してビデオRAM(1)に印加される。この様にして、
ビデオRAM(1)は、ローアドレスデータ及びカラム
アドレスデータで指定されるアドレスをアクセスされて
当該アドレスに書き込まれているデータ(キャラクタコ
ード又はアトリビュートコード)を読み出せることにな
る。尚、垂直位置制御回路(5)では、垂直方向の文字
表示開始位置を検出する為に、ローアドレス「00〜0
F」H及びカラムアドレス「00」Hで指定されるアド
レスに書き込まれたデータの取り込みが必要となる。そ
こで、タイミング切換信号O/Cの立ち下がりで読み出
されたビデオRAM(1)の全9ビットデータVDAT
Aは垂直位置制御回路(5)に印加される構成となって
いる。
A column address switching circuit (11) is applied with the timing switching signal O / C and the palette read signal PR in the same manner as the row address switching circuit (7), and has a level of both signals O / C and PR. Accordingly, the outputs of the column address register (4), the column counter (9) and a latch circuit described later are switched and output to output the video RAM.
It is applied to (1). Specifically, when both the timing switching signal O / C and the palette read signal PR are at the low level, the column address data set in the column address register (4) passes through the column address switching circuit (11) to the video RAM ( 1) is applied. When the timing switching signal O / C is at high level and the palette read signal PR is at low level, the column address data counted by the column counter (9) is transferred to the video RAM (1) via the column address switching circuit (11). Applied to. Further, when both the timing switching signal O / C and the palette read signal PR are at high level, the latch output of the latch circuit is applied to the video RAM (1) via the column address switching circuit (11). In this way
The video RAM (1) can access the address specified by the row address data and the column address data and read the data (character code or attribute code) written at the address. In the vertical position control circuit (5), in order to detect the vertical character display start position, the row address "00-0
It is necessary to fetch the data written at the address designated by F "H and the column address" 00 "H. Therefore, all the 9-bit data VDAT of the video RAM (1) read at the falling edge of the timing switching signal O / C.
A is applied to the vertical position control circuit (5).

【0019】(12)は8ビット構成のキャラクタコー
ドラッチ回路であり、ビデオRAM(1)の読み出し出
力VDATAのうちキャラクタコードのみをパルスPP
Cの立ち上がりに同期してラッチするものである。(1
3)はアトリビュートコードラッチ回路であり、ビデオ
RAM(1)の読み出し出力の最上位ビットMSBが論
理「1」となり且つ水平位置制御回路(8)からアトリ
ビュートクロックATRCKが発生した時、ANDゲー
ト(14)から出力される前記ATRCKと同一出力の
立ち下がりに同期して、ビデオRAM(1)の読み出し
出力VDATAのうちアトリビュートコードのみをラッ
チするものである。同時に、ANDゲート(14)の出
力はORゲート(10)の他方の入力にも印加され、即
ち、アトリビュートコードラッチ回路(13)がアトリ
ビュートコードをラッチする直前にカラムカウンタ
(9)の値は前記クロックATRCKの立ち上がりに同
期して+1インクリメントされる。
Reference numeral (12) is an 8-bit character code latch circuit, and only the character code of the read output VDATA of the video RAM (1) is pulsed PP.
It is latched in synchronization with the rising edge of C. (1
Reference numeral 3) is an attribute code latch circuit, and when the most significant bit MSB of the read output of the video RAM (1) becomes logic "1" and the horizontal position control circuit (8) generates the attribute clock ATRCK, the AND gate (14 ), Only the attribute code of the read output VDATA of the video RAM (1) is latched in synchronization with the fall of the same output as the above-mentioned ATRCK. At the same time, the output of the AND gate (14) is also applied to the other input of the OR gate (10), that is, the value of the column counter (9) immediately before the attribute code latch circuit (13) latches the attribute code. It is incremented by +1 in synchronization with the rising edge of the clock ATRCK.

【0020】(15)は前述したラッチ回路であり、ア
トリビュートコードラッチ回路(13)にラッチされた
アトリビュートコードを、パレットデータ領域のカラム
アドレスに解読し、パルスPPCの立ち上がりに同期し
てラッチするものである。これにより、ラッチ回路(1
5)は、文字色か背景色かを識別するデータ(アトリビ
ュートコードの上位8ビット目)と、文字色のオンオフ
データ(アトリビュートコードの上位7ビット目)と、
背景色のオンオフデータ(アトリビュートコードの上位
6ビット目)と、パレット領域のカラムアドレスデータ
とを保持する。
(15) is the above-mentioned latch circuit, which decodes the attribute code latched by the attribute code latch circuit (13) into the column address of the palette data area and latches it in synchronization with the rising edge of the pulse PPC. Is. As a result, the latch circuit (1
5) is data for identifying a character color or a background color (upper 8 bits of the attribute code), character color on / off data (upper 7 bits of the attribute code),
On-off data of the background color (upper 6 bits of the attribute code) and column address data of the palette area are held.

【0021】(16)は修飾データラッチ回路であり、
パレットローアドレスレジスタ(6)から出力された
「10」Hの固定されたローアドレスデータと、ラッチ
回路(15)から出力された「00〜2F」Hのカラム
アドレスデータで指定されたビデオRAM(1)のパレ
ットデータ領域の任意のアドレスから読み出された修飾
データを、水平位置制御回路(8)から出力される修飾
データクロックPLDCKの立ち上がりに同期してラッ
チするものである。
(16) is a modified data latch circuit,
Video RAM designated by fixed row address data of "10" H output from the palette row address register (6) and column address data of "00-2F" H output from the latch circuit (15) ( The modification data read from an arbitrary address in the palette data area 1) is latched in synchronization with the rising edge of the modification data clock PLDCK output from the horizontal position control circuit (8).

【0022】(17)は前述したキャラクタROMであ
り、縦mドット×横nドットの文字フォントを有する所
定のドットパターンが各アドレスに記憶されている。
(18)はnビットのシフトレジスタであり、パルスP
PCの立ち上がりに同期してキャラクタROM(17)
から読み出されているnビットデータを保持し、ドット
クロックDCLKに同期してnビットデータをシリアル
出力するものである。
(17) is the above-mentioned character ROM, and a predetermined dot pattern having a character font of vertical m dots × horizontal n dots is stored at each address.
(18) is an n-bit shift register, which has a pulse P
Character ROM (17) in synchronization with the rise of PC
It holds the n-bit data read from, and serially outputs the n-bit data in synchronization with the dot clock DCLK.

【0023】(19)(20)は各々レジスタA及びB
であり、レジスタA(19)は、修飾データラッチ回路
(16)でラッチしているデータが表示文字自体の色指
定を行う修飾データの場合、該データをパルスPPCの
立ち上がりに同期して保持するものであり、同様に、レ
ジスタB(20)は、表示文字に背景色を付す修飾デー
タの場合、該データをパルスPPCの立ち上がりに同期
して保持するものである。(21)は、レジスタA(1
9)及びレジスタB(20)の何れか一方へ修飾データ
ラッチ回路(16)のデータを選択入力させる為の選択
ラッチ回路であり、インバータ(22)を介して印加さ
れるパルスPPCの立ち下がりに同期して、ラッチ回路
(15)にラッチされている文字色指定か背景色指定か
のデータをラッチする。例えば、選択ラッチ回路(2
1)は、「0」をラッチした時にレジスタA(19)へ
の入力を許可し、また、「1」をラッチした時にレジス
タB(20)への入力を許可する。(23)は出力処理
回路であり、色出力制御ラッチ回路(24)からの出力
に基づいて、シフトレジスタ(18)から出力されるド
ットデータと、レジスタA(19)又はレジスタB(2
0)から出力される修飾データとに対して信号処理を施
し、テレビ画面上にRGBの信号処理を施された文字を
表示する為の信号を出力するものである。
(19) and (20) are registers A and B, respectively.
When the data latched by the modification data latch circuit (16) is modification data for designating the color of the display character itself, the register A (19) holds the data in synchronization with the rising edge of the pulse PPC. Similarly, the register B (20) holds, in the case of the modification data for adding a background color to the display character, the data in synchronization with the rising edge of the pulse PPC. (21) is the register A (1
9) and the register B (20) is a selection latch circuit for selectively inputting the data of the modified data latch circuit (16) to either one of the registers B (20) and the falling edge of the pulse PPC applied via the inverter (22). In synchronization with this, the data of the character color designation or the background color latched in the latch circuit (15) is latched. For example, the selection latch circuit (2
1) permits input to the register A (19) when "0" is latched, and permits input to the register B (20) when "1" is latched. Reference numeral (23) is an output processing circuit, and based on the output from the color output control latch circuit (24), the dot data output from the shift register (18) and the register A (19) or the register B (2
(0) is subjected to signal processing with respect to the modified data outputted from (0) to output a signal for displaying the characters subjected to the RGB signal processing on the television screen.

【0024】色出力制御ラッチ回路(24)は、ラッチ
回路(15)にラッチされている文字色のオンオフデー
タと背景色のオンオフデータとを、パルスPPCの立ち
上がりに同期してラッチするものである。このラッチ出
力を出力処理回路(23)に出力することにより、文字
色及び背景色のオンオフを制御することができる。以
下、図1の動作、特にビデオRAM(1)の記憶コード
を表示の目的で読み出してテレビ画面上に1水平走査分
だけ表示する場合につき(ローアドレスは固定)、図2
のタイムチャートを基に説明する。尚、図2は、表示文
字の初期の開始位置を認識できた後の動作を表してい
る。また、タイミング切換信号O/CとパルスPPCと
は同期させる必要はないが、説明の都合上、同期した状
態で説明する。
The color output control latch circuit (24) latches the character color on / off data and the background color on / off data latched by the latch circuit (15) in synchronization with the rising of the pulse PPC. . By outputting this latch output to the output processing circuit (23), it is possible to control on / off of the character color and the background color. Hereinafter, the operation of FIG. 1, particularly the case where the memory code of the video RAM (1) is read out for the purpose of display and displayed for one horizontal scanning on the television screen (row address is fixed), FIG.
It will be described based on the time chart of. 2 shows the operation after the initial start position of the displayed character can be recognized. Further, it is not necessary to synchronize the timing switching signal O / C and the pulse PPC, but for convenience of explanation, they will be described in a synchronized state.

【0025】時刻t0に於いて、パルスPPCが立ち上
がると、該パルスPPCの立ち上がりに同期してカラム
カウンタ(9)がインクリメントされ、該カラムカウン
タ(9)の値がn−1からnになったとする。同時に、
ビデオRAM(1)から読み出されているのがカラムア
ドレスデータn−1に対応するキャラクタコードN−1
であるとすると、パルスPPCの立ち上がりに同期して
該キャラクタコードN−1がキャラクタコードラッチ回
路(12)にラッチされる。この時、タイミング切換信
号O/Cはローレベルからハイレベルに立ち上がった状
態であり、その後のハイレベル期間にカラムカウンタ
(9)のカラムアドレスデータnがカラムアドレス切換
回路(11)を介してビデオRAM(1)に印加され、
該ビデオRAM(1)のカラムアドレスn(ローアドレ
スは任意のアドレスで固定されている)で指定されるア
ドレスがアクセスされる。すると、タイミング切換信号
O/Cの立ち下がりに同期して、ビデオRAM(1)か
ら読み出されるコードがN−1からNに変更される。
尚、カラムアドレスnに対応するビデオRAM(1)の
読み出しコードは大文字のNで表すものとする。ここ
で、読み出しコードNがアトリビュートコードである
と、最上位ビットMSBが「1」であることから、アト
リビュートクロックATRCKの立ち上がりに同期し
て、カラムカウンタ(9)の値がnからn+1へ変更さ
れ、また、アトリビュートクロックATRCKの立ち下
がりに同期して、該アトリビュートコードNがアトリビ
ュートコードラッチ回路(13)にラッチされる。尚、
アトリビュートクロックATRCKが発生している期間
はパレットリード信号PRがハイレベルとなっている
為、カラムカウンタ(9)の出力がカラムアドレス切換
回路(11)から出力される動作は禁止され、その代わ
りにラッチ回路(15)に既にラッチされている前アト
リビュートコードがビデオRAM(1)に印加され、タ
イミング切換信号O/Cの立ち下がりに同期して、ビデ
オRAM(1)からは当該前アトリビュートコードに対
応する修飾データが読み出される。その後、タイミング
切換信号O/Cの立ち上がりと同時に修飾データクロッ
クPLDCKが発生すると、該修飾データクロックPL
DCKの立ち上がりに同期して修飾データラッチ回路
(16)に前記修飾データがラッチされる。尚、カラム
カウンタ(9)の値n+1で指定されるアドレスから読
み出されるコードはキャラクタコードであるものとす
る。
At time t0, when the pulse PPC rises, the column counter (9) is incremented in synchronization with the rising of the pulse PPC, and the value of the column counter (9) changes from n-1 to n. To do. at the same time,
The character code N-1 corresponding to the column address data n-1 is read from the video RAM (1).
Then, the character code N-1 is latched in the character code latch circuit (12) in synchronization with the rising edge of the pulse PPC. At this time, the timing switching signal O / C is in a state of rising from the low level to the high level, and during the subsequent high level period, the column address data n of the column counter (9) is transferred to the video via the column address switching circuit (11). Applied to RAM (1),
The address specified by the column address n (the row address is fixed at an arbitrary address) of the video RAM (1) is accessed. Then, the code read from the video RAM (1) is changed from N-1 to N in synchronization with the fall of the timing switching signal O / C.
The read code of the video RAM (1) corresponding to the column address n is represented by capital N. Here, when the read code N is an attribute code, the most significant bit MSB is "1", so that the value of the column counter (9) is changed from n to n + 1 in synchronization with the rising edge of the attribute clock ATRCK. The attribute code N is latched in the attribute code latch circuit (13) in synchronization with the fall of the attribute clock ATRCK. still,
Since the palette read signal PR is at a high level while the attribute clock ATRCK is generated, the operation in which the output of the column counter (9) is output from the column address switching circuit (11) is prohibited, and instead, The previous attribute code already latched in the latch circuit (15) is applied to the video RAM (1), and in synchronization with the fall of the timing switching signal O / C, the previous attribute code is changed from the video RAM (1) to the previous attribute code. The corresponding modification data is read. After that, when the modified data clock PLDCK is generated at the same time when the timing switching signal O / C rises, the modified data clock PL
The modification data is latched in the modification data latch circuit (16) in synchronization with the rise of DCK. The code read from the address designated by the value n + 1 of the column counter (9) is assumed to be a character code.

【0026】その後1文字分の文字フォントの横方向の
ドット表示が終了し、時刻t1に於いて、パルスPPC
が再び立ち上がると、該パルスPPCの立ち上がりに同
期してカラムカウンタ(9)がインクリメントされ、該
カラムカウンタ(9)の値はn+1からn+2になる。
同時に、ビデオRAM(1)から読み出されているのが
カラムアドレスデータn+1に対応するキャラクタコー
ドN+1となり、パルスPPCの立ち上がりに同期して
該キャラクタコードN+1がキャラクタコードラッチ回
路(12)にラッチされる。更にパルスPPCの立ち上
がりに同期して、アトリビュートコードラッチ回路(1
3)に既にラッチされているアトリビュートコードNが
ラッチ回路(15)にラッチされ、且つ、キャラクタコ
ードN−1でアクセスされるキャラクタROM(17)
から読み出される出力(N−1)’がシフトレジスタ
(18)にセットされ、また、パルスPPCの立ち下が
りに同期して、ラッチ回路(15)に既にラッチされて
いる文字色指定か背景色指定かを指定するデータに応じ
て、修飾データラッチ回路(16)にラッチされている
前修飾データがレジスタA(19)又はレジスタB(2
0)の何れか一方にセットされる。この時、タイミング
切換信号O/Cはローレベルからハイレベルに立ち上が
った状態であり、その後のハイレベル期間にカラムカウ
ンタ(9)のカラムアドレスデータn+2がカラムアド
レス切換回路(11)を介してビデオRAM(1)に印
加され、該ビデオRAM(1)のカラムアドレスn+2
(ローアドレスは任意のアドレスで固定されている)で
指定されるアドレスがアクセスされる。すると、タイミ
ング切換信号O/Cの立ち下がりに同期して、ビデオR
AM(1)から読み出されるコードがN+1からN+2
に変更される。ここで、読み出しコードN+2がキャラ
クタコードであると、該キャラクタコードの最上位ビッ
トMSBが「0」であることから、アトリビュートクロ
ックATRCKが発生しても、カラムカウンタ(9)の
値は変更されることなくn+2のままであり、また、A
NDゲート(14)からアトリビュートコードラッチ回
路(13)の為のクロックも発生しない為、キャラクタ
コードN+2がアトリビュートコードラッチ回路(1
3)にラッチされる動作も禁止される。尚、アトリビュ
ートクロックATRCKが発生している期間はパレット
リード信号PRがハイレベルとなっている為、カラムカ
ウンタ(9)の出力がカラムアドレス切換回路(11)
から出力される動作は禁止され、その代わりにラッチ回
路(15)に既にラッチされているアトリビュートコー
ドNがビデオRAM(1)に印加され、タイミング切換
信号O/Cの立ち下がりに同期して、ビデオRAM
(1)からは当該アトリビュートコードNに対応する修
飾データNが読み出される。その後、タイミング切換信
号O/Cの立ち上がりと同時に修飾データクロックPL
DCKが発生すると、該修飾データクロックPLDCK
の立ち上がりに同期して修飾データラッチ回路(16)
に前記修飾データNがラッチされる。
After that, the horizontal dot display of the character font for one character is completed, and the pulse PPC is displayed at time t1.
Rise again, the column counter (9) is incremented in synchronization with the rising of the pulse PPC, and the value of the column counter (9) changes from n + 1 to n + 2.
At the same time, the character code N + 1 corresponding to the column address data n + 1 is read from the video RAM (1), and the character code N + 1 is latched by the character code latch circuit (12) in synchronization with the rising edge of the pulse PPC. It Further, in synchronization with the rising edge of the pulse PPC, the attribute code latch circuit (1
The character ROM (17) in which the attribute code N already latched in 3) is latched in the latch circuit (15) and is accessed with the character code N-1.
The output (N-1) 'read from is set in the shift register (18), and the character color or background color already latched in the latch circuit (15) is designated in synchronization with the fall of the pulse PPC. The pre-qualification data latched by the decoration data latch circuit (16) is registered in the register A (19) or the register B (2
0). At this time, the timing switching signal O / C is in a state of rising from the low level to the high level, and during the subsequent high level period, the column address data n + 2 of the column counter (9) is transferred to the video through the column address switching circuit (11). The column address n + 2 of the video RAM (1) applied to the RAM (1).
The address specified by (row address is fixed at any address) is accessed. Then, the video R is synchronized with the fall of the timing switching signal O / C.
Codes read from AM (1) are N + 1 to N + 2
Is changed to. Here, if the read code N + 2 is a character code, the most significant bit MSB of the character code is "0", so that the value of the column counter (9) is changed even if the attribute clock ATRCK is generated. N + 2 without any change, and A
Since the clock for the attribute code latch circuit (13) is not generated from the ND gate (14), the character code N + 2 is the attribute code latch circuit (1).
The operation latched in 3) is also prohibited. Since the palette read signal PR is at the high level during the period when the attribute clock ATRCK is generated, the output of the column counter (9) is the column address switching circuit (11).
Is prohibited, and instead the attribute code N already latched in the latch circuit (15) is applied to the video RAM (1), in synchronization with the fall of the timing switching signal O / C, Video ram
From (1), the modified data N corresponding to the attribute code N is read. Then, at the same time as the timing switching signal O / C rises, the modified data clock PL
When DCK occurs, the modified data clock PLDCK
Modified data latch circuit (16) in synchronization with the rising edge of
The modification data N is latched at.

【0027】その後更に1文字分の文字フォントの横方
向のドット表示が終了し、時刻t2に於いて、パルスP
PCが再び立ち上がると、該パルスPPCの立ち上がり
に同期してカラムカウンタ(9)がインクリメントさ
れ、該カラムカウンタ(9)の値はn+2からn+3に
なる。同時に、ビデオRAM(1)から読み出されてい
るのがカラムアドレスデータn+2に対応するキャラク
タコードN+2となり、パルスPPCの立ち上がりに同
期して該キャラクタコードN+2がキャラクタコードラ
ッチ回路(12)にラッチされる。更にパルスPPCの
立ち上がりに同期して、アトリビュートコードラッチ回
路(13)に既にラッチされているアトリビュートコー
ドNがラッチ回路(15)に再びラッチされ、且つ、キ
ャラクタコードN+1でアクセスされるキャラクタRO
M(17)から読み出される出力(N+1)’がシフト
レジスタ(18)にセットされ、また、パルスPPCの
立ち下がりに同期して、ラッチ回路(15)に既にラッ
チされている文字色又は背景色を指定するデータに応じ
て、修飾データラッチ回路(16)にラッチされている
修飾データNがレジスタA(19)又はレジスタB(2
0)の何れか一方にセットされる。この時、タイミング
切換信号O/Cはローレベルからハイレベルに立ち上が
った状態であり、その後のハイレベル期間にカラムカウ
ンタ(9)のカラムアドレスデータn+3がカラムアド
レス切換回路(11)を介してビデオRAM(1)に印
加され、該ビデオRAM(1)のカラムアドレスn+3
(ローアドレスは任意のアドレスで固定されている)で
指定されるアドレスがアクセスされる。すると、タイミ
ング切換信号O/Cの立ち下がりに同期して、ビデオR
AM(1)から読み出されるコードがN+2からN+3
に変更される。ここで、読み出しコードN+3がアトリ
ビュートコードであると、該アトリビュートコードの最
上位ビットMSBが「1」であることから、アトリビュ
ートクロックATRCKの立ち上がりに同期してカラム
カウンタ(9)の値がn+3からn+4に+1インクリ
メントされる。また、アトリビュートクロックATRC
Kの立ち下がりに同期してアトリビュートコードN+3
がアトリビュートコードラッチ回路(13)にラッチさ
れる。尚、アトリビュートクロックATRCKが発生し
ている期間はパレットリード信号PRがハイレベルとな
っている為、カラムカウンタ(9)の出力がカラムアド
レス切換回路(11)から出力される動作は禁止され、
その代わりにラッチ回路(15)に既にラッチされてい
るアトリビュートコードNがビデオRAM(1)に再び
印加され、タイミング切換信号O/Cの立ち下がりに同
期して、ビデオRAM(1)からは当該アトリビュート
コードNに対応する修飾データNが読み出される。その
後、タイミング切換信号O/Cの立ち上がりと同時に修
飾データクロックPLDCKが発生すると、該修飾デー
タクロックPLDCKの立ち上がりに同期して修飾デー
タラッチ回路(16)に前記修飾データNがラッチされ
る。以後、上記した動作を繰り返す。
After that, the dot display in the horizontal direction of the character font for one character is completed, and at time t2, the pulse P
When PC rises again, the column counter (9) is incremented in synchronization with the rise of the pulse PPC, and the value of the column counter (9) changes from n + 2 to n + 3. At the same time, the character code N + 2 corresponding to the column address data n + 2 is read from the video RAM (1), and the character code N + 2 is latched by the character code latch circuit (12) in synchronization with the rising edge of the pulse PPC. It Further, in synchronization with the rising edge of the pulse PPC, the attribute code N already latched in the attribute code latch circuit (13) is latched again in the latch circuit (15) and is accessed by the character code N + 1.
The output (N + 1) 'read from M (17) is set in the shift register (18), and the character color or background color already latched in the latch circuit (15) is synchronized with the fall of the pulse PPC. The modification data N latched in the modification data latch circuit (16) is registered in the register A (19) or the register B (2
0). At this time, the timing switching signal O / C is in a state of rising from the low level to the high level, and during the subsequent high level period, the column address data n + 3 of the column counter (9) is transferred to the video through the column address switching circuit (11). The column address n + 3 of the video RAM (1) applied to the RAM (1).
The address specified by (row address is fixed at any address) is accessed. Then, the video R is synchronized with the fall of the timing switching signal O / C.
Codes read from AM (1) are N + 2 to N + 3
Is changed to. Here, if the read code N + 3 is an attribute code, the most significant bit MSB of the attribute code is "1". Is incremented by +1. Also, the attribute clock ATRC
Attribute code N + 3 in synchronization with the fall of K
Is latched by the attribute code latch circuit (13). Since the palette read signal PR is at a high level while the attribute clock ATRCK is generated, the operation of outputting the output of the column counter (9) from the column address switching circuit (11) is prohibited,
Instead, the attribute code N already latched in the latch circuit (15) is re-applied to the video RAM (1), and from the video RAM (1) in synchronization with the fall of the timing switching signal O / C. The modification data N corresponding to the attribute code N is read. After that, when the modified data clock PLDCK is generated at the same time as the rising of the timing switching signal O / C, the modified data N is latched in the modified data latch circuit (16) in synchronization with the rising of the modified data clock PLDCK. After that, the above operation is repeated.

【0028】そして、時刻t1からt2の間に於いて、
シフトレジスタ(18)の値が(N−1)’、レジスタ
A(19)又はレジスタB(20)の値が前修飾データ
となっている時、これらの値が出力処理回路(23)に
印加され、所定のRGB信号が出力されることになる。
同様に、時刻t2からt3の間に於いて、シフトレジス
タ(18)の値が(N+1)’、レジスタA(19)又
はレジスタB(20)の値が修飾データNとなっている
時、これらの値が出力処理回路(23)に印加され、所
定のRGB信号が出力されることになる。
Then, between the times t1 and t2,
When the value of the shift register (18) is (N-1) 'and the value of the register A (19) or the register B (20) is the prequalification data, these values are applied to the output processing circuit (23). Then, a predetermined RGB signal is output.
Similarly, when the value of the shift register (18) is (N + 1) 'and the value of the register A (19) or the register B (20) is the modified data N between the times t2 and t3, Is applied to the output processing circuit (23) to output a predetermined RGB signal.

【0029】以上より、本発明によれば、ビデオRAM
(1)から読み出されるアトリビュートコードに対応す
る、表示文字に修飾を施す為の修飾データを、ビデオR
AM(1)自体の特定アドレスに記憶させ、ビデオRA
M(1)からアトリビュートコードが読み出された時の
み対応する修飾データを読み出せる構成とした。これに
より、ビデオRAM(1)のアドレスの一部に修飾デー
タを記憶させる為、周辺回路の増大を防止でき、更に1
アドレスにつきアトリビュートコードのみを記憶できる
為、多種類の色指定も可能となる。
As described above, according to the present invention, the video RAM
The modification data for modifying the display characters, which corresponds to the attribute code read from (1), is converted into the video R
The video RA is stored in a specific address of AM (1) itself.
Only when the attribute code is read from M (1), the corresponding modification data can be read. As a result, since the modification data is stored in a part of the address of the video RAM (1), it is possible to prevent the peripheral circuit from increasing, and
Since only the attribute code can be stored for each address, various types of colors can be specified.

【0030】尚、前述した実施例は、本発明の例示に過
ぎず、必要に応じて種々の変更が可能であり、特許請求
の範囲に記載された本発明は、それらの変更を全て包含
するものである。
The above-described embodiment is merely an example of the present invention, and various modifications can be made if necessary, and the present invention described in the claims includes all those modifications. It is a thing.

【0031】[0031]

【発明の効果】本発明によれば、ビデオRAMから読み
出されるアトリビュートコードに対応する、表示文字に
修飾を施す為の修飾データを、ビデオRAM自体の特定
アドレスに記憶させ、ビデオRAMからアトリビュート
コードが読み出された時のみ対応する修飾データを読み
出せる構成とした。これにより、ビデオRAMのアドレ
スの一部に修飾データを記憶させる為、周辺回路の増大
を防止でき、更に1アドレスにつきアトリビュートコー
ドのみを記憶できる為、多種類の色指定も可能となる利
点が得られる。
According to the present invention, modification data for modifying display characters corresponding to the attribute code read from the video RAM is stored at a specific address of the video RAM itself, and the attribute code is read from the video RAM. Only when read, the corresponding modified data can be read. As a result, the modification data is stored in a part of the address of the video RAM, the increase of the peripheral circuit can be prevented, and since only the attribute code can be stored in one address, it is possible to specify many kinds of colors. To be

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

【図1】本発明の文字表示装置を示す回路ブロック図で
ある。
FIG. 1 is a circuit block diagram showing a character display device of the present invention.

【図2】図1の動作を示すタイムチャートである。FIG. 2 is a time chart showing the operation of FIG.

【図3】ビデオRAMのエリアマップを示す図である。FIG. 3 is a diagram showing an area map of a video RAM.

【符号の説明】[Explanation of symbols]

(1) ビデオRAM (17) キャラクタROM (23) 出力処理回路 (1) Video RAM (17) Character ROM (23) Output processing circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平5−303361(JP,A) 特開 昭62−123492(JP,A) 特開 昭62−170998(JP,A) 特開 昭62−172389(JP,A) (58)調査した分野(Int.Cl.7,DB名) G09G 5/00 - 5/40 H04N 5/445 ─────────────────────────────────────────────────── --Continued from the front page (56) References JP-A-5-303361 (JP, A) JP-A-62-123492 (JP, A) JP-A-62-170998 (JP, A) JP-A-62- 172389 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G09G 5/00-5/40 H04N 5/445

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 キャラクタROMをアクセスする為のキ
ャラクタコード及びキャラクタROMから読み出される
キャラクタ情報に対して所定の修飾を施す為のアトリビ
ュートコードが記憶されるビデオRAMを備え、前記ビ
デオRAMから読み出されたアトリビュートコード及び
前記キャラクタROMから読み出されたキャラクタ情報
に基づいて所定修飾を有する文字表示を行う文字表示装
置に於いて、前記キャラクタコード及び前記アトリビュートコードを
前記ビデオRAM内の別々のアドレスに記憶させるとと
もに、 前記アトリビュートコードに対応する修飾データをアト
リビュートコードをアドレスデータとしてアクセスされ
前記ビデオRAMの特定の記憶領域に記憶させ、前記
ビデオRAMの特定の記憶領域から読み出された修飾デ
ータと前記キャラクタROMから読み出されたキャラク
タ情報とを信号処理することにより、所定修飾を施され
た文字表示を行うことを特徴とする文字表示装置。
1. A video RAM for storing a character code for accessing a character ROM and an attribute code for applying a predetermined modification to character information read from the character ROM, the video RAM being read from the video RAM. In the character display device for displaying a character having a predetermined modification based on the attribute code and the character information read from the character ROM, the character code and the attribute code are
When stored at different addresses in the video RAM
Moni, Ath modified data corresponding to the attribute code
The review code is accessed as address data
That said to be stored in a specific storage area of the video RAM, and that the signal processing and character information read specific and modified data read from the storage area from the character ROM of the video RAM, and predetermined modification A character display device characterized by performing applied character display.
【請求項2】 前記ビデオRAMの特定の記憶領域は、
ローアドレスを或る一のアドレスに固定した記憶領域で
あることを特徴とする請求項1記載の文字表示装置。
2. The specific storage area of the video RAM is
The character display device according to claim 1, wherein the character display device is a storage area in which a row address is fixed to a certain one address.
JP20885495A 1995-08-16 1995-08-16 Character display device Expired - Fee Related JP3461063B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20885495A JP3461063B2 (en) 1995-08-16 1995-08-16 Character display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20885495A JP3461063B2 (en) 1995-08-16 1995-08-16 Character display device

Publications (2)

Publication Number Publication Date
JPH0954575A JPH0954575A (en) 1997-02-25
JP3461063B2 true JP3461063B2 (en) 2003-10-27

Family

ID=16563221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20885495A Expired - Fee Related JP3461063B2 (en) 1995-08-16 1995-08-16 Character display device

Country Status (1)

Country Link
JP (1) JP3461063B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004221673A (en) 2003-01-09 2004-08-05 Matsushita Electric Ind Co Ltd On-screen display apparatus
JP2004302324A (en) 2003-04-01 2004-10-28 Matsushita Electric Ind Co Ltd On-screen display device

Also Published As

Publication number Publication date
JPH0954575A (en) 1997-02-25

Similar Documents

Publication Publication Date Title
KR940006348B1 (en) Terminal device in a bitmapped graphics workstation
US4673930A (en) Improved memory control for a scanning CRT visual display system
US4905167A (en) Image processing system interfacing with different monitors
JP3461063B2 (en) Character display device
CA2013615C (en) Window priority encoder
JP2761335B2 (en) Screen display device
JP3789537B2 (en) Character area access control circuit
US4660154A (en) Variable size and position dialog area display system
JP3373993B2 (en) Character read control circuit
JP3276897B2 (en) Character display control circuit
JP3423176B2 (en) Character display control circuit
JP2623541B2 (en) Image processing device
US4857909A (en) Image display apparatus
JPH09212333A (en) Character display control circuit
JPH1185123A (en) Cursor display control circuit
JP3579064B2 (en) Character display device
US5266939A (en) Memory data synthesizer
JP4484278B2 (en) Display control circuit
JP3184131B2 (en) Image display device
JP3101499B2 (en) Character display device
US6795073B1 (en) Character reading circuit
JPS61190624A (en) Hard-copy system of graphic display picture
JPH08339175A (en) Character display device
JPH077266B2 (en) Display controller
JPS6150193A (en) Display control system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070815

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees