JPH0395592A - Cursor display control system - Google Patents

Cursor display control system

Info

Publication number
JPH0395592A
JPH0395592A JP1233416A JP23341689A JPH0395592A JP H0395592 A JPH0395592 A JP H0395592A JP 1233416 A JP1233416 A JP 1233416A JP 23341689 A JP23341689 A JP 23341689A JP H0395592 A JPH0395592 A JP H0395592A
Authority
JP
Japan
Prior art keywords
cursor
area
screen
vram
display
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
JP1233416A
Other languages
Japanese (ja)
Inventor
Norio Yoshida
典生 吉田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP1233416A priority Critical patent/JPH0395592A/en
Publication of JPH0395592A publication Critical patent/JPH0395592A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To eliminate the need of executing applications to a cursor display screen for erasure and display and to plot images without damaging a cursor for a screen by providing areas storing the AND and XOR patterns of screen images and the cursor, respectively. CONSTITUTION:When a cursor display request is issued, the screen images of a VRAM 1 are copied to the storing area 2 with the pointer of a cursor position area 5, the images of a screen musk area 3 are made AND in the VRAM 1, the images of the cursor musk area 4 are made XOR therein, and they are displayed. At the time of plotting characters and pictures in a cursor display part, plot data is written into the area 2, and then into the VRAM 1 in a way the same as above-mentioned. As for the movement of the cursor, the images plotted in the cursor display can be returned by restoring the images of the area 2 in the VRAM 1. Thus, the cursor is not disappeared nor destroyed in the middle.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) この発明は、パーソナルコンピュータ等のグラフィック
画面においてマウスカーソル等を表示する時に用いて好
適なカーソル表示制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention (Field of Industrial Application) The present invention relates to a cursor display control method suitable for use when displaying a mouse cursor or the like on a graphic screen of a personal computer or the like.

