JPH0113109B2 - - Google Patents

Info

Publication number
JPH0113109B2
JPH0113109B2 JP58235666A JP23566683A JPH0113109B2 JP H0113109 B2 JPH0113109 B2 JP H0113109B2 JP 58235666 A JP58235666 A JP 58235666A JP 23566683 A JP23566683 A JP 23566683A JP H0113109 B2 JPH0113109 B2 JP H0113109B2
Authority
JP
Japan
Prior art keywords
cursor
pattern
section
display
mark
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
JP58235666A
Other languages
Japanese (ja)
Other versions
JPS60126694A (en
Inventor
Masuo Shiomi
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.)
Sharp Corp
Original Assignee
Sharp 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 Sharp Corp filed Critical Sharp Corp
Priority to JP58235666A priority Critical patent/JPS60126694A/en
Publication of JPS60126694A publication Critical patent/JPS60126694A/en
Publication of JPH0113109B2 publication Critical patent/JPH0113109B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〈技術分野〉 本発明は、グラフイツクデイスプレイに於ける
カーソル表示方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a cursor display method on a graphic display.

〈従来技術〉 一般に、グラフイツクデイスプレイに於ては、
カーソルマークを各ドツト単位に表示する必要が
ある。なぜなら、処理装置で発生した図形データ
を表示するために各ドツト毎に表示(指示)ポイ
ントを備えているからである。カーソル表示を行
う場合、従来キヤラクタデイスプレイでは文字表
示領域の下にライン表示するものがあり、キヤラ
クタ単位であるため、例えば5ドツト以上の連続
ラインとなる。しかし、グラフイツクデイスプレ
イの場合はキヤラクタデイスプレイと違い、表示
ドツトが1ドツトであるためライン表示する方法
はできない。又従来、グラフイツクデイスプレイ
では、垂直ラインと水平ラインとのクロス表示に
よつてカーソルマークを表示する方法が知られて
いるが、画面の周辺でクロス表示が見にくいとい
う欠点を有した。
<Prior art> Generally, in graphic displays,
It is necessary to display a cursor mark for each dot. This is because each dot has a display (instruction) point for displaying the graphic data generated by the processing device. When displaying a cursor, some conventional character displays display a line below the character display area, and since it is displayed in units of characters, it is a continuous line of five or more dots, for example. However, in the case of a graphic display, unlike a character display, only one dot is displayed, so a line display method is not possible. Conventionally, in graphic displays, a method has been known in which a cursor mark is displayed by displaying a cross between a vertical line and a horizontal line, but this method has the drawback that the cross display is difficult to see around the periphery of the screen.

〈目的〉 本発明は上記従来の欠点を解決するためになさ
れたものであり、グラフイツクデイスプレイに於
て、画面区画によつて適切なパターンが選択され
確実にカーソル位置を確認できるカーソル表示方
法を提供することを目的とする。
<Purpose> The present invention has been made to solve the above-mentioned conventional drawbacks, and provides a cursor display method in which an appropriate pattern is selected depending on the screen section and the cursor position can be reliably confirmed in a graphic display. The purpose is to provide.

