JPS60205487A - Display control circuit - Google Patents

Display control circuit

Info

Publication number
JPS60205487A
JPS60205487A JP59059642A JP5964284A JPS60205487A JP S60205487 A JPS60205487 A JP S60205487A JP 59059642 A JP59059642 A JP 59059642A JP 5964284 A JP5964284 A JP 5964284A JP S60205487 A JPS60205487 A JP S60205487A
Authority
JP
Japan
Prior art keywords
register
coordinates
counter
display
straight line
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.)
Pending
Application number
JP59059642A
Other languages
Japanese (ja)
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.)
ASCII Corp
Original Assignee
ASCII Corp
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 ASCII Corp filed Critical ASCII Corp
Priority to JP59059642A priority Critical patent/JPS60205487A/en
Priority to US06/683,696 priority patent/US4747042A/en
Priority to CA000470489A priority patent/CA1231186A/en
Priority to DE8484115900T priority patent/DE3484536D1/en
Priority to EP84115900A priority patent/EP0149188B1/en
Publication of JPS60205487A publication Critical patent/JPS60205487A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

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

Description

【発明の詳細な説明】 [技術分野] 本発明は、:1ンビユータの表示制御の改良に関する。[Detailed description of the invention] [Technical field] TECHNICAL FIELD The present invention relates to improvements in display control for:

[背柴技術] 第1図に、従来のカラーグラフィックスディスプレイ装
置のブロック図を示しである。
[Seshiba Technology] FIG. 1 shows a block diagram of a conventional color graphics display device.

図中、装置全体を制御するCPU(マイクロブロセッサ
)1が設りられ、このCPU1に(よ主メ七り2と表示
制御回路3が接続されている。主メモリ2はプログラム
おJ:びデータを保持りるものrあり、表示制御回路3
はカラーグラ“ノイツクス表示を制御するものである。
In the figure, a CPU (microprocessor) 1 is provided that controls the entire device, and a main memory 2 and a display control circuit 3 are connected to this CPU 1. There is a device that holds data, display control circuit 3
controls the color graphics display.

なお、71 jコ4はCRT表示用γ−夕を保持づるV
RAM (ビデオメモリ)、符号5はCRTノJラーデ
ィスプレイ]ニットである。
In addition, 71j 4 is the V that holds the γ-column for CRT display.
RAM (video memory), reference numeral 5 is a CRT (video memory) unit.

第2図には、第1図に示した表示1.II御回路3の一
例がブロック図で示しである。
FIG. 2 shows the display 1 shown in FIG. An example of the II control circuit 3 is shown in a block diagram.

タイミングコン1日−ラ11でR1したクロック(=号
は、桁)Jウンタとラインカウンタと行カウンタとを有
するカウンタ12に入力される。このカウンタ12から
表示タイミング回路13を介して、CRT表示用同期信
号が発qJる。一方、カウンタ12で表示アドレスが作
られ、マルチプレク1す15を介して、V It八八ツ
アドレスして出力される。
The clock R1 (the = sign is a digit) obtained by the timing controller 11 is input to a counter 12 having a J counter, a line counter, and a row counter. A CRT display synchronization signal qJ is generated from this counter 12 via a display timing circuit 13. On the other hand, a display address is created by the counter 12, and output as a VIt88 address via the multiplexer 15.

VRAM4からの表示アクセスのリードデータは、バッ
フ?19を介してビf′A出力コントロール回路20に
入力され、CRTビデA信号が作られている。
Is the read data for display access from VRAM4 a buffer? The signal is input to the video f'A output control circuit 20 via the signal line 19, and a CRT video A signal is generated.

一方、CPU1がVRAM4をアクヒスづる場合、VR
AM4の7ドレスをV RA Mアドレスレジスタ14
にセットする。そして、ライトストローブを、CPUイ
ンターフIイスコントローラ18に入力すると、マルチ
ブレクリ−15にJ:って、CPU 1によるVRAM
アドレスレジスタ14の出力が、VRAMアドレスとし
て選II<され、CPU1からのライトデータが、バッ
ファ16.17を経由してVRAM4内にtRQ込まれ
る。
On the other hand, when CPU1 accesses VRAM4, VR
AM4 7 address to V RAM M address register 14
Set to . Then, when the write strobe is input to the CPU interface controller 18, a J: signal is sent to the multi-break memory 15, and the VRAM by the CPU 1 is
The output of the address register 14 is selected as the VRAM address, and the write data from the CPU 1 is tRQ'd into the VRAM 4 via the buffers 16 and 17.

