JPH0218596A - Electronic computer - Google Patents

Electronic computer

Info

Publication number
JPH0218596A
JPH0218596A JP63169366A JP16936688A JPH0218596A JP H0218596 A JPH0218596 A JP H0218596A JP 63169366 A JP63169366 A JP 63169366A JP 16936688 A JP16936688 A JP 16936688A JP H0218596 A JPH0218596 A JP H0218596A
Authority
JP
Japan
Prior art keywords
data
area
scrolling
movement
graphic
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.)
Ceased
Application number
JP63169366A
Other languages
Japanese (ja)
Inventor
Hitomi Iijima
飯島 ひとみ
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP63169366A priority Critical patent/JPH0218596A/en
Publication of JPH0218596A publication Critical patent/JPH0218596A/en
Ceased legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To improve a lateral scroll display speed by performing movement processing for graphic data after write processing for clear data. CONSTITUTION:A scroll direction and a movement quantity are inputted by a scroll means 4 and then the position where data for cleaning the positions before and after the movement as to data stored in a graphic storage device 11 are found. Then the area of the data to be erased is cleared according to the positions and the write processing for the clear data is performed. Then the data is moved to the movement position, the unprocessed area which is left after the movement is cleared, and data is written, so that the scrolling is finished. Therefore, two kinds of different processing, i.e. the movement of display graphic data and the writing of the clear data need not be repeated at intervals of a horizontal line and a lateral scroll display is made at a high speed in area units.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、電子計算機に関わり、画面の表示図形をスク
ロールさせる場合の、効率的な横スクロール装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to electronic computers, and relates to an efficient horizontal scrolling device for scrolling displayed figures on a screen.

[従来の技術] 第11図は、従来のスクロール機構を示す略図である。[Conventional technology] FIG. 11 is a schematic diagram showing a conventional scroll mechanism.

従来のスクロールは、図形描画領域をその構成要素であ
る水平線に分割し水平線の数を求め41、表示図形の水
平線の一端からその他端までの図形に対応する図形記憶
装置の記憶内容(以下、データと呼ぶ)のうち、スクロ
ール後も記憶装置上に残るデータを選び出す。そのデー
タをスクロールによって移動する方向の端の位置に対応
する記憶装置の位置まで移動する43゜データの移動に
よって表示図形がなくなった領域を特定の値でクリアす
る44ことにより、−本の水平線上でのスクロールが終
了する45゜以上の処理を分割された全ての水平線に対
して行い42、横スクロールが行われる。
Conventional scrolling divides a figure drawing area into horizontal lines, which are its constituent elements, calculates the number of horizontal lines (41), and calculates the storage contents (hereinafter referred to as data) of the figure storage device corresponding to the figures from one end of the horizontal line of the displayed figure to the other end. ), the data that remains on the storage device even after scrolling is selected. Move the data to the position in the storage device corresponding to the end position in the direction of movement by scrolling 43° Clear the area where there is no display figure due to data movement with a specific value 44 By moving the data to the horizontal line of the book The process of 45 degrees or more at which the scroll ends at 42 is performed on all the divided horizontal lines, and horizontal scrolling is performed.

[発明が解決しようとする課題] しかし、前記の従来技術では、1水平線毎に、スクロー
ルによって残るべきデータと消去されるべきデータの位
置を求め、さらに、残るべきデータをスクロール方向に
移動させた後、データの移動後の領域をクリアすること
を行っているため、各水平線毎に、残るデータと消去さ
れるデータの境界を求めなければならず、さらには、デ
ータの移動と、新たなデータの書き込みという異なる処
理を各水平線に対して毎回行うという、非常に煩雑な処
理になる。非効率的な上、1つの処理毎に処理できる領
域が1水平線に限られるため、処理速度も遅いという欠
点があった。本発明は、このような問題に鑑み、表示図
形の横スクロールに関して高速で効率的な装置を提供す
ることを目的とする。               
          ゎ[課題を解決するための手段] 本発明は、表示図形を記憶する図形記憶装置と、前記図
