[go: up one dir, main page]

JPS6350888A - Crt controller - Google Patents

Crt controller

Info

Publication number
JPS6350888A
JPS6350888A JP61195924A JP19592486A JPS6350888A JP S6350888 A JPS6350888 A JP S6350888A JP 61195924 A JP61195924 A JP 61195924A JP 19592486 A JP19592486 A JP 19592486A JP S6350888 A JPS6350888 A JP S6350888A
Authority
JP
Japan
Prior art keywords
data
horizontal
display
period
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP61195924A
Other languages
Japanese (ja)
Other versions
JPH0437435B2 (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.)
Fujitsu Ltd
Fujitsu Micom System Co Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Micom System 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 Fujitsu Ltd, Fujitsu Micom System Co Ltd 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

Landscapes

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

Abstract

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

Description

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

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

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

一般に、画像表示システムではRAMに1画面分の画像
データを記憶させ、CRTの水平同期及び垂直同期に応
じてRAMより画像データを順次読み出し、読み出され
た画像データを映像信号に変換してCRTに供給し表示
をhなう。
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 synchronization and vertical synchronization of the CRT, and the read image data is converted into a video signal and then transferred to the CRT. Supply and display.

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

(従来の技術) 第5図は従来の画像表示システムの一例のシステム構成
図を示づ。同図中、CPU10はRAM11から画像デ
ータを読み出し、かつ画像データを書き込む。また、C
RTコントローラ(以下rcRTcJと言う)にはRA
MIIより表示のために画像データを読み出す。上記c
pui o、CRTCl 2夫々はマルチプレクサ13
を介していずれか一方がRAMIIをアクセスする。
(Prior Art) FIG. 5 shows a system configuration diagram of an example of a conventional image display system. In the figure, a CPU 10 reads image data from a RAM 11 and writes the image data. Also, C
The RT controller (hereinafter referred to as rcRTcJ) has an RA
Image data is read from MII for display. c above
pui o and CRTCl 2 are each multiplexer 13
Either one accesses RAMII via.

RAM11より読み出された表示用の画像データはビデ
オ信号発1回路14に供給され、ここで映像信号として
の原色信号R,G、Bに変換される。原色信ff1R,
G、BはCRTCI 2よりの同期信Bと共にC「く丁
15に供給され、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. Primary colors ff1R,
G and B are supplied to the C display 15 along with the synchronization signal B from the CRTCI 2, and displayed on the CRT 15.

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

従来システムでは、CRTCI 2は、水平表示期間に
所定周期でRAM11をアクセスして表示用の画像デー
タを読み出し、CPU10は水平ブランキング期間及び
垂直ブランキング期間にRAM11をアクセスして画像
データの81き込み等を行なっている。
In the conventional system, the CRTCI 2 accesses the RAM 11 at a predetermined period 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 the vertical blanking period to read the 81st part of the image data. We are doing things like

しかし、例えばキャプテンシス7ムにおいては、走査明
問、ブランキング期間の区別へ<cpuloに画像情報
が伝送される。従って、CPU10は水平表示期間内で
あってもRAM11をアクセスして画像データの書き込
み等を行なう必要があり、従来のCRTCl 2では対
応ができないという問題点があった。
However, for example, in the Captain System 7 system, image information is transmitted according to the scanning period and the blanking period. Therefore, the CPU 10 needs to access the RAM 11 and write image data even during the horizontal display period, which is a problem that cannot be handled by the conventional CRTCl2.

また、CPtJloでRAM11のアクセス要求が発生
しても、CPU10は水平ブランキング期間、垂直ブラ
ンキング期間となるまで、RAM11のアクセスを待た
され、CPU10の処理効率が悪く、RAMIIのアク
セスが近いという問題点があった。
Furthermore, even if a request to access the RAM 11 occurs in CPtJlo, the CPU 10 is forced to wait until the horizontal blanking period and the vertical blanking period to access the RAM 11, resulting in a problem that the processing efficiency of the CPU 10 is poor and access to RAM II is coming soon. There was a point.

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

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

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