作画処理の中にラインー」マントがあり、このラインコ
マンドは、これから作画しようとづる直線のスタート座
標(DXo、DYo)、その直線のX座標方向く水平方
向)の移動φJ3よびY座標方向く垂直方向)の移動機
を!うえ′C直線を引く]マントである。ラインコマン
ドを実行づるには、直線の座標計算のみならず、今表示
さている画面のカラーコードデータとの間でロジカル演
粋が必要となる。
There is a line command in the drawing process, and this line command is used to move the start coordinates (DXo, DYo) of the straight line you are about to draw, the horizontal direction (in the X coordinate direction) of that straight line, and the vertical movement in the Y coordinate direction (φJ3). direction) mobile device! Draw a straight line] It is a cloak. In order to execute a line command, it is necessary not only to calculate the coordinates of a straight line, but also to perform logical operations with the color code data of the currently displayed screen.

第3図は、ラインコマンドの実行を説明覆る説11図で
ある。この第3図に示1表示画面、[”【、スター1〜
座標(DXo、DYo)から直線を弓1くライトコマン
ドの動作例を考える。
FIG. 3 is an 11th diagram explaining the execution of a line command. This figure 3 shows 1 display screen, [”[, star 1~
Consider an example of the operation of a write command that draws a straight line from the coordinates (DXo, DYo).

まず、CI) U 1は、スター1−座標(DXO,、
DYo)からv r<ΔM4の物1jllアドレスを紳
出し、そのアドレスを表示制御回路3内のVRAMア1
:レスレジスタ14にセットJる。Cl) tJ 1は
、リード〕マントを出力し、スター1〜座標(1) X
 O。
First, CI) U 1 is star 1-coordinates (DXO,,
DYo), the object 1jll address with v r < ΔM4 is extracted, and the address is stored in the VRAM address 1 in the display control circuit 3.
: Set in response register 14. Cl) tJ 1 outputs lead] cloak, star 1 ~ coordinates (1) X
O.

DYo)に対応づ−るVRAM4内のカラーコードデー
タを読み取る。CPUIGよ、そのノjラー〕−ドデー
タと、ある特定のカラーコードデータとの間で、ロジカ
ル演怖を実行し、直線に関するノjラーコードデー夕を
作成づ”る。
The color code data in the VRAM 4 corresponding to DYo) is read. CPUIG, perform a logical operation between the node data and a certain color code data to create a color code data for a straight line.

この作成された直線に関づるカラー−J −1;データ
は、ライトコマンドによって、スター1〜PI!!標(
DXo、DYo>に対応する■1よΔM4内に書き込ま
れる。
Color-J-1; data related to this created straight line can be changed from star 1 to PI! by the write command. ! Mark (
■1 corresponding to DXo, DYo> is written into ΔM4.

次に、CPU1は、座標計算を行な0、作画しようとす
る直線を構成する2番目のドツトの座標(DXl、DY
l )を篩用づる。そして、同様の動作によって、直線
のカラーコードデータをV RAM4に書き込む。さら
に、その3番目のドラ]・の座all(1)X2.DY
2)というように、順次、上記動作をNX回繰り返づこ
とによって、画面上に直線を作画り゛ることができる。
Next, the CPU 1 calculates the coordinates (0) and calculates the coordinates (DXl, DY) of the second dot constituting the straight line to be drawn.
1) through a sieve. Then, the linear color code data is written into the V RAM 4 by a similar operation. Furthermore, the third dora]・'s seat all(1)X2. D.Y.
2) By sequentially repeating the above operations NX times, a straight line can be drawn on the screen.

最近のパーソナルコンピュータの表示m1ll郊装肩は
、]ンビュータの形状を小型にし、まIこ二Iストを低
下さヒたいという要請に応じて、表示B麿の内部構造と
インターフェイスとに関するハードウェアの量、たとえ
ばゲート数、ICJR子の数を少くづるように設B1さ
れ、その分だ1Jソフトウニj′の負担が大きくなって
いる。
Recent personal computer displays have been developed in response to requests to reduce the size of the computer and reduce the amount of time required to use the computer. B1 is designed to reduce the amount, for example, the number of gates and the number of ICJR children, and the burden on the 1J software uni j' increases accordingly.