〈実施例〉 第1図において、1は制御ユニツト(CPU)
であり、キー入力装置2、メモリーユニツト3及
びグラフイツクデイスプレイコントローラ4が接
続されている。キー入力装置2にはアルフアベツ
トキー、制御キー等が設けられており、この制御
キーにはCRT表示画面にてドツト単位でカーソ
ルを移動する左、右、アツプ、ダウンキーがそれ
ぞれ設けられている。メモリーユニツト3には
CRT画面に表示する各種の原図形データ、キヤ
ラクタデータなどを記憶する表示データメモリ領
域31と、キヤラクタデータのパターン発生を行
うパターンジエネレータ領域32と、上記カーソ
ルキーの操作によつてカウントされ、カーソル座
標を保持するカーソルカウンタ(CC)33と、
CRT画面を上下左右に2分割の位置、すなわち
水平方向の分岐座標X0、垂直方向の分岐座標Y0
を予め半固定的に決定し、記憶する区画レジスタ
(BR)34と、その他各種バツフア、フラツグ
の領域35とが形成されている。パターンジエネ
レータ領域32の中には4つのカーソルマークパ
ターン,,,がそれぞれ形成され、具1
9的には第2図に示される。カーソルポイントは
で示す位置であり、矢印パターンの頂点となつ
ている。第3図の正面から見た画面の区画Aにカ
ーソル位置がある場合は第2図に示すのパター
ンが選択される。区画Bの場合はのパターン
が、区画C,Dの場合はそれぞれ,のパター
ンが選択される。これらの選択された1つのパタ
ーンがグラフイツクデイスプレイコントロール4
を介して画像メモリー5(例えばリフレツシユメ
モリ)に書き込まれ、表示される。グラフイツク
デイスプレイコントロール4には例えば日本電気
製のUPD7220を用いることができる。このグラ
フイツクデイスプレイはCPU1からの原図形デー
タの供給に基づいて、図形パターンに展開して画
像メモリー5に記憶する。又、キヤラクタ、カー
ソルマーク等の固定パターンはメモリーユニツト
3内の上記パターンジエネレータ領域32からの
パターン情報が読み出され、グラフイツクデイス
プレイコントローラ4を介して画像メモリー5に
書き込まれる。また、表示制御に際しては、ラス
ター走査に同期して画像メモリー5がアクセスさ
れ、パラレル・シリアル変換回路6、CRTドラ
イバー7を介してCRT表示装置8に供給されて
表示される。L1はデータラインであり、L2はコ
ントロールラインおよび同期信号ラインである。
<Example> In Fig. 1, 1 is a control unit (CPU)
A key input device 2, a memory unit 3, and a graphic display controller 4 are connected thereto. The key input device 2 is provided with alphanumeric keys, control keys, etc., and these control keys are provided with left, right, up, and down keys, respectively, for moving the cursor dot by dot on the CRT display screen. . In memory unit 3
A display data memory area 31 stores various original figure data, character data, etc. to be displayed on the CRT screen, a pattern generator area 32 generates patterns of character data, and a , a cursor counter (CC) 33 that holds cursor coordinates,
The position where the CRT screen is divided into two vertically and horizontally, that is, the horizontal branching coordinate X 0 and the vertical branching coordinate Y 0
A partition register (BR) 34 for predetermining and storing semi-fixed information, and areas 35 for various other buffers and flags are formed. Four cursor mark patterns are formed in the pattern generator area 32, respectively, and the tool 1
9 is shown in FIG. The cursor point is at the position indicated by , which is the apex of the arrow pattern. If the cursor is located in section A of the screen seen from the front in FIG. 3, the pattern shown in FIG. 2 is selected. In the case of section B, the pattern is selected, and in the case of sections C and D, the respective patterns are selected. One of these selected patterns is displayed in the graphic display control 4.
The image data is written into the image memory 5 (for example, refresh memory) and displayed. For example, NEC's UPD7220 can be used as the graphic display control 4. This graphic display is developed into a graphic pattern based on the supply of original graphic data from the CPU 1 and stored in the image memory 5. For fixed patterns such as characters and cursor marks, pattern information is read out from the pattern generator area 32 in the memory unit 3 and written into the image memory 5 via the graphic display controller 4. For display control, the image memory 5 is accessed in synchronization with raster scanning, and the image is supplied to the CRT display device 8 via the parallel/serial conversion circuit 6 and CRT driver 7 for display. L1 is the data line, L2 is the control line and synchronization signal line.