同図中、1はカラーデータとアトリビュートデータと複
数のパターンデータとで1表示ブロックを表わ一5ti
r!iaデータが少なくとも1画面分記憶されたメモリ
である。
In the figure, 1 represents one display block consisting of color data, attribute data, and a plurality of pattern data.
r! This is a memory in which at least one screen worth of ia data is stored.

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

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

変換手段4は格納手段3より供給されるカラーデータと
アトリビュートデータとパターンデータとの画像データ
を映像信号に変換してCRT5に表示させる。
The converting means 4 converts the image data of 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.

〔信用〕〔credit〕

本発明においては、カラーデータ、アトリビュートデー
タの少なくとも一力が水平ブランキング■1間に読み出
されるため、水平表示期間内の両像表示のためのメモリ
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 (1), the time required to access the memory 1 for displaying both images within the horizontal display period is shortened. Also, since at least one of color data and attribute data is read out only once per number of scanning lines of a display block,
The number of accesses to the memory 1 for displaying screen images is significantly reduced.

〔実滴例〕[Actual drop example]

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

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

水平コントローラ32、垂直コン1−〇−ラ34夫々の
出力パルスは同期信号発生回路35に供給されて水平同
期信号、垂直同期信号が生成される。
The output pulses of the horizontal controller 32 and the vertical controller 1-0-34 are supplied to a synchronizing signal generating circuit 35 to generate a horizontal synchronizing signal and a vertical synchronizing signal.

上記の同期信号は後述の演算及び制御回路36等に供給
されると共に、端子37a、37bよりCRT5に供給
される。また、この画像表丞シスデムで生成される映像
と他の映像とは混合して表示するスーパーインポーズ表
示を行なう場合には、他の映像の同期信号が端子37a
、37bより同期仁号発1回路35に供給されて、CR
TCの同期がとられる。
The above-mentioned synchronization signal is supplied to an arithmetic and control circuit 36, which will be described later, and the like, 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 terminal 37a.
, 37b to the synchronous engine 1 circuit 35, and the CR
TC is synchronized.

インターフェース回路40は端子41を介してCPtJ
に)a続され、CPUより各種の制御信号が入来し、C
RTCの出力する各種制御信号がCPUに供給される。
The interface circuit 40 connects CPtJ via a terminal 41.
A) is connected to the CPU, and various control signals are received from the CPU.
Various control signals output from the RTC are supplied to the CPU.

また、データバス42、アドレスレジスタ/14は夫々
端子43.45を介してCPtJに接続されている。
Further, data bus 42 and address register/14 are connected to CPtJ via terminals 43 and 45, respectively.

内部レジタ46にはCPUよりデータバス42に入来し
た初期化用の画像データ、トリガ信号。
The internal register 46 contains initialization image data and trigger signals that have entered the data bus 42 from the CPU.