形記憶装置の内容を図形として表示する図形表示装置と
、前記図形記憶装置は画面のスクロール方向を判定する
手段を伴った図形描画手段を記憶しており、前記画面は
スクロール前の状態において前記画面を2領域に分割し
、一方は前記スクロールによって移動して表示図形が消
去される領域を領域1とし、他方は前記スクロールによ
って移動した前記図形が保持される領域を領域2とし、
さらに前記画面は前記領域2が移動したスクロール後の
状態において、前記領域2以外の残余の最端行領域を領
域3とし、前記領域3の表示図形は消去され、前記領域
1、前記領域2、前記領域3を順次描画処理する制御手
段を備えたことを特徴とする。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional technology, the positions of data to be left and data to be deleted by scrolling are determined for each horizontal line, and then the data to be left is moved in the scrolling direction. After that, we clear the area after the data has been moved, so we have to find the boundary between the remaining data and the erased data for each horizontal line. This becomes a very complicated process, as a different process of writing is performed for each horizontal line each time. In addition to being inefficient, the processing speed is also slow because the area that can be processed per process is limited to one horizontal line. SUMMARY OF THE INVENTION In view of these problems, it is an object of the present invention to provide a high-speed and efficient device for horizontal scrolling of displayed figures.
[Means for Solving the Problems] The present invention provides a graphic storage device that stores displayed graphics, a graphic display device that displays the contents of the graphic storage device as a graphic, and a graphic storage device that controls the scrolling direction of the screen. The screen is divided into two areas in a state before scrolling, one area is an area where the displayed figure is erased by moving due to the scrolling, and the other area is area 1. and the other is an area where the figure moved by the scroll is held as area 2,
Further, in the screen after scrolling in which area 2 has moved, the remaining endmost row area other than area 2 is set as area 3, the display figure in area 3 is erased, and the area 1, area 2, The present invention is characterized in that it includes a control means for sequentially drawing the area 3.

[作用] 本発明においては、表示図形を横方向に移動させる場合
、スクロール方向とその移動量から、図形記憶装置に記
憶されているデータの移動前と移動後の位置と、図形の
移動後をクリアするデータが書き込まれる位置とを求め
、この求められた位置に基づき、新たなデータの書き込
み、表示図形の移動、残った未処理の領域にデータを書
き込むという3段階の処理を行うことによって、高速な
処理を実現できる。
[Operation] In the present invention, when moving a displayed figure in the horizontal direction, the position of the data stored in the figure storage device before and after the movement, and the position of the figure after the movement are determined from the scroll direction and the amount of movement. By determining the location where the data to be cleared will be written, and based on this determined location, performing a three-step process of writing new data, moving the display figure, and writing data to the remaining unprocessed area. Achieves high-speed processing.

[実施例コ 以下に本発明の実施例を図面に基づいて説明する。[Example code] Embodiments of the present invention will be described below based on the drawings.

(1)実施例1 第1図は本発明が適用された電子計算機の構成を示すブ
ロック図である。第1図において、11は図形表示装置
、12は図形記憶装置、13は図形描画手段、14はス
クロール手段を示す。このうち、図形記憶装置は、本実
施例において、第2図に示すような特徴を有するものと
する。21は最小表示基本単位、22は最小アクセス基
本単位で8個の最小表示単位から構成される。この時、
図形記憶装置上の任意の最小アクセス単位位置Aを A = (X、Y) = X + Y* 80で求めら
れる座標系で表現する。また、スクロールの移動単位は
最小アクセス単位22とする。ただし、本発明はこの数
値例に限定されるものではない。
(1) Embodiment 1 FIG. 1 is a block diagram showing the configuration of an electronic computer to which the present invention is applied. In FIG. 1, 11 is a graphic display device, 12 is a graphic storage device, 13 is a graphic drawing means, and 14 is a scrolling means. Among these, the graphic storage device in this embodiment is assumed to have characteristics as shown in FIG. 21 is a minimum display basic unit, and 22 is a minimum access basic unit, which is composed of eight minimum display units. At this time,
An arbitrary minimum access unit position A on the graphic storage device is expressed in a coordinate system determined by A = (X, Y) = X + Y*80. Furthermore, the unit of scroll movement is the minimum access unit 22. However, the present invention is not limited to this numerical example.

次に、このように構成された装置の動作を第3図に示す
フローチャートに基づいて説明する。
Next, the operation of the apparatus configured as described above will be explained based on the flowchart shown in FIG.

第4図に示した座標(0,0)と(XM、VM)を対角
とする図形表示領域があり、この表示図形を記憶する表
示記憶装置内でのデータの並びは、(0,0)(LOX
2,0)、、、、と並び、(XM、0)(11)次ニハ
(0,1)(7)データがあるように並んでいるものと
し、(XM、Yl)の次には(0,Y1+1)(7)デ
ータがあり、(XM−1,YM)、(XM、YM)まで
データが連続して格納されているものとする。
There is a figure display area whose diagonals are the coordinates (0,0) and (XM,VM) shown in FIG. )(LOX
2,0), , , are arranged so that there is (XM, 0) (11) order Niha (0, 1) (7) data, and next to (XM, Yl) is (XM, Yl). 0, Y1+1) (7) It is assumed that there is data and the data is stored continuously up to (XM-1, YM) and (XM, YM).