[背景技術の問題点〕 上記した従来のラインコマンドの実行例にあるように、
その処理は総てc Pv iの負担となり、カラーコー
ドデータのり一ド/ライ1〜、座標!!1n、物理アド
レスの紳出に、非常に多くの時局を要りるので、ライン
コマンドの処理効率が低いという問題がある。
[Problems with the background technology] As shown in the conventional line command execution example above,
The processing is all burdened by c Pv i, and the color code data Nori 1 Dri/Ri 1 ~, coordinates! ! 1n, it takes a very long time to generate a physical address, so there is a problem that the processing efficiency of line commands is low.

[発明の[1的1 本発明は、1記従来の問題点に盾ト1してなされIこb
ので、ラインコマンドに関りる表示動作の実(1時間を
短縮りることかできる]ンピーl−タの表示制O1I装
置を提供づることを目的とづるムのCある。
[1.1 of the invention] The present invention has been made in order to solve the problems of the conventional art mentioned in 1.
Therefore, the object of the present invention is to provide an O1I display system for a computer which can reduce display operation time (by one hour) regarding line commands.

[発明の概要] 上記目的を達成覆るlこめに、本発明は、ラインコマン
ド実行手段をハードウェアで構成し1〔シのCある。
[Summary of the Invention] In order to achieve the above object, the present invention comprises a line command execution means using hardware.

[発明の実施例] 第4図は、本発明の一実施例を示リブ[1ツク図ぐある
[Embodiment of the Invention] FIG. 4 shows an embodiment of the present invention.

表示タイミングク[1ツクを発生づるり]1ツク発生器
31が設けられ、その表示タイミングクロックに従って
、OR1画面表示タイミングJJ、びVRAMアドレス
を発生ηるための桁カウンタと、ラインカウンタど、(
jカウンタとを右づるカウンタ32が設けられている。
A display timing clock [one clock generation] A one clock generator 31 is provided, and according to the display timing clock, a digit counter, a line counter, etc. are used to generate the OR1 screen display timing JJ and VRAM address.
A counter 32 is provided which shifts the j counter to the right.

CPtJlからのデータバス41は、バッファ42を介
してレジスタデータバス43に接続されている。CPU
1がアクレスする表示制御回路3内のレジスタの番号を
レジスタポインタ44が保持し、このレジスタポインタ
/14の出力をレジスタセレクタデコーダ45がデコー
ドすることによって、個々のレジスタを指定づる。この
レジスタポインタ44は、レジスタI能の他に力ラン1
−アップの機能を有づる。各レジスタのバラメークセラ
l〜に際し、完了復、1つカウントアツプづる。よって
自動的に次々とレジスタを連続指定づることができる。
A data bus 41 from CPtJl is connected to a register data bus 43 via a buffer 42. CPU
A register pointer 44 holds the number of the register in the display control circuit 3 that is accessed by 1, and a register selector decoder 45 decodes the output of this register pointer/14 to designate each register. In addition to the register I function, this register pointer 44 also has the register I function.
-Has an up function. When each register is completed, the count increases by one. Therefore, it is possible to automatically specify registers one after another.

また、CPU1からのコマンド情報をTIマントレジス
タ46が保持し、CPU1からのコマンドに従ってビデ
オCl) U 47が表示データに関りる処理を行なう
。このビF;A−CPU47からCI) Ulへのステ
ータスをSRレジスタ48が保持りる。
Further, the TI mantle register 46 holds command information from the CPU 1, and the video Cl) U 47 performs processing related to display data in accordance with the commands from the CPU 1. The SR register 48 holds the status of this VIF; A-CPU 47 to CI) Ul.

また、ビデオCPU47は内部に演算レジスタΔCCを
有しコマンドに従って必要な演算処理を(jうことがで
きる。cpuiがVRAM4の物理アドレスを指定し、
そのVRAM4をアクしスする場合に、VRAMアドレ
スをVRAMアドレスレジスタ/カウンタ37が保持J
る。V+<ΔM4へのライトデータと、VRAM4から
のリードデータとを、カラーコードレジスタ33が保持
づる。
Furthermore, the video CPU 47 has an internal calculation register ΔCC and can perform necessary calculation processing according to commands.
When accessing the VRAM4, the VRAM address register/counter 37 holds the VRAM address.
Ru. The color code register 33 holds write data to V+<ΔM4 and read data from VRAM4.

そして、以上に記載の構成要素が、本発明の特徴となる
ものぐある。
The constituent elements described above are the features of the present invention.

ツなわら、これから作画しようとづる直線の水平方向の
X座標上の伯を保持するDXレジスタ/カウンタ58と
、その垂直方向のYIIPLWi上の伯を保持(るDY
レジスタ/カウンタ59と、DX。
In addition, there is a DX register/counter 58 that holds the number on the horizontal
register/counter 59 and DX.

D Yアドレス/カウンタ58.59の各出力に従って
、VRAM4の物理アドレスを作成づ“るDXYアドレ
ス合成回路57とが設けられている。
A DXY address synthesis circuit 57 is provided which creates a physical address of the VRAM 4 according to each output of the DY address/counters 58 and 59.

上記DX、DYレジスタ/カウンタ38.39゜58.
59は、レジスタ機能の他に、アップ/ダウンカウンタ
の機能を右するものである。
Above DX, DY register/counter 38.39°58.
In addition to the register function, 59 also functions as an up/down counter.

さらに、表示1.II御回路3内のVRAMアドレスバ
ス36は、バッファ55を介して、VRAM4のアドレ
スライン56に接続されている。表示制御回路3内のV
RAMデータバス35は、バッファ53を介して、VR
AMデータライン54に接続されている。
Furthermore, display 1. The VRAM address bus 36 in the II control circuit 3 is connected to the address line 56 of the VRAM 4 via a buffer 55. V in display control circuit 3
The RAM data bus 35 is connected to the VR via the buffer 53.
It is connected to AM data line 54.

NXレジスタ61は、上記直線のスタート座標から水平
方向くX座標方向)の移動量を保持し、NYレジスタ6
3は、」−記直線のスタート座標(DXo、DYo>か
ら垂直方向(Y座標方向)の移動量を保持するものであ
る。水平方向のディレクションXフラグ60は、それが
rOJのときに正方向(右方向)を示し、「1」のとき
に負方向(左方向)を示1.垂直方向の1イレクシヨン
Yフラグ62は、それが「0」のときに正方向(下方向
)を示し、「1」のときに負方向(上方向)を示す。△
LU(演算ユニツ1〜)51は、ビデオCPU47から
の制御に従って、カラーコードレジスタ33の出力とD
レジスタ52の出力との論理演算、たとえばIMF、A
ND、OR1]ヨOR,NOTの演算を行なう。
The NX register 61 holds the amount of movement in the horizontal direction (X coordinate direction) from the start coordinate of the straight line, and the NY register 6
3 holds the amount of movement in the vertical direction (Y coordinate direction) from the start coordinates (DXo, DYo> of the straight line indicated by "-").The horizontal direction X flag 60 indicates the positive direction when it is rOJ. (rightward), and indicates a negative direction (leftward) when it is "1" 1. The vertical 1-erection Y flag 62 indicates a positive direction (downward) when it is "0"; “1” indicates negative direction (upward direction).△
The LU (arithmetic unit 1 to) 51 outputs the output of the color code register 33 and D according to the control from the video CPU 47.
Logical operations with the output of register 52, e.g. IMF, A
ND, OR1] Performs OR, NOT calculations.

以トが本発明の特徴的な構成要素ぐあるが、表示$11
111回路3内には、それら以外にb構成要素が存在す
る。しかし、本発明の動作説明を行なう1で特に必要の
ない構成要素については、その説明を省略しである。
The following are the characteristic components of the present invention, shown at $11
In addition to these components, b components exist in the 111 circuit 3. However, the explanation of components that are not particularly necessary in 1 for explaining the operation of the present invention will be omitted.

次に、」ニ記実施例の動作について説明づる。Next, the operation of the embodiment described in section 2 will be explained.

CP jJ 1は、ラインコマンドを実行づるに必要な
情報を、予め表示ll1l111回路3の各レジスタに
レットしておく必要がある。CPU 1 tま、第5図
、第6図に示づ各レジスタをアクヒスJる場合、アクレ
スするレジスタのレジスタ番号をレジスタポインタ44
にヒツトし、その後にリード/ライ1〜を行なう。
CP jJ 1 needs to store the information necessary to execute the line command in each register of the display ll1l111 circuit 3 in advance. When the CPU 1 accesses each register shown in FIGS. 5 and 6, the register number of the register to be accessed is stored in the register pointer 44.
hit, then read/write 1~.

cpu iは、これから作画しようとづる直線のスター
ト座標(DXo、DYo)をl) Xレジスタ/カウン
タ58とDYレジスタ/力tンンタ59とにセットする
。DXレジスタ/カウンタ58は第5図に示すDXL 
(レジスタ#36)と同[) X H(レジスタ#37
)とで構成され、DYレジスタ/カウンタ59は同DY
L(レジスタ#38)と同DYH(レジスタ#39)と
で構成される。
The CPU i sets the start coordinates (DXo, DYo) of the straight line to be drawn in the X register/counter 58 and the DY register/counter 59. The DX register/counter 58 is a DXL as shown in FIG.
Same as (register #36) [)
), and the DY register/counter 59 is
It consists of L (register #38) and DYH (register #39).

また、スタート座標<DXo、DYo)からの水平方向
(×座標方向)の移llJm N XをNXレジスタ6
1にセットするとともに、その重l′j方向(Y座標方
向)の移動ff1NYをNYレジスタ63にセラ1−タ
る。
In addition, the horizontal direction (x coordinate direction) from the start coordinates <DXo, DYo) is transferred to the NX register 6.
1, and the movement ff1NY in the weight l'j direction (Y coordinate direction) is written to the NY register 63.

