JPH0437435B2 - - Google Patents

Info

Publication number
JPH0437435B2
JPH0437435B2 JP61195924A JP19592486A JPH0437435B2 JP H0437435 B2 JPH0437435 B2 JP H0437435B2 JP 61195924 A JP61195924 A JP 61195924A JP 19592486 A JP19592486 A JP 19592486A JP H0437435 B2 JPH0437435 B2 JP H0437435B2
Authority
JP
Japan
Prior art keywords
data
horizontal
period
display
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP61195924A
Other languages
Japanese (ja)
Other versions
JPS6350888A (en
Inventor
Joji Murakami
Junya Amashiro
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.)
Fujitsu Ltd
Fujitsu Electronics Inc
Original Assignee
Fujitsu Ltd
Fujitsu Electronics Inc
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 Fujitsu Ltd, Fujitsu Electronics Inc filed Critical Fujitsu Ltd
Priority to JP61195924A priority Critical patent/JPS6350888A/en
Priority to KR1019870007729A priority patent/KR900005188B1/en
Priority to EP87110613A priority patent/EP0254293B1/en
Priority to DE8787110613T priority patent/DE3781969T2/en
Priority to US07/077,297 priority patent/US4868556A/en
Publication of JPS6350888A publication Critical patent/JPS6350888A/en
Publication of JPH0437435B2 publication Critical patent/JPH0437435B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 本発明はCRTコントローラであつて、カラー
データ、アトリビユートデータの少なくとも一方
を水平ブランキング期間に読み出して画像表示に
用いることにより、水平表示期間に画像情報が伝
送されるシステムに対応でき、CPUの処理効率
を向上させる。
Detailed Description of the Invention [Summary] The present invention is a CRT controller that reads at least one of color data and attribute data during the horizontal blanking period and uses it for image display, thereby displaying image information during the horizontal display period. It is compatible with systems where data is transmitted and improves CPU processing efficiency.

〔産業上の利用分野〕[Industrial application field]

本発明はCRTコントローラに関し、メモリよ
り1画面分の画像データを順次読み出し、この画
像データを映像信号に変換してCRTに表示させ
るCRTコントローラに関する。
The present invention relates to a CRT controller, and more particularly, to a CRT controller that sequentially reads one screen worth of image data from a memory, converts the image data into a video signal, and displays the image data on a CRT.

一般に、画像表示システムではRAMに1画面
分の画像データを記憶させ、CRTの水平同期及
び垂直同期に応じてRAMより画像データを順次
読み出し、読み出された画像データを映像信号に
変換してCRTに供給し表示を行なう。
Generally, in an image display system, one screen worth of image data is stored in RAM, the image data is sequentially read out from RAM in accordance with the horizontal and vertical synchronization of the CRT, and the read image data is converted into a video signal and then transferred to the CRT. and display.

このような画像表示システムでは、CRTコン
トローラを設けてRAMより表示用の画像データ
を読み出させ、CPUにはRAMの書き換え及びそ
の他の処理を行なわせて、システムにおける表示
画像の書き換え速度の高速化等を計つている。
In such an image display system, a CRT controller is installed to read image data for display from RAM, and the CPU is used to rewrite RAM and perform other processing, thereby increasing the rewriting speed of display images in the system. etc. are being calculated.

〔従来の技術〕[Conventional technology]

第5図は従来の画像表示システムの一例のシス
テム構成図を示す。同図中、CPU10はRAM1
1から画像データを読み出し、かつ画像データを
書き込む。また、CRTコントローラ(以下
「CRTC」と言う)にはRAM11より表示のた
めに画像データを読み出す。上記CPU10、
CRTC12夫々はマルチプレクサ13を介してい
ずれか一方がRAM11をアクセスする。
FIG. 5 shows a system configuration diagram of an example of a conventional image display system. In the same figure, CPU10 is RAM1
The image data is read from 1 and the image data is written. Further, image data is read out from the RAM 11 to the CRT controller (hereinafter referred to as "CRTC") for display. The above CPU10,
One of the CRTCs 12 accesses the RAM 11 via the multiplexer 13.

RAM11より読み出された表示用の画像デー
タはビデオ信号発生回路14に供給され、ここで
映像信号としての原色信号R、G、Bに変換され
る。原色信号R、G、BはCRTC12よりの同期
信号と共にCRT15に供給され、CRT15で表
示が行なわれる。
The image data for display read out from the RAM 11 is supplied to the video signal generation circuit 14, where it is converted into primary color signals R, G, and B as video signals. The primary color signals R, G, and B are supplied to the CRT 15 together with a synchronization signal from the CRTC 12, and displayed on the CRT 15.

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

従来システムでは、CRTC12は、水平表示期
間に所定周期でRAM11をアクセスして表示用
の画像データを読み出し、CPU10は水平ブラ
ンキング期間及び垂直ブランキング期間にRAM
11をアクセスして画像データの書き込み等を行
なつている。
In the conventional system, the CRTC 12 accesses the RAM 11 at predetermined intervals during the horizontal display period to read image data for display, and the CPU 10 accesses the RAM 11 during the horizontal blanking period and vertical blanking period.
11 to write image data, etc.

しかし、例えばキヤプテンシステムにおいて
は、走査期間、ブランキング期間の区別なく
CPU10に画像情報が伝送される。従つて、
CPU10は水平表示期間内であつてもRAM11
をアクセスして画像データの書き込み等を行なう
必要があり、従来のCRTC12では対応できない
という問題点があつた。
However, for example, in a captain system, there is no distinction between the scanning period and the blanking period.
Image information is transmitted to the CPU 10. Therefore,
CPU10 is RAM11 even during the horizontal display period.
There was a problem in that it was necessary to access the image data to write image data, etc., which the conventional CRTC12 could not handle.