この図形を第4図において、左方向へ最小アクセス単位
において、Jの大きさだけスクロールさせ、結果として
第5図のようにする場合について以下に説明する。
A case will be described below in which this figure is scrolled to the left in the minimum access unit by the size J in FIG. 4, resulting in the result as shown in FIG. 5.

まずスクロールによって消えるデータの位置を求める3
1ことにより、第6図に示すように表示領域を次の2つ
の領域に分割することができる。
First, find the position of the data that disappears due to scrolling 3
1, the display area can be divided into the following two areas as shown in FIG.

A 1 : (0,0)と(J−1,YM)を対角とし
、スクロールによってその位置にある表示図形が消去さ
れる領域。
A1: An area where (0,0) and (J-1,YM) are diagonal corners, and the displayed figure at that position is erased by scrolling.

A2: (J、0)と(XM、YM)を対角とし、スク
ロール後も表示図形の位置は変わるが、データそのもの
は残る領域。
A2: An area where (J, 0) and (XM, YM) are diagonals, and the position of the displayed figure changes even after scrolling, but the data itself remains.

第5図において右側にあるクリアデータが書き込まれる
べき領域のデータと同一のデータをA1の領域に書き込
む32゜次に、(J、O)の位置にあるデータを(0,
0)の位置に、(J+LO)のデータを(1,0)に、
となるようにデータを移動していく。(0,Yl)のデ
ータは(XM−J+1 、Yl−1)となり、(J、Y
l)のデータは(0,Yl)となる。このようにして(
J、0)から連続して(XM、YM)まで格納されてい
るデータを移動すると(XM、YM)のデータは(XM
−J 、 YM)の位置に移動し33、第7図のように
なる。この移動により、YM行の位置にある(XM−J
+1)から(X M )までは移動前のデータが残って
いる領域が存在することになる。
Write the same data as the data in the area where the clear data on the right side in FIG.
0), data of (J+LO) to (1,0),
The data will be moved so that The data of (0, Yl) becomes (XM-J+1, Yl-1), and (J, Yl)
The data of l) becomes (0, Yl). In this way (
If you move the data stored continuously from J, 0) to (XM, YM), the data of (XM, YM) becomes (XM
-J, YM) position 33, as shown in Fig. 7. By this movement, it is at the position of the YM row (XM-J
+1) to (X M ), there is an area in which the data before movement remains.

この領域を八3とすると、この領域へ3に領域A1に書
き込んだデータと同じデータを書き込む34とスクロー
ルの処理は終了する。
If this area is 83, the same data as the data written in area A1 is written in this area 34, and the scrolling process is completed.

(2)実施例2 実施例1と同様にして右方向へのスクロールも行うこと
ができる。この実施例を以下に説明する。
(2) Second Embodiment Similarly to the first embodiment, scrolling to the right can also be performed. This embodiment will be explained below.

本例の場合も表示図形データの構成及び、基本的処理過
程はすべて実施例1と同じである。第4図に示した座標
(0,0)と(XM、YM)を対角とする図形表示領域
内で、右方向へ最小アクセス単位でKの大きさだけスク
ロールさせ、結果として第8図のようにする場合である
。
In this example, the structure of the display graphic data and the basic processing steps are all the same as in the first embodiment. Within the figure display area with diagonal coordinates (0, 0) and (XM, YM) shown in Figure 4, scrolling to the right by the size K in the minimum access unit results in the figure shown in Figure 8. This is the case.

第9図に示すように、B1、B2の2つの領域に分割す
る。
As shown in FIG. 9, it is divided into two areas, B1 and B2.

B 1 : (XM−に+1.YM)と(XM 、 Y
M) ヲ対角トシ、スクロールによってその位置にある
表示図形が消去される領域。
B 1: (+1.YM to XM-) and (XM, Y
M) wo diagonal area, where the displayed figure at that position is erased by scrolling.