第3図に示1J:うに、上記直線はスタート座標(DX
o、DYo)からみて、X、Y方向ともに正方向である
から、ディレクシ3ンX7ラグ60およびディレクショ
ンYフラグ62を、[01にセラ1〜する。このデレク
ションXフラグ60はアーギュメントレジスタ(レジス
タ#46)のビット2に対応し、ディレクションYフラ
グ62はアーギュメントレジスタ(レジスタ#46)の
ビット3に対応する。そして、画面のカラー−1−ド演
算を行ない、直線の7Jラー]−ドデータを作成づるた
めに使用Jる特定のデータを、7Jラー:1−ドレジス
タ33にUツト1−る。このカラー」−ドレジスタ33
は、第6図に示したCI−Rくレジスタ#44)に対応
づるものである。
Figure 3 shows 1J: Uni, the above straight line is the starting coordinate (DX
Since both the X and Y directions are in the positive direction when viewed from DYo), the direction 3-in X7 lag 60 and the direction Y flag 62 are set to [01]. The direction X flag 60 corresponds to bit 2 of the argument register (register #46), and the direction Y flag 62 corresponds to bit 3 of the argument register (register #46). Then, the specific data used to perform the screen color-1-code calculation and create straight 7J-color data is stored in the 7J-color register 33. “This color” - Dresister 33
corresponds to CI-R register #44) shown in FIG.

CPU1は、第7図のコマンド−1−ド表、第8図のロ
ジカルAベレーションロード表に従って、rol 11
00111Jのコマンドコードを作成し、コマンドレジ
スタ46〈レジスタ#45)にセラトリ゛る。この−」
マント−」−ドのL位4ピッ]−1’0111Jは、ラ
インコマンドであることを示し、下位4ピッ+−roo
ii」は、1]ジカルAベレーシヨンコードであり、排
他論理和であることを示している。
The CPU 1 executes rol 11 according to the command-1-code table in FIG. 7 and the logical A verification load table in FIG.
Create a command code of 00111J and certify it to the command register 46 (register #45). This-”
-1'0111J indicates a line command, and the lower 4 pins +-roo
ii'' is a 1] logical A veriation code, indicating that it is an exclusive OR.

なお、第5図は、レジスタ#32〜42の内容を示すも
のであり、第6図は、レジスタ#43〜46とレジスタ
#2.#8の内容を承りbのである。
5 shows the contents of registers #32-42, and FIG. 6 shows the contents of registers #43-46 and register #2. In response to the content of #8, this is b.

第7図は、=1マント]−ドを示づ図表(゛ある。FIG. 7 is a diagram showing the =1 cloak] - code.