また、CPU10でRAM11のアクセス要求が
発生しても、CPU10は水平ブランキング期間、
垂直ブランキング期間となるまで、RAM11の
アクセスを待たされ、CPU10の処理効率が悪
く、RAM11のアクセスが遅いという問題点が
あつた。
In addition, even if the CPU 10 issues a request to access the RAM 11, the CPU 10 will perform the horizontal blanking period.
There was a problem that access to the RAM 11 was delayed until the vertical blanking period began, resulting in poor processing efficiency of the CPU 10 and slow access to the RAM 11.

本発明はこのような点にかんがみてなされたも
のであり、キヤンプテンシステムに対応でき、
CPUの処理効率を向上させるCRTコントローラ
を提供することを目的とする。
The present invention has been made in view of these points, and can be applied to a campus system.
The purpose is to provide a CRT controller that improves CPU processing efficiency.

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

第1図は本発明のCRTコントローラの原理ブ
ロツク図を示す。
FIG. 1 shows a principle block diagram of the CRT controller of the present invention.

同図中、1はカラーデータとアトリビユートデ
ータと複数のパターンデータとで1表示ブロツク
を表わす画像データが少なくとも1画面分記憶さ
れたメモリである。
In the figure, reference numeral 1 denotes a memory in which at least one screen worth of image data representing one display block is stored, including color data, attribute data, and a plurality of pattern data.

読出手段2は表示ブロツクの走査線数につき1
回の水平ブランキング期間に水平方向1行の全表
示ブロツクのカラーデータ及びアトリビユートデ
ータのいずれか一方又は両方を読み出し、各水平
表示期間に上記カラーデータ及びアトリビユート
データの残りの一方とパターンデータとを時分割
で順次読み出す。
The reading means 2 has one readout per the number of scanning lines of the display block.
During each horizontal blanking period, one or both of the color data and attribute data of all display blocks in one row in the horizontal direction is read, and during each horizontal display period, the remaining one of the color data and attribute data is read out. The pattern data is read out sequentially in a time-sharing manner.

格納手段3は、水平ブランキング期間に読み出
されたデータを表示ブロツクの走査線分の水平走
査周期の期間格納し、水平表示期間に読み出され
たデータを所定期間格納して、カラーデータとア
トリビユートデータとパターンデータとを同時に
出力する。
The storage means 3 stores the data read out during the horizontal blanking period for a period of horizontal scanning period corresponding to the scanning line of the display block, stores the data read out during the horizontal display period for a predetermined period, and stores the data read out during the horizontal blanking period for a predetermined period. Output attribute data and pattern data simultaneously.

変換手段4は格納手段3より供給されるカラー
データとアトリビユートデータとパターンデータ
との画像データを映像信号に変換してCRT5に
表示させる。
The converting means 4 converts the image data of the color data, attribute data, and pattern data supplied from the storage means 3 into video signals and causes the CRT 5 to display the video signals.

〔作用〕[Effect]

本発明においては、カラーデータ、アトリビユ
ートデータの少なくとも一方が水平ブランキング
期間に読み出されるため、水平表示期間内の画像
表示のためのメモリ1をアクセスする時間が短縮
される。またカラーデータ、アトリビユートデー
タの少なくも一方は表示ブロツクの走査線数につ
き1回だけしか読み出されないため1画面の画像
を表示するためのメモリ1のアクセス回数が大幅
に減少する。
In the present invention, since at least one of the color data and attribute data is read out during the horizontal blanking period, the time required to access the memory 1 for image display within the horizontal display period is shortened. Furthermore, since at least one of the color data and the attribute data is read out only once per number of scanning lines of the display block, the number of accesses to the memory 1 for displaying one screen image is greatly reduced.

〔実施例〕〔Example〕

第2図は本発明になるCRTコントローラの一
実施例のブロツク系統図を示す。同図中、クロツ
ク発生回路30には端子29より画像表示システ
ムのクロツク信号が入来し、クロツク発生回路3
0はシステムクロツク信号より表示画面の2ドツ
トに対応するクロツク信号を生成し、このクロツ
ク信号を水平カウンタ31等のCRTC内部の各回
路に供給する。
FIG. 2 shows a block system diagram of an embodiment of the CRT controller according to the present invention. In the figure, the clock signal of the image display system is input to the clock generation circuit 30 from the terminal 29.
0 generates a clock signal corresponding to two dots on the display screen from the system clock signal, and supplies this clock signal to each circuit inside the CRTC, such as the horizontal counter 31.

水平カウンタ31はクロツク信号をカウント
し、そのカウント値は水平コントローラ32で所
定値が比較され、ここで1水平走査周期毎にパル
スが生成される。このパルスは垂直カウンタ33
でカウントされ、カウント値は垂直コントローラ
34で所定値と比較され、ここで1垂直走査周期
毎にパルスが生成される。
A horizontal counter 31 counts clock signals, and the count value is compared with a predetermined value in a horizontal controller 32, where a pulse is generated every horizontal scanning period. This pulse is sent to the vertical counter 33
The count value is compared with a predetermined value by the vertical controller 34, and a pulse is generated every vertical scanning period.

水平コントローラ32、垂直コントローラ34
夫々の出力パルスは同期信号発生回路35に供給
されて水平同期信号、垂直同期信号が生成され
る。上記の同期信号は後述の演算及び制御回路3
6等に供給されると共に、端子37a,37bよ
りCRT5に供給される。また、この画像表示シ
ステムで生成される映像と他の映像とは混合して
表示するスーパーインポーズ表示を行なう場合に
は、他の映像の同期信号が端子37a,37bよ
り同期信号発生回路35に供給されて、CRTCの
同期がとられる。
Horizontal controller 32, vertical controller 34
Each output pulse is supplied to a synchronization signal generation circuit 35 to generate a horizontal synchronization signal and a vertical synchronization signal. The above synchronization signal is used by the arithmetic and control circuit 3, which will be described later.
6 etc., and is also supplied to the CRT 5 from terminals 37a and 37b. In addition, when performing superimposed display in which the video generated by this image display system and other video are mixed and displayed, the synchronization signal of the other video is sent to the synchronization signal generation circuit 35 from the terminals 37a and 37b. CRTC is synchronized.

