JPH0140355B2 - - Google Patents

Info

Publication number
JPH0140355B2
JPH0140355B2 JP56031718A JP3171881A JPH0140355B2 JP H0140355 B2 JPH0140355 B2 JP H0140355B2 JP 56031718 A JP56031718 A JP 56031718A JP 3171881 A JP3171881 A JP 3171881A JP H0140355 B2 JPH0140355 B2 JP H0140355B2
Authority
JP
Japan
Prior art keywords
writing
signal
address
area
light pen
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
JP56031718A
Other languages
Japanese (ja)
Other versions
JPS57146292A (en
Inventor
Yoshitaka Oomori
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 JP56031718A priority Critical patent/JPS57146292A/en
Publication of JPS57146292A publication Critical patent/JPS57146292A/en
Publication of JPH0140355B2 publication Critical patent/JPH0140355B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Description

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

本発明はデイジタルメモリに書き込まれたデー
タに応じたパターン表示を行う映像表示装置、更
に詳しくは、CRT等の映像表示部の画面にライ
トペンを対向させるとその対向位置、即ち指示位
置に対応するように割付けられたデイジタルメモ
リのアドレスにこの指示位置に表示させるべき表
示情報データを書込み得るようにした映像表示装
置に関する。 この種の映像表示システムはライトペン指示位
置を移動させることによりその移動軌跡に応じた
デイジタルメモリのアドレスに次々とカラー表示
情報が書込まれ、この書込内容に応じた表示が
CRTに行われるものである。このような映像表
示装置において直線を表示させる場合には当然ラ
イトペンを真直に移動させる必要があるが、オペ
レータによる手作業においては極めて困難であ
り、高分解能としたものにおいては不可能に近
い。そこで直線書という機能を設けて、ライトペ
ンで直線書指定情報を出力している期間、指定方
向に直線が進むという装置が提案されているが、
その提案に依れば細部に亘る直線書が困難なもの
となつている。 本発明は斯かる事情を鑑みてなされたものであ
り、既提案を改良することにより細部に亘る直線
書を容易にする映像表示装置を提供することを目
的とし、以下に本発明をその実施例を示す図面に
基いて詳述する。第1図は本発明に係る映像表示
装置の要部を略示するブロツク図であり第2図は
CRT画面の各種の表示領域を説明するための表
示パターン図である。CRT12の画面の水平方
向をX軸に、また垂直方向をY軸に見立てた直交
X―Y座標系を考え、各画素をこの座標系の座標
値(X,Y)で表わすものとすると、CRT12
の画面に表示すべきデータを書込んでおくメモリ
のアドレス体系はこの座標値と1:1で対応する
ように構成されている。即ちメモリの水平アドレ
スが座標値Xを、また垂直アドレスが座標値Yを
規定するようにしてある。而してCRT画面の0
≦X≦X6(水平方向の全幅)で0≦Y≦y1(垂直
方向の上側の大部分)の部分は書込領域として割
付けられており、この領域に所望のカラーパター
ンの表示が行えるように、換言すればこの領域に
対応するメモリのアドレスにはカラー表示情報が
書込めるようにしてある。上記書込領域から少し
下の方へ離れたy2≦Y≦y4の領域中の左側のx1
X≦x3の正方形の部分は直線書指定領域として、
また該直線書指定領域から右側へ少し離れたx4
X≦x5の帯状部分はカラー指定領域として割付け
られている。 書込領域に表示させるべきカラー表示情報は書
込領域内の画素の座標値と対応するアドレスを有
する画像メモリ(RAM)101に書込まれるよ
うになつており、このメモリ101に対してライ
トペン1を用いての書込が何ら行われていない状
態では書込領域には何らの表示も行われない。こ
れに対してカラー指定領域の表示に係るデータ
(カラー指定情報)及び直線書指定領域の表示に
係るデータ(直線書指定情報)はこれらの領域内
の画素の座標値と対応する読出し専用メモリ
(ROM)102に予め書込まれており、これら
の領域にはライトペンの操作に拘らず常に所定の
表示が行われている。 直線書指定領域は田の字形に4等分区画されて
おり、各区画の座標範囲、表示及び後述する各区
画を指示した場合の機能は表1のとおりである。 つまり四方向向きの矢符を各区画に表示すべき
データがROM102の対応アドレス内に直線書
指定情報として予め書込まれている。なおこれら
の区画における表示パターンは図示の矢符に限ら
ず適宜のパターンを用いればよく、また使用カラ
ーも任意である。
The present invention relates to a video display device that displays a pattern according to data written in a digital memory, and more specifically, when a light pen is placed facing the screen of a video display unit such as a CRT, the screen corresponds to the facing position, that is, the indicated position. The present invention relates to a video display device in which display information data to be displayed at the specified position can be written to an address of a digital memory allocated in this manner. In this type of video display system, color display information is written one after another at the address of the digital memory according to the movement trajectory by moving the light pen indicated position, and the display according to the written content is
This is done on CRT. In order to display a straight line in such a video 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 a straight line moves in the specified direction while the light pen is outputting the specified information on straight line writing.
According to that proposal, detailed linear writing becomes difficult. The present invention has been made in view of the above circumstances, and aims to provide a video display device that facilitates detailed linear writing by improving existing proposals. This will be explained in detail based on the drawings. FIG. 1 is a block diagram schematically showing the main parts of a video display device according to the present invention, and FIG.
FIG. 4 is a display pattern diagram for explaining various display areas of a CRT screen. If we consider an orthogonal X-Y coordinate system in which the horizontal direction of the CRT12 screen is taken as the X-axis and the vertical direction is taken as the Y-axis, and each pixel is represented by the coordinate values (X, Y) of this coordinate system, then the CRT12
The address system of the memory in which data to be displayed on the screen is written is configured to have a 1:1 correspondence with 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. Then 0 on the CRT screen
The area where ≦X≦X6 (total width in the horizontal direction) and 0≦Y≦y 1 (most of the upper part in the vertical direction) is allocated as a writing area, and the desired color pattern can be displayed in this area. In other words, color display information can be written to the memory address corresponding to this area. x 1 ≦ on the left side in the area where y 2 ≦Y≦y 4 , which is a little further down from the above writing area
The square part where X≦ x3 is designated as a straight line writing area.
Also, x 4 ≦ a little distance to the right from the specified area of linear writing
The band-shaped portion where X≦ x5 is allocated as a color designated area. Color display information to be displayed in the writing area is written in an image memory (RAM) 101 having addresses corresponding to the coordinate values of pixels in the writing area, and a light pen is connected to this memory 101. In a state where no writing is performed using 1, no display is made in the writing area. On the other hand, data related to the display of the color specified area (color specification information) and data related to the display of the linear writing specified area (linear writing specification information) are stored in the read-only memory ( ROM) 102, and predetermined displays are always displayed in these areas regardless of the operation of the light pen. The designated area for linear writing is divided into four equal sections in the shape of a square, and the coordinate range and display of each section, as well as the functions when each section is designated as described later, are as shown in Table 1. In other words, data for displaying four-directional arrows in each section is written in advance in the corresponding address of the ROM 102 as linear writing designation information. 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.

【表】 カラー指定領域は水平方向に8つに区画されて
おり、夫々の区画に赤、緑、青、黄、シアン、マ
ゼンタ、白及び灰(又は黒)の色が表示されてい
る。つまりカラー指定領域の各区画に対応する
ROM102の各アドレスには夫々の表示色を表
す3ビツトのデータがカラー指定情報として予め
書込まれている。そしてy1<Y<y2,y4<Y≦y5
(画面最下縁)の領域、その他、前記書込領域、
直線書指定領域及びカラー指定領域を除く部分は
常に一定色で表示されるようにしてあり、ライト
ペンによる書込又は直線書表示等には関与しない
ようにしてある。 さて第1図に基き本発明装置の構成を説明す
る。 ライトペン1は公知の如く2種類の信号を発す
る。その一つはライトペン1をCRT12に押付
けたことを報じるスイツチ信号SWであつて、第
3図のタイミングチヤートのハに示すようにこれ
を押付けた場合にはスイツチ信号SWは“1”
(ハイレベル)となる。このスイツチ信号SWは
アドレス決定回路2へ与えられる。いま一つの信
号はライトペン1によるCRT12画面上の指示
位置を報じる信号であつて、これはライトペン1
の受光部が指示位置を通過するラスタラインの光
を捉えることによつて発せられ、スイツチ信号
SWが“1”である場合にのみ動作するアドレス
決定回路2へ入力され、ライトペン指示位置の座
標値(X0,Y0)に相当する信号に変換されてア
ドレス判定回路3へ入力される。 アドレス判定回路3は6種類の出力信号を発す
るが、いずれの信号を発するかは入力信号、即ち
ライトペン指示位置の座標値(X0,Y0)によつ
て決定される。 まず第1の信号は色情報取込信号aであつて、
ライトペン1がカラー指定領域を指示した場合に
発せられ、レジスタ4へ制御信号として与えられ
る。第2の信号は3ビツトの色信号bであつて、
ライトペン1がカラー指定領域を指示した場合に
おいて、指示した区画の表示色に相当するデータ
内容となつており、3ビツトパラレルのレジスタ
4へ与えられるようになつている。第3の信号は
アドレス信号cであつて、ライトペン1が書込領
域を指示した場合に発せられ、その指示位置の座
標値(X0,Y0)を表わす内容、即ちアドレス決
定回路2からの入力内容そのままの内容となつて
おり、加減算回路5及び選択回路6へ入力される
ようにしてある。第4の信号は加減算指示信号d
〔第3図ニ〕であつて、ライトペン1が直線書指
定領域を指示した場合に発せられ、指示した区画
〜に各対応した2ビツトのデータ内容となつ
ており、加減算回路5へ後述するような4通りの
加減算モードを指示する信号として与えられる。
第5の信号は書込領域指定信号eであつて、
(X0,Y0)が書込領域にある時に発せられ、加減
算回路5、及びゲート回路9へ与えられる。第6
の信号は直線指定信号fであつてライトペン1が
直線書指定領域を指定した場合に発せられ、第3
図ニに示したように直線書指定領域をライトペン
1に指示したときに“1”となる。そしてこの直
線指定信号fは第3図ホに示すパルス発生装置1
3からの信号を一入力とするANDゲート7の他
入力としてあり、該ANDゲート7の出力は加減
算回路5へ与えられる。尚パルス発生装置13は
第3図に示すごとく、ライトペン1のスイツチ信
号ロが正(SW=1)でセツトされその期間にイ
に示す垂直同期信号Vが“0”になるたびに1パ
ルスずつ予め設定した任意数だけ出力し、SW=
“0”でリセツトされる(実施例では任意の数=
“1”)。また直線書指定信号fは選択回路6及び
ゲート回路9へも与えられる。レジスタ4は色情
報取込信号aが入力されているときに色信号bを
取込みこれを記憶すると共に書込データとしてメ
モリ101へ出力する。加減算回路5は書込領域
指定信号eが入力されているときにアドレス信号
cを取込むと共にANDゲート7の出力信号が
“1”となるタイミングで加減算指示信号dの内
容に応じて、取込んだアドレス(X0,Y0)のX0
又はY0の値を+1若しくは−1してその加算又
は減算結果を内部で記憶すると共にこれをアドレ
ス(X1,Y1)〔即ち(X0+1,Y0),(X0−1,
Y0),(X0,Y0+1)又は(X0,Y0−1)〕とし
て選択回路6へ出力する。 8はメモリ101、ROM102の内容を読出
してCRT12へ表示させるための表示用アドレ
スカウンタであつて、第4図のタイミングチヤー
トのハに示すクロツクAを計数対象として、
CRT12のビーム走査に対応してその計数内容
を変じていき、その計数内容は読出しアドレス
(X2,Y2)として選択回路6へ出力されるように
してある。この計数内容、即ちメモリ101,
ROM102の読出しアドレスはCRT画面のX―
Y座標線に対応しているのでこれが選択回路6経
由でメモリ101、ROM102に与えられると
このアドレスに書込まれている3ビツトのカラー
情報がD/A変換回路11へ入力され、ここでア
ナログのビデオ信号に変換されてCRT12へ入
力され、その画面上の座標(X2,Y2)にこのカ
ラー情報に基く表示が行われる。第3図イに示す
垂直同期信号V及び第4図イに示す水平同期信号
Hは公知の如くCRT12の表示の同期制御に与
る信号であるが、第4図ロは表示期間信号Dを示
しており、この信号Dは水平同期信号Hの負パル
ス(水平同期パルス)の前後の適長時間を除く期
間に“1”となり、この“1”となつている期間
に画像表示が行われる。従つて前記クロツクAは
D=“1”の間に1ラスタライン中の画素数分だ
け現れる信号となつている。なお表示期間信号D
は選択回路6及びゲート回路9へ与えられる。 選択回路6はこれに制御信号として入力される
書込領域指定信号e、直線指定信号f及び表示期
間信号Dの組合せによつて、非選択信号としてア
ドレス判定回路2、加減算回路5及びアドレスカ
ウンタ8の夫々から入力されるアドレス信号X0
Y0、X1,Y1及びX2,Y2を択一的に選択し、これ
をメモリ101,ROM102へ書込又は読出し
のアドレスX,Yとして出力するが、この出力ア
ドレスX,Yは下記の論理式で表わされるように
構成されている。 X,Y=X0,Y0・e・+X1,Y1・f・+
X2,Y2)・D即ち画像表示期間中(D=“1”)は
メモリ101,ROM102の内容の表示のため
にアドレスカウンタ8の出力X2,Y2を選択する。
そしてライトペン1にて書込領域を指示し、書込
領域指定信号e=“1”となつている間において
は画像表示期間以外の期間(D=“0”)にてX0
Y0を選択し、またライトペン1にて直線書指定
領域を指示し、直線指定信号f=“1”となつて
いる間においては画像表示期間以外の期間(D=
“0”)にてX1,Y1を選択する。 ゲート回路9はメモリ101を読出し又は書込
みモードに選択切換するための回路であり、その
出力信号gは下記論理式で表わされるように構成
してある。 g=e・+f・ この出力信号はメモリ101へ与えられるので
あるが、g=“1”でメモリ101を書込モード
に、またg=“0”でこれを読出モードにする。
即ち選択回路6においてX0,Y0又はX1,Y1が選
択される場合にはメモリ101が書込モードとな
るように、X2,Y2が選択される場合にはメモリ
101が読出モードとなるようにしてある。 次に本発明装置の動作について説明する。 CRT12の書込領域にパターン表示を行わせ
る場合、そのパターンの表示カラー決定のために
まずカラー指定領域のうちの所望カラーが表示さ
れた区画をライトペン1にて指示する。そうする
とアドレス決定回路2はこの区画内の指示位置に
対応するアドレスを発するので、アドレス判定回
路3はこれを受けて色情報取込信号a及び指示区
画に表示されているカラーを表す色信号bを出力
する。これによりレジスタ4には該色信号が記憶
される。次いでライトペン1でCRT12の書込
領域を指示する。そうすると指示位置の座標に対
応するアドレスX0,Y0がアドレス決定回路2か
ら出力されてアドレス判定回路3へ入力される。
この場合のアドレスX0,Y0は書込領域内座標に
対応するものであるからアドレス判定回路2は書
込領域指定信号eを発すると共に該アドレスX0
Y0を選択回路6へ入力する。書込領域指定信号
eが入力された選択回路6は画像表示期間以外の
期間(D=“0”)にこのX0,Y0を選択してメモ
リ101へ出力し、同じく書込領域指定信号eが
入力されたゲート回路9も同期的に書込信号g=
“1”としてメモリ101を書込モードにするか
ら、このアドレスX0,Y0にはレジスタ4に記憶
された色信号が書込まれることになる。そして次
のフイールドではD=“1”のタイミングでアド
レスカウンタ8から選択回路6経由で与えられる
読出しアドレスX2,Y2によつてこの書込まれた
データが読出され、ライトペン指示位置の画素
に、所望カラーのドツト表示が行われることにな
る。そして所望パターンを表示させるべくライト
ペン1をCRTの書込領域内で移動させるとその
移動軌跡に追随するメモリ101への書込、
CRT12への表示が行われることになる。 一方、書込領域指定信号eは加減算回路5にも
与えられているが、これが入力されている間アド
レス信号cを取込み、書込領域指定信号eの消滅
時に取込んだアドレス信号、即ちX0,Y0を後述
するようにして行われる直線書きの初期値として
保持する。換言すればライトペンにて書込領域の
一点だけを指示した場合にはそのアドレスX0
Y0を取込んで保持する。 さて本発明装置の特徴である直線書きは次のよ
うにして行われる。即ちライトペン1にて直線書
指定領域を指示するとアドレス判定回路3からは
加減算指示信号d及び直線指定信号fが出力され
る。加減算指示信号dの内容は直線書指定領域中
の指示区画が,,,の夫々に応じて異
り、加減算回路5は区画が指示された場合は前
述のようにして初期値として取込まれたアドレス
X0,Y0の垂直アドレスY0から1を減算するモー
ドにて、区画が指示された場合は水平アドレス
X0に1を加算するモードにて、区画が指示さ
れた場合は垂直アドレスY0に1を加算するモー
ドにて、また区画が指示された場合は水平アド
レスX0から1を減算するモードにて夫々動作す
る。そしてこれらの加算、減算は直線指定信号f
及び垂直同期信号Vに同期して現れるパルス発生
装置13の出力Bを2入力とするANDゲート7
の出力信号のタイミングで行われる。そして加算
結果又は減算結果はアドレス信号X1,Y1として
選択回路6へ出力される。そしてこの場合直線指
示信号f=“1”となつているのでアドレス信号
X1,Y1は画像表示期間以外の期間(D=“0”)
に選択回路6によつて選択され、また同タイミン
グで書込信号g=“1”となつてメモリ101が
書込みモードとなるので、アドレスX1,Y1には
レジスタ4の記憶データが書き込まれ、D=“1”
の画像表示期間にその表示が行われる。 このように現存する此種CRT表示装置によれ
ばライトペンが直線書指定領域を指示し続ける限
りその期間のフイールド数加算又は減算が行われ
その数のドツト分直線が進んだが、本発明によれ
ば予め設定した数しか直線が進まないため細部に
亘る直線書が容易になつた。また、新たに直線書
のモード切換信号を作りパルス発生装置をたとえ
ば“1”のレベルではライトペンで直線書指定領
域を指示し続けても設定した数のパルスしか発生
させないで“0”のレベルでは無制限にパルスを
発生させるように制御することにより更にこの種
の映像表示装置の使用時の便宜向上、用途拡大に
寄与するところは多大である。
[Table] The color specification area is horizontally divided into eight sections, and each section displays the colors red, green, blue, yellow, cyan, magenta, white, and gray (or black). In other words, it corresponds to each section of the color specified area.
Three-bit data representing each display color is written in advance in each address of the ROM 102 as color designation information. and y 1 <Y<y 2 , y 4 <Y≦y 5
(lowest edge of the screen) area, other writing areas,
Portions other than the straight line writing designated area and the color designated area are always displayed in a constant color and are not involved in writing with a light pen or straight line writing display. Now, the configuration of the apparatus of the present invention will be explained based on FIG. The light pen 1 emits two types of signals as is well known. One of them is the switch signal SW that reports that the light pen 1 has been pressed against the CRT 12. As shown in C of the timing chart in Figure 3, when this is pressed, the switch signal SW is "1".
(high level). This switch signal SW is applied to the address determining circuit 2. Another signal is a signal that reports the indicated position on the CRT 12 screen by light pen 1;
The light receiving section of the switch captures the raster line light passing through the indicated position, and the switch signal is emitted.
The signal is input to the address determination circuit 2, which operates only when SW is "1", converted into a signal corresponding to the coordinate values (X 0 , Y 0 ) of the light pen indicated position, and input to the address determination circuit 3. . The address determination circuit 3 generates six types of output signals, and which signal to generate is determined by the input signal, that is, the coordinate values (X 0 , Y 0 ) of the light pen indicated position. First, the first signal is a color information capture signal a,
This is generated when the light pen 1 indicates a color designated area, and is given to the register 4 as a control signal. The second signal is a 3-bit color signal b,
When the light pen 1 specifies a color specified area, the data content corresponds to the display color of the specified section, and is applied to the 3-bit parallel register 4. The third signal is an address signal c, which is emitted when the light pen 1 indicates a writing area, and the content representing the coordinate values (X 0 , Y 0 ) of the indicated position, that is, from the address determination circuit 2. The input contents are as they are, and are inputted to the addition/subtraction circuit 5 and the selection circuit 6. The fourth signal is an addition/subtraction instruction signal d
[Fig. 3 D], which is issued when the light pen 1 indicates a designated area for linear writing, has 2-bit data content corresponding to each of the designated sections, and is sent to the addition/subtraction circuit 5, which will be described later. It is given as a signal instructing four types of addition/subtraction modes.
The fifth signal is a write area designation signal e,
It is generated when (X 0 , Y 0 ) is in the write area and is applied to the addition/subtraction circuit 5 and the gate circuit 9 . 6th
The signal f is the straight line designation signal f, which is emitted when the light pen 1 designates the straight line writing designation area, and the third signal is the straight line designation signal f.
As shown in FIG. 2, it becomes "1" when the light pen 1 is instructed to specify a straight line writing area. This straight line designation signal f is applied to the pulse generator 1 shown in FIG.
The other input is an AND gate 7 which receives the signal from the circuit 3 as one input, and the output of the AND gate 7 is given to the addition/subtraction circuit 5. As shown in FIG. 3, the pulse generator 13 generates one pulse each time the switch signal LOW of the light pen 1 is set to positive (SW=1) and the vertical synchronizing signal V shown in FIG. 3 becomes "0" during that period. Output only the preset arbitrary number, and SW=
It is reset to “0” (in the example, any number =
“1”). The linear writing designation signal f is also given to the selection circuit 6 and the gate circuit 9. The register 4 captures the color signal b when the color information capture signal a is input, stores it, and outputs it to the memory 101 as write data. The addition/subtraction circuit 5 takes in the address signal c when the write area designation signal e is input, and also takes in the address signal c according to the contents of the addition/subtraction instruction signal d at the timing when the output signal of the AND gate 7 becomes "1". X 0 of address (X 0 , Y 0 )
Alternatively, add 1 or -1 to the value of Y 0 and store the result of addition or subtraction internally, and store it at address (X 1 , Y 1 ) [i.e. (X 0 +1, Y 0 ), (X 0 -1,
Y 0 ), (X 0 , Y 0 +1) or (X 0 , Y 0 -1)] to the selection circuit 6. 8 is a display address counter for reading the contents of the memory 101 and ROM 102 and displaying them on the CRT 12, and the clock A shown in C of the timing chart in FIG. 4 is counted.
The content of the count is changed in response to the beam scanning of the CRT 12, and the content of the count is output to the selection circuit 6 as a read address (X 2 , Y 2 ). This counting content, that is, the memory 101,
The read address of ROM102 is X- on the CRT screen.
Since this corresponds to the Y coordinate line, when this is given to the memory 101 and ROM 102 via the selection circuit 6, the 3-bit color information written at this address is input to the D/A conversion circuit 11, where it is converted into an analog is converted into a video signal and input to the CRT 12, and a display based on this color information is performed at the coordinates (X 2 , Y 2 ) on the screen. As is well known, the vertical synchronizing signal V shown in FIG. 3A and the horizontal synchronizing signal H shown in FIG. This signal D becomes "1" during a period excluding a suitable time period before and after a negative pulse (horizontal synchronizing pulse) of the horizontal synchronizing signal H, 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 6 and the gate circuit 9. The selection circuit 6 outputs a non-selection signal to the address determination circuit 2, the addition/subtraction circuit 5, and the address counter 8 based on a combination of the write area designation signal e, the straight line designation signal f, and the display period signal D that are input as control signals to the selection circuit 6. Address signals input from each of X 0 ,
Y 0 , X 1 , Y 1 and X 2 , Y 2 are selectively selected and output as addresses X and Y for writing or reading to the memory 101 and ROM 102. It is configured as expressed by the following logical formula. X, Y=X 0 , Y 0・e・+X 1 , Y 1・f・+
X 2 , Y 2 )·D, that is, during the image display period (D=“1”), the outputs X 2 , Y 2 of the address counter 8 are selected for displaying the contents of the memory 101 and ROM 102.
Then, specify the writing area with the light pen 1, and while the writing area designation signal e="1", X 0 ,
Select Y 0 and specify the straight line writing designation area with the light pen 1, and while the straight line designation signal f = "1", the period other than the image display period (D =
Select X 1 and Y 1 at “0”). The gate circuit 9 is a circuit for selectively switching the memory 101 to read or write mode, and its output signal g is configured to be expressed by the following logical formula. g=e.+f. This output signal is given to the memory 101, and when g="1" the memory 101 is put into the write mode, and when g="0" it is put into the read mode.
That is, when X 0 , Y 0 or X 1 , Y 1 is selected in the selection circuit 6, the memory 101 is in the write mode, and when X 2 , Y 2 is selected, the memory 101 is in the read mode. mode. Next, the operation of the device of the present invention will be explained. When displaying a pattern in the writing area of the CRT 12, in order to determine the display color of the pattern, first use the light pen 1 to indicate a section of the color designation area in which a desired color is displayed. Then, the address determination circuit 2 issues an address corresponding to the designated position within this section, and the address determination circuit 3 receives this and outputs a color information acquisition signal a and a color signal b representing the color displayed in the designated section. Output. As a result, the color signal is stored in the register 4. Next, the writing area of the CRT 12 is indicated with the light pen 1. Then, addresses X 0 and Y 0 corresponding to the coordinates of the indicated position are output from the address determination circuit 2 and input to the address determination circuit 3.
In this case, the addresses X 0 , Y 0 correspond to the coordinates within the write area, so the address determination circuit 2 issues the write area designation signal e and the addresses X 0 , Y 0 correspond to the coordinates within the write area.
Input Y 0 to the selection circuit 6. The selection circuit 6 to which the write area designation signal e is input selects these X 0 and Y 0 during a period other than the image display period (D="0") and outputs it to the memory 101, and also outputs the write area designation signal e. The gate circuit 9 to which e is input also synchronously receives the write signal g=
Since the memory 101 is set to the write mode by setting it to "1", the color signal stored in the register 4 will be written to these addresses X 0 and Y 0 . Then, in the next field, the written data is read out by the read addresses X 2 and Y 2 given from the address counter 8 via the selection circuit 6 at the timing of D="1", and the data is read out from the pixel at the position indicated by the light pen. Then, dots of the desired color are displayed. When the light pen 1 is moved within the writing area of the CRT in order to display a desired pattern, writing is performed in the memory 101 following the movement trajectory.
Display will be performed on the CRT 12. On the other hand, the write area designation signal e is also given to the adder/subtraction circuit 5, and while this is being input, the address signal c is taken in, and when the write area designation signal e disappears, the address signal taken in, that is, X 0 , Y 0 are held as initial values for straight line writing, which will be described later. In other words, if you specify only one point in the writing area with the light pen, the address X 0 ,
Capture and hold Y 0 . Now, straight line writing, which is a feature of the device of the present invention, is performed as follows. That is, when a straight line designation area is designated with the light pen 1, the address determination circuit 3 outputs an addition/subtraction designation signal d and a straight line designation signal f. The content of the addition/subtraction instruction signal d differs depending on the designated section in the designated area of the straight line, and when a section is designated, the addition/subtraction circuit 5 takes in the initial value as described above. address
Vertical address of X 0 , Y 0 If a partition is specified in the mode of subtracting 1 from Y 0 , the horizontal address
In the mode of adding 1 to X 0 , if a partition is specified, in the mode of adding 1 to the vertical address Y 0 , and if the partition is specified, in the mode of subtracting 1 from the horizontal address X 0 . Each of them works. These additions and subtractions are performed using the straight line designation signal f
and an AND gate 7 whose two inputs are the output B of the pulse generator 13 that appears in synchronization with the vertical synchronization signal V.
This is done at the timing of the output signal. The addition or subtraction results are then output to the selection circuit 6 as address signals X 1 , Y 1 . In this case, since the straight line instruction signal f=“1”, the address signal
X 1 and Y 1 are periods other than the image display period (D = “0”)
is selected by the selection circuit 6, and at the same timing, the write signal g becomes “1” and the memory 101 enters the write mode, so the data stored in the register 4 is written to addresses X 1 and Y 1 . , D="1"
The display is performed during the image display period. As described above, according to the existing CRT display device of this type, as long as the light pen continues to indicate the designated area for straight line writing, the number of fields is added or subtracted during that period, and the straight line advances by that number of dots. For example, since the straight line advances only by a preset number, it has become easier to draw detailed straight lines. In addition, a new linear writing mode switching signal is created and the pulse generator is set to the "1" level, and even if you continue to point out the designated straight writing area with a light pen, it will only generate the set number of pulses and then set to the "0" level. Controlling the generation of pulses without limit will greatly contribute to improving the convenience of using this type of video display device and expanding its uses.

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