この図において、fVDcJG、t、& 示1jl t
ill l’jl ’tH3を示1Jものである。
In this figure, fVDcJG, t, & 1jl t
ill l'jl 'tH3 is 1J.

ビデオCI) U 47は、CPU1からコマンドコー
ドJ3よび[lジカルAベレーションコードを受t)取
ると、S I’(レジスタ48のビット7のコマンドエ
クスキューディング(第6図に示しであるレジスタ#2
のrcEJ )をレットして、そのコマンドの実行・処
理を開始りる。
Video CI) When the U 47 receives the command code J3 and the logical Averation code from the CPU 1, the U 47 executes SI' (command executable bit 7 of the register 48 (register shown in FIG. 6). #2
rcEJ ) to start execution and processing of that command.

次に、ビデ′ACPU47は、直線座標を保持している
DXXレジスタ/カウンタ58l) Yレジスタ/カウ
ンタ59とから、DXYアドレス合成回路57によって
作成されるVRAM4内から、カラーコードをリードし
、Dレジスタ52にセットづる。
Next, the bidet ACPU 47 reads the color code from the VRAM 4 created by the DXY address synthesis circuit 57 from the DXX register/counter 58l) and the Y register/counter 59 that hold linear coordinates, and reads the color code from the D register Set to 52.