(従来の技術) 従来、パーソナルコンピュータ等のグラフィック画面に
おいて、マウスカーソルやシステムカーソルを表示する
場合、カーソルを表示する部分の画面イメージを別のメ
モリに保存し、その画面領域にスクリーンマスク(AN
Dパターン)とカーソルマスク(XORパターン)をか
けることによりカーソルを表示していた。
(Prior Art) Conventionally, when displaying a mouse cursor or system cursor on a graphic screen of a personal computer, etc., the screen image of the part where the cursor is displayed is saved in a separate memory, and a screen mask (AN
The cursor was displayed by applying a cursor mask (XOR pattern) and a cursor mask (XOR pattern).

グラフィック画面に文字や絵等を描画するときには、カ
ーソルを一旦消去(保存した画面イメージを復元する)
し、描画後、再びカーソルを表示する必要がある。つま
り、グラフィック画面に描画する場合は、アプリケーシ
ョンプログラムがカーソルの消去/表示を行わなければ
ならない。
When drawing characters or pictures on the graphics screen, temporarily erase the cursor (restore the saved screen image)
However, after drawing, the cursor needs to be displayed again. In other words, when drawing on a graphics screen, the application program must erase/display the cursor.

(発明が解決しようとする課題) グラフィック画面において、カーソルを表示中にカーソ
ルを消去しないで文字が絵等を描画した場合、カーソル
が消えたり、破壊されたりし、また、カーソルを移動し
たときに先に描画した部分が消えてしまう等の問題があ
った。
(Problem to be Solved by the Invention) If characters or pictures are drawn on a graphic screen without erasing the cursor while the cursor is displayed, the cursor may disappear or be destroyed, and when the cursor is moved, There were problems such as the previously drawn part disappearing.

この発明はアプリケーションがグラフィック画面に文字
や絵を描画する場合、カーソルの存で1ミを意識するこ
となく描画してもカーソルがこわれたり画面が乱れたり
することのないカーソル表示制御方式を提供することを
目的とする。
This invention provides a cursor display control method that does not break the cursor or disrupt the screen even when an application draws characters or pictures on a graphic screen without being aware of the 1-millimeter distance due to the presence of the cursor. The purpose is to

[発明の構戊] (課題を解決するための手段) 本発明は、パーソナルコンピュータ等のグラフィック画
面において、マウス等のポインテイングデバイスのカー
ソルや文字人力位置を示すシステムカーソルを表示して
いる場合、そのカーソル上に文字または絵等を描画した
後、カーソルを移動しても先に描画したイメージを正し
く表示できるカーソル表示制御方式を提供するものであ
り、カーソルを表示する部分の画面イメージをVRAM
とは別の第1のメモリに記憶し、その画面領域にスクリ
ーンマスクとカーソルマスクをかけてカーソル表示を行
うグラフィックディスプレイにおいて、上記それぞれの
マスク演算イメージを記憶する第2、第3のメモリと、
カーソル表示部分に文字や絵を描画したとき、そのデー
タを上記メモリに描画し、VRAM上には上記それぞれ
のマスクパターンで論理演算した結果を書込むメモリ書
込み制御回路とを具備し、カーソル移動時■上記第1の
メモリイメージをV R A M !.:復元すること
を特徴とする。
[Structure of the Invention] (Means for Solving the Problem) The present invention provides a method for displaying a cursor of a pointing device such as a mouse or a system cursor indicating the position of a character on a graphic screen of a personal computer, etc. After drawing characters or pictures on the cursor, we provide a cursor display control method that can correctly display the previously drawn image even if the cursor is moved, and the screen image of the part where the cursor is displayed is stored in VRAM.
In a graphic display that displays a cursor by applying a screen mask and a cursor mask to the screen area, second and third memories that store the respective mask calculation images;
When a character or picture is drawn on the cursor display area, the data is drawn in the above-mentioned memory, and a memory write control circuit is provided that writes the results of logical operations using each of the above-mentioned mask patterns onto the VRAM, and when the cursor is moved. ■VRAM the first memory image above! .. : Characterized by restoration.

(作 用) 上記構成において、カーソルを表示する部分の画面イメ
ージを保存する領域Aと、カーソルのスクリーンマスク
(ANDパターン)を保存する領域Bと、カーソルのカ
ーソルマスク(XORパターン)を保存する領域Cを設
けることにより、カーソル表示部分に文字や絵を描画し
ようとしたとき、領域Aに描画し、画面上には領域B.
Cのパターンを考慮して描画することにより、カーソル
が消えたり破壊されたりすることなく、カーソルを移動
したときに画面が乱れたりすることのないカーソル表示
を実現する。
(Function) In the above configuration, there is an area A that stores the screen image of the part where the cursor is displayed, an area B that stores the screen mask of the cursor (AND pattern), and an area that stores the cursor mask (XOR pattern) of the cursor. By providing B.C, when you try to draw a character or picture in the cursor display area, it will be drawn in area A and will appear in area B.
By drawing in consideration of the C pattern, a cursor display is realized without the cursor disappearing or being destroyed, and without disturbing the screen when the cursor is moved.

このことにより、グラフィック画面上にカーソルが表示
されているとき、アプリケーションにてカーソルの消去
/表示を行わなくてもカーソル画面を破壊することなく
画面の描画が可能となる。
As a result, when the cursor is displayed on the graphic screen, it is possible to draw the screen without destroying the cursor screen, even if the application does not erase or display the cursor.

(実施例) 以下、図面を使用して本発明尖施例について詳細に説明
する。図において、符号1はVRAM(ビデオRAM)
であり、グラフィック画面に表示すべき表示データが格
納されるメモリ領域である。カラーをサポートする場合
には同容量のメモリが複数プレーンが存在する。符号2
は保存領域であり、カーソルを表示する部分のVRAM
イメージを保存する領域である。カラーをサポートする
場合にはVRAM同様、複数のプレーンが存在する。符
号3はスクリーンマスク領域であり、カーソルのスクリ
ーンマスク(ANDパターンデータ)を保存する領域で
ある。カラーをサポートする場合にはVRAM同様、複
数のプレーンが存在する。符号4はカーソルマスク領域
であり、力一5 フルのカーソルマスク(XORパターン)を保存する領
域である。カラーをサポー1・する場合にはVRAM同
様、複数のブレーンが存在する。符号5はカーソル位置
領域であり、カーソルを表示する位置を保存する領域で
ある。符号6はサイズ領域であり、カーソルのサイズを
保存する領域である。7はCPUならびに描画、表示を
制御するデイスプレイプロセッサを含む制御部を示す。
(Embodiments) Hereinafter, embodiments of the present invention will be described in detail using the drawings. In the figure, code 1 is VRAM (video RAM)
This is a memory area in which display data to be displayed on a graphic screen is stored. When supporting color, multiple planes of memory with the same capacity exist. code 2
is the storage area, and the VRAM where the cursor is displayed
This is an area to save images. When supporting color, multiple planes exist, similar to VRAM. Reference numeral 3 is a screen mask area, which is an area for storing a cursor screen mask (AND pattern data). When supporting color, multiple planes exist, similar to VRAM. Reference numeral 4 is a cursor mask area, which is an area for storing a full cursor mask (XOR pattern). When supporting color, multiple brains exist, similar to VRAM. Reference numeral 5 is a cursor position area, which is an area for storing the position where the cursor is displayed. Reference numeral 6 is a size area, which is an area for storing the size of the cursor. Reference numeral 7 indicates a control unit including a CPU and a display processor that controls drawing and display.

以下、本発明実施例の動作について詳細に説明する。カ
ーソルを表示する場合、まず、カーソルサイズをサイズ
領域6に取込み、保存領域2、スクリーンマスク領域4
の大きさを決定する。次にスクリーンマスク、カーソル
マスクをそれぞれ領域3、領域4に取込み、カーソル位
置をカーソル位置領域5に保存する。
Hereinafter, the operation of the embodiment of the present invention will be explained in detail. When displaying a cursor, first import the cursor size into the size area 6, save area 2, and screen mask area 4.
determine the size of Next, the screen mask and cursor mask are taken into areas 3 and 4, respectively, and the cursor position is stored in cursor position area 5.

カーソル表示要求が発生したとき、カーソル位置領域5
で示すポインタよりVRAMIの画面イメージを保存領
域2にコピーし、スクリーンマスク領域3のイメージを
VRAMIにANDL、カーソルマスク領域4のイメー
ジをVRAMIに6 X O R (exelusive OR)することに
よりカーソルが表示される。
When a cursor display request occurs, the cursor position area 5
The cursor is displayed by copying the screen image of VRAMI to the storage area 2 from the pointer indicated by , ANDLing the image of screen mask area 3 to VRAMI, and performing 6 X O R (exelusive OR) of the image of cursor mask area 4 to VRAMI. be done.

ここで、カーソル表示部分に文字や絵を描画しようとと
たとき描画データを保存領域2に書込む。
Here, when attempting to draw characters or pictures in the cursor display area, drawing data is written into the storage area 2.

また、VRAMI上では描画データをスクリーンマスク
領域3とANDし、カーソルマスク領域4とXORLて
からVRAMIに書込む。
Furthermore, on the VRAMI, the drawing data is ANDed with the screen mask area 3, XORLed with the cursor mask area 4, and then written to the VRAMI.

カーソルを移動する場合は、保存領域2のイメージをV
RAMIに復元することによりカーソル表示上に描画さ
れたイメージを戻すことができる。
To move the cursor, move the image in storage area 2 to V
By restoring to RAMI, the image drawn on the cursor display can be restored.

このように、カーソルを表示する部分の画面イメージを
保存する領域Aと、カーソルのスクリーンマスク(AN
Dパターン)を保存する領域Bと、カーソルのカーソル
マスク(XORパターン)を保存する領域Cを設けるこ
とにより、カーソル表示部分に文字や絵を描画しようと
したとき、領域Aに描画し、画面上には領域B.Cのパ
ターンを考慮して描画することにより、カーソルが消え
たり破壊されたりすることなく、カーソルを移動したと
きに画面が乱れたりすることのないカーソル表示を尖現
する。
In this way, there is an area A that stores the screen image of the part where the cursor is displayed, and a screen mask (AN) for the cursor.
By providing area B that stores the cursor mask (XOR pattern) and area C that stores the cursor mask (XOR pattern), when you try to draw characters or pictures in the cursor display area, it will be drawn in area A and displayed on the screen. has area B. To achieve a cursor display in which the cursor does not disappear or be destroyed, and the screen is not disturbed when the cursor is moved, by drawing in consideration of the C pattern.

[発明の効果] 以上説明のように本発明によれば、グラフィック画面に
カーソルが表示されているとき、アプリケーションにて
カーソルの消去/表示を行わなくてもカーソルや画面を
こわすことなく画面の描画が可能となる。
[Effects of the Invention] As explained above, according to the present invention, when a cursor is displayed on a graphic screen, it is possible to draw the screen without damaging the cursor or the screen even if the application does not erase or display the cursor. becomes possible.

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

第1図は本発明の実施例を示すブロック図である。 1・・・VRAM,2・・・保存領域、3・・・スクリ
ーンマスク領域、4・・・カーソルマスク領域、5・・
・力一ソル位置領域、6・・・サイズ領域、6・・・制
御部。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1...VRAM, 2...Save area, 3...Screen mask area, 4...Cursor mask area, 5...
- Force-sol position area, 6... size area, 6... control section.

Claims (1)

【特許請求の範囲】 カーソルを表示する部分の画面イメージを VRAMとは別の第1のメモリに記憶し、その画面領域
にスクリーンマスクとカーソルマスクをかけてカーソル
表示を行うグラフィックディスプレイにおいて、上記そ
れぞれのマスク演算イメージを記憶する第2、第3のメ
モリと、カーソル表示部分に文字や絵を描画したとき、
そのデータを上記メモリに描画し、VRAM上には上記
それぞれのマスクパターンで論理演算した結果を書込む
メモリ書込み制御回路とを具備し、カーソル移動時上記
第1のメモリイメージをVRAMに復元することを特徴
とするカーソル表示制御方式。
[Scope of Claims] A graphic display in which a screen image of a portion where a cursor is displayed is stored in a first memory separate from VRAM, and a screen mask and a cursor mask are applied to the screen area to display a cursor. 2nd and 3rd memories that store mask calculation images, and when characters or pictures are drawn on the cursor display area,
A memory write control circuit is provided for drawing the data in the memory and writing the results of logical operations using each of the mask patterns on the VRAM, and restoring the first memory image to the VRAM when the cursor is moved. A cursor display control method featuring:
JP1233416A 1989-09-08 1989-09-08 Cursor display control system Pending JPH0395592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1233416A JPH0395592A (en) 1989-09-08 1989-09-08 Cursor display control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1233416A JPH0395592A (en) 1989-09-08 1989-09-08 Cursor display control system

Publications (1)

Publication Number Publication Date
JPH0395592A true JPH0395592A (en) 1991-04-19

Family

ID=16954721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1233416A Pending JPH0395592A (en) 1989-09-08 1989-09-08 Cursor display control system

Country Status (1)

Country Link
JP (1) JPH0395592A (en)

Similar Documents

Publication Publication Date Title
CA2645746C (en) Method and graphical interface for embedding animated content into a computer application
EP0403121B1 (en) Computer controlled screen animation
KR100328424B1 (en) Method and apparatus for constructing a frame buffer with a fast copy means
US6952217B1 (en) Graphics processing unit self-programming
JPH0355832B2 (en)
US7528839B1 (en) Faster clears for three-dimensional modeling applications
JPH0395592A (en) Cursor display control system
JPH06149533A (en) Segment quick plotting system for reducing plotting processing for segment outside display area
JPH0256678B2 (en)
JP2892001B2 (en) Image inspection display
JPH06186948A (en) Image display method
JP2810609B2 (en) Graphic display method and apparatus
JPH11338456A (en) Map display system and image scroll processing method in it
JPS6035075B2 (en) CRT display device
JP3553249B2 (en) Image generating apparatus and image generating method
JP3078958B2 (en) 3D graphic display
JPH08123651A (en) Multiwindow display device
JP2829051B2 (en) Character display method
JP3238188B2 (en) Frame memory control device and frame memory control method
JP2595884B2 (en) Rubber band frame display device
JPH02238490A (en) Image processor
JPH02133882A (en) Image data editing device
JPH0236485A (en) Electronic computer
JPH0561449A (en) Re-display managing device
JPS58146982A (en) Device for editing document