第1図は本発明の装置の構成を示すブロツク
図、第2図はCRT画面の構成を説明するための
表示パターン図、第3図は本発明の装置の動作説
明のためのタイミングチヤート、第4図は水平同
期信号、表示期間信号、及びクロツクAの関係を
示すタイミングチヤートである。 1……ライトペン、2……アドレス決定回路、
3……アドレス判定回路、4……レジスタ、5…
…加減算回路、6……選択回路、9……ゲート回
路、12……CRT、13……パルス発生回路、
101……画像メモリ、102……ROM。
FIG. 1 is a block diagram showing the configuration of the device of the present invention, FIG. 2 is a display pattern diagram to explain the configuration of a CRT screen, FIG. 3 is a timing chart to explain the operation of the device of the present invention, and FIG. FIG. 4 is a timing chart showing the relationship among the horizontal synchronization signal, display period signal, and clock A. 1...Light pen, 2...Address determination circuit,
3...Address judgment circuit, 4...Register, 5...
... Addition/subtraction circuit, 6... Selection circuit, 9... Gate circuit, 12... CRT, 13... Pulse generation circuit,
101...image memory, 102...ROM.

Claims (1)

【特許請求の範囲】[Claims] 1 映像表示部、書込可能な画像メモリ及びライ
トペンを備え、映像表示部の所定部分に割付けら
れた書込領域に上記画像メモリの内容を表示させ
得るようにした映像表示装置に於て、カラー指定
情報及び直線書指定情報が書き込まれている
ROMと、該ROMの内容を夫々上記映像表示部
の所定領域に表示させる手段と、カラー指定情報
に基づく表示が行われている領域をライトペンで
指示した場合に該カラー指定情報をレジスタに記
憶させ、その後ライトペンで上記書込領域中の任
意の位置を指示した場合にその指示位置と対応す
る前記画像メモリのアドレスに上記レジスタの内
容を書込む手段と、書込領域中のライトペン指示
位置に対応して定まる画像メモリのアドレスの値
を1づつ加算又は減算する加減算手段と、この加
減算を予め設定した回数だけ行わせる手段と、直
線書指定情報に基づく表示が行われている領域を
ライトペンが指示した場合にその直線書指定情報
に応じて書込領域中のライトペン指示位置に対応
する画像メモリのアドレスの値を上記加減算手段
にて指示の回数だけ加算又は減算させ、加算又は
減算の結果得られた値に対応する画像メモリのア
ドレスに上記レジスタの内容を遂次書き込む手段
と、を具備した映像表示装置。
1. A video display device comprising a video display section, a writable image memory, and a light pen, and capable of displaying the contents of the image memory in a writing area allocated to a predetermined portion of the video display section, Color specification information and straight line specification information are written.
ROM, means for displaying the contents of the ROM in predetermined areas of the video display section, and storing color specification information in a register when an area where display based on color specification information is performed is indicated with a light pen. means for writing the contents of the register to an address in the image memory corresponding to the specified position when the light pen indicates an arbitrary position in the writing area; and a light pen instruction in the writing area. Addition/subtraction means for adding or subtracting the address value of the image memory determined corresponding to the position one by one, means for performing this addition/subtraction a preset number of times, and an area where display is performed based on the linear writing designation information. When the light pen specifies, the value of the address of the image memory corresponding to the light pen specified position in the writing area is added or subtracted by the specified number of times in the writing area according to the linear writing specification information. A video display device comprising: means for sequentially writing the contents of the register to an address of an image memory corresponding to a value obtained as a result of subtraction.
JP56031718A 1981-03-04 1981-03-04 Picture display unit Granted JPS57146292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56031718A JPS57146292A (en) 1981-03-04 1981-03-04 Picture display unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56031718A JPS57146292A (en) 1981-03-04 1981-03-04 Picture display unit

