JPH05324841A - Drawing system of image controller - Google Patents

Drawing system of image controller

Info

Publication number
JPH05324841A
JPH05324841A JP15411992A JP15411992A JPH05324841A JP H05324841 A JPH05324841 A JP H05324841A JP 15411992 A JP15411992 A JP 15411992A JP 15411992 A JP15411992 A JP 15411992A JP H05324841 A JPH05324841 A JP H05324841A
Authority
JP
Japan
Prior art keywords
ram memory
data processor
graphic data
cpu
command
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
JP15411992A
Other languages
Japanese (ja)
Inventor
Masami Kamiya
政己 神谷
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.)
Takaoka Toko Co Ltd
Original Assignee
Takaoka Electric Mfg 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 Takaoka Electric Mfg Co Ltd filed Critical Takaoka Electric Mfg Co Ltd
Priority to JP15411992A priority Critical patent/JPH05324841A/en
Publication of JPH05324841A publication Critical patent/JPH05324841A/en
Pending legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To shorten the initial screen display time of drawing by a graphic data processor. CONSTITUTION:This system is provided with the device composed of a video RAM memory 8 which outputs a video signal to the output according to written data contents, the graphic data processor 7 which writes drawing data in the video RAM 8 according to drawing commands inputted from the outside, a CPU 5 which can access the graphic data processor 7, and a RAM memory 6 that both the CPU 5 and graphic data processor 7 can access. At the time of an initial display, the CPU 5 allows the graphic data processor 7 to draw automatically a series of drawing commands, previously written in the RAM memory 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はグラフィックデータプロ
セッサを用いて描画を行う方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a drawing system using a graphic data processor.

【0002】[0002]

【従来の技術】従来、グラフィックデータプロセッサを
用いてリアルタイムに変化する描画を行う方式として
は、CPUから描画コマンドを1つづつ受け取りそれを
実行する方式がとられている。
2. Description of the Related Art Conventionally, as a method of performing a drawing that changes in real time using a graphic data processor, a method of receiving drawing commands from the CPU one by one and executing the drawing commands has been adopted.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来の方式においては、初期表示時間は描画コマンド
を大量に転送する為時間が多くかかった。そこで本発明
は、この転送時間を無くし初期表示時間を短くする事を
目的とする。
However, in the above-mentioned conventional method, the initial display time is long because a large number of drawing commands are transferred. Therefore, an object of the present invention is to eliminate this transfer time and shorten the initial display time.

【0004】[0004]

【課題を解決するための手段】本発明は、画面全体の描
画データをブロック分けし、リアルタイムで変化する描
画データの描画コマンドをメモリ上に常に更新してお
き、初期表示時にはこのコマンドをグラフィックデータ
プロセッサに自動実行させる。
According to the present invention, the drawing data of the entire screen is divided into blocks, and the drawing command of the drawing data that changes in real time is constantly updated in the memory. Let the processor execute automatically.

【0005】[0005]

【作用】初期画面表示時にはRAMメモリ上に書かれて
いる一連の描画コマンドを実行する事により、ホストコ
ンピュータからのデータ転送時間がなくなり表示時間が
短くなる。
When the initial screen is displayed, by executing a series of drawing commands written in the RAM memory, the data transfer time from the host computer is eliminated and the display time is shortened.

【0006】[0006]

【実施例】図1に本発明における一実施例の構成を示
す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows the configuration of an embodiment of the present invention.