B2:(0,0)と(Xt4−に、YM)を対角とし、
スクロール後も表示図形の位置は変わるが、データその
ものは残る領域。
B2: (0,0) and (Xt4-, YM) are diagonals,
An area where the position of the displayed figure changes even after scrolling, but the data itself remains.

第8図において左側の位置にある、クリアデータが書き
込まれるべき領域に書き込まれるデータと同一のデータ
なり1の領域に書き込む。次に、(XM−に、VM)(
7)位置にあるデータを(XM、YM)(1)位置に、
(XM−に−1、YM)(7)データを(XM−1、Y
M)(7)位置にくるようにデータを移動していく。(
X←j、Yl)のデータは(K−1,Y1+1)の位置
に移り、(K’、Yl)のデータは(K+K。
The same data as the data to be written in the area where the clear data is to be written, which is located on the left side in FIG. 8, is written in the area of 1. Then (XM-to, VM)(
7) Transfer the data at position (XM, YM) to position (1),
(XM- to -1, YM) (7) Data (XM-1, Y
M) Move the data so that it comes to position (7). (
The data of X←j, Yl) moves to the position of (K-1, Y1+1), and the data of (K', Yl) moves to the position of (K+K).

Yl)の位置に移り、最後に(0,0)のデータは(K
、0)に移る。この移動により、第10図のB3すなわ
ち、0行の位置にある(0)から(K−1)までは移動
前のデータが残るため、この領域に領域B1に書き込ん
だデータと同一のデータを書き込み、終了する。
Finally, the data at (0,0) is changed to (K
,0). As a result of this movement, the data before movement remains in B3 in Figure 10, that is, from (0) to (K-1) at the 0th row position, so the same data as the data written in area B1 is written in this area. Write and exit.

本発明は、斜めスクロールの場合においてもこの横スク
ロールの考え方は適用されるものである。
In the present invention, this idea of horizontal scrolling is also applied to the case of diagonal scrolling.

[発明の効果コ 以上、説明した本発明によれば、クリアデータの書き込
みの処理を行った後、図形データの移動の処理を行うこ
とにより、表示図形データの移動とクリアデータの書き
込みという2種類の異なる処理を何回も繰り返し行うと
いう煩雑さがなくなり、さらには、表示図形データの移
動という最も多くのアクセスを必要とする部分において
、従来の水平線毎に分割された領域ではなく、図形記憶
装置内の連続した全記憶領域中のほとんどの領域を1回
の移動処理の対象とできるために、記憶装置への1回の
アクセス単位を大きくすることによって、実行速度を大
幅に上げることができるという効果を有し、従来に比較
して1.5〜2倍の速度向上となる。
[Effects of the Invention] According to the present invention described above, by performing the processing of writing clear data and then processing the movement of figure data, two types of movement of display figure data and writing of clear data can be performed. The complexity of repeating different processes over and over again is eliminated, and in addition, in the area that requires the most access, such as moving display graphic data, a graphic storage device is used instead of the conventional area divided by horizontal line. Since most of the entire contiguous storage area within the system can be targeted for one movement process, execution speed can be significantly increased by increasing the unit of access to the storage device at one time. This has the effect of increasing the speed by 1.5 to 2 times compared to the conventional method.

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

第1図は、本発明に基づいた電子計算機の基本的構造を
表すブロック図である。第2図は、本発明に関する最小
表示基本単位と最小アクセス基本単位との関係を表す図
である。第3図は本発明の上記装置の動作を示すフロー
チャートである。第4図から第10図までは本発明に関
する図であって、第4図はスクロールする前の表示図形
である。 第5図は左スクロール後の表示図形である。第6図、第
9図はスクロール直前の表示図形である。 =9− 第7図、第10図はスクロール直後の表示図形である。 第8図は右スクロール後の表示図形である。 第11図は従来の横スクロールを示すフローチャトであ
る。 図形記憶装置 図形表示装置 図形描画手段 スクロール手段 以上 出願人 セイコーエプソン株式会社 代理人弁理士 鈴木喜三部 他1名 22(最小T郭久基苓羊1癖ジ ′F′I2 第L1図 惰佼図
FIG. 1 is a block diagram showing the basic structure of an electronic computer based on the present invention. FIG. 2 is a diagram showing the relationship between the minimum display basic unit and the minimum access basic unit according to the present invention. FIG. 3 is a flowchart showing the operation of the above-mentioned apparatus of the present invention. FIG. 4 to FIG. 10 are diagrams related to the present invention, and FIG. 4 is a display figure before scrolling. FIG. 5 shows the displayed figure after scrolling to the left. FIGS. 6 and 9 show graphics displayed immediately before scrolling. =9- Figures 7 and 10 show the displayed figures immediately after scrolling. FIG. 8 shows the displayed figure after scrolling to the right. FIG. 11 is a flowchart showing conventional horizontal scrolling. Graphic storage device Graphic display device Graphic drawing means Scroll means Above Applicant Seiko Epson Co., Ltd. Agent Patent Attorney Kizobe Suzuki and 1 other person 22

Claims (1)

【特許請求の範囲】 (a)表示図形を記憶する図形記憶装置と、前記図形記
憶装置の内容を図形として表示する図形表示装置と、前
記図形記憶装置は画面のスクロール方向を判定する手段
を伴った図形描画手段を記憶しており、 (b)前記画面はスクロール前の状態において前記画面
を2領域に分割し、一方は前記スクロールによって移動
して表示図形が消去される領域を領域1とし、他方は前
記スクロールによって移動した前記図形が保持される領
域を領域2とし、 (c)さらに前記画面は前記領域2が移動したスクロー
ル後の状態において、前記領域2以外の残余の最端行領
域を領域3とし、前記領域3の表示図形は消去され、 (d)前記領域1、前記領域2、前記領域3を順次描画
処理する制御手段を備えたことを特徴とする電子計算機
。
[Scope of Claims] (a) A graphic storage device that stores displayed graphics, a graphic display device that displays the contents of the graphic storage device as a graphic, and the graphic storage device includes means for determining the scrolling direction of the screen. (b) in the state before the screen is scrolled, the screen is divided into two areas, one of which is an area where the displayed figure is erased by moving due to the scrolling, is defined as area 1; On the other hand, the area where the figure moved by the scrolling is held is area 2, and (c) the screen further includes the remaining end row area other than the area 2 in the state after the scrolling where the area 2 has moved. An electronic computer characterized in that: a region 3 is selected, and the displayed figure in the region 3 is erased; and (d) a control means sequentially performs a drawing process on the region 1, the region 2, and the region 3.
JP63169366A 1988-07-06 1988-07-06 Electronic computer Ceased JPH0218596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63169366A JPH0218596A (en) 1988-07-06 1988-07-06 Electronic computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63169366A JPH0218596A (en) 1988-07-06 1988-07-06 Electronic computer

Publications (1)

Publication Number Publication Date
JPH0218596A true JPH0218596A (en) 1990-01-22

Family

ID=15885252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63169366A Ceased JPH0218596A (en) 1988-07-06 1988-07-06 Electronic computer

Country Status (1)

Country Link
JP (1) JPH0218596A (en)

Similar Documents

Publication Publication Date Title
US4823108A (en) Display system and memory architecture and method for displaying images in windows on a video display
WO2012054214A2 (en) Notification group touch gesture dismissal techniques
WO2012054215A2 (en) Touch gesture notification dismissal techniques
JPS59119476A (en) Interactive raster scan display system
JPH0431154B2 (en)
US5107251A (en) Method and apparatus for detecting cursors
JP3054545B2 (en) Character / graphic editing method and apparatus
JPH09237175A (en) Scroll controller
JP3092154B2 (en) Digital drawing equipment
JPH07129149A (en) Character drawing device
JP2956103B2 (en) Figure restoration display method
JPH01233483A (en) Character display device
JP2605609B2 (en) Dot display processing device
WO1996018988A2 (en) Circuits, systems and methods for controlling the display of blocks of data on a display screen
JPH04301686A (en) Re-display processing control system
JPH01169622A (en) Display device
JPS61180283A (en) Word processor
JP3461872B2 (en) Screen display control method and device
JPH02281328A (en) Picture controller
JPS63195696A (en) Fast lithography
JPH01121894A (en) Screen display for data processor having duplication type multi-window display function
JPS62238596A (en) Display unit with multiwindow display function
JPH02132491A (en) Display control method for crt display device
JPH06289995A (en) Full screen editor device
JPS6381581A (en) Picture drawing device