インターフエース回路40は端子41を介して
CPUに接続され、CPUより各種の制御信号が入
来し、CRTCの出力する各種制御信号がCPUに
供給される。また、データバス42、アドレスレ
ジスタ44は夫々端子43,45を介してCPU
に接続されている。
The interface circuit 40 is connected via a terminal 41.
It is connected to the CPU, receives various control signals from the CPU, and receives various control signals output from the CRTC. Furthermore, the data bus 42 and address register 44 are connected to the CPU via terminals 43 and 45, respectively.
It is connected to the.

内部レジスタ46にはCPUよりデータバス4
2に入来した初期化用の画像データ、トリガ信
号、CPUのメモリ1に対するアドレス等が格納
され、転送テーブル47にはCPUよりデータバ
ス42より入来する書き込み用の画像データ、メ
モリ1より読み出されCPUに供給される画像デ
ータ等が格納される。上記内部レジスタ46と転
送テーブル47で保持手段6が構成されている。
ルツクアツプテーブル(以下「LUT」と略す)
48は固定のテーブルでLUT49a,49bは
CPUで書き換え可能なテーブルである。
Internal register 46 receives data bus 4 from CPU.
Input image data for initialization, trigger signals, addresses for memory 1 of the CPU, etc. are stored in the transfer table 47, and image data for writing that comes from the CPU from the data bus 42, read from memory 1, Image data etc. that are output and supplied to the CPU are stored. The internal register 46 and the transfer table 47 constitute the holding means 6.
Lookup table (hereinafter abbreviated as “LUT”)
48 is a fixed table and LUT49a, 49b are
This is a table that can be rewritten by the CPU.

データバス42に入来するデータ、アドレス等
を内部レジスタ46、転送テーブル47、LUT
49,50のうちのいずれに供給するかはCPU
よりアドレスレジスタ44に供給されるアドレス
により指定される。
The data, addresses, etc. entering the data bus 42 are stored in the internal register 46, transfer table 47, and LUT.
Which of 49 and 50 is supplied depends on the CPU
The address is specified by the address supplied to the address register 44.

ここで、画像表示は表示ブロツク単位で行なわ
れる。表示ブロツクは水平方向4ドツト×垂直方
向4ドツトで構成する第1の表示モード、水平方
向8ドツト×垂直方向12ドツトで構成する第2の
表示モード等がある。
Here, image display is performed in units of display blocks. The display block has a first display mode consisting of 4 dots in the horizontal direction x 4 dots in the vertical direction, a second display mode consisting of 8 dots in the horizontal direction x 12 dots in the vertical direction, etc.

画像データは上記第1、第2の表示モードに拘
らず、1ビツトが1ドツトを表わす1バイト8ビ
ツトのパターンデータと、各4ビツトでフオアグ
ランド・カラー、バツクグランド・カラーを表わ
す1バイト8ビツトのカラーデータと、アンダー
ライン表示、点滅表示等の属性を表わす1バイト
8ビツトのアトリビユートデータとから構成され
ている。なお、第1の表示モードでは1バイトの
パターンデータは2表示ブロツクの1ライン分の
データであり、第1の表示モードでは4バイトの
パターンデータの各バイトにつき4ビツトで1表
示ブロツクが表わされ、第2の表示モードでは12
バイトのパターンデータで1表示ブロツクが表わ
される。
Regardless of the first or second display mode, the image data consists of 1 byte 8 bit pattern data where 1 bit represents 1 dot, and 1 byte 8 bits each representing a foreground color and a background color with 4 bits. It consists of bit color data and 1-byte 8-bit attribute data representing attributes such as underline display and blinking display. Note that in the first display mode, 1 byte of pattern data is data for 1 line of 2 display blocks, and in the 1st display mode, 1 display block is represented by 4 bits for each byte of 4 bytes of pattern data. and 12 in the second display mode.
One display block is represented by a byte of pattern data.

メモリアクセスタインミングコントローラ50
は、クロツク信号、水平同期、垂直同期信号及び
水平コントローラ32、垂直コントローラ34
夫々の出力パルスを供給され、また内部レジスタ
46より表示モード制御信号を供給させており、
これらの信号に応じてメモリ1の書き込み/読み
出しを制御する制御信号をリード/ラインコント
ローラ51に供給し、メモリ1のアドレス値を可
変する制御信号をアドレスカウンタ及びリミツタ
52に供給し、転送制御用の制御信号を転送制御
回路53に供給する。
Memory access timing controller 50
are a clock signal, horizontal synchronization signal, vertical synchronization signal, horizontal controller 32, vertical controller 34
It is supplied with respective output pulses, and is also supplied with a display mode control signal from an internal register 46.
In response to these signals, a control signal for controlling writing/reading of the memory 1 is supplied to the read/line controller 51, a control signal for varying the address value of the memory 1 is supplied to the address counter and limiter 52, and a control signal for controlling the transfer is supplied to the address counter and limiter 52. A control signal is supplied to the transfer control circuit 53.

リード/ラインコントローラ51は読み出し時
にリードイネーブル信号、書き込み時にライトイ
ネーブル信号夫々を生成して端子54よりメモリ
1に供給する。また、アドレスカウンタ及びリミ
ツタ52の出力するアドレスはアドレスコントロ
ーラ55でメモリ1をアクセスするための形態に
変換されて端子56よりメモリ1に供給される。
これはメモリ1としてダイナミツクRAMを用い
るか又はスタテイツクRAMを用いるかによつ
て、アドレスの形態が異なるためである。
The read/line controller 51 generates a read enable signal when reading and a write enable signal when writing, and supplies them to the memory 1 from a terminal 54. Further, the address output from the address counter and limiter 52 is converted by an address controller 55 into a format for accessing the memory 1 and is supplied to the memory 1 from a terminal 56.
This is because the format of the address differs depending on whether dynamic RAM or static RAM is used as the memory 1.