次に第4図に従つて動作を説明する。キー入力
装置2のカーソルキーを操作する(S100)と操
作方向に応じてカーソルカウンタ(CC)33は
カウントアツプあるいはカウントダヰン処理され
る(S101)。ここで、カウントされたカーソルカ
ウンタ33の水平位置(Xi)と区画レジスタ
(BR)34の水平位置(X0)との大小関係を比
較する。カーソル位置が画面のA又はC区画内に
あればステツプS103へと進む。画面のB又はD
区画内にあればS102よりS104へと進む。S103に
おいて、カーソルカウンタ33の垂直位置(Yi)
と区画レズスタ34の垂直位置(Y0)との大小
関係を比較する。カーソル位置が画面のA区画内
にあればS110へ進みまたB区画内にあればS130
へ進む。S104ではS103と同様にカーソルカウン
タ33と区画レジスタ34との内容の大小関係を
比較し、カーソル位置がB区画内にあればS120
へ進み、D区画内にあればS140へ進む。カーソ
ル位置がA区画内にあればS110以降のステツプ
が実行される。すなわち、第2図のカーソルパタ
ーンが選択され、このカーソルパターンを記憶
するパターンジエネレータ領域32のアドレスが
l11を指示し、更にカーソルカウンタ33に対応
する画像メモリー5のアドレスを指示する。続い
てパターンの1ライン(例えば16ドツト)のパタ
ーンデータを画像メモリー5の対応アドレス位置
に書込み、画像メモリー及びパターンジエネレー
タ領域のアドレスを1ライン分アツプして上記動
作を繰返し、全てのパターン(nライン)を書込
むと、第2図のカーソルパターンが他の図形デ
ータと重畳されて画像メモリー5に書き込まれ
る。従つて、以下表示制御することによりA区画
のカーソルマークは左上向きのカーソルマークが
表示される。またカーソルがC区画内にあれば
S130以降のステツプが実行され、カーソルパタ
ーンが選択されて先頭l3oが指示される。これ
はパターン最後のラインである。カーソルカウン
タ33に対応する画像メモリー5のアドレスをラ
イン先頭として指示する。パターンジエネレータ
よりカーソルパターンが1ライン毎に読出さ
れ、画像メモリー5に書き込まれる。更にライン
アドレスを1ライン分ダウンして上記動作を繰返
す。カーソルパターンと異なるのは反対方向の
書込みとなることである。この動作以降、表示制
御され、C区画でのカーソルパターンはカーソル
を頂点とする左下向きパターンが表示される。ま
た、カーソルがB区画内にあればS120以降のス
テツプが実行される。カーソルパターンが選択
され、l21がアドレス指示され、更に画像メモリ
ー5のアドレスをカーソルカウンタ33に対応す
る位置に設定する。続いて、画像メモリー5の設
定されたラインアドレスの先頭をパターン幅分
(m)ダウンされる(実施例の場合16ドツト)。続
いてS112以降のステツプが実行されて画像メモ
リー5にカーソルパターンが書き込まれ表示さ
れる。従つて、B区画では頂点をカーソル位置と
する右上方向の矢印パターンが表示される。また
カーソルがD区画内にあるときはS140が動作さ
れ、更にS132以降のステツプが動作され、頂点
をカーソル位置とする右下方向の矢印パターンが
表示される。このように画面区画によつて適切な
パターンが選択されるため確実にカーソル位置を
確認することができる。
Next, the operation will be explained according to FIG. When the cursor key of the key input device 2 is operated (S100), the cursor counter (CC) 33 is counted up or down depending on the direction of the operation (S101). Here, the magnitude relationship between the counted horizontal position (Xi) of the cursor counter 33 and the horizontal position (X 0 ) of the partition register (BR) 34 is compared. If the cursor position is within section A or C of the screen, the process advances to step S103. B or D on the screen
If it is within the section, proceed from S102 to S104. In S103, the vertical position (Yi) of the cursor counter 33
and the vertical position (Y 0 ) of the partition resistor 34 are compared. If the cursor position is within section A of the screen, proceed to S110, and if it is within section B, proceed to S130.
Proceed to. In S104, the magnitude relationship between the contents of the cursor counter 33 and the partition register 34 is compared as in S103, and if the cursor position is within the B partition, S120
If it is within section D, proceed to S140. If the cursor position is within section A, steps from S110 onwards are executed. That is, the cursor pattern shown in FIG. 2 is selected, and the address of the pattern generator area 32 that stores this cursor pattern is
l 11 , and further indicates the address of the image memory 5 corresponding to the cursor counter 33. Next, one line of pattern data (for example, 16 dots) of the pattern is written to the corresponding address position of the image memory 5, the addresses of the image memory and pattern generator area are uploaded for one line, and the above operation is repeated to write all the patterns ( When the cursor pattern shown in FIG. 2 is written in the image memory 5, it is superimposed on other graphic data. Therefore, by controlling the display below, the cursor mark for section A is displayed pointing upward to the left. Also, if the cursor is in section C,
The steps after S130 are executed, a cursor pattern is selected, and the first l3o is indicated. This is the last line of the pattern. The address of the image memory 5 corresponding to the cursor counter 33 is designated as the beginning of the line. The cursor pattern is read line by line from the pattern generator and written into the image memory 5. Further, the line address is decreased by one line and the above operation is repeated. The difference from the cursor pattern is that writing is done in the opposite direction. After this operation, the display is controlled, and the cursor pattern in the C section is displayed in a pattern pointing downward to the left with the cursor at the apex. Furthermore, if the cursor is within section B, steps from S120 onwards are executed. The cursor pattern is selected, l21 is addressed, and the address of the image memory 5 is set to the position corresponding to the cursor counter 33. Subsequently, the beginning of the set line address in the image memory 5 is moved down by the pattern width (m) (16 dots in the example). Subsequently, the steps after S112 are executed, and the cursor pattern is written into the image memory 5 and displayed. Therefore, in section B, an arrow pattern pointing upward to the right is displayed with the apex as the cursor position. Further, when the cursor is located within the D section, S140 is operated, and the steps from S132 onwards are operated, and an arrow pattern in the lower right direction with the apex as the cursor position is displayed. In this way, since an appropriate pattern is selected depending on the screen section, the cursor position can be reliably confirmed.

上記実施例では区画を4分割したが、多分割に
してそれぞれのカーソルパターンを設けても良く
カーソルパターンは原点をカーソルポイントとす
る矢印パターンのほか各種パターンを設定でき
る。また、実施例では、図形データと重畳してパ
ターンを書き込んだがカラーデイスプレイなどで
はカーソルマークを他色にすることによつて効果
を増すことができ、また画像メモリーのデータを
読み出すときにカーソルマークを読み出し合成表
示するようにしても良い。
In the above embodiment, the section is divided into four sections, but it may be divided into multiple sections and each section may have its own cursor pattern.The cursor pattern can be set in various patterns other than an arrow pattern with the origin as the cursor point. In addition, in the example, the pattern was written superimposed on the graphic data, but on a color display, the effect can be increased by making the cursor mark a different color, and the cursor mark can be written in a different color when reading data from the image memory. It may also be read out and displayed in combination.

〈効果〉 以上説明した様に本発明によれば、グラフイツ
クデイスプレイに於て、画面区画によつて適切な
パターンが選択され、確実にカーソル位置を確認
できるカーソル表示方法が得られる利点がある。
<Effects> As described above, the present invention has the advantage of providing a cursor display method in a graphic display in which an appropriate pattern is selected depending on the screen section and the cursor position can be reliably confirmed.

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

第1図は本発明によるグラフイツクデイスプレ
イのシステムブロツク図、第2図は一例のカーソ
ルパターン図、第3図は画面区画を示す図、第4
図は動作説明に供するフローチヤートである。 符号の説明、1:CPU、2:キー入力装置、
3:メモリーユニツト、4:グラフイツクデイス
プレイコントローラ、5:画像メモリー、32:
パターンジエネレータ領域、33:カーソルカウ
ンタ、34:区画レジスタ。
FIG. 1 is a system block diagram of a graphic display according to the present invention, FIG. 2 is an example of a cursor pattern, FIG. 3 is a diagram showing screen sections, and FIG.
The figure is a flowchart for explaining the operation. Explanation of symbols, 1: CPU, 2: Key input device,
3: Memory unit, 4: Graphic display controller, 5: Image memory, 32:
Pattern generator area, 33: Cursor counter, 34: Section register.

Claims (1)

【特許請求の範囲】 1 表示画面を複数に分割し、その分岐座標を記
憶する区画記憶手段と、 各分割画面ごとのカーソルマークを記憶するマ
ーク記憶手段と、 カーソル位置と前記区画記憶手段の座標とを比
較することによつてカーソルが位置する区画を判
定すると共に、該判定結果に基づいて対応のカー
ソルマークを前記マーク記憶手段から選択して表
示する制御手段とを備え、 カーソルが位置する区画によつて選択的にカー
ソルパターンを表示するようにしたことを特徴と
するグラフイツクデイスプレイ。
[Scope of Claims] 1. Section storage means that divides a display screen into a plurality of parts and stores the branch coordinates thereof; Mark storage means that stores a cursor mark for each divided screen; and cursor position and coordinates of the section storage means. and control means for determining the section where the cursor is located by comparing the cursor mark with the mark storage means, and selecting and displaying a corresponding cursor mark from the mark storage means based on the determination result, the section where the cursor is located. A graphic display characterized by selectively displaying a cursor pattern.
JP58235666A 1983-12-13 1983-12-13 Cursor display for graphic display Granted JPS60126694A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58235666A JPS60126694A (en) 1983-12-13 1983-12-13 Cursor display for graphic display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58235666A JPS60126694A (en) 1983-12-13 1983-12-13 Cursor display for graphic display

Publications (2)

Publication Number Publication Date
JPS60126694A JPS60126694A (en) 1985-07-06
JPH0113109B2 true JPH0113109B2 (en) 1989-03-03

Family

ID=16989396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58235666A Granted JPS60126694A (en) 1983-12-13 1983-12-13 Cursor display for graphic display

Country Status (1)

Country Link
JP (1) JPS60126694A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63201816A (en) * 1987-02-18 1988-08-19 Hitachi Ltd Cursor display device

Also Published As

Publication number Publication date
JPS60126694A (en) 1985-07-06

Similar Documents

Publication Publication Date Title
US4608662A (en) Method for editing document
KR930000998B1 (en) Method and apparatus for processing image and/or character in computer graphics
JPS60233691A (en) Graphic display unit
JPH0562348B2 (en)
JPH0113109B2 (en)
US4988985A (en) Method and apparatus for a self-clearing copy mode in a frame-buffer memory
US4829292A (en) Method for displaying box cursors
JP3110975B2 (en) Display with character mask function
JPS58191027A (en) Registering method of optional character
JP3257925B2 (en) Translucent color image generation device
JPS60144789A (en) Character/graphic display controller
JPH0315196B2 (en)
JPH06289843A (en) Image display processor
JPH05130504A (en) Image display controller
JP2605609B2 (en) Dot display processing device
JP2713219B2 (en) Graphic display device
JPS6355097B2 (en)
JPS6216435B2 (en)
JPH0721394A (en) Graphic plotting method
JPS59184393A (en) Cursor display unit
JPS62100786A (en) Multiwindow display system
JPS6242189A (en) Pattern writing apparatus
JPS6244794A (en) Pointer display system for bit map display
JPH0830259A (en) Sprite plotting device and plotting method
JPH0527873B2 (en)