【0007】ホストコンピュータ1は全体のシステムの
中心となる部分で、ここでCRT10に表示させるグラ
フィックの描画コマンドを作成する。画像制御部2はC
RT10に出力するビデオ信号を作り出す部分で、I/
Oコントローラ4と、CPU5と、RAMメモリ6と、
グラフィックデータプロセッサ7と、ビデオRAMメモ
リ8から構成されていて、それらが内部バスによって接
続されている。I/Oコントローラ4はホストコンピュ
ータ1とLANケーブル3によってつながり双方向間の
通信を行う部分で、ホストコンピュータ1から受け取っ
た情報を解析してCPU5へ引き渡す。CPU5はグラ
フィックデータプロセッサ7へ描画コマンド等を送った
りRAMメモリ6へ描画コマンドを書き込んだりする。
グラフィックデータプロセッサ7はCPU5から受け取
った描画コマンドに従って描画データをビデオRAMメ
モリ8へ書き込んだり、CPU5からのバッチ命令を受
け取る事によりRAMメモリ6上に書かれている連続し
た描画コマンドを自動的に実行し、ビデオRAMメモリ
8上に描画データを書き込む事ができる。なお後者の機
能を以降バッチ機能と呼ぶ。ビデオRAMメモリ8はグ
ラフィックデータプロセッサ7から書き込まれた描画デ
ータをビデオ信号に変換し、ビデオケーブル9を介して
外部に出力する。CRT10はビデオケーブル9から入
力されたビデオ信号をディスプレイ表示する。
The host computer 1 is a central part of the entire system and creates a drawing command of a graphic to be displayed on the CRT 10 here. The image control unit 2 is C
The part that produces the video signal to be output to RT10.
O controller 4, CPU 5, RAM memory 6,
It is composed of a graphic data processor 7 and a video RAM memory 8, which are connected by an internal bus. The I / O controller 4 is a part that is connected to the host computer 1 by the LAN cable 3 and performs bidirectional communication, and analyzes the information received from the host computer 1 and transfers it to the CPU 5. The CPU 5 sends a drawing command or the like to the graphic data processor 7 or writes the drawing command in the RAM memory 6.
The graphic data processor 7 writes the drawing data in the video RAM memory 8 according to the drawing command received from the CPU 5 and automatically executes the continuous drawing commands written in the RAM memory 6 by receiving the batch command from the CPU 5. However, the drawing data can be written in the video RAM memory 8. The latter function will be referred to as a batch function hereinafter. The video RAM memory 8 converts the drawing data written from the graphic data processor 7 into a video signal and outputs the video signal to the outside via the video cable 9. The CRT 10 displays the video signal input from the video cable 9 on the display.

【0008】以上の様な構成において実際に描画を行う
場合について以下に示す。説明の簡便さの為画面を縦横
に3分割し画面全体を図2の様に9個のブロックに分
け、各ブロックは図2に示した様な番号付けを行う。そ
の各ブロックには丸かバツの描画を行い、丸もバツもグ
ラフィックデータプロセッサ7で実行する描画コマンド
1つで描画できるものとする。すなわち図3の様な描画
はブロック5番を除く8個のブロックに丸を描く描画コ
マンドと、ブロック5番にバツを描く描画コマンドの計
9個のコマンドによって描かれる。また描画速度を説明
する為、描画コマンド1つがホストコンピュータ1から
画像制御部2へ転送され画像制御部2によって描画がさ
れるまでの時間を10ms、ビデオRAMメモリ8上に
描かれている描画コマンド1つをグラフィックデータプ
ロセッサ7のバッチ機能により描画実行するまでの時間
を1ms,ビデオRAMメモリ8上に描かれた描画デー
タを消去するのには5msかかるとする。
The case of actually drawing with the above-mentioned structure will be described below. For ease of explanation, the screen is vertically and horizontally divided into three parts, and the entire screen is divided into nine blocks as shown in FIG. 2, and each block is numbered as shown in FIG. It is assumed that each block is drawn with a circle or a cross, and both the circle and the cross can be drawn with one drawing command executed by the graphic data processor 7. That is, the drawing as shown in FIG. 3 is drawn by a total of 9 commands including a drawing command for drawing a circle in 8 blocks except the block 5 and a drawing command for drawing a cross in the block 5. In order to explain the drawing speed, it takes 10 ms for one drawing command to be transferred from the host computer 1 to the image control unit 2 and to be drawn by the image control unit 2, and the drawing command drawn on the video RAM memory 8 It is assumed that it takes 1 ms to execute one drawing by the batch function of the graphic data processor 7 and 5 ms to erase the drawing data drawn on the video RAM memory 8.

【0009】表示させる内容としては図3の画面を表示
させる<手順1>、次にその画面を図4の画面に変化さ
せる<手順2>、次に画面を消去する<手順3>、次に
再度図4の画面を表示させる<手順4>、という場合に
ついて説明する。
As the contents to be displayed, the screen of FIG. 3 is displayed <procedure 1>, then the screen is changed to the screen of FIG. 4 <procedure 2>, then the screen is erased <procedure 3>, then The case of displaying the screen of FIG. 4 again <procedure 4> will be described.