上記の水平コントローラ32、垂直コントロー
ラ34、内部レジスタ45、メモリアセスタイミ
ングコントローラ50、リード/ラインコントロ
ーラ51、アドレスカウンタ及びリミツタ52、
アドレスコントローラ55で読出手段2が構成さ
れている。
The above horizontal controller 32, vertical controller 34, internal register 45, memory access timing controller 50, read/line controller 51, address counter and limiter 52,
The address controller 55 constitutes the reading means 2.

また、メモリ1より表示用として読み出された
画像データは端子58より格納手段3であるバツ
フア59に供給され、パターンデータ、カラーデ
ータ、アトリビユートデータは夫々パターンバツ
フア59a、カラーバツフア59b、アトリビユ
ートバツフア59cに別々に格納される。演算及
び制御回路36はバツフア59より供給されるパ
ターンデータ、カラーデータ、アトリビユートデ
ータの演算処理を行ない、ドツト単位のカラーコ
ードデータを生成してセレクタ60に供給する。
Further, the image data read out from the memory 1 for display is supplied from the terminal 58 to the buffer 59 which is the storage means 3, and the pattern data, color data, and attribute data are sent to the pattern buffer 59a, color buffer 59b, and attribute data, respectively. They are stored separately in the view buffer 59c. The arithmetic and control circuit 36 performs arithmetic processing on the pattern data, color data, and attribute data supplied from the buffer 59, generates color code data in units of dots, and supplies the data to the selector 60.

セレクタ60はLUT48,49a,49bの
うち内部レジスタ40からの表示によ選択された
テーブルを用いて上記カラーコードデータを赤、
縁、青夫々4ビツトで計12ビツトの原色カラーデ
ータに変換し、D/A変換回路61に供給する。
D/A変換回路61は端子62より供給されるア
ナログ用電源を基準として上記原色カラーデータ
をアナログの原色信号R、G、BにD/A変換
し、端子63よりCRT5に供給し、CRT5で画
像の表示が行なわれる。上記のLUT48〜49
b、バツフア59、演算及び制御回路36、セレ
クタ60、D/A変換回路61で変換手段4が構
成されている。
The selector 60 uses the table selected from the LUTs 48, 49a, and 49b by the display from the internal register 40 to change the color code data to red, red,
It is converted into a total of 12 bits of primary color data, 4 bits each for edge and blue, and supplied to the D/A conversion circuit 61.
The D/A conversion circuit 61 D/A converts the primary color data into analog primary color signals R, G, and B based on the analog power supply supplied from the terminal 62, and supplies them to the CRT 5 from the terminal 63. The image is displayed. LUT48-49 above
b, a buffer 59, an arithmetic and control circuit 36, a selector 60, and a D/A conversion circuit 61 constitute the conversion means 4.

第3図は上記CRTコントローラの要部の一実
施例の詳細なブロツク系統図を示す。同図中、第
2図と同一部分には同一符号をす。
FIG. 3 shows a detailed block system diagram of an embodiment of the essential parts of the CRT controller. In this figure, the same parts as in FIG. 2 are designated by the same reference numerals.

第3図において、水平カウンタ31には端子7
0より第4図Aに示すクロツク信号aが入来し、
水平カウンタ31はこのクロツク信号aをカウン
トして、そのカウント値を水平コントローラ32
に供給する。なお、上記クロツク信号aの1周期
に表示画面上では2ドツトの表示が行なわれる。
In FIG. 3, the horizontal counter 31 has terminal 7.
0, the clock signal a shown in FIG. 4A comes in,
The horizontal counter 31 counts this clock signal a and sends the count value to the horizontal controller 32.
supply to. Note that two dots are displayed on the display screen in one period of the clock signal a.

水平コントローラ32はカウント値が1水平走
査周期に相当する値となる水平クリア信号を生成
して水平カウンタ31をクリアすると共に、第1
の表示モードにおいて第4図B,C,D,E夫々
示すタイミング信号b,c,dとタイミング信号
eとを生成する。タイミング信号bはパターンア
ドレスの出力を指示する信号であり、水平表示期
間に8クロツク周期毎に生成され、そのパルス幅
は1クロツク周期である。タイミング信号cはカ
ラーアドレスの出力を指示する信号であり、タイ
ミング信号bの立下がりから1クロツク周期後に
立上がりパルス幅が2クロツク周期である。タイ
ミング信号dはアトリビユートアドレスの出力を
表示する信号であり、水平表示期間にLレベルで
水平ブランキング期間にHレベルに立上がりパル
ス幅が34クロツク周期の信号である。タイミング
信号eはタイミング信号aと同一の信号でパター
ン、カラー、アトリビユート夫々のデータの出力
を指示する。
The horizontal controller 32 generates a horizontal clear signal whose count value corresponds to one horizontal scanning period, clears the horizontal counter 31, and also clears the horizontal counter 31.
In the display mode shown in FIG. 4, timing signals b, c, d and timing signal e shown in FIG. 4B, C, D, and E, respectively, are generated. Timing signal b is a signal for instructing the output of a pattern address, and is generated every eight clock cycles during the horizontal display period, and its pulse width is one clock cycle. The timing signal c is a signal for instructing the output of a color address, and rises one clock period after the falling edge of the timing signal b, and has a pulse width of two clock periods. Timing signal d is a signal that displays the output of the attribute address, and rises to L level during the horizontal display period and to H level during the horizontal blanking period, and has a pulse width of 34 clock cycles. The timing signal e is the same signal as the timing signal a and instructs the output of pattern, color, and attribute data.