CPU1によって設定されているノJラー]−ドレジス
タ33内のデータと、直線作画づべさ領域からリードさ
れた1〕レジスタ52内のtjラー]−ドデータとは、
ALU(論理演算−1ニツ1〜)51によって、ロジカ
ル演算(Jl*(l!論理和)が実行される。これによ
って、直線作画用カラー−1−ドデータが作成される。
The data in the register 33 set by the CPU 1 and the data in the register 52 read from the linear drawing area are as follows:
The ALU (logical operation-1 nits 1~) 51 executes a logical operation (Jl*(l! logical sum). As a result, color-1 code data for straight line drawing is created.

新しく演算され作成されIこカラーコードデータは、V
RAMデータバス35、バッファ53を介して、VRA
Mデータライン54上に出力され、DXYアドレス合成
回路57によって作成された直線作画すべき領域側の物
理アドレスに従ってVRAM4内に書き込まれる。
The newly calculated and created color code data is V.
VRA via RAM data bus 35 and buffer 53
It is output onto the M data line 54 and written into the VRAM 4 in accordance with the physical address of the area where a straight line is to be drawn, which is created by the DXY address synthesis circuit 57.

以上の動作ににつで、上記直線にお【ノる1ドツトの作
画が完了づる。
By completing the above operations, the drawing of one dot along the above straight line is completed.

ビデ71 CP U 47は、DXレジスタ/カウンタ
58おJ、びDYレジスタ/カウンタ59の内容で示さ
れる座標と、NXレジスタ61およびNYレジスタ63
の内容で示される移動量/方向とに基づいて、座標81
算を行ない、上記直線にJ5 【)る2番目のドツトの
I!P椋(DXl、DYI)を算出覆る。これと同時に
、L記座椋、!l 粋に従って、NXカウンタ64とN
Yカカラタ65どは、2番目のドラ1−までの移動mだ
(プカラン1−アップされる。
The bidet 71 CPU 47 inputs the coordinates indicated by the contents of the DX register/counter 58 and DY register/counter 59, and the NX register 61 and NY register 63.
The coordinates 81 are based on the amount of movement/direction indicated by the contents of
Calculate the I of the second dot J5 [) on the above straight line! Calculate P (DXl, DYI). At the same time, Lkizagura! l According to the standard, NX counter 64 and N
Y Kakarata 65 is the movement m to the second dora 1- (pukaran 1-up).

なお、NXカウンタ64とNYカカラタ65どは、ライ
ンコマンドの開始時に、ビア’ ACP IJ 47に
よってクリアされている。
Note that the NX counter 64 and NY counter 65 are cleared by the via' ACP IJ 47 at the start of the line command.

2番目のドラ1〜の座標(DXl、1)Yl)は、再び
DXレジスタ/カウンタ58とDYレジスタ/カウンタ
59とにセラi〜され、上記と同じ手順によって、その
2M目のドラ1〜の作画が実行される。
The coordinates (DXl, 1) Yl) of the second driver 1~ are again stored in the DX register/counter 58 and the DY register/counter 59, and by the same procedure as above, the coordinates (DXl, 1) Yl) of the 2Mth driver 1~ Drawing is executed.

ビデ;t CI) U 47は、NXレジスタ61どN
Xカウンタ64とが一致し、かつNYレジスタ63とN
Yカカラタ65との一致を検出すると、ラインコマンド
が完了したと判断し、SRレジスタ48のコマンドエク
スキク−1イング< C[)ビットをクリアし、コマン
ドの終了をCPU 1に知らぜる。
bidet;t CI) U 47 is the NX register 61
The X counter 64 matches, and the NY register 63 matches the N
When a match with the Y character data 65 is detected, it is determined that the line command has been completed, and the command execution-1 ing < C[) bit of the SR register 48 is cleared to notify the CPU 1 of the end of the command.

次に、以上述べた直線のアルゴリズムを具体的に説明づ
る。
Next, the straight line algorithm described above will be explained in detail.