【0010】まず初めに、従来の方式である画像制御部
2にて描画を行う方法が、ホストコンピュータ1から描
画コマンドをうけとり、そのコマンドに従った描画だけ
を行う場合について示す。この場合、まず最初に図3の
描画を行うのに描画コマンド9個をホストコンピュータ
1から受け取りグラフィックデータプロセッサ7で実行
するのに90msかかる<手順1>。そして次に図4の
様に描画内容を変更するのに描画コマンド1個をホスト
コンピュータ1から受け取りグラフィックデータプロセ
ッサ7で実行するのに10msかかる<手順2>。次に
その画面を消去するのに5msかかる<手順3>。次に
再び図4の描画を行うのにコマンド9個をホストコンピ
ュータ1から受け取りグラフィックデータプロセッサ7
で描画実行するのに90msかかる<手順4>。
First, a case where a conventional method of drawing by the image control unit 2 receives a drawing command from the host computer 1 and performs only drawing according to the command will be described. In this case, first, it takes 90 ms to receive 9 drawing commands from the host computer 1 to execute the drawing shown in FIG. 3 and to execute them in the graphic data processor 7 <procedure 1>. Then, as shown in FIG. 4, it takes 10 ms to receive one drawing command from the host computer 1 to change the drawing contents and to execute it in the graphic data processor 7 <procedure 2>. Next, it takes 5 ms to erase the screen <Procedure 3>. Next, the graphics data processor 7 receives nine commands from the host computer 1 to perform the drawing of FIG. 4 again.
It takes 90 ms to execute the drawing in <Procedure 4>.

【0011】次に本発明の方式である、描画コマンドを
RAMメモリ6に書き込んでおく場合について示す。こ
の場合、まず最初に図3の描画を行う為の描画コマンド
9個をホストコンピュータ1から受け取り図5の様にR
AMメモリ6上に書き込んでおく。そしてこの状態にお
いて図3の描画を行う為にRAMメモリ6上の描画コマ
ンド9個をバッチ機能により実行するのが9msかかる
<手順1>。次に図4の様に描画内容を変更するのに従
来の方式同様10msかかる<手順2>。ただし、この
時ホストコンピュータ1から受け取ったコマンドを図6
の様にRAMメモリ6上の描画コマンドに反映させてお
く。次に画面を消去するのに5msかかる<手順3>。
そして再び図4の描画を行う場合はRAMメモリ6上の
描画コマンド9個をバッチ機能により実行する為9ms
かかる<手順4>。
Next, the case of writing a drawing command in the RAM memory 6 according to the method of the present invention will be described. In this case, first, nine drawing commands for drawing shown in FIG.
It is written in the AM memory 6. In this state, it takes 9 ms to execute the nine drawing commands on the RAM memory 6 by the batch function to perform the drawing of FIG. 3 <Procedure 1>. Next, as in the conventional method, it takes 10 ms to change the drawing contents as shown in FIG. 4 <procedure 2>. However, the command received from the host computer 1 at this time is shown in FIG.
As described above, it is reflected in the drawing command on the RAM memory 6. Next, it takes 5 ms to erase the screen <Procedure 3>.
When the drawing shown in FIG. 4 is performed again, 9 ms is required because 9 drawing commands on the RAM memory 6 are executed by the batch function.
Such <procedure 4>.

【0012】以上の描画時間について、2つの方式毎に
まとめたのが図7である。この図を見ても解る様に、画
面の更新<手順2>及び、画面の消去<手順3>につい
ては、両方式とも差異はないが、<手順1>や<手順4
>の様な画面の初期表示時にはホストコンピュータ1か
らの描画コマンドを転送する時間が無いので、表示時間
が短くすむ。
FIG. 7 summarizes the above drawing times for each of the two methods. As can be seen from this figure, there is no difference between screen update <procedure 2> and screen erase <procedure 3> in both formulas, but <procedure 1> and <procedure 4>
Since there is no time to transfer the drawing command from the host computer 1 at the time of initial display of a screen such as>, the display time can be shortened.