更に水平コントローラ32は水平走査周期のパ
ルスを生成して端子71から同期信号発生回路3
5に供給する。なお、タイミング信号bの立下が
りからタイミング信号cの立上がりまでの期間
は、スムージングを行なう際に次のラスタのパタ
ーンデータを読み出すためのタイミング信号bと
同様のタイミング信号が出力される。
Furthermore, the horizontal controller 32 generates pulses with a horizontal scanning period and outputs them from the terminal 71 to the synchronizing signal generating circuit 3.
Supply to 5. Note that during the period from the fall of the timing signal b to the rise of the timing signal c, a timing signal similar to the timing signal b for reading out the pattern data of the next raster when performing smoothing is output.

水平コントローラ32の出力する水平クリア信
号は垂直カウンタ33に供給され、垂直カウンタ
33はこの水平クリア信号をカウントして、その
カウント値を垂直コントローラ34に供給する。
垂直コントローラ34はカウント値が1垂直走査
周期に相当する値となると垂直クリア信号を生成
して垂直カウンタ33をクリアすると共に、垂直
走査周期のパルスを生成して端子72から同期信
号発生回路35に供給する。
The horizontal clear signal output from the horizontal controller 32 is supplied to the vertical counter 33, which counts the horizontal clear signal and supplies the count value to the vertical controller 34.
When the count value reaches a value corresponding to one vertical scanning period, the vertical controller 34 generates a vertical clear signal to clear the vertical counter 33, and also generates a pulse corresponding to the vertical scanning period and sends it from the terminal 72 to the synchronizing signal generation circuit 35. supply

また、水平クリア信号はメモリアクセスタイミ
ングコントローラ50を構成するラスタカウンタ
73に供給され、ラスタカウンタ73は水平クリ
ア信号をカウントして、そのカウント値をラスタ
デコーダ74に供給する。ラスタデコーダ74は
第1の表示モードにおいてカウント値が「3」で
ある期間Hレベルのゲート信号を生成してアンド
回路75に供給すると共に、カウント値が「4」
となつたときラスタクリア信号を生成してラスタ
カウンタ73のクリア端子CLR1に供給する。
また、ラスタカウンタ73のクリア端子CLR2
には垂直クリア信号が供給されている。これによ
つてラスカウンタ73は垂直走査の開始直前に
「0」にクリアされ、その後4水平走査周期毎に
「0」にクリアされる。
Further, the horizontal clear signal is supplied to a raster counter 73 that constitutes the memory access timing controller 50, and the raster counter 73 counts the horizontal clear signal and supplies the count value to the raster decoder 74. In the first display mode, the raster decoder 74 generates a gate signal at H level during the period when the count value is "3" and supplies it to the AND circuit 75, and also when the count value is "4".
When this occurs, a raster clear signal is generated and supplied to the clear terminal CLR1 of the raster counter 73.
In addition, the clear terminal CLR2 of the raster counter 73
is supplied with a vertical clear signal. As a result, the rath counter 73 is cleared to "0" immediately before the start of vertical scanning, and thereafter cleared to "0" every four horizontal scanning periods.

アンド回路75には水平コントローラ32の出
力するタイミング信号dが供給されており、ゲー
ト回路75は、第1の表示モードにおいてラスタ
カウンタ73のカウント値が「3」で表示ブロツ
クの最後の第4ラスタが表示された直後の水平ブ
ランキング期間にタイミング信号dを取り出し、
タイミング信号fとして出力する。
The AND circuit 75 is supplied with the timing signal d output from the horizontal controller 32, and the gate circuit 75 outputs the last fourth raster of the display block when the count value of the raster counter 73 is "3" in the first display mode. Take out the timing signal d during the horizontal blanking period immediately after is displayed,
It is output as a timing signal f.

水平コントローラ32の出力するタイミング信
号bはメモリアクセスタイミグコントローラ50
を介して内部レジスタ46内のパターンスタート
アドレスレジスタ76及びパターンバツフア59
aに供給され、タイミング信号cはメモリアクセ
スタイミングコントローラ50を介してカラース
タートアドレスレジスタ77及びカラーバツフア
59bに供給される。タイミング信号eはメモリ
アクセスタイミングコントローラ50を介してパ
ターンバツフア59a、カラーバツフア59b、
アトリビユートバツフア59c夫々に供給され
る。また、メモリアクセスタイミングコントロー
ラ50のアンド回路75の出力するタイミング信
号fはアトリビユートスタートアドレスレジスタ
78及びアトリビユートバツフア59cに供給さ
れる。パターンスタートアドレスレジスタ76、
カラースタートアドレスレジスタ77、アトリビ
ユートスタートアドレスレジスタ78夫々は供給
されるタイミング信号b、c、f夫々の立上がり
時に、夫々に格納されているスタートアドレスを
アドレスカウンタ及びリミツタ52内のアドレス
カウンタ80にロードし、かつタイミング信号
b、c、f夫々の立下がり時にアドレスカウンタ
80のアドレス値を夫々にセーブする。アドレス
カウンタ80は端子81より供給されるクロツク
信号aによりアドレス値をインクリメントして端
子82から第2図示のアドレスコントローラ55
に供給され、ここでメモリ1をアクセスする形態
とされてメモリ1に供給される。
The timing signal b output from the horizontal controller 32 is transmitted to the memory access timing controller 50.
The pattern start address register 76 in the internal register 46 and the pattern buffer 59
The timing signal c is supplied to the color start address register 77 and the color buffer 59b via the memory access timing controller 50. The timing signal e is passed through the memory access timing controller 50 to a pattern buffer 59a, a color buffer 59b,
It is supplied to each attribute buffer 59c. Furthermore, the timing signal f output from the AND circuit 75 of the memory access timing controller 50 is supplied to the attribute start address register 78 and the attribute buffer 59c. pattern start address register 76,
Each of the color start address register 77 and the attribute start address register 78 inputs the start address stored therein to the address counter 80 in the address counter and limiter 52 at the rising edge of each of the supplied timing signals b, c, and f. and save the address values of the address counter 80 at the falling edge of each of the timing signals b, c, and f. The address counter 80 increments the address value by a clock signal a supplied from a terminal 81, and outputs the address value from a terminal 82 to the address controller 55 shown in the second figure.
Here, the data is supplied to the memory 1 in a form in which the memory 1 is accessed.