Publications (2)

Publication Number Publication Date
JPS57146292A JPS57146292A (en) 1982-09-09
JPH0140355B2 true JPH0140355B2 (en) 1989-08-28

Family

ID=12338830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56031718A Granted JPS57146292A (en) 1981-03-04 1981-03-04 Picture display unit

Country Status (1)

Country Link
JP (1) JPS57146292A (en)

Also Published As

Publication number Publication date
JPS57146292A (en) 1982-09-09

Similar Documents

Publication Publication Date Title
US4225861A (en) Method and means for texture display in raster scanned color graphic
CA1212988A (en) Method and an apparatus for copying retouch in electronic color picture reproduction
EP0139932B1 (en) Apparatus for generating the display of a cursor
US4514818A (en) Video image creation system which simulates drafting tool
KR900009166B1 (en) Display apparatus
US5216755A (en) Video image creation system which proportionally mixes previously created image pixel data with currently created data
JPH0695273B2 (en) Display control device
US4482893A (en) Cathode ray tube display system with minimized distortion from aliasing
JPH0222957B2 (en)
US5289566A (en) Video image creation
JPH0356508B2 (en)
US4835526A (en) Display controller
JPH0140355B2 (en)
JP2548269B2 (en) Bitmap display device
JPS5929894B2 (en) Video display device
JPS6017112B2 (en) Video display device
JPS6223333B2 (en)
JPH0244078B2 (en)
JPS5911933B2 (en) Method for detecting light pen pointing position in video display device
JP2792598B2 (en) Sprite display control device for scanning display device
JPS6130697B2 (en)
RU1836719C (en) Device for displaying of graphic information on colour tv indicator
JP2845145B2 (en) Image output device
JPH0736430A (en) Color display palette control circuit
JPS5826594B2 (en) Color image display method