【0013】また、本例では図3の画面をCRT10に
表示している間に図4の画面への変更をするが、画面消
去中に図3から図4の様な変更があった場合にも同様
に、RAMメモリ6上の描画コマンドを更新しておく事
により、初期表示時には常にその時点で最新の画面を短
時間にて表示させる事ができる。
Further, in this example, the screen of FIG. 3 is changed to the screen of FIG. 4 while being displayed on the CRT 10, but when there is a change as shown in FIG. 3 to FIG. 4 while the screen is being erased. Similarly, by updating the drawing command in the RAM memory 6, the latest screen can be always displayed in a short time at the time of initial display.

【0014】上述した例はRAMメモリ6の1つのブロ
ック内に1つの描画コマンドしか入れない場合である
が、実際はその様な制限はなく、ブロックの個数・各ブ
ロック内の描画コマンドの数は全く自由であり、ブロッ
ク毎に描画コマンドの数が違っていても問題はない。ま
た、上述した例はブロックを画面上での縦横の区分に従
って分ける場合であるが、必ずしもその様なブロック分
けにする必要はなく、図8の様な描画を図9の様なブロ
ック分けにする事も可能である。
In the above example, only one drawing command can be entered in one block of the RAM memory 6, but there is no such limitation in practice, and the number of blocks and the number of drawing commands in each block are completely absent. It is free, and there is no problem if the number of drawing commands is different for each block. Further, although the above-described example is a case where blocks are divided according to vertical and horizontal divisions on the screen, it is not always necessary to divide such blocks, and drawing as in FIG. 8 is divided into blocks as in FIG. Things are possible.

【0015】[0015]

【発明の効果】以上、説明した様に本発明では描画デー
タをRAMメモリ6上に書き込んでおく事により、画面
の初期表示時における表示スピードを短くする事ができ
る。
As described above, according to the present invention, by writing the drawing data in the RAM memory 6, the display speed at the initial display of the screen can be shortened.

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

【図1】本発明の一実施例の構成図である。FIG. 1 is a configuration diagram of an embodiment of the present invention.

【図2】CRT10を9分割した例である。FIG. 2 is an example in which a CRT 10 is divided into 9 parts.

【図3】CRT10に表示させる描画例である。FIG. 3 is an example of drawing displayed on the CRT 10.

【図4】CRT10に表示させる描画例である。FIG. 4 is an example of drawing displayed on a CRT 10.

【図5】RAMメモリ6上に書き込む描画コマンド例で
ある。
FIG. 5 is an example of a drawing command written in the RAM memory 6.

【図6】RAMメモリ6上に書き込む描画コマンド例で
ある。
FIG. 6 is an example of a drawing command written in the RAM memory 6.

【図7】従来の方式と本発明の方式における描画時間の
比較例である。
FIG. 7 is a comparison example of drawing time between the conventional method and the method of the present invention.

【図8】CRT10に表示させる描画例である。FIG. 8 is a drawing example displayed on the CRT 10.

【図9】図8における描画のブロック分けの一例であ
る。
9 is an example of division into blocks for drawing in FIG.

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