まず、(NY)をNYレジスタの値とし、(NX)をN
Xレジスタの値とし、(NY)> (NX>と(る。ビ
デAc p uの中の演算レジスタを△OCと呼び、そ
の値を(△CC)と表わり。第9図のフローチャートに
示1方法にJ:ってNXノJウンタ、DXカカラク及び
NYノJウンタ、D Yカウンタをカラン1−シていく
ことによりl) X Yは心線の物理アドレスを次にト
レースしていく。
First, let (NY) be the value of the NY register, and (NX) be the value of the NY register.
Let the value of the X register be (NY) > (NX > (). The calculation register in the video Ac p u is called △OC, and its value is expressed as (△CC). The flowchart in Fig. 9 shows 1) By moving the NX J counter, DX counter, NY J counter, and DY counter one by one, XY traces the physical address of the core wire.

DXカウンタ、DYカカラタのカウントはDIRX、D
IRYの1直によりカラン1〜アツプまIJ1.1カウ
ントダウンかの方向が定まる。
DX counter, DY Kakarata count is DIRX, D
IRY's 1st shift determines the direction of the countdown from 1st to 1st and 1st to IJ1.1.

次に(NY)< (NX>の場合は、1−ぐ述ぺたNY
とNX5DXとDYを入れ換えで行う。これによりX軸
方向を主軸として直線がl・レースされる。
Next, if (NY) <(NX>
This is done by swapping NX5DX and DY. As a result, a straight line is raced with the X-axis direction as the main axis.

−以、1−の51!l理によって、cpuiは、ライン
コマンドを出力づるだけで、何の負担b4【り、心線作
画処理を実行づることがCきる。したがって、その作画
処理の所要時間が非常に短くなる。
-Here, 1-51! By this principle, the CPU can perform the core wire drawing process without any burden by simply outputting line commands. Therefore, the time required for the drawing process becomes extremely short.

[発明の効果] 上記のように、木光明は、表示動作のうちラインコマン
ドに関づるソフトウェアの処理時間の大部分をハードウ
ェアで処即ツることかできるので、ラインコマンドに関
づる処理効率が高く、表示メモリアクセスを高速化でき
るという効果をイjする。
[Effects of the Invention] As mentioned above, Kikomei can immediately handle most of the software processing time related to line commands in display operations using hardware, which improves the processing efficiency related to line commands. It has the effect of increasing the speed of display memory access.

また、その場合に必躾なハードウェアの増加儂が比較的
少ないという効果を有りる。
Further, in this case, there is an effect that the necessary increase in hardware is relatively small.

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

第1図は従来の一般的なノノラーディスプレイ装置を示
づブ1]ツク図、第2図はlit!1図にJ3LJる表
示1.II 111回路を示すブロック図、第3図はラ
インコマンドの説明図、第4図は本発明の一実施例を示
゛リブ1」ツク図、第5図、第6図は上記実施例におり
る各レジスタの内容を示(図、第7図は〕マントコード
を示1図、第8図は1]ジカルAベレーシヨンを示す図
、第9図はラインコマント実1jのj′ルゴリズムを示
すフローチャー1− rある。 1・・・CPU、2・・・主メモリ、3・・・表示制御
回路、4・・・VRAM (ビデオメモリ)、33・・
・カラー=1−ドレジスタ、35・・・VRAMアドレ
スバス、47・・・ビデオCPU、51・・・△LU(
論理演算〕ニット)、52・・・Dレジスタ、57・・
・DXYアドレス合成回路、58・・・I) Xレジス
タ/カウンタ、59・・・DYレジスタ/カウンタ、6
1・・・NXレジスタ、63・・・NYレジスタ。 第1図 第2図 1,3 第5図 #33 巨[四二下]工工[区[区M] 5XH(V−
スXHigh)$34 [冨mイ]=]四([5t1■
[)逼1]〒i二PSYL(゛ノース Y Low)井
35 巨=】可]「コ下干ガ■口 5Y)l (ソース
Y High1637 fj[I]q■丁b王り DX
)l [%X7J−>IIンX High)ヰ38 区
「51丁B=Y4 Yj Y2 Y+ Yo DYL[
f<X%#−シコンY Lowl$39 [E丁5に]
票====ニコ?=ゴピー■マ1=マ石] oy+(う
9ぐル多−シ、シY Highlf$41 o o o
 o o ONX9NX NXH(1’JeL XHi
ghl$42 QコIY NY NY2NYINマQ 
NYL ()”J[L Y Lowl第6図 レジス9tr号 井44 EiI戸ジ■Σ可EE司り一〇i薯 CLR(
カラーレジスタ)#45 E* * * 、R”¥4 
ARGR(y−F、、+>bbシス9)#46 [日
Figure 1 shows a conventional general display device, and Figure 2 shows a lit! J3LJ display in Figure 1 1. II. A block diagram showing the 111 circuit, Fig. 3 is an explanatory diagram of line commands, Fig. 4 is a diagram showing one embodiment of the present invention, and Figs. 5 and 6 are based on the above embodiment. (Figure 7 shows the contents of each register, Figure 7 shows the cloak code, Figure 8 shows the 1) logical A veriation, and Figure 9 shows the flowchart of the j' algorithm of the line command real 1j. There are 1-r Chars. 1...CPU, 2...Main memory, 3...Display control circuit, 4...VRAM (video memory), 33...
・Color=1-dore register, 35...VRAM address bus, 47...video CPU, 51...△LU(
Logical operation] nit), 52...D register, 57...
・DXY address synthesis circuit, 58...I) X register/counter, 59...DY register/counter, 6
1...NX register, 63...NY register. Figure 1 Figure 2 1, 3 Figure 5 #33 Huge [42 lower] Construction [Ward [Ward M] 5XH (V-
sXHigh) $34 [Tomi] =]
[)〼1] 〒i2PSYL(゛North Y Low) Well 35 Big =] Possible] "Koshimo Higashiga■mouth 5Y)l (Source Y High1637 fj[I]q■Ding b King DX
)l [%X7J->IIin
f<X%#-Shikon Y Low $39 [To E-5]
Votes ==== Nico? = Gopi■Ma1=Maishi] oy+(U9guruta-si, shiY Highlf$41 o o o
o o ONX9NX NXH(1'JeL
ghl$42 Qko IY NY NY2NYIN MaQ
NYL ()”J
Color register) #45 E* * *, RӴ4
ARGR (y-F,,+>bb cis9) #46 [day


φ日らロク]違弔F層i目Σ】![召ジ1 cMR(コ
マンドレジ又り)#2 [IワI「下]=宜頁ゴ区[]
二===?] SR(ステータスしシ′スタ)第7.図 第8図
[
φ day Roku] different condolence F layer i eye Σ]! [Call 1 cMR (Command Cashier) #2 [I Wa I “Bottom” = Ipego Ward []
Two===? ] SR (Status System) 7th. Figure 8