CPUのメモリ1に対するアドレス等が格納され、転送
テーブル47にはCPUよりデータバス42より入来す
る書き込み用の画像データ、メモリ1より読み出されC
PUに供給される自他データ等が格納される。上記内部
レジスタ46と転送テーブル47で保柿手段6が構成さ
れている。ルックアップテーブル(以下[LUTJと略
す)48は固定のテーブルでLUT49a、49bはC
PUで書き換え可能なテーブルである。
The address etc. of the CPU to the memory 1 are stored, and the transfer table 47 contains the image data for writing that comes from the CPU from the data bus 42, and the C
Self-other data etc. supplied to the PU are stored. The internal register 46 and the transfer table 47 constitute the persimmon preservation means 6. A lookup table (hereinafter abbreviated as LUTJ) 48 is a fixed table, and LUTs 49a and 49b are C
This is a table that can be rewritten by PU.

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

ここで、画像表示は表示ブロック単位で行なわれる。表
示ブロックは水平方向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 horizontally x 4 dots vertically, a second display mode consisting of 8 dots horizontally x 12 dots vertically, and so on.

画像データは上記第1.第2の表示[−ドに拘らず、1
ビツトが1ドツトを表ね11バイト8ビツトのパターン
データと、各4ビツトでフォアグランド・カラー、バッ
クグランド・カラーを表わす1バイト8ビツトのカラー
データと、アンダーライン表示1貞滅表示等の属性を表
わす1バイト・8ビツトのアトリビュートデータとから
構成されている。なJり、第1の表示モードでは1バイ
トのパターンデータは2表示ブロックの1ライン分のデ
ータであり、第1の表示モードでは4バイトのパターン
データの各バイトにつき4ビツトで1表示ブ【]ツクが
表わされ、第2の表示モードでは12バイトのパターン
データで1表示ブロックが表ねされる。
The image data is the same as No. 1 above. The second display [1 regardless of - code]
11-byte 8-bit pattern data in which each bit represents 1 dot; 1-byte 8-bit color data in which 4 bits each represent foreground color and background color; and attributes such as underline display and 1 underline display. It consists of 1 byte and 8 bits of attribute data representing the . In addition, 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, 4 bits for each byte of 4 bytes of pattern data are used for 1 display block. ] is displayed, and in the second display mode, one display block is displayed with 12 bytes of pattern data.

メモリアクセスタイミングコントローラ50は、クロッ
ク信号、水平同期、垂直同期信号及び水平コントローラ
32.垂直コント[1−ラ34夫々の出力パルスを供給
され、また内部レジスタ46より表示モード制御信号を
供給されており、これらの信号に応じてメモリ1の、U
き込み/読み出しを制御する制御信号をリード/ライト
コントローラ51に供給し、メモリ1のアドレス値を可
変する制御信号をアドレスカウンタ及びリミッタ52に
供給し、転送t++ m用の制御信号を転送制御回路5
3に供給する。
The memory access timing controller 50 includes a clock signal, a horizontal synchronization signal, a vertical synchronization signal, and a horizontal controller 32 . It is supplied with the output pulses of the vertical controllers 1 and 34, and is also supplied with a display mode control signal from the internal register 46.
A control signal for controlling writing/reading is supplied to the read/write 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 transfer t++m is supplied to the transfer control circuit. 5
Supply to 3.

リード/ライトコントローラ51は読み出し時にリード
イネーブル信号、書き込み詩にライトイネーブル信号夫
々を生成して端子54よりメモリ1に供給する。また、
アドレスカウンタ及びリミッタ52の出力するアドレス
はアドレスコントローラ55でメモリ1をアクセスする
ための形態に変換されて端子56よりメモリ1に供給さ
れる。
The read/write controller 51 generates a read enable signal at the time of reading and a write enable signal at the time of writing, and supplies them to the memory 1 from the terminal 54. Also,
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.

これはメモリ1としてダイブミックRAMを用いるか又
はスタティックRΔ〜1を用いるかによって、アドレス
の形態が異なるためである。
This is because the format of the address differs depending on whether a dynamic RAM or a static RΔ~1 is used as the memory 1.

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

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

セレクタ60はLUT48.49a、49bのうら内部
レジスタ40からの指示により選択されたテーブルを用
いて上記カラーコードデータを赤。
The selector 60 changes the color code data to red using a table selected by an instruction from the internal register 40 behind the LUTs 48, 49a and 49b.

緑、前夫々4ビットで412ビツトの原色カラーデータ
に変換し、D/Δ変挽回路61に供給する。
The data is converted into 412-bit primary color data using 4 bits each for green and front, and is supplied to the D/Δ conversion circuit 61.

D/A変換回路61は端子62より供給されるアブ[l
グ用電源を基準として上記原色カラーデータをアナログ
の原色信号R,G、BにD/△変換し、端子63よりC
RT5に供給し、CRT5で画像の表示が行なわれる。
The D/A conversion circuit 61 receives Ab [l] supplied from the terminal 62.
The above primary color data is D/Δ converted into analog primary color signals R, G, B using the power source for
The image is supplied to the RT 5 and displayed on the CRT 5.

上記のLUT48〜49b。LUTs 48 to 49b above.

バッ7?59.演口及び制御回路36.セレクタ60、
D/A変換回路61で変換手段4が構成されている。
Bad 7?59. Performance and control circuit 36. selector 60,
The conversion means 4 is constituted by the D/A conversion circuit 61.

第3図は上記CRT:lントローラの要部の一実施例の
詳細なブロック系統図を示す。同図中、第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には端子70より第
4図(△)に示すクロック信gaが入来し、水平カウン
タ31はこのクロックF Q aをカウントして、その
カウント愉を水平コントローラ32に供給する。なお、
上記クロック信号aの1周期に表示画面上では2ドツト
の表示が行なわれる。
In FIG. 3, a clock signal ga shown in FIG. 4 (△) enters the horizontal counter 31 from the terminal 70, the horizontal counter 31 counts this clock FQa, and the count value is sent to the horizontal controller 32. supply to. In addition,
Two dots are displayed on the display screen in one period of the clock signal a.

水平コントローラ32はカウント値が1水平走査周期に
相当する町となると水平クリア信号を生成して水平カウ
ンタ31をクリアすると共に、第1の表示モードにおい
て第4図<8)、(C)。
When the count value reaches a period corresponding to one horizontal scanning period, the horizontal controller 32 generates a horizontal clear signal to clear the horizontal counter 31, and in the first display mode, as shown in FIG. 4<8), (C).