1 ホストコンピュータ 2 画像制御部 3 LANケーブル 4 I/Oコントローラ 5 CPU 6 RAMメモリ 7 グラフィックデータプロセッサ 8 ビデオRAMメモリ 9 ビデオケーブル 10 CRT 11 丸を描く描画コマンドの省略記号 12 バツを描く描画コマンドの省略記号 1 host computer 2 image control unit 3 LAN cable 4 I / O controller 5 CPU 6 RAM memory 7 graphic data processor 8 video RAM memory 9 video cable 10 CRT 11 abbreviated symbol of drawing command for drawing a circle 12 omission of drawing command for drawing a cross symbol

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 書き込まれたデータ内容に従って外部に
ビデオ信号を出力するビデオRAMメモリ8と、外部か
ら入力される描画コマンドに従い前記ビデオRAMメモ
リ8に描画データを書き込むことができるグラフィック
データプロセッサ7と、前記グラフィックデータプロセ
ッサ7にアクセスできるCPU5と、前記CPU5と前
記グラフィックデータプロセッサ7の両方から共にアク
セスできるRAMメモリ6からなる装置を設け、前記グ
ラフィックデータプロセッサ7が前記ビデオRAMメモ
リ8に描画データを書き込む方法として、前記CPU5
から描画コマンドを受け取り、そのコマンドに従い前記
グラフィックデータプロセッサ7が前記ビデオRAMメ
モリ8に描画データを書き込む方法と、前記CPU5か
らの命令により前記RAMメモリ6にあらかじめ書き込
まれている一連の描画コマンドを前記グラフィックデー
タプロセッサ7が自動的に実行し、その描画コマンドに
応じた描画データを前記ビデオRAMメモリ8に書き込
む方法の2つの方法を可能にし、初期表示時にはあらか
じめ前記RAMメモリ6上に書かれている一連の描画コ
マンドを前記CPU5が前記グラフィックデータプロセ
ッサ7に自動描画させ、既に表示されている描画内容の
変更は前記CPU5が描画コマンドを直接前記グラフィ
ックデータプロセッサ7に実行させ、かつ前記RAMメ
モリ6上に書かれている該当部分の描画コマンドも同様
に更新しておく事を特徴とした画像制御装置における描
画方式。
1. A video RAM memory 8 for outputting a video signal to the outside according to the written data content, and a graphic data processor 7 capable of writing drawing data to the video RAM memory 8 according to a drawing command input from the outside. A device comprising a CPU 5 that can access the graphic data processor 7 and a RAM memory 6 that can access both the CPU 5 and the graphic data processor 7 is provided, and the graphic data processor 7 stores drawing data in the video RAM memory 8. As a writing method, the CPU 5
A method for receiving a drawing command from the graphic data processor 7 according to the command and writing the drawing data in the video RAM memory 8 and a series of drawing commands previously written in the RAM memory 6 by an instruction from the CPU 5 The graphic data processor 7 automatically executes the drawing data, and enables two methods of writing drawing data according to the drawing command into the video RAM memory 8, and is written in the RAM memory 6 in advance at the time of initial display. The CPU 5 causes the graphic data processor 7 to automatically draw a series of drawing commands, and the CPU 5 causes the graphic data processor 7 to directly execute a drawing command to change the drawing content that has already been displayed. Written in Drawing method in an image control apparatus characterized in that keep updated as well drawing commands corresponding parts are.
JP15411992A 1992-05-22 1992-05-22 Drawing system of image controller Pending JPH05324841A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15411992A JPH05324841A (en) 1992-05-22 1992-05-22 Drawing system of image controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15411992A JPH05324841A (en) 1992-05-22 1992-05-22 Drawing system of image controller

Publications (1)

Publication Number Publication Date
JPH05324841A true JPH05324841A (en) 1993-12-10

Family

ID=15577344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15411992A Pending JPH05324841A (en) 1992-05-22 1992-05-22 Drawing system of image controller

Country Status (1)

Country Link
JP (1) JPH05324841A (en)

Similar Documents

Publication Publication Date Title
US5299309A (en) Fast graphics control system capable of simultaneously storing and executing graphics commands
JPH0468655B2 (en)
JPH05324841A (en) Drawing system of image controller
JPH0120748B2 (en)
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JP3221581B2 (en) Image display control device
US6256042B1 (en) Graphic display method and apparatus
JP2665836B2 (en) Liquid crystal display controller
KR100382956B1 (en) Image Processor and Image Display
JPS62297975A (en) Control system for multi-window display
JPH04102895A (en) Display device
JPH02114295A (en) Graphic display device
JPS6329838A (en) Display device
JP2520485B2 (en) Dragging and rubber band independent display system
JPS63261418A (en) Window display control system
JPH02271424A (en) Full graphic picture display system
JPH036510B2 (en)
JPH0810424B2 (en) Graphic display
JPH0798645A (en) Common screen memory system and controller
JPS62262179A (en) Display updating system for graphic display device
JPS61180290A (en) Graphic display unit
JPH0399317A (en) Image processor
JPH09311672A (en) Man-machine apparatus for monitor and control
JPH06102857A (en) Frame buffer access device
JPS6159484A (en) Segment control system