Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6223333B2 - - Google Patents
[go: Go Back, main page]

JPS6223333B2 - - Google Patents

Info

Publication number
JPS6223333B2
JPS6223333B2 JP56212942A JP21294281A JPS6223333B2 JP S6223333 B2 JPS6223333 B2 JP S6223333B2 JP 56212942 A JP56212942 A JP 56212942A JP 21294281 A JP21294281 A JP 21294281A JP S6223333 B2 JPS6223333 B2 JP S6223333B2
Authority
JP
Japan
Prior art keywords
writing
signal
address
light pen
area
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
Application number
JP56212942A
Other languages
Japanese (ja)
Other versions
JPS58115532A (en
Inventor
Osamu Suzuki
Hideji Yanase
Hidefumi Matsura
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP56212942A priority Critical patent/JPS58115532A/en
Publication of JPS58115532A publication Critical patent/JPS58115532A/en
Publication of JPS6223333B2 publication Critical patent/JPS6223333B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/037Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor using the raster scan of a cathode-ray tube [CRT] for detecting the position of the member, e.g. light pens cooperating with CRT monitors

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明はデイジタルメモリに書き込まれたデー
タに応じたパターン表示を行うCRT表示装置に
関し、特にCRT画面にライトペンを対向させる
と、その対向位置、即ち表示位置に対応するよう
に割付けられたデイジタルメモリのアドレスにこ
の指示位置に表示させるべきデータを書き込み得
るようにした映像指示装置を提供するものであ
る。 この種の映像表示システムはライトペン指示位
置を移動させることによりその移動軌跡に応じた
デイジタルメモリのアドレスに次々とカラー表示
情報が書き込まれこの書き込み内容に応じた表示
がCRTが行われるものである。而してこのよう
な映像表示装置において直線を表示させる場合に
は当然ライトペンを真直に移動させる必要がある
がオペレータによる手作業においては極めて困難
であり高分解能としたものにおいては不可能に近
い。そこで、直線書という機能を設けてライトペ
ンで直線書指定情報を出力している期間、指定方
向に直線が進むという装置が提案されているが、
細部に亘る直線書は困難であつた。本発明は斯か
る事情に鑑みてなされたものであり、細部に亘る
直線書の機能を備えた映像表示装置を提供するも
のであり、以下に本発明をその実施例を示す図面
に基いて説明する。 第1図は本発明に係る映像表示装置の要部を示
すブロツク図、第2図はCRT画面の各種指示領
域を説明するための指示パターン図、第3図、及
び第4図は各種信号のタイミング図である。第1
図、第2図に於て、1はCRT指示装置で、該
CRT1の画面の水平方向をX軸、また垂直方向
をY軸に見たてた直交X―Y座標系を考え、各画
素をこの座標系の座標値(X,Y)で表わすもの
とすると、CRT1の画面に表示すべきデータを
書き込んでおくメモリのアドレス体系はこの座標
値と1:1に対応するように構成されている。即
ちメモリの水平アドレスが座標値Xを、また垂直
アドレスが座標値Yを規定するようにしてある。
またCRT1画面の0≦X≦X6で0≦Y≦Y1の部
分は書込領域Aとして割当てられており、この領
域Aに所望のカラーパターンの表示が行えるよう
に、即ち換言すればこの領域Aに対応するメモリ
のアドレスにはカラー指示情報が書き込めるよう
にしてある。またX1≦X≦X3でY2≦Y≦Y4の領
域は直線書指定領域Bとして、そしてX4≦X≦
X5でY2≦Y≦Y4の領域はカラー指定領域Cとし
て割当てられている。書込領域Aに表示させるべ
くカラー表示情報は書込領域A内の画素の座標値
と対応するアドレスを有するRAMから成る画像
メモリ2に書き込まれるようになつており、この
メモリ2に対してライトペン3を用いて書き込み
が行えるようになつている。これに対してカラー
指定領域Cの表示に係るデータ(カラー指定情
報)及び直線書指定領域Bの表示に係るデータ
(直線書指定情報)は、これらの領域C,B内の
画素の座標値と対応するROM4に予め書き込ま
れており、これらの領域B,Cにはライトペン2
の操作に拘らず常に所定の表示が行われている。 直線書指定領域Bは田の字形に4等分区画され
ており各区画の座標範囲表示及び後述する各区画
を指示した場合の機能は下表の通りである。つま
り四方向向きの矢符を各区画に表示すべきデータ
がROM4の対応アドレス内に書き込まれてい
る。なお、これらの区画における表示パターンは
図示の矢符に限らず適宜のパターンを用いればよ
く、また使用カラーも任意である。
The present invention relates to a CRT display device that displays a pattern according to data written in a digital memory, and in particular, when a light pen is placed facing a CRT screen, a digital memory allocated to correspond to the facing position, that is, the display position. An object of the present invention is to provide a video instruction device that can write data to be displayed at the specified position to the address of the specified position. In this type of video display system, by moving the light pen's indicated position, color display information is written one after another at the address of the digital memory according to the movement trajectory, and the CRT displays according to the written content. . In order to display a straight line on such an image display device, it is naturally necessary to move the light pen in a straight line, but this is extremely difficult to do manually by an operator, and nearly impossible in a high-resolution device. . Therefore, a device has been proposed that has a function called straight line writing so that the straight line moves in the specified direction while the light pen is outputting the specified information on straight line writing.
It was difficult to draw detailed straight lines. The present invention has been made in view of the above circumstances, and provides a video display device having a detailed linear writing function. do. FIG. 1 is a block diagram showing the main parts of a video display device according to the present invention, FIG. 2 is an instruction pattern diagram for explaining various instruction areas on a CRT screen, and FIGS. 3 and 4 are diagrams of various signals. FIG. 1st
In Fig. 2, 1 is a CRT indicating device;
Consider an orthogonal X-Y coordinate system in which the horizontal direction of the CRT1 screen is viewed as the X axis and the vertical direction as the Y axis, and each pixel is expressed by the coordinate values (X, Y) of this coordinate system. The address system of the memory in which data to be displayed on the screen of the CRT 1 is written is configured to correspond 1:1 to these coordinate values. That is, the horizontal address of the memory defines the coordinate value X, and the vertical address defines the coordinate value Y.
In addition, the portion of the CRT 1 screen where 0≦X≦X6 and 0≦Y≦Y1 is assigned as a writing area A, so that a desired color pattern can be displayed in this area A. Color instruction information can be written to the memory address corresponding to . Also, the area where X1≦X≦X3 and Y2≦Y≦Y4 is designated as the straight line writing designated area B, and X4≦X≦
The area where Y2≦Y≦Y4 at X5 is assigned as the color designated area C. Color display information to be displayed in the writing area A is written to an image memory 2 consisting of a RAM having addresses corresponding to the coordinate values of pixels in the writing area A. Writing can be performed using pen 3. On the other hand, the data related to the display of color specified area C (color specification information) and the data related to the display of straight line writing specified area B (straight line writing specification information) are the coordinate values of pixels in these areas C and B. It is written in advance in the corresponding ROM 4, and the light pen 2 is written in these areas B and C.
A predetermined display is always displayed regardless of the operation. The linear writing designation area B is divided into four equal parts in the shape of a square, and the coordinate range display of each division and the function when each division is specified, which will be described later, are as shown in the table below. In other words, data for displaying arrows pointing in four directions in each section is written in the corresponding address of the ROM 4. Note that the display pattern in these sections is not limited to the illustrated arrow mark, but any appropriate pattern may be used, and any color may be used.

【表】【table】

【表】 カラー指示領域Cは水平方向に8つに区画され
ており、それぞれの区画に赤緑青黄シアンマゼン
タ白黒(又は灰)の色が表示されている。つまり
カラー指示領域Cの各区画に対応するROM4の
各アドレスにはそれぞれの表示色を示す3ビツト
のデータが書き込まれている。そして前記書込領
域A、直線書指定領域B及びカラー指示領域Cを
除く部分は一定色で表示されるようにしてあり、
ライトペン3による操作には図与しないようにし
ている。 さて第1図に基き本発明装置の構成を説明す
る。ライトペン3は公知の如く2種類の信号を発
する。1つはライトペン3をCRT1に押し付け
たことを報じるスイツチ信号SWであつて、第3
図のタイミングチヤートロに示すようにライトペ
ン3を押し付けた場合にSW=1(ハイレベル)
となる。このスイツチ信号SWはアドレス決定回
路5へ与えられる。もう1つの信号はライトペン
3によるCRT1画面上の指示位置を報じる信号
であつてこれはライトペン3の受光部が指示位置
を通過するラスタラインを捉えることにより発せ
られ、スイツチ信号SWが“1”である場合にの
み動作するアドレス決定回路5へ入力されライト
ペン3の指示位置の座標値(X0,X0)に相当す
る信号に変換されてアドレス判定回路6へ入力さ
れる。 アドレス判定回路6は6種類の出力信号を発す
るが、いずれの信号を発するかは入力信号、即
ち、ライトペン指示位置の座標値(X0,Y0)に
よつて決定される。まず第1の信号は色情報取込
信号aであつて、ライトペン3がカラー指定領域
Cを指示した場合に発せられ、レジスター7へ制
御信号として与えられる。第2の信号は3ビツト
の色信号bであつて、ライトペン3がカラー指定
領域Cを指示した場合において指示した区画の指
示色に相当するデータ内容となつており、3ビツ
トパラレルのレジスタ7へ与えられるようになつ
ている。第3の信号はアドレス信号Cであつてラ
イトペン3が書込領域を指示した場合に発せら
れ、その指示位置の座標値(X0,Y0)を表す内
容、即ちアドレス決定回路5からの入力内容がそ
のまま選択回路8及び加減算回路9へ入力され
る。第4の信号は加減算指示信号dであつて、ラ
イトペン3が直線書指定領域Bを指示した場合に
発せられ、指示した区画に対応した2ビツトのデ
ータ内容となつており、加減算回路9へ4通りの
加減算モードを定示する信号として与えられる。
第5の信号は直線書指示信号eであつて第3図ハ
に示すように、ライトペン3が直線書指定領域B
を指示した場合に“1”となりカウンタA10、
カウンタB11選択回路8及びゲート回路12へ
入力される。第6の信号は書込領域信号fであり
アドレス(X0,Y0)が書込領域Aにあるときに
発せられ加減算回路9、選択回路8及びゲート回
路12へ入力される。レジスタ7は色情報取込信
号aが入力されているときに色信号bを取込み、
これを記憶するとともに書き込みデータとして画
像メモリ2へ出力する。カウンタA10は第3図
に示すように直線書指示信号eが入力されると出
力信号hが“1”となり、そして垂直同期信号V
のカウントを開始し、そのカウント数が設定値m
に達するとカウンタA10の出力信号hは“0”
となる。カウンタB11は第3図に示すように直
線書指示信号eが入力されると垂直同期信号Vの
カウントを開始し、そのカウント数が設定値nに
達するとカウンタB11の出力信号iは“1”と
なり、直線書指示信号eが“0”になるまで、そ
の状態を保持するものである。カウンタA10の
出力信号h及びカウンタ11の出力信号iはOR
ゲート13に入力され、該ゲート13の出力はク
ロツクB14からのクロツクを一方の入力とする
ANDゲート15の他方の入力とされる。加減算
回路9は書込領域信号fが入力されているときに
アドレス信号Cを取り込むと共にANDゲート1
5の出力信号が“1”となるタイミングで加減算
指示信号dの内容に応じて取り込んだアドレス
(X0,Y0)のX0又はY0を+1若しくは−1して
その加算又は減算結果を内部に記憶すると共にこ
れをアドレス(X1,Y1)として選択回路5へ出
力する。 16は画像メモリ2並びにROM4の内容を読
み出してCRT1へ表示させるための表示用アド
レスカウンタであつて、第4図のタイミングチヤ
ートハに示すクロツクA17からのクロツクを計
算対像としてCRT1のビーム走査に対応してそ
の計数内容を変化せしめ、その計数内容は読み出
しアドレス(X2,Y2)として選択回路8へ出力
されるようにしてある。この計数内容、即ち画像
メモリ2並びにROM4の読み出しアドレスは
CRT1画面のX―Y座標に対応しているので、
これが選択回路8経由で画像メモリ2並びに
ROM4に与えられると、このアドレスに書き込
まれている3ビツトのカラー情報がパラレルシリ
アル変換回路(P/S変換回路と略す)17でシ
リアルなデータに変換されたのち、D/A変換回
路18へ入力され、ここでアナログのビデオ信号
に変換されてCRT1へ入力されてその画面上の
座標(X2,Y2)にこのカラー情報に基く表示が
行われる。第3図イに示す垂直同期信号V及び第
4図イに示す水平同期信号Hは公知の如くCRT
1の表示の同期制御に与る信号であるが、第4図
ロは表示期間信号Dを示しておりこの信号Dは水
平同期信号Hの負パルス(水平同期パルス)の前
後の適長時間を除く期間に“1”となりこの
“1”となつている期間に画像表示が行われる。
従つて前記クロツクAはD=“1”の間に1ラス
タライン中の画素数分だけ現わる信号となつてい
る。なお表示期間信号Dは選択回路8及びゲート
回路12へ与えられる。選択回路8はこれに制御
信号として入力される書込領域信号f、直線書指
定信号e、及び表示期間信号Dの組み合わせによ
つてアドレス判定回路6加減算回路9及びアドレ
スカウンタ16のそれぞれから入力されるアドレ
ス信号(X0,Y0)、(X1,Y1)(X2,Y2)を択一
的に選択し、これを画像メモリ2、ROM4へ書
き込み又は読み出しのアドレス(X,Y)として
出力するが、この出力アドレス(X,Y)は次の
論理式で表わされる。 (X,Y)=(X0,Y0)・f・ +(X1,Y1)・e・+(X0,Y2)・D 即ち画像表示期間中(D=“1”)は画像メモリ
2及びROM4の内容を表示するためのアドレス
カウンタ16の出力(X2,Y2)を選択し、ライ
トペン3により書込領域1を指示し、書込領域f
=“1”となつている間は画像表示期間以外の期
間(D=“0”)において(X0,Y0)を選択し、
またライトペン3にて直線書指定領域Bを指示
し、直線書指示信号e=“1”となつている間は
画像表示期間以外の期間(D=“0”)にて
(X1,Y1)を選択する。ゲート回路12は画像メ
モリ2を読み出し又は書き込みモードに選択切換
するための回路であり、その出力信号gは次の論
理回路で表わされるように構成してある。 g=f・+e・ この出力信号gはg=“1”で画像メモリ2を
書き込みモードに、またg=“0”でこれを読み
出しモードにする。 次に本発明装置の動作について説明する。 CRT1の書込領域Aにパターン表示を行わせ
る場合、まずカラー指定領域Cのうち所望カラー
が表示されている区画をライトペン3にて指示す
る。これによりアドレス決定回路5はこの区画内
に対応するアドレスを発するので、アドレス判定
回路6はこれを受けて、色情報取込信号a及び指
示区画のカラーを表す色信号bを出力する。そし
てレジスタ7は該色信号の表すカラー情報が記憶
される。次いでライトペン3でCRT1の書込領
域Aを指示する。そうすると指示位置の座標に対
応するアドレス(X0,Y0)がアドレス決定回路
5から出力されてアドレス判定回路6へ入力され
る。この場合のアドレス(X0,Y0)は書込領域
A内の座標に対応するものであるからアドレス判
定回路6は書込領域指示信号fを発すると共に該
アドレス(X0,Y0)を選択回路へ出力する。書
込領域指定信号fが入力された選択回路8は画像
表示期間以外の期間(D=“0”)にこの(X0,
Y0)を選択して画像メモリ2へ出力し、同じく
ゲート回路12も同期的に書込信号g=“1”と
して画像メモリ2を書込モードにするから、この
アドレス(X0,Y0)にはレジスタ7に記憶され
た色情報が書き込まれることになる。そして次の
フイールドではD=“1”のタイミングでアドレ
スカウンタ16から選択回路8経由で与えられる
読み出しアドレス(X2,Y2)によつて書き込ま
れたデータが読み出され、ライトペン指示位置の
画素に所望のカラーのドツト表示が行われること
になる。そして所望パターンを表示させるべくラ
イトペン3をCRT1の書込領域A内で移動させ
ると、その移動軌跡に追随する画像メモリ2への
書き込み、並びにCRT1での表示が行われるこ
とになる。一方書込領域指定信号fは加減算回路
9にも与えられているが、これが入力されている
とき、アドレス信号Cを取込み書込領域指定信号
fの消滅時い取込んだアドレス信号、即ち
(X0,Y0)を直線書の初期値として保持する。 さて本発明装置の最も特徴とする直線書は次の
ようにして行われる。ライトペン3にて直線書指
定領域Bを指示すると、アドレス判定回路6から
は加減算指示信号d及び直線書指示信号eが出力
される。加減算指定信号dはライトペン3の指示
した直線書指定領域Bの4つの区画によりそれぞ
れ内容が異なり、その矢符の方向に応じて前述の
初期値として取込まれた(X0,Y0)を+1若し
くは−1するように動作する。そしてこれらの加
算又は減算はAND15の出力信号が“1”とな
るタイミングで行われる。即ち第3図のタイミン
グチヤートからも明らかなようにライトペン3で
直線書指定領域Bを指示し続けると、まず垂直同
期信号Vのパルス数がmになるまで加算又は減算
が行われ、そして垂直同期信号Vのパルス数が
(n―m)に達すると、加算又は減算が停止し、
その後にライトペン3が直線書指定領域Bを指示
し続ける限り、加算又は減算が行われる。そして
その加算又は減算結果はアドレス信号(X1,
Y1)として選択回路8へ出力され、この場合直
線書指示信号e=“1”となつているので、アド
レス信号(X1,Y1)は画像表示期間以外の期間
(D=“0”)に選択回路8によつて選択され、ま
た同タイミングで書込信号g=“1”となり、画
像メモリ2が書き込みモードとなるため、アドレ
ス(X1,Y1)にはレジスタ7に記憶されている
色情報が書き込まれ、D=“1”の画像表示期間
にその表示が行われる。以上詳述したように、現
存するCRT表示装置によれば、ライトペンが直
線書指定領域を指示するとその期間直線が進み続
ける構成であつたため、直線を少しだけ進めたい
といつた場合にライトペンを直線書指定領域から
離すタイミングが至難の業であつた。これに対し
て本発明によれば、最初の垂直同期信号がmパル
ス来る期間しか直線が進まないため、例えばmパ
ルスで1回の加算又は減算が行われるようにmの
価を設定しておけば、垂直同期信号がnパルス来
るまでにライトペンを離す動作を続けることによ
り直線を1アドレスずつ進めることが出来る。ま
た直線を続けて書きたい場合は、垂直同期信号が
nパルス来る期間以上、ライトペンで直線書指定
領域を指示し続ければライトペンを離すまで直線
書が続けて行うことが出来る。以上述べた如く、
本発明CRT表示装置は、ライトペンで直線描画
操作を開示してから直線描画の休止期間に直線描
画操作を止めると云う動作を繰り返すことで直線
を細かく延ばして所定の長さに設定することによ
り、描画される直線の長さを所望の長さに正確に
設定出来る。また、直線書指定領域も大きくする
必要がなく書込領域が狭くなることもない。
[Table] The color instruction area C is horizontally divided into eight sections, and each section displays colors of red, green, blue, yellow, cyan, magenta, black and white (or gray). That is, in each address of the ROM 4 corresponding to each section of the color designation area C, 3-bit data indicating the respective display color is written. The areas other than the writing area A, the linear writing designated area B, and the color designated area C are displayed in a constant color,
The operation using the light pen 3 is not illustrated. Now, the configuration of the apparatus of the present invention will be explained based on FIG. The light pen 3 emits two types of signals as is well known. One is the switch signal SW that reports that the light pen 3 is pressed against the CRT 1;
SW=1 (high level) when pressing the light pen 3 as shown in the timing chart in the figure.
becomes. This switch signal SW is applied to the address determining circuit 5. The other signal is a signal that reports the indicated position on the CRT 1 screen by the light pen 3. This signal is emitted when the light receiving section of the light pen 3 captures the raster line passing through the indicated position, and the switch signal SW is "1". ”, the signal is input to the address determination circuit 5 which operates only when ``, and is converted into a signal corresponding to the coordinate values (X0, X0) of the indicated position of the light pen 3, and is input to the address determination circuit 6. The address determination circuit 6 generates six types of output signals, and which signal to generate is determined by the input signal, that is, the coordinate values (X0, Y0) of the light pen indicated position. First, the first signal is a color information capture signal a, which is generated when the light pen 3 indicates a color designation area C, and is given to the register 7 as a control signal. The second signal is a 3-bit color signal b, which has data content corresponding to the designated color of the designated section when the light pen 3 designates the color designated area C, and is stored in the 3-bit parallel register 7. It is beginning to be given to The third signal is an address signal C, which is emitted when the light pen 3 indicates a writing area, and has content representing the coordinate values (X0, Y0) of the indicated position, that is, input content from the address determination circuit 5. is input as is to the selection circuit 8 and the addition/subtraction circuit 9. The fourth signal is an addition/subtraction instruction signal d, which is emitted when the light pen 3 specifies the designated area B for linear writing, and has 2-bit data content corresponding to the specified section, and is sent to the addition/subtraction circuit 9. It is given as a signal specifying four types of addition/subtraction modes.
The fifth signal is a straight line writing instruction signal e, and as shown in FIG.
When ``1'' is specified, the counter A10 becomes ``1''.
The counter B11 is input to the selection circuit 8 and the gate circuit 12. The sixth signal is a write area signal f, which is generated when the address (X0, Y0) is in the write area A, and is input to the addition/subtraction circuit 9, the selection circuit 8, and the gate circuit 12. Register 7 captures color signal b when color information capture signal a is input,
This is stored and output to the image memory 2 as write data. As shown in FIG. 3, when the counter A10 receives the linear writing instruction signal e, the output signal h becomes "1", and the vertical synchronizing signal V
starts counting, and the count reaches the set value m.
When the output signal h of the counter A10 reaches "0"
becomes. As shown in FIG. 3, the counter B11 starts counting the vertical synchronizing signal V when the linear writing instruction signal e is input, and when the count reaches the set value n, the output signal i of the counter B11 becomes "1". This state is maintained until the straight line writing instruction signal e becomes "0". The output signal h of the counter A10 and the output signal i of the counter 11 are OR
The output of the gate 13 receives the clock from the clock B14 as one input.
It is used as the other input of AND gate 15. The addition/subtraction circuit 9 receives the address signal C when the write area signal f is input, and also outputs the AND gate 1.
At the timing when the output signal of 5 becomes "1", X0 or Y0 of the fetched address (X0, Y0) is +1 or -1 according to the contents of the addition/subtraction instruction signal d, and the addition or subtraction result is stored internally. At the same time, this is output to the selection circuit 5 as an address (X1, Y1). 16 is a display address counter for reading the contents of the image memory 2 and ROM 4 and displaying them on the CRT 1, and uses the clock from the clock A17 shown in the timing chart of FIG. The content of the count is changed accordingly, and the content of the count is output to the selection circuit 8 as a read address (X2, Y2). The content of this count, that is, the read address of image memory 2 and ROM 4 is
Since it corresponds to the X-Y coordinates of the CRT1 screen,
This is sent via the selection circuit 8 to the image memory 2 and
When given to the ROM 4, the 3-bit color information written at this address is converted into serial data by a parallel-to-serial converter circuit (abbreviated as P/S converter circuit) 17, and then sent to a D/A converter circuit 18. The color information is inputted here, converted to an analog video signal, and inputted to the CRT 1, where a display based on this color information is performed at the coordinates (X2, Y2) on the screen. The vertical synchronizing signal V shown in FIG. 3A and the horizontal synchronizing signal H shown in FIG.
Figure 4 (b) shows the display period signal D, which is a signal that is used for synchronization control of the display in step 1. It becomes "1" during the period except for this, and an image is displayed during the period when it is "1".
Therefore, the clock A is a signal that appears as many times as the number of pixels in one raster line while D="1". Note that the display period signal D is applied to the selection circuit 8 and the gate circuit 12. The selection circuit 8 receives input signals from the address judgment circuit 6 addition/subtraction circuit 9 and the address counter 16 in accordance with a combination of the write area signal f, the linear write designation signal e, and the display period signal D input as control signals to the selection circuit 8. It selectively selects address signals (X0, Y0), (X1, Y1) (X2, Y2), and outputs them as addresses (X, Y) for writing or reading to the image memory 2 and ROM 4. This output address (X, Y) is expressed by the following logical formula. (X, Y) = (X0, Y0)・f・+(X1, Y1)・e・+(X0, Y2)・D In other words, during the image display period (D="1"), the image memory 2 and ROM4 Select the output (X2, Y2) of the address counter 16 for displaying the contents, specify the writing area 1 with the light pen 3, and write the writing area f.
= “1”, select (X0, Y0) in a period other than the image display period (D = “0”),
In addition, when the light pen 3 is used to specify the straight line writing designation area B, and while the straight line writing indication signal e="1", (X1, Y1) is displayed in a period other than the image display period (D="0"). Select. The gate circuit 12 is a circuit for selectively switching the image memory 2 to read or write mode, and its output signal g is configured to be expressed by the following logic circuit. g=f.+e. This output signal g puts the image memory 2 into the write mode when g="1", and puts it into the read mode when g="0". Next, the operation of the device of the present invention will be explained. When displaying a pattern in the writing area A of the CRT 1, first, use the light pen 3 to indicate a section of the color designation area C in which a desired color is displayed. As a result, the address determining circuit 5 issues an address corresponding to this section, so the address determining circuit 6 receives this and outputs a color information acquisition signal a and a color signal b representing the color of the designated section. The register 7 stores color information represented by the color signal. Next, point the writing area A of the CRT 1 with the light pen 3. Then, the address (X0, Y0) corresponding to the coordinates of the indicated position is output from the address determination circuit 5 and input to the address determination circuit 6. In this case, the address (X0, Y0) corresponds to the coordinates within the write area A, so the address determination circuit 6 issues the write area instruction signal f and outputs the address (X0, Y0) to the selection circuit. do. The selection circuit 8 to which the write area designation signal f is input selects this (X0,
Y0) is selected and output to the image memory 2, and the gate circuit 12 also synchronously sets the image memory 2 to write mode by setting the write signal g="1", so this address (X0, Y0) is The color information stored in register 7 will be written. Then, in the next field, at the timing of D="1", the data written by the read address (X2, Y2) given from the address counter 16 via the selection circuit 8 is read out, and the data is read out from the address counter 16 to the pixel at the position indicated by the light pen. Dots of the desired color will be displayed. When the light pen 3 is moved within the writing area A of the CRT 1 in order to display a desired pattern, writing to the image memory 2 and display on the CRT 1 follow the movement trajectory. On the other hand, the write area designation signal f is also given to the adder/subtraction circuit 9, and when it is input, the address signal C is input and the address signal taken in when the write area designation signal f disappears, that is, (X0 , Y0) is held as the initial value of the straight line. Now, the linear writing which is the most characteristic feature of the apparatus of the present invention is carried out as follows. When the light pen 3 indicates the designated area B for straight line writing, the address determination circuit 6 outputs an addition/subtraction instruction signal d and a straight line instruction signal e. The addition/subtraction designation signal d has different contents depending on the four sections of the linear writing designation area B indicated by the light pen 3, and the above-mentioned initial values (X0, Y0) are +1 depending on the direction of the arrow. Or it operates to -1. These additions or subtractions are performed at the timing when the output signal of AND15 becomes "1". That is, as is clear from the timing chart in FIG. When the number of pulses of the synchronization signal V reaches (nm), addition or subtraction stops,
After that, addition or subtraction is performed as long as the light pen 3 continues to point to the linear writing designated area B. The result of addition or subtraction is the address signal (X1,
Y1) is output to the selection circuit 8, and in this case, since the linear writing instruction signal e="1", the address signal (X1, Y1) is selected during a period other than the image display period (D="0"). The color information stored in the register 7 is selected by the circuit 8, and at the same timing, the write signal g becomes “1” and the image memory 2 enters the write mode. The data is written and displayed during the image display period when D="1". As detailed above, according to the existing CRT display device, when the light pen indicates a designated area for straight line writing, the straight line continues to advance for that period. The timing of moving the line away from the designated area for straight line writing was an extremely difficult task. On the other hand, according to the present invention, since the straight line advances only during the period during which m pulses of the first vertical synchronization signal arrive, the value of m can be set so that, for example, one addition or subtraction is performed in m pulses. For example, by continuing to release the light pen until n pulses of the vertical synchronization signal arrive, the straight line can be advanced one address at a time. If you want to draw straight lines continuously, if you keep pointing the designated area for straight line writing with the light pen for at least the period during which n pulses of the vertical synchronization signal come, you can continue writing straight lines until you release the light pen. As mentioned above,
The CRT display device of the present invention finely extends the straight line and sets it to a predetermined length by repeating the operation of starting a straight line drawing operation with a light pen and then stopping the straight line drawing operation during the rest period of straight line drawing. , the length of the drawn straight line can be accurately set to the desired length. Furthermore, there is no need to enlarge the designated area for linear writing, and the writing area does not become narrow.

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

第1図は本発明装置の構成を示すブロツク図、
第2図はCRT画面の構成を説明するための表示
パターン図、第3図及び第4図は本発明の装置の
動作を説明するためのタイミングチヤートであつ
て、1はCRT、2は画像メモリ、3はライトペ
ン、4はROM、6はアドレス判定回路、7はレ
ジスタ、8は選択回路、9は加減算回路、Aは書
込領域、Bは直線書指定領域、Cはカラー指定領
域、を夫々示している。
FIG. 1 is a block diagram showing the configuration of the device of the present invention;
FIG. 2 is a display pattern diagram for explaining the configuration of a CRT screen, and FIGS. 3 and 4 are timing charts for explaining the operation of the device of the present invention, in which 1 is a CRT, 2 is an image memory , 3 is a light pen, 4 is a ROM, 6 is an address judgment circuit, 7 is a register, 8 is a selection circuit, 9 is an addition/subtraction circuit, A is a writing area, B is a linear writing designated area, and C is a color designated area. shown respectively.

Claims (1)

【特許請求の範囲】[Claims] 1 画像を表示するCRT、読み出し書き込み可
能な画像メモリ、並びにライトペンとを備え、
CRT画面に割り当てられた書き込み領域に上記
画像メモリの内容を表示させるCRT表示装置に
於て、直線書指定情報が書き込まれているROM
の内容をCRT画面に表示させる手段と、CRT画
面の上記書き込み領域中のライトペン指示位置に
対応した画像メモリのアドレス値を保持するとと
もに、入力される書込信号の時間長に応じてアド
レスを1づつ加算若しくは減算して該アドレスで
指定される画像メモリの領域に表示情報を書き込
む書込手段と、上記ライトペンでの直線書指示に
応じて最初期間の短い第1の書込信号を発生し、
この第1の書込信号が終了してから所定の時間遅
延後、ライトペンでの直線書指示終了まで第2の
書込信号を発生する書込信号発生手段と、を有し
て成るCRT表示装置。
1 Equipped with a CRT for displaying images, a readable and writable image memory, and a light pen,
A ROM in which linear writing specification information is written in a CRT display device that displays the contents of the image memory in the writing area allocated to the CRT screen.
means for displaying the contents of on a CRT screen, and an image memory address value corresponding to the position indicated by the light pen in the writing area of the CRT screen, and an address value corresponding to the time length of the input writing signal. a writing means that adds or subtracts one by one and writes display information in the area of the image memory specified by the address; and generates a first writing signal with a short initial period in response to a straight line writing instruction with the light pen. death,
A CRT display comprising a writing signal generating means for generating a second writing signal after a predetermined time delay from the end of the first writing signal until the end of the straight line writing instruction with the light pen. Device.
JP56212942A 1981-12-29 1981-12-29 Crt display Granted JPS58115532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56212942A JPS58115532A (en) 1981-12-29 1981-12-29 Crt display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56212942A JPS58115532A (en) 1981-12-29 1981-12-29 Crt display

Publications (2)

Publication Number Publication Date
JPS58115532A JPS58115532A (en) 1983-07-09
JPS6223333B2 true JPS6223333B2 (en) 1987-05-22

Family

ID=16630842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56212942A Granted JPS58115532A (en) 1981-12-29 1981-12-29 Crt display

Country Status (1)

Country Link
JP (1) JPS58115532A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01300682A (en) * 1988-05-27 1989-12-05 Sharp Corp Method for recording information representing optional position on television screen onto video signal superimposingly

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6017112B2 (en) * 1980-02-21 1985-05-01 三洋電機株式会社 Video display device
JPS56172130U (en) * 1980-05-21 1981-12-19

Also Published As

Publication number Publication date
JPS58115532A (en) 1983-07-09

Similar Documents

Publication Publication Date Title
CA1212988A (en) Method and an apparatus for copying retouch in electronic color picture reproduction
US4868552A (en) Apparatus and method for monochrome/multicolor display of superimposed images
US4225861A (en) Method and means for texture display in raster scanned color graphic
JPH0222957B2 (en)
DK381780A (en) COLOR GRAPHIC PRESENTATION COMPUTER
JPS61148488A (en) display control device
JPH0356508B2 (en)
US4835526A (en) Display controller
US5714985A (en) Image processing system capable of high-speed and high-resolution image synthesis
US4834374A (en) Object image indicating apparatus
JP2593427B2 (en) Image processing device
JPS6223333B2 (en)
US5177624A (en) Image reading apparatus
JPS6017112B2 (en) Video display device
JPS5929894B2 (en) Video display device
JPH0140355B2 (en)
JPH05324840A (en) High-resolution image processor
JPS61215587A (en) Image display unit
RU1836719C (en) Device for displaying of graphic information on colour tv indicator
JPS61103195A (en) Frame memory write control method
JPS63186380A (en) Contour plotting device
SU1133615A1 (en) Device for displaying information on screen of televison receiver
JPS5826594B2 (en) Color image display method
JPS60209786A (en) Color display unit
JPH10124039A (en) Graphic display device