(D)、(E)人々に示すタイミング信号す、c。(D), (E) Timing signal shown to people c.

dとタイミング信号eとを生成する。タイミング信号b
Gまバクーンアドレスの出力を1旨丞する信号であり、
水平表示期間に8クロック周期毎に生成され、そのパル
ス幅は1クロツタ周期である。タイミング信Q cはカ
ラーアドレスの出力を指示する信号であり、タイミング
信号すの立1・がりから1クロック周期後に立上がりパ
ルス幅が2クロック周1g1である。タイミング信号d
は71〜リビユードアドレスの出力を指示する信号であ
り、水平表示期間にLレベルで水平ブランキング期間に
1−ルベルに立上がりパルス幅が34り[ミック周期の
13号である。タイミング信号eはタイミング信号aと
同一の信号でパターン、カラー、アトリビ1−[・夫々
のデータの出力を指示する。
d and a timing signal e. timing signal b
This is a signal that outputs the Gma Bakoon address.
It is generated every eight clock cycles during the horizontal display period, and its pulse width is one clock cycle. The timing signal Qc is a signal for instructing the output of a color address, and rises one clock period after the rising edge of the timing signal Qc, and has a pulse width of two clock cycles, 1g1. timing signal d
is a signal instructing the output of 71~review address, which rises to L level during the horizontal display period and 1-level during the horizontal blanking period, and has a pulse width of 34 [13th of the microphone period]. The timing signal e is the same signal as the timing signal a and instructs the output of pattern, color, and trivial data.

更に水平コントローラ32は水平走査周期のパルスを生
成して端子71から同期信号発生回路35に供給する。
Furthermore, the horizontal controller 32 generates a pulse with a horizontal scanning period and supplies it to the synchronization signal generation circuit 35 from the terminal 71.

なお、タイミング信号すの立下がりからタイミング信q
 cの立上がりまでの期間は、スムージングを11すう
際に次のラスタのパターンデータを読み出すためのタイ
ミング信号すと同様のタイミング信号が出力される。
Note that the timing signal q starts from the falling edge of the timing signal S.
During the period until the rise of c, a timing signal similar to the timing signal for reading out the pattern data of the next raster when smoothing is performed 11 times is output.

水平コントローラ32の出力する水平クリア信号は垂直
カウンタ33に供給され、垂直カウンタ33はこの水平
クリア信号をカウントして、そのカランl−値を垂直コ
ントローラ34に供給する。
The horizontal clear signal output from the horizontal controller 32 is supplied to a vertical counter 33, which counts this horizontal clear signal and supplies its curran l-value to the vertical controller 34.

垂直コントローラ34はカウント値が1垂直走査周期に
相当する値となると垂直クリア信号を生成して垂直カウ
ンタ33をクリアすると共に、垂直走査周期のパルスを
生成して端子72から同明信号発生回路35に供給覆る
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 Domei signal generation circuit 35. supply cover.

また、水平クリア信号はメモリアクセスタイミングコン
トローラ50を構成するラスタカウンタ73に供給され
、ラスタカウンタ73は水平クリア信号をカウントして
、そのカウント値をラスタデコーダ74に供給する。ラ
スタデコーダ74は第1の表示モードにおいてカウント
値が「3」である期間Hレベルのグー1−信号を生成し
てアンド回路75に供給すると共に、カウント値が「4
」となったときラスタクリア信号を生成してラスタカウ
ンタ73のクリア端子CLRIに供給する。
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 Goo 1- signal at H level during the period when the count value is "3" and supplies it to the AND circuit 75, and also supplies it to the AND circuit 75 when the count value is "4".
”, a raster clear signal is generated and supplied to the clear terminal CLRI of the raster counter 73.

また、ラスタカウンタ73のクリア端子CLR2には垂
直クリア信号が供給されている。これによってラスタカ
ウンタ73は垂直走査の開始両前にrOJにクリアされ
、その後4水平走査周IItoに「0」にクリアされる
Further, a vertical clear signal is supplied to the clear terminal CLR2 of the raster counter 73. As a result, the raster counter 73 is cleared to rOJ before the start of vertical scanning, and thereafter cleared to "0" in the fourth horizontal scanning period IIto.

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

水平コントローラ32の出力するタイミング信号すはメ
モリアクセスタイミングコントローラ50を介して内部
レジスタ46内のパターンスター1〜アドレスレジスタ
76及びパターンバッファ59aに供給され、タイミン
グ信号Cはメモリアクセスタイミングコントローラ50
を介してカラースタートアドレスレジスタ77及びカラ
ーバッファ5つbに供給される。タイミング信号eはメ
モリアクセスタイミングコントローラ50を介してパタ
ーンバッファ59a、カラーバッファ59b、アトリビ
ュートバッフ7590夫々に供給される。また、メモリ
アクセスタイミングコントローラ50のアンド回路75
の出力するタイミング信号fはアトリビュートスタート
アドレスレジスタ78及びア]・リビュートバツフ75
9Cに供給される。 バクーンスタートアドレスレジス
タ76、カラースタートアドレスレジスタ77、アトリ
ビュートスタートアドレスレジスタ78夫々は供給され
るタイミング信号す、c、f夫々の立上がり時に、夫々
に格納されているスター1〜アドレスをアドレスカウン
タ及びリミッタ52内のアドレスカウンタ80に[]−
ドし、かつタイミング信gb、c、f人々の立下がり時
にアドレスカウンタ80のアトしlス値を夫々にセーブ
づる3、アドレスカウンタ80は端子81より供給され
るクロック信号aによりアドレス偵をインクリメントし
て端子82から第2図示のアドレスコントローラ55に
供給され、ここでメ[す1をアクセスする形態とされて
メ[す1に供給される。
The timing signal C output from the horizontal controller 32 is supplied to the pattern star 1 to address register 76 in the internal register 46 and the pattern buffer 59a via the memory access timing controller 50, and the timing signal C is supplied to the memory access timing controller 50.
is supplied to the color start address register 77 and the color buffer 5b via the color buffer 5b. The timing signal e is supplied via the memory access timing controller 50 to the pattern buffer 59a, color buffer 59b, and attribute buffer 7590, respectively. Also, the AND circuit 75 of the memory access timing controller 50
The timing signal f outputted by the attribute start address register 78 and the attribute buffer 75
Supplied to 9C. The Bakun start address register 76, the color start address register 77, and the attribute start address register 78 each transfer the stored star 1 to address to the address counter and limiter 52 at the rising edge of the supplied timing signals S, C, and F, respectively. Address counter 80 in []-
3, the address counter 80 increments the address value by the clock signal a supplied from the terminal 81. The signal is then supplied from the terminal 82 to the address controller 55 shown in the second figure, where it is configured to access the memory 1 and is supplied to the memory 1.

メモリ1は約7にバイトのパターンデータ領域。Memory 1 has approximately 7 bytes of pattern data area.

約0.35にバイトのカラーデータ領域、約0゜35に
バイ1−のアi−リビュート領域夫々がアドレスに応じ
て設定されてJ3す、1アドレスで2バイト16ビツト
のデータの書き込み/読み出しを行なう。
A byte color data area is set at approximately 0.35, and a byte attribute area is set at approximately 0.35 according to the address of J3. One address writes/reads 2-byte 16-bit data. Do the following.

アドレスカウンタ80の出力アドレス値に応じてメ[す
1より読み出されたパターンデータ、カラーデータ、ア
トリビュートデータ夫々は第3図に示’J”18子58
よりデータバス83を介してパターンバ”y)759a
、カラーバッフ?59b、ア1ヘリビl−t・バッファ
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 shown in FIG.
759a via the data bus 83.
, color buff? 59b and 59c, respectively.

パターンバッファ59aはタイミング信号すの1−ルベ
ル期間に入来する2バイト4表示ブロック分のパターン
データをラッチして、タイミング信号Cの1」レベル期
間に端子84aから第2図示の演0及び制01+回路3
6に供給する。カラーバッファ59bはタイミング信号
CのHレベル期間に入来する4バイト4表示ブロック分
のカラーデータを1クロック周期毎に2バイトずつラッ
チして、タイミング信号eのF」レベル期間に1バイト
ずつ端子84bから演q及び制りu回路36に供給する
The pattern buffer 59a latches the pattern data of 2 bytes and 4 display blocks that arrive during the period of the timing signal C, and outputs the performance 0 and control data shown in the second figure from the terminal 84a during the 1'' level period of the timing signal C. 01+circuit 3
Supply to 6. The color buffer 59b latches the 4-byte color data for 4 display blocks that come during the H level period of the timing signal C, 2 bytes per clock cycle, and outputs the color data 1 byte at a time to the terminal during the F'' level period of the timing signal e. 84b to the input q and control circuit 36.

アトリビュートバッフ759Cはタイミング信号fのト
ルベル1:g1間に入来する68バイト68表示ブロッ
ク分の7トリビユートデータをラップして、タイミング
信号eの1ルベル期間に1バイ1−ずつ端子84cから
7ロ及び制御回路36に供給する。
The attribute buffer 759C wraps 7 tribute data for 68 bytes and 68 display blocks that enters between trubel 1:g1 of the timing signal f, and transfers the data from the terminal 84c to the (b) and the control circuit 36.

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

ここで第1の表示モードにおいては、1水平表示期間に
パターンデータ34バイト、カラーデータ68バイト、
アトリビュートデータ68バイトの計170バイトをメ
モリ1から読み出す必要があり、更にスムージングを行
なうとすれば計204バイトが必要である。このためメ
モリ1が17ドレスで1バイト8ビツトの読み出し/占
き込みであれば1水平走査周期182り[コック周期で
(,1スムージングを()なうことができないため、メ
モリ1は1アドレスで2バイト16ビツトの読み出し/
占き込みを行なう構成どされている。
In the first display mode, 34 bytes of pattern data, 68 bytes of color data,
It is necessary to read 68 bytes of attribute data, a total of 170 bytes, from the memory 1, and if further smoothing is to be performed, a total of 204 bytes are required. Therefore, if memory 1 is 17 addresses and 1 byte is 8 bits read/interfered, 1 horizontal scanning period is 182 [cock period (, 1 smoothing cannot be done ()), so memory 1 is 1 address Read 2 bytes 16 bits with /
It is configured to perform fortune telling.

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

なお、第4刊(C)のタイミング信号Cの立下がり後タ
イミングbの立上がりまでの4クロック周期でメモリ1
より別の画像データを読み出して先に述べた映像信号と
は別の映像信号を生成し、2系統の映像信号を切換えて
2種類の画像の切換表示を行なうことも可能である。
In addition, in the fourth edition (C), the memory 1 is
It is also possible to read out different image data to generate a video signal different from the above-mentioned video signal, and to switch between the two systems of video signals to display two types of images in a switched manner.

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

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

上記トリガ信号の入来により、メモリアクセスタイミン
グコントローラ50はタイミング4i 8 b。
Due to the input of the trigger signal, the memory access timing controller 50 reaches timing 4i 8 b.

c、f全でのLレベル時にトルベルとなるライトタイミ
ング信号を生成し、このライトタイミング信gのLルー
ベル時にリードアドレスレジスタのアドレスをアドレス
カウンタ80にロードしてクロック周期でイ・ツクリメ
ントし、1!7られた23 Q込み用のアドレスがメモ
リ1に供給される。
Generates a write timing signal that becomes a trubel when all c and f are at L level, loads the address of the read address register into the address counter 80 when the write timing signal g is at L level, and increments it at a clock cycle. !7 is supplied to memory 1 for the 23 Q-inclusive address.

これと同前に、リード/ライトコントローラ54 Lt
メモリアクセスタイミングコントローラ50よりの制御
信号に応じて、端子54よりメモリ1にライl−イネー
ブル信号を供給する。またライトタイミング信号のトル
ベル「、1にり[1ツク周期毎に転送テーブル47内の
画像データが順次転送制御回路53に供給され、ここで
選択されてり一ド/ライ]・切換回路61に供給される
。リード/ライト切換回路61はリード/ライトコント
ローラ51よりのaill til 1ffi号に応じ
てライトモードとされており、」−記画像データを端子
58よりメモリ1に供給する。
Before this, the read/write controller 54 Lt
In response to a control signal from the memory access timing controller 50, a read l-enable signal is supplied to the memory 1 from the terminal 54. In addition, the image data in the transfer table 47 is sequentially supplied to the transfer control circuit 53 every one cycle, and the image data selected here is sent to the switching circuit 61. The read/write switching circuit 61 is set to the write mode in response to the aill til 1ffi signal from the read/write controller 51, and supplies the image data "-" to the memory 1 from the terminal 58.

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

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

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

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

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

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

第1図【よ本発明のCRTコン1〜ローラの原理ブロッ
ク図、 第2図は本発明のCRTコントローラの一実施例のブロ
ック系統図、 第3図は第1図示のCRTコントローラの一部のブロッ
ク系統図、 第4図は第3図示の回路各部の信号のタイムチ↑l−ト
、 第5図は従来の両縁表示システムの一例のブロック系統
図である。 図中において、 1はメモリ、 2は読出(段、 3は格納手段、 4は変換手段、 5はCRT。 46は内部レジスタ、 47は転送テーブル、 50はメモリアクセスタイミングコント[]−ラ、51
はリード/ライ[−コントローラ、52はアドレスカウ
ンタ及びリミッタ、53は転送制御回路、 55はアドレスコントローラ、 57はリード/ライト切換回路、 61はD/A変換回路、 73はラスタカウンタ、 74はラスタデコーダ、 76はパターンスタートアドレスレジスタ、77はカラ
ースタートアドレスレジスタ、78はアトリビュートア
ドレスレジスタである。 本賽夕月っ原夫!、ブ゛ロツ7ff1 字      第1図 1F73図示の回六騙占4νつ、眉し号η24ム2トイ
ート嬉4図 中も東f)10東1(欣システ4Q7゛口・y2工91
図第5図
FIG. 1 is a principle block diagram of the CRT controller 1 to roller 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 FIG. 1. FIG. 4 is a time chart of signals of various parts of the circuit shown in FIG. 3. FIG. 5 is a block diagram of an example of a conventional double edge display system. In the figure, 1 is a memory, 2 is a readout (stage), 3 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 switching circuit, 61 is a D/A conversion circuit, 73 is a raster counter, 74 is a raster 76 is a pattern start address register, 77 is a color start address register, and 78 is an attribute address register. Honsai Yuzuki Harao! , Brotsu 7ff1 Character 1 Figure 1F73 Illustrated times 6 cheat fortune telling 4ν, eyebrow number η 24 M 2 Tweet happy 4 figure middle East f) 10 East 1 (Kin system 4Q7゛口・y2 工91
Figure 5

Claims (1)

【特許請求の範囲】  カラーデータとアトリビュートデータと複数のパター
ンデータとで1表示ブロックを表わす画像データが少な
くとも1画面分記憶されたメモリを水平同期及び垂直同
期に従つて順次アクセスし、該メモリから読み出された
画像データを映像信号に変換してCRTに表示させるC
RTコントローラにおいて、 該表示ブロックの走査線数につき1回の水平ブランキン
グ期間に水平方向1行の全表示ブロックのカラーデータ
及びアトリビュートデータのいずれか一方の又は両方を
読み出し、各水平表示期間に上記カラーデータ及びアト
リビュートデータの残りの一方とパターンデータとを時
分割で順次読み出す読出手段と、 該水平ブランキング期間に読み出されたデータを該表示
ブロックの走査線数分の水平走査周期の期間格納し、該
水平表示期間に読み出されたデータを所定期間格納して
、該カラーデータとアトリビュートデータとパターンデ
ータとを同時に出力する格納手段とを有することを特徴
とするCRTコントローラ。
[Claims] 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 is sequentially accessed according to horizontal synchronization and vertical synchronization, and C converts the read image data into a video signal and displays it on a CRT
In the RT controller, one or both of the color data and attribute data of all display blocks in one row in the horizontal direction is read out during one horizontal blanking period for each scanning line number of the display block, and the above data is read out in each horizontal display period. reading means for sequentially reading out the remaining one of the color data and the attribute data and the pattern data in a time-sharing manner; and storing the data read out during the horizontal blanking period for a period of a horizontal scanning cycle equal to the number of scanning lines of the display block. A CRT controller characterized in that it has storage means for storing data read out during the horizontal display period for a predetermined period and simultaneously outputting the color data, attribute data, and pattern data.
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 true JPS6350888A (en) 1988-03-03
JPH0437435B2 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
JPH0437435B2 (en) 1992-06-19

Similar Documents

Publication Publication Date Title
US5867178A (en) Computer system for displaying video and graphic data with reduced memory bandwidth
US4628467A (en) Video display control system
JP2594897B2 (en) Video image display device
JPH0562346B2 (en)
JPS6360492A (en) Display controller
US4695967A (en) High speed memory access circuit of CRT display unit
US5880741A (en) Method and apparatus for transferring video data using mask data
US5444497A (en) Apparatus and method of transferring video data of a moving picture
GB2137857A (en) Computer Graphics System
JPS60118889A (en) Video display address generator
US4626839A (en) Programmable video display generator
US4860251A (en) Vertical blanking status flag indicator system
US4931785A (en) Display apparatus
JPH01189690A (en) Double screen display controller
US4868556A (en) Cathode ray tube controller
JPS6350888A (en) Crt controller
US4780708A (en) Display control system
JP2538654B2 (en) Display writing device
JPS6330891A (en) CRT controller
JPH03287296A (en) image display device
JP2002014663A (en) Picture display preprocessing device and picture display device
JP3252359B2 (en) Image processing device
KR100206265B1 (en) Address decoding method for crt display interface
JP2780857B2 (en) Image display device
JPH0327695A (en) Equipment and method of economizing memory for displaying raster test pattern