Claims (4)

【特許請求の範囲】[Claims] (1)論理的に表示平面を構成づる記憶装置内において
、 直線のスタート座標を指定づる手段と;前記スタート座
標から水平方向の移動はを保持する手段と: 前記スタート座標から垂直方向の移動mを保持づる手段
と: から成り、前記スタート座標から所定方向に所定の長さ
で直線を引くことが可能であることを特徴とづる表示1
.II lit装置。
(1) In a storage device that logically constitutes a display plane, means for specifying the start coordinates of a straight line; means for maintaining movement in the horizontal direction from the start coordinates; and movement m in the vertical direction from the start coordinates. and a means for holding: A display 1 characterized in that it is possible to draw a straight line with a predetermined length in a predetermined direction from the starting coordinates.
.. II lit device.
(2)論理的に表示平面を構成する記憶装置内において
、 直線のスタート座標を指定づる手段と;前記スタート座
標から水平方向の移動量を保持づる手段と; 前記スタート座標から垂直方向の移動量を保持する手段
と; 所定の2つのカラーコードデータのrAl′cロジhル
演算を行なうロジカル演算手段と: から成り、前記スタート座標から所定方向に所定の長さ
で直線を引くことが可能であることを特徴とする表示制
御装置。
(2) In a storage device that logically constitutes a display plane, means for specifying the start coordinates of a straight line; means for retaining the amount of movement in the horizontal direction from the start coordinates; and the amount of movement in the vertical direction from the start coordinates. means for holding; and logical calculation means for performing rAl'c logical calculations on two predetermined color code data; and: capable of drawing a straight line from the starting coordinates in a predetermined direction and with a predetermined length. A display control device characterized by:
(3)特許請求の範囲第1項において、前記記憶装置は
、表示メモリであることを特徴とでる表示制御装置。
(3) The display control device according to claim 1, wherein the storage device is a display memory.
(4)特許請求の範囲第1項において、前記スタート座
標は、X、Y座標上の値によって指示されることを特徴
とづる表示制御11′@置。
(4) The display control 11' according to claim 1, wherein the start coordinates are indicated by values on the X and Y coordinates.
JP59059642A 1983-12-20 1984-03-29 Display control circuit Pending JPS60205487A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP59059642A JPS60205487A (en) 1984-03-29 1984-03-29 Display control circuit
US06/683,696 US4747042A (en) 1983-12-20 1984-12-19 Display control system
CA000470489A CA1231186A (en) 1983-12-20 1984-12-19 Display control system
DE8484115900T DE3484536D1 (en) 1983-12-20 1984-12-20 DISPLAY CONTROL SYSTEM.
EP84115900A EP0149188B1 (en) 1983-12-20 1984-12-20 Display control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59059642A JPS60205487A (en) 1984-03-29 1984-03-29 Display control circuit

Publications (1)

Publication Number Publication Date
JPS60205487A true JPS60205487A (en) 1985-10-17

Family

ID=13119073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59059642A Pending JPS60205487A (en) 1983-12-20 1984-03-29 Display control circuit

Country Status (1)

Country Link
JP (1) JPS60205487A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5528139A (en) * 1978-08-15 1980-02-28 Nec Corp Vector production circuit
JPS5734589A (en) * 1980-08-12 1982-02-24 Hitachi Ltd Color indicator

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5528139A (en) * 1978-08-15 1980-02-28 Nec Corp Vector production circuit
JPS5734589A (en) * 1980-08-12 1982-02-24 Hitachi Ltd Color indicator

Similar Documents

Publication Publication Date Title
KR0169541B1 (en) Image processing device and method therefor and electronic device having image processing device
JP3313527B2 (en) Graphics controller and pixel data transfer system
JPS60205487A (en) Display control circuit
JPS61258289A (en) Image processor
JP3017882B2 (en) Display control system
JPH0567216A (en) Graphic painting-out device
JP2899838B2 (en) Storage device
JPS60173580A (en) Display controller
JP2891429B2 (en) Liquid crystal display controller
JPS6098485A (en) Display unit
JPS64713B2 (en)
JPH06259061A (en) Display control circuit
JPS63245716A (en) Multiwindow display device
JPH03196095A (en) External synchronous control device
JPS61292679A (en) Graphic display unit
JPS61231593A (en) Display unit
JPS6385927A (en) Graphics image display device
JPS6155689A (en) Image memory writing/reading controller
JPS60126689A (en) Display controller
JP2001092984A (en) Image processor
JPH03102395A (en) Character display system
JPS62150384A (en) Image scroller
JPH06231233A (en) Image processing system
JPH0659652A (en) Display control device
JPS6165292A (en) Graphic display unit