メモリ1は約7kバイトのパターンデータ領域、
約0.35kバイトのカラーデータ領域、約0.35kバイ
トのアトリビユート領域夫々がアドレスに応じて
設定されており、1アドレスで2バイト16ビツト
のデータの書き込み/読み出しを行なう。
Memory 1 is a pattern data area of approximately 7k bytes,
A color data area of about 0.35k bytes and an attribute area of about 0.35k bytes are each set according to the address, and one address writes/reads 2 bytes of 16 bits of data.

アドレスカウンタ80の出力アドレス値に応じ
てメモリ1より読み出されたパターンデータ、カ
ラーデータ、アトリビユートデータ夫々は第3図
に示す端子58よりデータバス83を介してパタ
ーンバツフア59a、カラーバツフア59b、ア
トリビユートバツフア59c夫々に供給される。
The pattern data, color data, and attribute data read out from the memory 1 according to the output address value of the address counter 80 are transferred from the terminal 58 shown in FIG. 3 to the pattern buffer 59a and the color buffer 59b via the data bus 83. , and are supplied to each of the attribute buffers 59c.

パターンバツフア59aはタイミング信号bの
Hレベル期間に入来する2バイト4表示ブロツク
分のパターンデータをラツチして、タイミング信
号eのHレベル期間に端子84aから第2図示の
演算及び制御回路36に供給する。カラーバツフ
ア59bはタイミング信号cのHレベル期間に入
来する4バイト4表示ブロツク分のカラーデータ
を1クロツク周期毎に2バイトずつラツチして、
タイミング信号eのHレベル期間に1バイトずつ
端子84bから演算及び制御回路36に供給す
る。アトリビユートバツフア59cはタイミング
信号fのHレベル期間に入来する68バイト68表示
ブロツク分のアトリビユートデータをラツチし
て、タイミング信号eのHレベル期間に1バイト
ずつ端子84cから演算及び制御回路36に供給
する。
The pattern buffer 59a latches pattern data for 2 bytes and 4 display blocks that arrive during the H level period of the timing signal b, and transfers the pattern data from the terminal 84a to the arithmetic and control circuit 36 shown in the second figure during the H level period of the timing signal e. supply to. The color buffer 59b latches 2 bytes of color data for 4 display blocks of 4 bytes that arrive during the H level period of the timing signal c every 1 clock cycle.
One byte at a time is supplied from the terminal 84b to the calculation and control circuit 36 during the H level period of the timing signal e. The attribute buffer 59c latches the attribute data for 68 bytes and 68 display blocks that arrive during the H level period of the timing signal f, and performs calculation and processing one byte at a time from the terminal 84c during the H level period of the timing signal e. It is supplied to the control circuit 36.

ところで、クロツク信号aの1周期は約
350nsecで、メモリ1のメモリサイクルは約
350nsecである。更にCRTの表示画面における1
水平表示期間は136クロツク周期で、水平ブラン
キング期間は46クロツク周期であり、垂直表示期
間は204水平走査周期で垂直ブランキング期間は
58水平走査周期である。
By the way, one period of clock signal a is approximately
At 350nsec, the memory cycle of memory 1 is approximately
It is 350nsec. Furthermore, 1 on the CRT display screen
The horizontal display period is 136 clock periods, the horizontal blanking period is 46 clock periods, and the vertical display period is 204 horizontal scan periods, and the vertical blanking period is 204 horizontal scan periods.
58 horizontal scanning periods.

ここで第1の表示モードにおいては、1水平表
示期間にパターンデータ34バイト、カラーデータ
68バイト、アトリビユートデータ68バイトの計
170バイトをメモリ1から読み出す必要があり、
更にスムーシングを行なうとすれば計204バイト
が必要である。このためメモリ1が1アドレスで
1バイト8ビツトの読み出し/書き込みであれば
1水平走査周期182クロツク周期ではスムーシン
グを行なうことができないため、メモリ1は1ア
ドレスで2バイト16ビツトの読み出し/書き込み
を行なう構成とされている。
In the first display mode, 34 bytes of pattern data and 34 bytes of color data are used in one horizontal display period.
68 bytes, attribute data 68 bytes total
170 bytes need to be read from memory 1,
Further smoothing would require a total of 204 bytes. Therefore, if memory 1 reads/writes 1 byte 8 bits at 1 address, smoothing cannot be performed in 1 horizontal scanning period of 182 clock cycles, so memory 1 reads/writes 2 bytes 16 bits at 1 address. It is configured to do so.

また、136クロツク周期の水平表示期間のうち、
17クロツク周期でパターンデータ34バイトを読み
出し、34クロツク周期でカラーデータ68バイトを
読み出し、アトリビユートデータは水平ブランキ
ング期間に読み出している。従つて、水平表示期
間の残りの85クロツク周期をCPUで使用するこ
とができる。
Also, out of the horizontal display period of 136 clock cycles,
34 bytes of pattern data are read out in 17 clock cycles, 68 bytes of color data are read out in 34 clock cycles, and attribute data is read out during the horizontal blanking period. Therefore, the remaining 85 clock periods of the horizontal display period are available for use by the CPU.

なお、第4図Cのタイミング信号cの立下がり
後タイミングbの立上がりまでの4クロツク周期
でメモリ1より別の画像データを読み出して先に
述べた映像信号とは別の映像信号を生成し、2系
統の映像信号を切換えて2種類の画像の切換表示
を行なうことも可能である。
Note that another image data is read out from the memory 1 in four clock cycles from the fall of the timing signal c to the rise of the timing b in FIG. 4C to generate a video signal different from the video signal described above. It is also possible to switch between two types of video signals and display two types of images.

また、1ライン毎にアトリビユートデータを読
み出すとすれば、第1の表示モード1画面につき
13872(=68×204)バイトのアトリビユートデー
タを読み出されなければならない。しかし、上記
実施例では4ライン毎の水平ブランキング期間に
アトリビユートデータを読み出しているため、1
画面につき3468バイトのアトリビユートデータを
読み出すだけで良く、メモリ1のアクセス回数は
上記の25%つまり1734回で済む。
Also, if you read out the attribute data for each line, it is necessary to read out the attribute data for each line in the first display mode.
13872 (=68×204) bytes of attribute data must be read. However, in the above embodiment, since the attribute data is read during the horizontal blanking period for every 4 lines, 1
It is only necessary to read 3468 bytes of attribute data per screen, and the number of accesses to memory 1 is 25% of the above, or 1734 times.

なお、CPUによりメモリ1に画像データを書
き込む場合には、CPUの出力する書き込みアド
レス、転送ワード数等の情報がデータバス42よ
り内部レジスタ46内のリードアドレスレジスタ
に供給されて格納され、書き込み用の画像データ
がデータバス42より転送テーブル47に供給さ
れて格納され、更に、CPUよりのアクセス開始
を指示するトリガ信号がデータバス42を介して
内部レジスタ46に供給されて格納される。
Note that when the CPU writes image data to the memory 1, information such as the write address output by the CPU and the number of transferred words is supplied from the data bus 42 to the read address register in the internal register 46 and stored. The image data is supplied from the data bus 42 to the transfer table 47 and stored therein, and furthermore, a trigger signal instructing the start of access from the CPU is supplied to the internal register 46 through the data bus 42 and stored therein.

上記トリガ信号の入来により、メモリアクセス
タイミングコントローラ50はタイミング信号
b,c,f全てのLレベル時にHレベルとなるラ
イトタイミング信号を生成し、このライトタイミ
ング信号のHレベル時にリードアドレスレジスタ
のアドレスをアドレスカウンタ80にロードして
クロツク周期でインクリメントし、得られた書き
込み用のアドレスがメモリ1に供給される。
In response to the input of the trigger signal, the memory access timing controller 50 generates a write timing signal that becomes H level when all of the timing signals b, c, and f are at L level, and when the write timing signal is at H level, the memory access timing controller 50 addresses the read address register. is loaded into the address counter 80 and incremented at the clock cycle, and the obtained write address is supplied to the memory 1.

これと同時に、リード/ラインコントローラ5
4はメモリアクセスタイミングコントローラ50
よりの制御信号に応じて、端子54よりメモリ1
にライトイネーブル信号を供給する。またライト
タイミング信号のHレベル時にクロツク周期毎に
転送テーブル47内の画像データが順次転送制御
回路53に供給され、ここで選択されてリード/
ライト切換回路61に供給される。リード/ライ
ト切換回路61はリード/ライトコントローラ5
1よりの制御信号に応じてライトモードとされて
おり、上記画像データを端子58よりメモリ1に
供給する。
At the same time, the read/line controller 5
4 is a memory access timing controller 50
memory 1 from terminal 54 in response to a control signal from
Supplies a write enable signal to Also, when the write timing signal is at H level, the image data in the transfer table 47 is sequentially supplied to the transfer control circuit 53 every clock cycle, and is selected here for read/write.
The signal is supplied to the light switching circuit 61. The read/write switching circuit 61 is the read/write controller 5
The image data is supplied to the memory 1 from the terminal 58.

これによつて、水平表示期間においても、メモ
リイにはCPUよりの画像データが順次書き込ま
れる。
As a result, image data from the CPU is sequentially written into the memory even during the horizontal display period.

なお、転送ワード数と同一ワード数だけの画像
データがメモリ1に書き込まれ、又は読み出され
ると、メモリアクセスタイミングコントローラ5
0はリード/ライトタイング信号を強制的にLレ
ベルとし、これによつてCPUよりのメモリ1の
書き込み及び読み出しが停止する。
Note that when image data of the same number of words as the number of transferred words is written to or read from the memory 1, the memory access timing controller 5
0 forces the read/write timing signal to the L level, thereby stopping writing and reading from the memory 1 by the CPU.

このように、CPUはメモリ1のアクセス要求
が発生した時点でメモリ1の書き込みアドレス及
び書き込みデータをCRTCに供給し、その後他の
処理を行なうことができ、CPUの処理効率が向
上する。また、CPUによるメモリ1の書き込み
又は読み出しは水平表示期間に行なわれるので書
き込み又は読み出しが高速に行なわれ、CRTCと
メモリ1との間のデータバス及びアドレスバスの
使用効率が向上する。更にマルチプレクサ等の回
路を必要とせず画像表示システムの構造を簡単に
することができる。
In this manner, the CPU can supply the write address and write data of the memory 1 to the CRTC when an access request for the memory 1 is generated, and then perform other processing, improving the processing efficiency of the CPU. Further, since writing or reading from the memory 1 by the CPU is performed during the horizontal display period, writing or reading is performed at high speed, and the efficiency of use of the data bus and address bus between the CRTC and the memory 1 is improved. Furthermore, the structure of the image display system can be simplified without requiring a circuit such as a multiplexer.

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

以述の如く、本発明によれば、水平表示期間内
にCPUでメモリに画像データを書き込むことが
でき、キヤプテンシステムに対応することがで
き、CPUの処理効率を向上させることができ、
メモリのアクセスを高速に行なうことができる。
As described above, according to the present invention, it is possible to write image data to the memory by the CPU within the horizontal display period, it is possible to support a captain system, and it is possible to improve the processing efficiency of the CPU.
Memory can be accessed at high speed.

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

第1図は本発明のCRTコントローラの原理ブ
ロツク図、第2図は本発明のCRTコントローラ
の一実施例のブロツク系統図、第3図は第1図示
のCRTコントローラの一部のブロツク系統図、
第4図は第3図示の回路各部の信号のタイムチヤ
ート、第5図は従来の画像表示システムの一例の
ブロツク系統図である。 図中において、1はメモリ、2は読出手段、3
は格納手段、4は変換手段、5はCRT、46は
内部レジスタ、47は転送テーブル、50はメモ
リアクセスタイミングコントローラ、51はリー
ド/ライトコントローラ、52はアドレスカウン
タ及びリミツタ、53は転送制御回路、55はア
ドレスコントローラ、57はリード/ライト換回
路、61はD/A変換回路、73はラスタカウン
タ、74はラスタデコーダ、76はパターンスタ
ートアドレスレジスタ、77はカラースタートア
ドレスレジスタ、78はアトリビユートアドレス
レジスタである。
FIG. 1 is a principle block diagram of the CRT controller of the present invention, FIG. 2 is a block diagram of an embodiment of the CRT controller of the present invention, and FIG. 3 is a partial block diagram of the CRT controller shown in Figure 1.
FIG. 4 is a time chart of signals of various parts of the circuit shown in FIG. 3, and FIG. 5 is a block system diagram of an example of a conventional image display system. In the figure, 1 is a memory, 2 is a reading means, and 3 is a memory.
4 is a storage means, 4 is a conversion means, 5 is a CRT, 46 is an internal register, 47 is a transfer table, 50 is a memory access timing controller, 51 is a read/write controller, 52 is an address counter and limiter, 53 is a transfer control circuit, 55 is an address controller, 57 is a read/write conversion circuit, 61 is a D/A conversion circuit, 73 is a raster counter, 74 is a raster decoder, 76 is a pattern start address register, 77 is a color start address register, and 78 is an attribute. It is an address register.

Claims (1)

【特許請求の範囲】 1 カラーデータとアトリビユートデータと複数
のパターンデータとで1表示ブロツクを表わす画
像データが少なくとも1画面分記憶されたメモリ
を水平同期及び垂直同期に従つて順次アクセス
し、該メモリから読み出された画像データを映像
信号に変換してCRTに表示させるCRTコントロ
ーラにおいて、 該表示ブロツクの走査線数につき1回の水平ブ
ランキング期間に水平方向1行の全表示ブロツク
のカラーデータ及びアトリビユートデータのいず
れか一方又は両方を読み出し、各水平表示期間に
上記カラーデータ及びアトリビユートデータの残
りの一方とパターンデータとを時分割で順次読み
出す読出手段と、 該水平ブランキング期間に読み出されたデータ
を該表示ブロツクの走査線数分の水平走査周期の
期間格納し、該水平表示期間に読み出されたデー
タを所定期間格納して、該カラーデータとアトリ
ビユートデータとパターンデータとを同時に出力
する格納手段とを有することを特徴とするCRT
コントローラ。
[Scope of Claims] 1. Sequentially accessing a memory in which at least one screen worth of image data representing one display block including color data, attribute data, and a plurality of pattern data is stored according to horizontal synchronization and vertical synchronization, In a CRT controller that converts image data read from the memory into a video signal and displays it on a CRT, the color of all display blocks in one horizontal row is changed during one horizontal blanking period for each scanning line number of the display block. reading means for reading either or both of data and attribute data, and sequentially reading out the remaining one of the color data and attribute data and pattern data in each horizontal display period in a time-sharing manner; and the horizontal blanking. The data read out during the period is stored for a period of a horizontal scanning cycle equal to the number of scanning lines of the display block, the data read out during the horizontal display period is stored for a predetermined period, and the color data and attribute data are stored. and storage means for simultaneously outputting pattern data.
controller.
JP61195924A 1986-07-25 1986-08-21 Crt controller Granted JPS6350888A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP61195924A JPS6350888A (en) 1986-08-21 1986-08-21 Crt controller
KR1019870007729A KR900005188B1 (en) 1986-07-25 1987-07-16 Crt controler
EP87110613A EP0254293B1 (en) 1986-07-25 1987-07-22 Cathode ray tube controller
DE8787110613T DE3781969T2 (en) 1986-07-25 1987-07-22 REGULATOR FOR CATHODE BEAM PIPES.
US07/077,297 US4868556A (en) 1986-07-25 1987-07-24 Cathode ray tube controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61195924A JPS6350888A (en) 1986-08-21 1986-08-21 Crt controller

Publications (2)

Publication Number Publication Date
JPS6350888A JPS6350888A (en) 1988-03-03
JPH0437435B2 true JPH0437435B2 (en) 1992-06-19

Family

ID=16349245

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61195924A Granted JPS6350888A (en) 1986-07-25 1986-08-21 Crt controller

Country Status (1)

Country Link
JP (1) JPS6350888A (en)

Also Published As

Publication number Publication date
JPS6350888A (en) 1988-03-03

Similar Documents

Publication Publication Date Title
US4980678A (en) Display controller for CRT/flat panel display apparatus
JP2572373B2 (en) Color display device
US4574277A (en) Selective page disable for a video display
US4663619A (en) Memory access modes for a video display generator
US20040027354A1 (en) Graphic processing apparatus and method
US5880741A (en) Method and apparatus for transferring video data using mask data
US5028917A (en) Image display device
US4591845A (en) Character and graphic signal generating apparatus
US4860251A (en) Vertical blanking status flag indicator system
US4581611A (en) Character display system
US4868556A (en) Cathode ray tube controller
JP3030170B2 (en) Simple matrix drive type liquid crystal display
JPH0437435B2 (en)
KR100206265B1 (en) Address decoding method for crt display interface
JPS6330891A (en) Crt controller
JP2538654B2 (en) Display writing device
JPS604988A (en) Image display
JP2780857B2 (en) Image display device
JPH06161409A (en) Look-up table memory rewriting method and display device with look-up table memory
KR920002109Y1 (en) High definition video player
JPH03287296A (en) Image display device
JP2002014663A (en) Picture display preprocessing device and picture display device
JP2619648B2 (en) Color image display control device
JPH0469908B2 (en)
JPH05197359A (en) Lookup table circuit for display